共用方式為


ArmMapsModelFactory.MapsAccountPatch Method

Definition

Initializes a new instance of MapsAccountPatch.

public static Azure.ResourceManager.Maps.Models.MapsAccountPatch MapsAccountPatch (System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Maps.Models.MapsAccountKind? kind = default, Azure.ResourceManager.Maps.Models.MapsSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, 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 MapsAccountPatch : System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Maps.Models.MapsAccountKind> * Azure.ResourceManager.Maps.Models.MapsSku * Azure.ResourceManager.Models.ManagedServiceIdentity * 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.MapsAccountPatch
Public Shared Function MapsAccountPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional kind As Nullable(Of MapsAccountKind) = Nothing, Optional sku As MapsSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, 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 MapsAccountPatch

Parameters

tags
IDictionary<String,String>

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
Nullable<MapsAccountKind>

Get or Set Kind property.

sku
MapsSku

The SKU of this account.

identity
ManagedServiceIdentity

Managed service identity (system assigned and/or user assigned identities).

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 MapsAccountPatch instance for mocking.

Applies to