azure.mgmt.maps.models module

class azure.mgmt.maps.models.AccountSasParameters(*, signing_key: Union[str, _models.SigningKey], principal_id: str, max_rate_per_second: int = 500, start: str, expiry: str, regions: Optional[List[str]] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Parameters used to create an account Shared Access Signature (SAS) token. The REST API access control is provided by Azure Maps Role Based Access (RBAC) identity and access.

All required parameters must be populated in order to send to Azure.

Variables
  • signing_key (str or SigningKey) – The Map account key to use for signing. Required. Known values are: “primaryKey” and “secondaryKey”.

  • principal_id (str) – The principal Id also known as the object Id of a User Assigned Managed Identity currently assigned to the Map Account. To assign a Managed Identity of the account, use operation Create or Update an assign a User Assigned Identity resource Id. Required.

  • regions (list[str]) – Optional, allows control of which region locations are permitted access to Azure Maps REST APIs with the SAS token. Example: “eastus”, “westus2”. Omitting this parameter will allow all region locations to be accessible.

  • max_rate_per_second (int) – Required parameter which represents the desired maximum request per second to allowed for the given SAS token. This does not guarantee perfect accuracy in measurements but provides application safe guards of abuse with eventual enforcement.

  • start (str) – The date time offset of when the token validity begins. For example “2017-05-24T10:42:03.1567373Z”. Required.

  • expiry (str) – The date time offset of when the token validity expires. For example “2017-05-24T10:42:03.1567373Z”. Required.

Keyword Arguments
  • signing_key (str or SigningKey) – The Map account key to use for signing. Required. Known values are: “primaryKey” and “secondaryKey”.

  • principal_id (str) – The principal Id also known as the object Id of a User Assigned Managed Identity currently assigned to the Map Account. To assign a Managed Identity of the account, use operation Create or Update an assign a User Assigned Identity resource Id. Required.

  • regions (list[str]) – Optional, allows control of which region locations are permitted access to Azure Maps REST APIs with the SAS token. Example: “eastus”, “westus2”. Omitting this parameter will allow all region locations to be accessible.

  • max_rate_per_second (int) – Required parameter which represents the desired maximum request per second to allowed for the given SAS token. This does not guarantee perfect accuracy in measurements but provides application safe guards of abuse with eventual enforcement.

  • start (str) – The date time offset of when the token validity begins. For example “2017-05-24T10:42:03.1567373Z”. Required.

  • expiry (str) – The date time offset of when the token validity expires. For example “2017-05-24T10:42:03.1567373Z”. Required.

class azure.mgmt.maps.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties(**kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal id of user assigned identity.

  • client_id (str) – The client id of user assigned identity.

class azure.mgmt.maps.models.CorsRule(*, allowed_origins: List[str], **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Specifies a CORS rule for the Map Account.

All required parameters must be populated in order to send to Azure.

Variables

allowed_origins (list[str]) – Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or “*” to allow all domains. Required.

Keyword Arguments

allowed_origins (list[str]) – Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or “*” to allow all domains. Required.

class azure.mgmt.maps.models.CorsRules(*, cors_rules: Optional[List[_models.CorsRule]] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Sets the CORS rules. You can include up to five CorsRule elements in the request.

Variables

cors_rules (list[CorsRule]) – The list of CORS rules. You can include up to five CorsRule elements in the request.

Keyword Arguments

cors_rules (list[CorsRule]) – The list of CORS rules. You can include up to five CorsRule elements in the request.

class azure.mgmt.maps.models.CreatedByType(value)[source]

Bases: str, enum.Enum

The type of identity that created the resource.

APPLICATION = 'Application'
KEY = 'Key'
MANAGED_IDENTITY = 'ManagedIdentity'
USER = 'User'
class azure.mgmt.maps.models.Creator(*, location: str, properties: _models.CreatorProperties, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: azure.mgmt.maps.models._models_py3.TrackedResource

An Azure resource which represents Maps Creator product and provides ability to manage private location data.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • properties (CreatorProperties) – The Creator resource properties. Required.

  • system_data (SystemData) – The system meta data relating to this resource.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • properties (CreatorProperties) – The Creator resource properties. Required.

class azure.mgmt.maps.models.CreatorList(*, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

A list of Creator resources.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • value (list[Creator]) – a Creator account.

  • next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.

Keyword Arguments

next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.

class azure.mgmt.maps.models.CreatorProperties(*, storage_units: int, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Creator resource properties.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • provisioning_state (str) – The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled.

  • storage_units (int) – The storage units to be allocated. Integer values from 1 to 100, inclusive. Required.

Keyword Arguments

storage_units (int) – The storage units to be allocated. Integer values from 1 to 100, inclusive. Required.

class azure.mgmt.maps.models.CreatorUpdateParameters(*, tags: Optional[Dict[str, str]] = None, storage_units: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Parameters used to update an existing Creator resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • tags (dict[str, str]) – Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.

  • provisioning_state (str) – The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled.

  • storage_units (int) – The storage units to be allocated. Integer values from 1 to 100, inclusive.

Keyword Arguments
  • tags (dict[str, str]) – Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.

  • storage_units (int) – The storage units to be allocated. Integer values from 1 to 100, inclusive.

class azure.mgmt.maps.models.Dimension(*, name: Optional[str] = None, display_name: Optional[str] = None, internal_name: Optional[str] = None, internal_metric_name: Optional[str] = None, source_mdm_namespace: Optional[str] = None, to_be_exported_to_shoebox: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Dimension of map account, for example API Category, Api Name, Result Type, and Response Code.

Variables
  • name (str) – Display name of dimension.

  • display_name (str) – Display name of dimension.

  • internal_name (str) – Internal name of the dimension.

  • internal_metric_name (str) – Internal metric name of the dimension.

  • source_mdm_namespace (str) – Source Mdm Namespace of the dimension.

  • to_be_exported_to_shoebox (bool) – Flag to indicate exporting to Azure Monitor.

Keyword Arguments
  • name (str) – Display name of dimension.

  • display_name (str) – Display name of dimension.

  • internal_name (str) – Internal name of the dimension.

  • internal_metric_name (str) – Internal metric name of the dimension.

  • source_mdm_namespace (str) – Source Mdm Namespace of the dimension.

  • to_be_exported_to_shoebox (bool) – Flag to indicate exporting to Azure Monitor.

class azure.mgmt.maps.models.ErrorAdditionalInfo(**kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

The resource management error additional info.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • type (str) – The additional info type.

  • info (JSON) – The additional info.

class azure.mgmt.maps.models.ErrorDetail(**kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

The error detail.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
class azure.mgmt.maps.models.ErrorResponse(*, error: Optional[_models.ErrorDetail] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Variables

error (ErrorDetail) – The error object.

Keyword Arguments

error (ErrorDetail) – The error object.

class azure.mgmt.maps.models.KeyType(value)[source]

Bases: str, enum.Enum

Whether the operation refers to the primary or secondary key.

PRIMARY = 'primary'
SECONDARY = 'secondary'
class azure.mgmt.maps.models.Kind(value)[source]

Bases: str, enum.Enum

The Kind of the Maps Account.

GEN1 = 'Gen1'
GEN2 = 'Gen2'
class azure.mgmt.maps.models.LinkedResource(*, unique_name: str, id: str, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource uniqueName value as an optional parameter for operations on Azure Maps Geospatial REST APIs.

All required parameters must be populated in order to send to Azure.

Variables
  • unique_name (str) – A provided name which uniquely identifies the linked resource. Required.

  • id (str) – ARM resource id in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}’. Required.

Keyword Arguments
  • unique_name (str) – A provided name which uniquely identifies the linked resource. Required.

  • id (str) – ARM resource id in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}’. Required.

class azure.mgmt.maps.models.ManagedServiceIdentity(*, type: Optional[Union[str, _models.ResourceIdentityType]] = None, user_assigned_identities: Optional[Dict[str, _models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties]] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Identity for the resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal ID of resource identity.

  • tenant_id (str) – The tenant ID of resource.

  • type (str or ResourceIdentityType) – The identity type. Known values are: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, and “None”.

  • user_assigned_identities (dict[str, Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties]) – The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’.

Keyword Arguments
class azure.mgmt.maps.models.MapsAccount(*, location: str, sku: _models.Sku, tags: Optional[Dict[str, str]] = None, kind: Union[str, _models.Kind] = 'Gen1', identity: Optional[_models.ManagedServiceIdentity] = None, properties: Optional[_models.MapsAccountProperties] = None, **kwargs)[source]

Bases: azure.mgmt.maps.models._models_py3.TrackedResource

An Azure resource which represents access to a suite of Maps REST APIs.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • sku (Sku) – The SKU of this account. Required.

  • kind (str or Kind) – Get or Set Kind property. Known values are: “Gen1” and “Gen2”.

  • system_data (SystemData) – The system meta data relating to this resource.

  • identity (ManagedServiceIdentity) – Sets the identity property for maps account.

  • properties (MapsAccountProperties) – The map account properties.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • sku (Sku) – The SKU of this account. Required.

  • kind (str or Kind) – Get or Set Kind property. Known values are: “Gen1” and “Gen2”.

  • identity (ManagedServiceIdentity) – Sets the identity property for maps account.

  • properties (MapsAccountProperties) – The map account properties.

class azure.mgmt.maps.models.MapsAccountKeys(**kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

The set of keys which can be used to access the Maps REST APIs. Two keys are provided for key rotation without interruption.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • primary_key_last_updated (str) – The last updated date and time of the primary key.

  • primary_key (str) – The primary key for accessing the Maps REST APIs.

  • secondary_key (str) – The secondary key for accessing the Maps REST APIs.

  • secondary_key_last_updated (str) – The last updated date and time of the secondary key.

class azure.mgmt.maps.models.MapsAccountProperties(*, disable_local_auth: bool = False, linked_resources: Optional[List[_models.LinkedResource]] = None, cors: Optional[_models.CorsRules] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Additional Map account properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • unique_id (str) – A unique identifier for the maps account.

  • disable_local_auth (bool) – Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.

  • provisioning_state (str) – The provisioning state of the Map account resource.

  • linked_resources (list[LinkedResource]) – Sets the resources to be used for Managed Identities based operations for the Map account resource.

  • cors (CorsRules) – Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service.

Keyword Arguments
  • disable_local_auth (bool) – Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.

  • linked_resources (list[LinkedResource]) – Sets the resources to be used for Managed Identities based operations for the Map account resource.

  • cors (CorsRules) – Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service.

class azure.mgmt.maps.models.MapsAccountSasToken(**kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

A new Sas token which can be used to access the Maps REST APIs and is controlled by the specified Managed identity permissions on Azure (IAM) Role Based Access Control.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

account_sas_token (str) – The shared access signature access token.

class azure.mgmt.maps.models.MapsAccountUpdateParameters(*, tags: Optional[Dict[str, str]] = None, kind: Union[str, _models.Kind] = 'Gen1', sku: Optional[_models.Sku] = None, identity: Optional[_models.ManagedServiceIdentity] = None, disable_local_auth: bool = False, linked_resources: Optional[List[_models.LinkedResource]] = None, cors: Optional[_models.CorsRules] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Parameters used to update an existing Maps Account.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • tags (dict[str, str]) – Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.

  • kind (str or Kind) – Get or Set Kind property. Known values are: “Gen1” and “Gen2”.

  • sku (Sku) – The SKU of this account.

  • identity (ManagedServiceIdentity) – Sets the identity property for maps account.

  • unique_id (str) – A unique identifier for the maps account.

  • disable_local_auth (bool) – Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.

  • provisioning_state (str) – The provisioning state of the Map account resource.

  • linked_resources (list[LinkedResource]) – Sets the resources to be used for Managed Identities based operations for the Map account resource.

  • cors (CorsRules) – Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service.

Keyword Arguments
  • tags (dict[str, str]) – Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.

  • kind (str or Kind) – Get or Set Kind property. Known values are: “Gen1” and “Gen2”.

  • sku (Sku) – The SKU of this account.

  • identity (ManagedServiceIdentity) – Sets the identity property for maps account.

  • disable_local_auth (bool) – Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.

  • linked_resources (list[LinkedResource]) – Sets the resources to be used for Managed Identities based operations for the Map account resource.

  • cors (CorsRules) – Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service.

class azure.mgmt.maps.models.MapsAccounts(*, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

A list of Maps Accounts.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • value (list[MapsAccount]) – a Maps Account.

  • next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.

Keyword Arguments

next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.

class azure.mgmt.maps.models.MapsKeySpecification(*, key_type: Union[str, _models.KeyType], **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Whether the operation refers to the primary or secondary key.

All required parameters must be populated in order to send to Azure.

Variables

key_type (str or KeyType) – Whether the operation refers to the primary or secondary key. Required. Known values are: “primary” and “secondary”.

Keyword Arguments

key_type (str or KeyType) – Whether the operation refers to the primary or secondary key. Required. Known values are: “primary” and “secondary”.

class azure.mgmt.maps.models.MapsOperations(*, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

The set of operations available for Maps.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • value (list[OperationDetail]) – An operation available for Maps.

  • next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.

Keyword Arguments

next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.

class azure.mgmt.maps.models.MetricSpecification(*, name: Optional[str] = None, display_name: Optional[str] = None, display_description: Optional[str] = None, unit: Optional[str] = None, dimensions: Optional[List[_models.Dimension]] = None, aggregation_type: Optional[str] = None, fill_gap_with_zero: Optional[bool] = None, category: Optional[str] = None, resource_id_dimension_name_override: Optional[str] = None, source_mdm_account: Optional[str] = None, internal_metric_name: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Metric specification of operation.

Variables
  • name (str) – Name of metric specification.

  • display_name (str) – Display name of metric specification.

  • display_description (str) – Display description of metric specification.

  • unit (str) – Unit could be Count.

  • dimensions (list[Dimension]) – Dimensions of map account.

  • aggregation_type (str) – Aggregation type could be Average.

  • fill_gap_with_zero (bool) – The property to decide fill gap with zero or not.

  • category (str) – The category this metric specification belong to, could be Capacity.

  • resource_id_dimension_name_override (str) – Account Resource Id.

  • source_mdm_account (str) – Source metrics account.

  • internal_metric_name (str) – Internal metric name.

Keyword Arguments
  • name (str) – Name of metric specification.

  • display_name (str) – Display name of metric specification.

  • display_description (str) – Display description of metric specification.

  • unit (str) – Unit could be Count.

  • dimensions (list[Dimension]) – Dimensions of map account.

  • aggregation_type (str) – Aggregation type could be Average.

  • fill_gap_with_zero (bool) – The property to decide fill gap with zero or not.

  • category (str) – The category this metric specification belong to, could be Capacity.

  • resource_id_dimension_name_override (str) – Account Resource Id.

  • source_mdm_account (str) – Source metrics account.

  • internal_metric_name (str) – Internal metric name.

class azure.mgmt.maps.models.Name(value)[source]

Bases: str, enum.Enum

The name of the SKU, in standard format (such as S0).

G2 = 'G2'
S0 = 'S0'
S1 = 'S1'
class azure.mgmt.maps.models.OperationDetail(*, name: Optional[str] = None, is_data_action: Optional[bool] = None, display: Optional[_models.OperationDisplay] = None, origin: Optional[str] = None, service_specification: Optional[_models.ServiceSpecification] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Operation detail payload.

Variables
  • name (str) – Name of the operation.

  • is_data_action (bool) – Indicates whether the operation is a data action.

  • display (OperationDisplay) – Display of the operation.

  • origin (str) – Origin of the operation.

  • service_specification (ServiceSpecification) – One property of operation, include metric specifications.

Keyword Arguments
  • name (str) – Name of the operation.

  • is_data_action (bool) – Indicates whether the operation is a data action.

  • display (OperationDisplay) – Display of the operation.

  • origin (str) – Origin of the operation.

  • service_specification (ServiceSpecification) – One property of operation, include metric specifications.

class azure.mgmt.maps.models.OperationDisplay(*, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Operation display payload.

Variables
  • provider (str) – Resource provider of the operation.

  • resource (str) – Resource of the operation.

  • operation (str) – Localized friendly name for the operation.

  • description (str) – Localized friendly description for the operation.

Keyword Arguments
  • provider (str) – Resource provider of the operation.

  • resource (str) – Resource of the operation.

  • operation (str) – Localized friendly name for the operation.

  • description (str) – Localized friendly description for the operation.

class azure.mgmt.maps.models.Resource(**kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Common fields that are returned in the response for all Azure Resource Manager resources.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

class azure.mgmt.maps.models.ResourceIdentityType(value)[source]

Bases: str, enum.Enum

The identity type.

NONE = 'None'
SYSTEM_ASSIGNED = 'SystemAssigned'
SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned, UserAssigned'
USER_ASSIGNED = 'UserAssigned'
class azure.mgmt.maps.models.ServiceSpecification(*, metric_specifications: Optional[List[_models.MetricSpecification]] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

One property of operation, include metric specifications.

Variables

metric_specifications (list[MetricSpecification]) – Metric specifications of operation.

Keyword Arguments

metric_specifications (list[MetricSpecification]) – Metric specifications of operation.

class azure.mgmt.maps.models.SigningKey(value)[source]

Bases: str, enum.Enum

The Map account key to use for signing.

PRIMARY_KEY = 'primaryKey'
SECONDARY_KEY = 'secondaryKey'
class azure.mgmt.maps.models.Sku(*, name: Union[str, _models.Name], **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

The SKU of the Maps Account.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • name (str or Name) – The name of the SKU, in standard format (such as S0). Required. Known values are: “S0”, “S1”, and “G2”.

  • tier (str) – Gets the sku tier. This is based on the SKU name.

Keyword Arguments

name (str or Name) – The name of the SKU, in standard format (such as S0). Required. Known values are: “S0”, “S1”, and “G2”.

class azure.mgmt.maps.models.SystemData(*, created_by: Optional[str] = None, created_by_type: Optional[Union[str, _models.CreatedByType]] = None, created_at: Optional[datetime.datetime] = None, last_modified_by: Optional[str] = None, last_modified_by_type: Optional[Union[str, _models.CreatedByType]] = None, last_modified_at: Optional[datetime.datetime] = None, **kwargs)[source]

Bases: azure.mgmt.maps._serialization.Model

Metadata pertaining to creation and last modification of the resource.

Variables
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

Keyword Arguments
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

class azure.mgmt.maps.models.TrackedResource(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: azure.mgmt.maps.models._models_py3.Resource

The resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.