你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PartnerNamespaces interface
Interface representing a PartnerNamespaces.
Methods
Method Details
beginCreateOrUpdate(string, string, PartnerNamespace, PartnerNamespacesCreateOrUpdateOptionalParams)
Asynchronously creates a new partner namespace with the specified parameters.
function beginCreateOrUpdate(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceInfo: PartnerNamespace, options?: PartnerNamespacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PartnerNamespace>, PartnerNamespace>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
- partnerNamespaceInfo
- PartnerNamespace
PartnerNamespace information.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<PartnerNamespace>, PartnerNamespace>>
beginCreateOrUpdateAndWait(string, string, PartnerNamespace, PartnerNamespacesCreateOrUpdateOptionalParams)
Asynchronously creates a new partner namespace with the specified parameters.
function beginCreateOrUpdateAndWait(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceInfo: PartnerNamespace, options?: PartnerNamespacesCreateOrUpdateOptionalParams): Promise<PartnerNamespace>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
- partnerNamespaceInfo
- PartnerNamespace
PartnerNamespace information.
The options parameters.
Returns
Promise<PartnerNamespace>
beginDelete(string, string, PartnerNamespacesDeleteOptionalParams)
Delete existing partner namespace.
function beginDelete(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, PartnerNamespacesDeleteOptionalParams)
Delete existing partner namespace.
function beginDeleteAndWait(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, PartnerNamespaceUpdateParameters, PartnerNamespacesUpdateOptionalParams)
Asynchronously updates a partner namespace with the specified parameters.
function beginUpdate(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters, options?: PartnerNamespacesUpdateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
- partnerNamespaceUpdateParameters
- PartnerNamespaceUpdateParameters
Partner namespace update information.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginUpdateAndWait(string, string, PartnerNamespaceUpdateParameters, PartnerNamespacesUpdateOptionalParams)
Asynchronously updates a partner namespace with the specified parameters.
function beginUpdateAndWait(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters, options?: PartnerNamespacesUpdateOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
- partnerNamespaceUpdateParameters
- PartnerNamespaceUpdateParameters
Partner namespace update information.
The options parameters.
Returns
Promise<void>
get(string, string, PartnerNamespacesGetOptionalParams)
Get properties of a partner namespace.
function get(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesGetOptionalParams): Promise<PartnerNamespace>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
The options parameters.
Returns
Promise<PartnerNamespace>
listByResourceGroup(string, PartnerNamespacesListByResourceGroupOptionalParams)
List all the partner namespaces under a resource group.
function listByResourceGroup(resourceGroupName: string, options?: PartnerNamespacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerNamespace, PartnerNamespace[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
The options parameters.
Returns
listBySubscription(PartnerNamespacesListBySubscriptionOptionalParams)
List all the partner namespaces under an Azure subscription.
function listBySubscription(options?: PartnerNamespacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerNamespace, PartnerNamespace[], PageSettings>
Parameters
The options parameters.
Returns
listSharedAccessKeys(string, string, PartnerNamespacesListSharedAccessKeysOptionalParams)
List the two keys used to publish to a partner namespace.
function listSharedAccessKeys(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesListSharedAccessKeysOptionalParams): Promise<PartnerNamespaceSharedAccessKeys>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
The options parameters.
Returns
Promise<PartnerNamespaceSharedAccessKeys>
regenerateKey(string, string, PartnerNamespaceRegenerateKeyRequest, PartnerNamespacesRegenerateKeyOptionalParams)
Regenerate a shared access key for a partner namespace.
function regenerateKey(resourceGroupName: string, partnerNamespaceName: string, regenerateKeyRequest: PartnerNamespaceRegenerateKeyRequest, options?: PartnerNamespacesRegenerateKeyOptionalParams): Promise<PartnerNamespaceSharedAccessKeys>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerNamespaceName
-
string
Name of the partner namespace.
- regenerateKeyRequest
- PartnerNamespaceRegenerateKeyRequest
Request body to regenerate key.
The options parameters.
Returns
Promise<PartnerNamespaceSharedAccessKeys>