Compartilhar via


ArmMapsModelFactory.MapsAccountProperties Method

Definition

Overloads

MapsAccountProperties(Nullable<Guid>, Nullable<Boolean>, String, IEnumerable<MapsLinkedResource>, IEnumerable<MapsCorsRule>)

Initializes a new instance of MapsAccountProperties.

MapsAccountProperties(Nullable<Guid>, Nullable<Boolean>, String, IEnumerable<MapsLinkedResource>, IEnumerable<MapsCorsRule>, MapsEncryption)

Initializes a new instance of MapsAccountProperties.

MapsAccountProperties(Nullable<Guid>, Nullable<Boolean>, String, IEnumerable<MapsLinkedResource>, IEnumerable<MapsCorsRule>)

Source:
ArmMapsModelFactory.cs

Initializes a new instance of MapsAccountProperties.

public static Azure.ResourceManager.Maps.Models.MapsAccountProperties MapsAccountProperties (Guid? uniqueId = default, bool? disableLocalAuth = default, string provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Maps.Models.MapsLinkedResource> linkedResources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Maps.Models.MapsCorsRule> corsRulesValue = default);
static member MapsAccountProperties : Nullable<Guid> * Nullable<bool> * string * seq<Azure.ResourceManager.Maps.Models.MapsLinkedResource> * seq<Azure.ResourceManager.Maps.Models.MapsCorsRule> -> Azure.ResourceManager.Maps.Models.MapsAccountProperties
Public Shared Function MapsAccountProperties (Optional uniqueId As Nullable(Of Guid) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional linkedResources As IEnumerable(Of MapsLinkedResource) = Nothing, Optional corsRulesValue As IEnumerable(Of MapsCorsRule) = Nothing) As MapsAccountProperties

Parameters

uniqueId
Nullable<Guid>

A unique identifier for the maps account.

disableLocalAuth
Nullable<Boolean>

Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.

provisioningState
String

The provisioning state of the Map account resource.

linkedResources
IEnumerable<MapsLinkedResource>

Sets the resources to be used for Managed Identities based operations for the Map account resource.

corsRulesValue
IEnumerable<MapsCorsRule>

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.

Returns

A new MapsAccountProperties instance for mocking.

Applies to

MapsAccountProperties(Nullable<Guid>, Nullable<Boolean>, String, IEnumerable<MapsLinkedResource>, IEnumerable<MapsCorsRule>, MapsEncryption)

Source:
ArmMapsModelFactory.cs

Initializes a new instance of MapsAccountProperties.

public static Azure.ResourceManager.Maps.Models.MapsAccountProperties MapsAccountProperties (Guid? uniqueId = default, bool? disableLocalAuth = default, string provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Maps.Models.MapsLinkedResource> linkedResources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Maps.Models.MapsCorsRule> corsRulesValue = default, Azure.ResourceManager.Maps.Models.MapsEncryption encryption = default);
static member MapsAccountProperties : Nullable<Guid> * Nullable<bool> * string * seq<Azure.ResourceManager.Maps.Models.MapsLinkedResource> * seq<Azure.ResourceManager.Maps.Models.MapsCorsRule> * Azure.ResourceManager.Maps.Models.MapsEncryption -> Azure.ResourceManager.Maps.Models.MapsAccountProperties
Public Shared Function MapsAccountProperties (Optional uniqueId As Nullable(Of Guid) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional linkedResources As IEnumerable(Of MapsLinkedResource) = Nothing, Optional corsRulesValue As IEnumerable(Of MapsCorsRule) = Nothing, Optional encryption As MapsEncryption = Nothing) As MapsAccountProperties

Parameters

uniqueId
Nullable<Guid>

A unique identifier for the maps account.

disableLocalAuth
Nullable<Boolean>

Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys and Shared Access Signature Token authentication from any usage.

provisioningState
String

The provisioning state of the Map account resource, Account updates can only be performed on terminal states. Terminal states: Succeeded and Failed.

linkedResources
IEnumerable<MapsLinkedResource>

The array of associated resources to the Map account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Map Account Managed Identity(s) permissions to those resource(s).

corsRulesValue
IEnumerable<MapsCorsRule>

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.

encryption
MapsEncryption

(Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled.

Returns

A new MapsAccountProperties instance for mocking.

Applies to