azure.mgmt.containerinstance package

Module contents

class azure.mgmt.containerinstance.ContainerInstanceManagementClient(credentials, subscription_id, base_url=None)[source]

Bases: msrest.service_client.SDKClient

Variables:
Parameters:
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.
  • subscription_id (str) – Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • base_url (str) – Service URL
list_cached_images(location, custom_headers=None, raw=False, **operation_config)[source]

Get the list of cached images.

Get the list of cached images on specific OS type for a subscription in a region.

Parameters:
  • location (str) – The identifier for the physical azure location.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

CachedImagesListResult or ClientRawResponse if raw=true

Return type:

CachedImagesListResult or ClientRawResponse

Raises:

CloudError

list_capabilities(location, custom_headers=None, raw=False, **operation_config)[source]

Get the list of capabilities of the location.

Get the list of CPU/memory/GPU capabilities of a region.

Parameters:
  • location (str) – The identifier for the physical azure location.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

CapabilitiesListResult or ClientRawResponse if raw=true

Return type:

CapabilitiesListResult or ClientRawResponse

Raises:

CloudError