İngilizce dilinde oku

Aracılığıyla paylaş


NamespacesClient Interface

public interface NamespacesClient

An instance of this class provides access to all the operations defined in NamespacesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<NamespaceInner>,NamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo)

Create or update a namespace.

abstract SyncPoller<PollResult<NamespaceInner>,NamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo, Context context)

Create or update a namespace.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName)

Delete a namespace.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, Context context)

Delete a namespace.

abstract SyncPoller<PollResult<NamespaceSharedAccessKeysInner>,NamespaceSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace.

abstract SyncPoller<PollResult<NamespaceSharedAccessKeysInner>,NamespaceSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace.

abstract SyncPoller<PollResult<NamespaceInner>,NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters)

Update a namespace.

abstract SyncPoller<PollResult<NamespaceInner>,NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters, Context context)

Update a namespace.

abstract SyncPoller<PollResult<CustomDomainOwnershipValidationResultInner>,CustomDomainOwnershipValidationResultInner> beginValidateCustomDomainOwnership(String resourceGroupName, String namespaceName)

Validate ownership for all custom domains in a namespace.

abstract SyncPoller<PollResult<CustomDomainOwnershipValidationResultInner>,CustomDomainOwnershipValidationResultInner> beginValidateCustomDomainOwnership(String resourceGroupName, String namespaceName, Context context)

Validate ownership for all custom domains in a namespace.

abstract NamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo)

Create or update a namespace.

abstract NamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo, Context context)

Create or update a namespace.

abstract void delete(String resourceGroupName, String namespaceName)

Delete a namespace.

abstract void delete(String resourceGroupName, String namespaceName, Context context)

Delete a namespace.

abstract NamespaceInner getByResourceGroup(String resourceGroupName, String namespaceName)

Get a namespace.

abstract Response<NamespaceInner> getByResourceGroupWithResponse(String resourceGroupName, String namespaceName, Context context)

Get a namespace.

abstract PagedIterable<NamespaceInner> list()

List namespaces under an Azure subscription.

abstract PagedIterable<NamespaceInner> list(String filter, Integer top, Context context)

List namespaces under an Azure subscription.

abstract PagedIterable<NamespaceInner> listByResourceGroup(String resourceGroupName)

List namespaces under a resource group.

abstract PagedIterable<NamespaceInner> listByResourceGroup(String resourceGroupName, String filter, Integer top, Context context)

List namespaces under a resource group.

abstract NamespaceSharedAccessKeysInner listSharedAccessKeys(String resourceGroupName, String namespaceName)

List keys for a namespace.

abstract Response<NamespaceSharedAccessKeysInner> listSharedAccessKeysWithResponse(String resourceGroupName, String namespaceName, Context context)

List keys for a namespace.

abstract NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace.

abstract NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace.

abstract NamespaceInner update(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters)

Update a namespace.

abstract NamespaceInner update(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters, Context context)

Update a namespace.

abstract CustomDomainOwnershipValidationResultInner validateCustomDomainOwnership(String resourceGroupName, String namespaceName)

Validate ownership for all custom domains in a namespace.

abstract CustomDomainOwnershipValidationResultInner validateCustomDomainOwnership(String resourceGroupName, String namespaceName, Context context)

Validate ownership for all custom domains in a namespace.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,NamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo)

Create or update a namespace. Asynchronously creates or updates a new namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceInfo - Namespace information.

Returns:

the SyncPoller<T,U> for polling of namespace resource.

beginCreateOrUpdate

public abstract SyncPoller,NamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo, Context context)

Create or update a namespace. Asynchronously creates or updates a new namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceInfo - Namespace information.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of namespace resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String namespaceName)

Delete a namespace. Delete existing namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String namespaceName, Context context)

Delete a namespace. Delete existing namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRegenerateKey

public abstract SyncPoller,NamespaceSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace. Regenerate a shared access key for a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.
regenerateKeyRequest - Request body to regenerate key.

Returns:

the SyncPoller<T,U> for polling of shared access keys of the Namespace.

beginRegenerateKey

public abstract SyncPoller,NamespaceSharedAccessKeysInner> beginRegenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace. Regenerate a shared access key for a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.
regenerateKeyRequest - Request body to regenerate key.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of shared access keys of the Namespace.

beginUpdate

public abstract SyncPoller,NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters)

Update a namespace. Asynchronously updates a namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceUpdateParameters - Namespace update information.

Returns:

the SyncPoller<T,U> for polling of namespace resource.

beginUpdate

public abstract SyncPoller,NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters, Context context)

Update a namespace. Asynchronously updates a namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceUpdateParameters - Namespace update information.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of namespace resource.

beginValidateCustomDomainOwnership

