共用方式為


MapsAccountProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.maps.fluent.models.MapsAccountProperties

public final class MapsAccountProperties

Additional Map account properties.

Constructor Summary

Constructor Description
MapsAccountProperties()

Creates an instance of MapsAccountProperties 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.

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.

String uniqueId()

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

void validate()

Validates the instance.

MapsAccountProperties withCors(CorsRules cors)

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

MapsAccountProperties withDisableLocalAuth(Boolean disableLocalAuth)

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

MapsAccountProperties withEncryption(Encryption encryption)

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

MapsAccountProperties withLinkedResources(List<LinkedResource> linkedResources)

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

Methods inherited from java.lang.Object

Constructor Details

MapsAccountProperties

public MapsAccountProperties()

Creates an instance of MapsAccountProperties 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.

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.

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 MapsAccountProperties 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 MapsAccountProperties object itself.

withDisableLocalAuth

public MapsAccountProperties 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 MapsAccountProperties object itself.

withEncryption

public MapsAccountProperties 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 MapsAccountProperties object itself.

withLinkedResources

public MapsAccountProperties 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 MapsAccountProperties object itself.

Applies to