你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PartnerConfigurations interface
Interface representing a PartnerConfigurations.
Methods
Method Details
authorizePartner(string, Partner, PartnerConfigurationsAuthorizePartnerOptionalParams)
Authorize a single partner either by partner registration immutable Id or by partner name.
function authorizePartner(resourceGroupName: string, partnerInfo: Partner, options?: PartnerConfigurationsAuthorizePartnerOptionalParams): Promise<PartnerConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerInfo
- Partner
The information of the partner to be authorized.
The options parameters.
Returns
Promise<PartnerConfiguration>
beginCreateOrUpdate(string, PartnerConfiguration, PartnerConfigurationsCreateOrUpdateOptionalParams)
Synchronously creates or updates a partner configuration with the specified parameters.
function beginCreateOrUpdate(resourceGroupName: string, partnerConfigurationInfo: PartnerConfiguration, options?: PartnerConfigurationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PartnerConfiguration>, PartnerConfiguration>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerConfigurationInfo
- PartnerConfiguration
Partner configuration information.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<PartnerConfiguration>, PartnerConfiguration>>
beginCreateOrUpdateAndWait(string, PartnerConfiguration, PartnerConfigurationsCreateOrUpdateOptionalParams)
Synchronously creates or updates a partner configuration with the specified parameters.
function beginCreateOrUpdateAndWait(resourceGroupName: string, partnerConfigurationInfo: PartnerConfiguration, options?: PartnerConfigurationsCreateOrUpdateOptionalParams): Promise<PartnerConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerConfigurationInfo
- PartnerConfiguration
Partner configuration information.
The options parameters.
Returns
Promise<PartnerConfiguration>
beginDelete(string, PartnerConfigurationsDeleteOptionalParams)
Delete existing partner configuration.
function beginDelete(resourceGroupName: string, options?: PartnerConfigurationsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, PartnerConfigurationsDeleteOptionalParams)
Delete existing partner configuration.
function beginDeleteAndWait(resourceGroupName: string, options?: PartnerConfigurationsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
The options parameters.
Returns
Promise<void>
beginUpdate(string, PartnerConfigurationUpdateParameters, PartnerConfigurationsUpdateOptionalParams)
Synchronously updates a partner configuration with the specified parameters.
function beginUpdate(resourceGroupName: string, partnerConfigurationUpdateParameters: PartnerConfigurationUpdateParameters, options?: PartnerConfigurationsUpdateOptionalParams): Promise<PollerLike<PollOperationState<PartnerConfiguration>, PartnerConfiguration>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerConfigurationUpdateParameters
- PartnerConfigurationUpdateParameters
Partner configuration update information.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<PartnerConfiguration>, PartnerConfiguration>>
beginUpdateAndWait(string, PartnerConfigurationUpdateParameters, PartnerConfigurationsUpdateOptionalParams)
Synchronously updates a partner configuration with the specified parameters.
function beginUpdateAndWait(resourceGroupName: string, partnerConfigurationUpdateParameters: PartnerConfigurationUpdateParameters, options?: PartnerConfigurationsUpdateOptionalParams): Promise<PartnerConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerConfigurationUpdateParameters
- PartnerConfigurationUpdateParameters
Partner configuration update information.
The options parameters.
Returns
Promise<PartnerConfiguration>
get(string, PartnerConfigurationsGetOptionalParams)
Get properties of a partner configuration.
function get(resourceGroupName: string, options?: PartnerConfigurationsGetOptionalParams): Promise<PartnerConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
The options parameters.
Returns
Promise<PartnerConfiguration>
listByResourceGroup(string, PartnerConfigurationsListByResourceGroupOptionalParams)
List all the partner configurations under a resource group.
function listByResourceGroup(resourceGroupName: string, options?: PartnerConfigurationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerConfiguration, PartnerConfiguration[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
The options parameters.
Returns
listBySubscription(PartnerConfigurationsListBySubscriptionOptionalParams)
List all the partner configurations under an Azure subscription.
function listBySubscription(options?: PartnerConfigurationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerConfiguration, PartnerConfiguration[], PageSettings>
Parameters
The options parameters.
Returns
unauthorizePartner(string, Partner, PartnerConfigurationsUnauthorizePartnerOptionalParams)
Unauthorize a single partner either by partner registration immutable Id or by partner name.
function unauthorizePartner(resourceGroupName: string, partnerInfo: Partner, options?: PartnerConfigurationsUnauthorizePartnerOptionalParams): Promise<PartnerConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerInfo
- Partner
The information of the partner to be unauthorized.
The options parameters.
Returns
Promise<PartnerConfiguration>