public abstract SyncPoller,CustomDomainOwnershipValidationResultInner> beginValidateCustomDomainOwnership(String resourceGroupName, String namespaceName)

Validate ownership for all custom domains in a namespace. Performs ownership validation via checking TXT records for all custom domains in a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.

Returns:

the SyncPoller<T,U> for polling of namespace custom domain ownership validation result.

beginValidateCustomDomainOwnership

public abstract SyncPoller,CustomDomainOwnershipValidationResultInner> beginValidateCustomDomainOwnership(String resourceGroupName, String namespaceName, Context context)

Validate ownership for all custom domains in a namespace. Performs ownership validation via checking TXT records for all custom domains in a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of namespace custom domain ownership validation result.

createOrUpdate

public abstract NamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo)

Create or update a namespace. Asynchronously creates or updates a new namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceInfo - Namespace information.

Returns:

namespace resource.

createOrUpdate

public abstract NamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, NamespaceInner namespaceInfo, Context context)

Create or update a namespace. Asynchronously creates or updates a new namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceInfo - Namespace information.
context - The context to associate with this operation.

Returns:

namespace resource.

delete

public abstract void delete(String resourceGroupName, String namespaceName)

Delete a namespace. Delete existing namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.

delete

public abstract void delete(String resourceGroupName, String namespaceName, Context context)

Delete a namespace. Delete existing namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
context - The context to associate with this operation.

getByResourceGroup

public abstract NamespaceInner getByResourceGroup(String resourceGroupName, String namespaceName)

Get a namespace. Get properties of a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.

Returns:

properties of a namespace.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String namespaceName, Context context)

Get a namespace. Get properties of a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
context - The context to associate with this operation.

Returns:

properties of a namespace along with Response<T>.

list

public abstract PagedIterable list()

List namespaces under an Azure subscription. List all the namespaces under an Azure subscription.

Returns:

result of the List Namespaces operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String filter, Integer top, Context context)

List namespaces under an Azure subscription. List all the namespaces under an Azure subscription.

Parameters:

filter - The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.
top - The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.
context - The context to associate with this operation.

Returns:

result of the List Namespaces operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

List namespaces under a resource group. List all the namespaces under a resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.

Returns:

result of the List Namespaces operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String filter, Integer top, Context context)

List namespaces under a resource group. List all the namespaces under a resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
filter - The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.
top - The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.
context - The context to associate with this operation.

Returns:

result of the List Namespaces operation as paginated response with PagedIterable<T>.

listSharedAccessKeys

public abstract NamespaceSharedAccessKeysInner listSharedAccessKeys(String resourceGroupName, String namespaceName)

List keys for a namespace. List the two keys used to publish to a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.

Returns:

shared access keys of the Namespace.

listSharedAccessKeysWithResponse

public abstract Response listSharedAccessKeysWithResponse(String resourceGroupName, String namespaceName, Context context)

List keys for a namespace. List the two keys used to publish to a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
context - The context to associate with this operation.

Returns:

shared access keys of the Namespace along with Response<T>.

regenerateKey

public abstract NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest)

Regenerate key for a namespace. Regenerate a shared access key for a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.
regenerateKeyRequest - Request body to regenerate key.

Returns:

shared access keys of the Namespace.

regenerateKey

public abstract NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String namespaceName, NamespaceRegenerateKeyRequest regenerateKeyRequest, Context context)

Regenerate key for a namespace. Regenerate a shared access key for a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.
regenerateKeyRequest - Request body to regenerate key.
context - The context to associate with this operation.

Returns:

shared access keys of the Namespace.

update

public abstract NamespaceInner update(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters)

Update a namespace. Asynchronously updates a namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceUpdateParameters - Namespace update information.

Returns:

namespace resource.

update

public abstract NamespaceInner update(String resourceGroupName, String namespaceName, NamespaceUpdateParameters namespaceUpdateParameters, Context context)

Update a namespace. Asynchronously updates a namespace with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
namespaceUpdateParameters - Namespace update information.
context - The context to associate with this operation.

Returns:

namespace resource.

validateCustomDomainOwnership

public abstract CustomDomainOwnershipValidationResultInner validateCustomDomainOwnership(String resourceGroupName, String namespaceName)

Validate ownership for all custom domains in a namespace. Performs ownership validation via checking TXT records for all custom domains in a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.

Returns:

namespace custom domain ownership validation result.

validateCustomDomainOwnership

public abstract CustomDomainOwnershipValidationResultInner validateCustomDomainOwnership(String resourceGroupName, String namespaceName, Context context)

Validate ownership for all custom domains in a namespace. Performs ownership validation via checking TXT records for all custom domains in a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the Namespace.
context - The context to associate with this operation.

Returns:

namespace custom domain ownership validation result.

Applies to

Azure SDK for Java

Preview