MapsAccountProperties Class
- java.
lang. Object - com.
azure. resourcemanager. maps. fluent. models. MapsAccountProperties
- com.
public final class MapsAccountProperties
Additional Map account properties.
Constructor Summary
| Constructor | Description |
|---|---|
| MapsAccountProperties() |
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. |
|
List<Linked |
linkedResources()
Get the linked |
| String |
provisioningState()
Get the provisioning |
| 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 |
withLinkedResources(List<LinkedResource> linkedResources)
Set the linked |
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:
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:
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:
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 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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns: