你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PartnerTopics interface
Interface representing a PartnerTopics.
Methods
Method Details
activate(string, string, PartnerTopicsActivateOptionalParams)
Activate a newly created partner topic.
function activate(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsActivateOptionalParams): Promise<PartnerTopic>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerTopicName
-
string
Name of the partner topic.
The options parameters.
Returns
Promise<PartnerTopic>
beginDelete(string, string, PartnerTopicsDeleteOptionalParams)
Delete existing partner topic.
function beginDelete(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerTopicName
-
string
Name of the partner topic.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, PartnerTopicsDeleteOptionalParams)
Delete existing partner topic.
function beginDeleteAndWait(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerTopicName
-
string
Name of the partner topic.
The options parameters.
Returns
Promise<void>
createOrUpdate(string, string, PartnerTopic, PartnerTopicsCreateOrUpdateOptionalParams)
Asynchronously creates a new partner topic with the specified parameters.
function createOrUpdate(resourceGroupName: string, partnerTopicName: string, partnerTopicInfo: PartnerTopic, options?: PartnerTopicsCreateOrUpdateOptionalParams): Promise<PartnerTopic>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerTopicName
-
string
Name of the partner topic.
- partnerTopicInfo
- PartnerTopic
Partner Topic information.
The options parameters.
Returns
Promise<PartnerTopic>
deactivate(string, string, PartnerTopicsDeactivateOptionalParams)
Deactivate specific partner topic.
function deactivate(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeactivateOptionalParams): Promise<PartnerTopic>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerTopicName
-
string
Name of the partner topic.
The options parameters.
Returns
Promise<PartnerTopic>
get(string, string, PartnerTopicsGetOptionalParams)
Get properties of a partner topic.
function get(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsGetOptionalParams): Promise<PartnerTopic>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerTopicName
-
string
Name of the partner topic.
- options
- PartnerTopicsGetOptionalParams
The options parameters.
Returns
Promise<PartnerTopic>
listByResourceGroup(string, PartnerTopicsListByResourceGroupOptionalParams)
List all the partner topics under a resource group.
function listByResourceGroup(resourceGroupName: string, options?: PartnerTopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerTopic, PartnerTopic[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
The options parameters.
Returns
listBySubscription(PartnerTopicsListBySubscriptionOptionalParams)
List all the partner topics under an Azure subscription.
function listBySubscription(options?: PartnerTopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerTopic, PartnerTopic[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, PartnerTopicUpdateParameters, PartnerTopicsUpdateOptionalParams)
Asynchronously updates a partner topic with the specified parameters.
function update(resourceGroupName: string, partnerTopicName: string, partnerTopicUpdateParameters: PartnerTopicUpdateParameters, options?: PartnerTopicsUpdateOptionalParams): Promise<PartnerTopic>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription.
- partnerTopicName
-
string
Name of the partner topic.
- partnerTopicUpdateParameters
- PartnerTopicUpdateParameters
PartnerTopic update information.
The options parameters.
Returns
Promise<PartnerTopic>