When I create the CostManagementClient object, there is nothing wrong, but when I use the CostManagementClient object to send a request, the error occurred.
How can I handle the exception Error?
'''
azure.core.exceptions.ServiceRequestError: <urllib3.connection.HTTPSConnection object at 0x00000276CD390490>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
'''
When I create the CostManagementClient object, there is nothing wrong, but when I use the CostManagementClient object to send a request, the error occurred.
How can I handle the exception Error?
''' azure.core.exceptions.ServiceRequestError: <urllib3.connection.HTTPSConnection object at 0x00000276CD390490>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed '''