MapsAccount Interface
public interface MapsAccount
An immutable client-side representation of MapsAccount.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Managed |
identity()
Gets the identity property: Managed service identity (system assigned and/or user assigned identities). |
abstract
Maps |
innerModel()
Gets the inner com. |
abstract Kind |
kind()
Gets the kind property: Get or Set Kind property. |
abstract
Maps |
listKeys()
Get the keys to use with the Maps APIs. |
abstract
Response<Maps |
listKeysWithResponse(Context context)
Get the keys to use with the Maps APIs. |
abstract
Maps |
listSas(AccountSasParameters mapsAccountSasParameters)
Create and list an account shared access signature token. |
abstract
Response<Maps |
listSasWithResponse(AccountSasParameters mapsAccountSasParameters, Context context)
Create and list an account shared access signature token. |
abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract
Maps |
properties()
Gets the properties property: The map account properties. |
abstract
Maps |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Maps |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract
Maps |
regenerateKeys(MapsKeySpecification keySpecification)
Regenerate either the primary or secondary key for use with the Maps APIs. |
abstract
Response<Maps |
regenerateKeysWithResponse(MapsKeySpecification keySpecification, Context context)
Regenerate either the primary or secondary key for use with the Maps APIs. |
abstract Region |
region()
Gets the region of the resource. |
abstract String |
regionName()
Gets the name of the resource region. |
abstract String |
resourceGroupName()
Gets the name of the resource group. |
abstract Sku |
sku()
Gets the sku property: The SKU of this account. |
abstract
System |
systemData()
Gets the system |
abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the Maps |
Method Details
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract ManagedServiceIdentity identity()
Gets the identity property: Managed service identity (system assigned and/or user assigned identities).
Returns:
innerModel
public abstract MapsAccountInner innerModel()
Gets the inner com.azure.resourcemanager.maps.fluent.models.MapsAccountInner object.
Returns:
kind
public abstract Kind kind()
Gets the kind property: Get or Set Kind property.
Returns:
listKeys
public abstract MapsAccountKeys listKeys()
Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.
Returns:
listKeysWithResponse
public abstract Response
Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.
Parameters:
Returns:
listSas
public abstract MapsAccountSasToken listSas(AccountSasParameters mapsAccountSasParameters)
Create and list an account shared access signature token. Use this SAS token for authentication to Azure Maps REST APIs through various Azure Maps SDKs. As prerequisite to create a SAS Token.
Prerequisites: 1. Create or have an existing User Assigned Managed Identity in the same Azure region as the account. 2. Create or update an Azure Map account with the same Azure region as the User Assigned Managed Identity is placed.
Parameters:
Returns:
listSasWithResponse
public abstract Response
Create and list an account shared access signature token. Use this SAS token for authentication to Azure Maps REST APIs through various Azure Maps SDKs. As prerequisite to create a SAS Token.
Prerequisites: 1. Create or have an existing User Assigned Managed Identity in the same Azure region as the account. 2. Create or update an Azure Map account with the same Azure region as the User Assigned Managed Identity is placed.
Parameters:
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
properties
public abstract MapsAccountProperties properties()
Gets the properties property: The map account properties.
Returns:
refresh
public abstract MapsAccount refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract MapsAccount refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
regenerateKeys
public abstract MapsAccountKeys regenerateKeys(MapsKeySpecification keySpecification)
Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop working immediately.
Parameters:
Returns:
regenerateKeysWithResponse
public abstract Response
Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop working immediately.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
sku
public abstract Sku sku()
Gets the sku property: The SKU of this account.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract MapsAccount.Update update()
Begins update for the MapsAccount resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for