msticpy.auth.cloud_mappings module

Azure Cloud Mappings.

msticpy.auth.cloud_mappings.create_cloud_ep_dict(endpoint: str) dict

Return lookup dict for cloud endpoints.

Parameters

endpoint (str) – The name of the endpoint to retreive for each cloud.

Returns

A dictionary of cloud names and endpoints.

Return type

dict

msticpy.auth.cloud_mappings.create_cloud_suf_dict(suffix: str) dict

Get all the suffixes for a specific service in a cloud.

Parameters

suffix (str) – The name of the suffix to get details for.

Returns

A dictionary of cloud names and suffixes.

Return type

dict

msticpy.auth.cloud_mappings.get_all_endpoints(cloud: str) msrestazure.azure_cloud.CloudEndpoints

Get a list of all the endpoints for an Azure cloud.

Parameters

cloud (str) – The name of the Azure cloud to get endpoints for.

Returns

A dictionary of endpoints for the cloud.

Return type

dict

Raises

MsticpyAzureConfigError – If the cloud name is not valid.

msticpy.auth.cloud_mappings.get_all_suffixes(cloud: str) msrestazure.azure_cloud.CloudSuffixes

Get a list of all the suffixes for an Azure cloud.

Parameters

cloud (str) – The name of the Azure cloud to get suffixes for.

Returns

A dictionary of suffixes for the cloud.

Return type

dict

Raises

MsticpyAzureConfigError – If the cloud name is not valid.