MapsAccountUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. maps. models. MapsAccountUpdateParameters
- com.
public final class MapsAccountUpdateParameters
Parameters used to update an existing Maps Account.
Constructor Summary
| Constructor | Description |
|---|---|
| MapsAccountUpdateParameters() |
Creates an instance of Maps |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Cors |
cors()
Get the cors property: Specifies CORS rules for the Blob service. |
| Boolean |
disableLocalAuth()
Get the disable |
| Encryption |
encryption()
Get the encryption property: (Optional) Discouraged to include in resource definition. |
|
Managed |
identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities). |
| Kind |
kind()
Get the kind property: Get or Set Kind property. |
|
List<Linked |
linkedResources()
Get the linked |
| String |
provisioningState()
Get the provisioning |
| Sku |
sku()
Get the sku property: The SKU of this account. |
| Map<String,String> |
tags()
Get the tags property: Gets or sets a list of key value pairs that describe the resource. |
| String |
uniqueId()
Get the unique |
| void |
validate()
Validates the instance. |
|
Maps |
withCors(CorsRules cors)
Set the cors property: Specifies CORS rules for the Blob service. |
|
Maps |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Maps |
withEncryption(Encryption encryption)
Set the encryption property: (Optional) Discouraged to include in resource definition. |
|
Maps |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities). |
|
Maps |
withKind(Kind kind)
Set the kind property: Get or Set Kind property. |
|
Maps |
withLinkedResources(List<LinkedResource> linkedResources)
Set the linked |
|
Maps |
withSku(Sku sku)
Set the sku property: The SKU of this account. |
|
Maps |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets a list of key value pairs that describe the resource. |
Methods inherited from java.lang.Object
Constructor Details
MapsAccountUpdateParameters
public MapsAccountUpdateParameters()
Creates an instance of MapsAccountUpdateParameters class.
Method Details
cors
public CorsRules cors()
Get the cors property: 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:
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: 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.
Returns:
encryption
public Encryption encryption()
Get the encryption property: (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:
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities).
Returns:
kind
public Kind kind()
Get the kind property: Get or Set Kind property.
Returns:
linkedResources
public List<LinkedResource> linkedResources()
Get the linkedResources property: 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).
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state of the Map account resource, Account updates can only be performed on terminal states. Terminal states: `Succeeded` and `Failed`.
Returns:
sku
public Sku sku()
Get the sku property: The SKU of this account.
Returns:
tags
public Map<String,String> tags()
Get the tags property: 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.
Returns:
uniqueId
public String uniqueId()
Get the uniqueId property: A unique identifier for the maps account.
Returns:
validate
public void validate()
Validates the instance.
withCors
public MapsAccountUpdateParameters withCors(CorsRules cors)
Set the cors property: 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.
Parameters:
Returns:
withDisableLocalAuth
public MapsAccountUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: 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.
Parameters:
Returns:
withEncryption
public MapsAccountUpdateParameters withEncryption(Encryption encryption)
Set the encryption property: (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.
Parameters:
Returns:
withIdentity
public MapsAccountUpdateParameters withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).
Parameters:
Returns:
withKind
public MapsAccountUpdateParameters withKind(Kind kind)
Set the kind property: Get or Set Kind property.
Parameters:
Returns:
withLinkedResources
public MapsAccountUpdateParameters withLinkedResources(List<LinkedResource> linkedResources)
Set the linkedResources property: 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).
Parameters:
Returns:
withSku
public MapsAccountUpdateParameters withSku(Sku sku)
Set the sku property: The SKU of this account.
Parameters:
Returns:
withTags
public MapsAccountUpdateParameters withTags(Map<String,String> tags)
Set the tags property: 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.
Parameters:
Returns: