MapsAccountUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.maps.models.MapsAccountUpdateParameters

public final class MapsAccountUpdateParameters

Parameters used to update an existing Maps Account.

Constructor Summary

Constructor Description
MapsAccountUpdateParameters()

Creates an instance of MapsAccountUpdateParameters class.

Method Summary

Modifier and Type Method and Description
CorsRules cors()

Get the cors property: Specifies CORS rules for the Blob service.

Boolean disableLocalAuth()

Get the disableLocalAuth property: Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support.

Encryption encryption()

Get the encryption property: (Optional) Discouraged to include in resource definition.

ManagedServiceIdentity 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<LinkedResource> linkedResources()

Get the linkedResources property: The array of associated resources to the Map account.

String provisioningState()

Get the provisioningState property: The provisioning state of the Map account resource, Account updates can only be performed on terminal states.

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 uniqueId property: A unique identifier for the maps account.

void validate()

Validates the instance.

MapsAccountUpdateParameters withCors(CorsRules cors)

Set the cors property: Specifies CORS rules for the Blob service.

MapsAccountUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support.

MapsAccountUpdateParameters withEncryption(Encryption encryption)

Set the encryption property: (Optional) Discouraged to include in resource definition.

MapsAccountUpdateParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

MapsAccountUpdateParameters withKind(Kind kind)

Set the kind property: Get or Set Kind property.

MapsAccountUpdateParameters withLinkedResources(List<LinkedResource> linkedResources)

Set the linkedResources property: The array of associated resources to the Map account.

MapsAccountUpdateParameters withSku(Sku sku)

Set the sku property: The SKU of this account.

MapsAccountUpdateParameters 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:

the cors value.

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:

the disableLocalAuth value.

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:

the encryption value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

Returns:

the identity value.

kind

public Kind kind()

Get the kind property: Get or Set Kind property.

Returns:

the kind value.

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:

the linkedResources value.

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:

the provisioningState value.

sku

public Sku sku()

Get the sku property: The SKU of this account.

Returns:

the sku value.

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:

the tags value.

uniqueId

public String uniqueId()

Get the uniqueId property: A unique identifier for the maps account.

Returns:

the uniqueId value.

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:

cors - the cors value to set.

Returns:

the MapsAccountUpdateParameters object itself.

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:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the MapsAccountUpdateParameters object itself.

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:

encryption - the encryption value to set.

Returns:

the MapsAccountUpdateParameters object itself.

withIdentity

public MapsAccountUpdateParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

Parameters:

identity - the identity value to set.

Returns:

the MapsAccountUpdateParameters object itself.

withKind

public MapsAccountUpdateParameters withKind(Kind kind)

Set the kind property: Get or Set Kind property.

Parameters:

kind - the kind value to set.

Returns:

the MapsAccountUpdateParameters object itself.

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:

linkedResources - the linkedResources value to set.

Returns:

the MapsAccountUpdateParameters object itself.

withSku

public MapsAccountUpdateParameters withSku(Sku sku)

Set the sku property: The SKU of this account.

Parameters:

sku - the sku value to set.

Returns:

the MapsAccountUpdateParameters object itself.

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:

tags - the tags value to set.

Returns:

the MapsAccountUpdateParameters object itself.

Applies to