Namespaces Interface
public interface Namespaces
Resource collection API of Namespaces.
Method Summary
Method Details
checkAvailability
public abstract CheckAvailabilityResult checkAvailability(CheckAvailabilityParameters parameters)
Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.
Parameters:
Returns:
checkAvailabilityWithResponse
public abstract Response
Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.
Parameters:
Returns:
createOrUpdateAuthorizationRule
public abstract SharedAccessAuthorizationRuleResource createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName, SharedAccessAuthorizationRuleResourceInner parameters)
Creates an authorization rule for a namespace.
Parameters:
Returns:
createOrUpdateAuthorizationRuleWithResponse
public abstract Response
Creates an authorization rule for a namespace.
Parameters:
Returns:
define
public abstract NamespaceResource.DefinitionStages.Blank define(String name)
Begins definition for a new NamespaceResource resource.
Parameters:
Returns:
deleteAuthorizationRule
public abstract void deleteAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName)
Deletes a namespace authorization rule.
Parameters:
deleteAuthorizationRuleWithResponse
public abstract Response
Deletes a namespace authorization rule.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.
Parameters:
deleteByIdWithResponse
public abstract Response
Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String namespaceName)
Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response
Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.
Parameters:
Returns:
getAuthorizationRule
public abstract SharedAccessAuthorizationRuleResource getAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName)
Gets an authorization rule for a namespace by name.
Parameters:
Returns:
getAuthorizationRuleWithResponse
public abstract Response
Gets an authorization rule for a namespace by name.
Parameters:
Returns:
getById
public abstract NamespaceResource getById(String id)
Returns the given namespace.
Parameters:
Returns:
getByIdWithResponse
public abstract Response
Returns the given namespace.
Parameters:
Returns:
getByResourceGroup
public abstract NamespaceResource getByResourceGroup(String resourceGroupName, String namespaceName)
Returns the given namespace.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Returns the given namespace.
Parameters:
Returns:
getPnsCredentials
public abstract PnsCredentialsResource getPnsCredentials(String resourceGroupName, String namespaceName)
Lists the PNS credentials associated with a namespace.
Parameters:
Returns:
getPnsCredentialsWithResponse
public abstract Response
Lists the PNS credentials associated with a namespace.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all the available namespaces within the subscription.
Returns:
list
public abstract PagedIterable
Lists all the available namespaces within the subscription.
Parameters:
Returns:
listAuthorizationRules
public abstract PagedIterable
Gets the authorization rules for a namespace.
Parameters:
Returns:
listAuthorizationRules
public abstract PagedIterable
Gets the authorization rules for a namespace.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists the available namespaces within a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists the available namespaces within a resource group.
Parameters:
Returns:
listKeys
public abstract ResourceListKeys listKeys(String resourceGroupName, String namespaceName, String authorizationRuleName)
Gets the Primary and Secondary ConnectionStrings to the namespace.
Parameters:
Returns:
listKeysWithResponse
public abstract Response
Gets the Primary and Secondary ConnectionStrings to the namespace.
Parameters:
Returns:
regenerateKeys
public abstract ResourceListKeys regenerateKeys(String resourceGroupName, String namespaceName, String authorizationRuleName, PolicyKeyResource parameters)
Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule.
Parameters:
Returns:
regenerateKeysWithResponse
public abstract Response
Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule.
Parameters:
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