Share via


Domains Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.collection.SupportsListing<Domain> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.eventgrid.v2020_04_01_preview.implementation.DomainsInner> com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<Domain> com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<Domain>

public interface Domains
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup, com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion, com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<Domain>, com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<Domain>, com.microsoft.azure.arm.collection.SupportsListing<Domain>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.eventgrid.v2020_04_01_preview.implementation.DomainsInner>

Type representing Domains.

Method Summary

Modifier and Type Method and Description
abstract rx.Observable<DomainSharedAccessKeys> listSharedAccessKeysAsync(String resourceGroupName, String domainName)

List keys for a domain.

abstract rx.Observable<DomainSharedAccessKeys> regenerateKeyAsync(String resourceGroupName, String domainName, String keyName)

Regenerate key for a domain.

Method Details

listSharedAccessKeysAsync

public abstract Observable<DomainSharedAccessKeys> listSharedAccessKeysAsync(String resourceGroupName, String domainName)

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

Parameters:

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

Returns:

the observable for the request

regenerateKeyAsync

public abstract Observable<DomainSharedAccessKeys> regenerateKeyAsync(String resourceGroupName, String domainName, String keyName)

Regenerate key for a domain. Regenerate a shared access key for a domain.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
domainName - Name of the domain.
keyName - Key name to regenerate key1 or key2.

Returns:

the observable for the request

Applies to