NamespacesOperations interface

Interface representing a Namespaces operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginFailover
beginFailoverAndWait
checkNameAvailability

Check the give namespace name availability.

createOrUpdate

Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.

createOrUpdateAuthorizationRule

Creates or updates an authorization rule for a namespace.

createOrUpdateNetworkRuleSet

Create or update NetworkRuleSet for a Namespace.

delete

Deletes an existing namespace. This operation also removes all associated resources under the namespace.

deleteAuthorizationRule

Deletes a namespace authorization rule.

failover

GeoDR Failover

get

Gets a description for the specified namespace.

getAuthorizationRule

Gets an authorization rule for a namespace by rule name.

getNetworkRuleSet

Gets NetworkRuleSet for a Namespace.

list

Gets all the available namespaces within the subscription, irrespective of the resource groups.

listAuthorizationRules

Gets the authorization rules for a namespace.

listByResourceGroup

Gets the available namespaces within a resource group.

listKeys

Gets the primary and secondary connection strings for the namespace.

listNetworkRuleSets

Gets list of NetworkRuleSet for a Namespace.

regenerateKeys

Regenerates the primary or secondary connection strings for the namespace.

update

Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, namespaceName: string, parameters: SBNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<SBNamespace>, SBNamespace>>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: SBNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<SBNamespace>, SBNamespace>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, namespaceName: string, parameters: SBNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<SBNamespace>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: SBNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<SBNamespace>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => Promise<void>

beginFailover

Warning

This API is now deprecated.

use failover instead

beginFailover: (resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailOver>, FailOver>>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailOver>, FailOver>>

beginFailoverAndWait

Warning

This API is now deprecated.

use failover instead

beginFailoverAndWait: (resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<FailOver>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<FailOver>

checkNameAvailability

Check the give namespace name availability.

checkNameAvailability: (parameters: CheckNameAvailability, options?: NamespacesCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResult>

Property Value

(parameters: CheckNameAvailability, options?: NamespacesCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResult>

createOrUpdate

Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.

createOrUpdate: (resourceGroupName: string, namespaceName: string, parameters: SBNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<SBNamespace>, SBNamespace>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: SBNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<SBNamespace>, SBNamespace>

createOrUpdateAuthorizationRule

Creates or updates an authorization rule for a namespace.

createOrUpdateAuthorizationRule: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SBAuthorizationRule, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams) => Promise<SBAuthorizationRule>

Property Value

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SBAuthorizationRule, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams) => Promise<SBAuthorizationRule>

createOrUpdateNetworkRuleSet

Create or update NetworkRuleSet for a Namespace.

createOrUpdateNetworkRuleSet: (resourceGroupName: string, namespaceName: string, parameters: NetworkRuleSet, options?: NamespacesCreateOrUpdateNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: NetworkRuleSet, options?: NamespacesCreateOrUpdateNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

delete

Deletes an existing namespace. This operation also removes all associated resources under the namespace.

delete: (resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

deleteAuthorizationRule

Deletes a namespace authorization rule.

deleteAuthorizationRule: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams) => Promise<void>

failover

GeoDR Failover

failover: (resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => PollerLike<OperationState<FailOver>, FailOver>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => PollerLike<OperationState<FailOver>, FailOver>

get

Gets a description for the specified namespace.

get: (resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams) => Promise<SBNamespace>

Property Value

(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams) => Promise<SBNamespace>

getAuthorizationRule

Gets an authorization rule for a namespace by rule name.

getAuthorizationRule: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams) => Promise<SBAuthorizationRule>

Property Value

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams) => Promise<SBAuthorizationRule>

getNetworkRuleSet

Gets NetworkRuleSet for a Namespace.

getNetworkRuleSet: (resourceGroupName: string, namespaceName: string, options?: NamespacesGetNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

Property Value

(resourceGroupName: string, namespaceName: string, options?: NamespacesGetNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

list

Gets all the available namespaces within the subscription, irrespective of the resource groups.

list: (options?: NamespacesListOptionalParams) => PagedAsyncIterableIterator<SBNamespace, SBNamespace[], PageSettings>

Property Value

(options?: NamespacesListOptionalParams) => PagedAsyncIterableIterator<SBNamespace, SBNamespace[], PageSettings>

listAuthorizationRules

Gets the authorization rules for a namespace.

listAuthorizationRules: (resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams) => PagedAsyncIterableIterator<SBAuthorizationRule, SBAuthorizationRule[], PageSettings>

Property Value

(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams) => PagedAsyncIterableIterator<SBAuthorizationRule, SBAuthorizationRule[], PageSettings>

listByResourceGroup

Gets the available namespaces within a resource group.

listByResourceGroup: (resourceGroupName: string, options?: NamespacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<SBNamespace, SBNamespace[], PageSettings>

Property Value

(resourceGroupName: string, options?: NamespacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<SBNamespace, SBNamespace[], PageSettings>

listKeys

Gets the primary and secondary connection strings for the namespace.

listKeys: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams) => Promise<AccessKeys>

Property Value

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams) => Promise<AccessKeys>

listNetworkRuleSets

Gets list of NetworkRuleSet for a Namespace.

listNetworkRuleSets: (resourceGroupName: string, namespaceName: string, options?: NamespacesListNetworkRuleSetsOptionalParams) => PagedAsyncIterableIterator<NetworkRuleSet, NetworkRuleSet[], PageSettings>

Property Value

(resourceGroupName: string, namespaceName: string, options?: NamespacesListNetworkRuleSetsOptionalParams) => PagedAsyncIterableIterator<NetworkRuleSet, NetworkRuleSet[], PageSettings>

regenerateKeys

Regenerates the primary or secondary connection strings for the namespace.

regenerateKeys: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: NamespacesRegenerateKeysOptionalParams) => Promise<AccessKeys>

Property Value

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: NamespacesRegenerateKeysOptionalParams) => Promise<AccessKeys>

update

Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.

update: (resourceGroupName: string, namespaceName: string, parameters: SBNamespaceUpdateParameters, options?: NamespacesUpdateOptionalParams) => Promise<undefined | SBNamespace>

Property Value

(resourceGroupName: string, namespaceName: string, parameters: SBNamespaceUpdateParameters, options?: NamespacesUpdateOptionalParams) => Promise<undefined | SBNamespace>