Publishers interface

Interface representing a Publishers.

Methods

beginCreateOrUpdate(string, string, PublishersCreateOrUpdateOptionalParams)

Creates or updates a publisher.

beginCreateOrUpdateAndWait(string, string, PublishersCreateOrUpdateOptionalParams)

Creates or updates a publisher.

beginDelete(string, string, PublishersDeleteOptionalParams)

Deletes the specified publisher.

beginDeleteAndWait(string, string, PublishersDeleteOptionalParams)

Deletes the specified publisher.

get(string, string, PublishersGetOptionalParams)

Gets information about the specified publisher.

listByResourceGroup(string, PublishersListByResourceGroupOptionalParams)

Lists all the publishers in a resource group.

listBySubscription(PublishersListBySubscriptionOptionalParams)

Lists all the publishers in a subscription.

update(string, string, PublishersUpdateOptionalParams)

Update a publisher resource.

Method Details

beginCreateOrUpdate(string, string, PublishersCreateOrUpdateOptionalParams)

Creates or updates a publisher.

function beginCreateOrUpdate(resourceGroupName: string, publisherName: string, options?: PublishersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Publisher>, Publisher>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

publisherName

string

The name of the publisher.

options
PublishersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Publisher>, Publisher>>

beginCreateOrUpdateAndWait(string, string, PublishersCreateOrUpdateOptionalParams)

Creates or updates a publisher.

function beginCreateOrUpdateAndWait(resourceGroupName: string, publisherName: string, options?: PublishersCreateOrUpdateOptionalParams): Promise<Publisher>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

publisherName

string

The name of the publisher.

options
PublishersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Publisher>

beginDelete(string, string, PublishersDeleteOptionalParams)

Deletes the specified publisher.

function beginDelete(resourceGroupName: string, publisherName: string, options?: PublishersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PublishersDeleteHeaders>, PublishersDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

publisherName

string

The name of the publisher.

options
PublishersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<PublishersDeleteHeaders>, PublishersDeleteHeaders>>

beginDeleteAndWait(string, string, PublishersDeleteOptionalParams)

Deletes the specified publisher.

function beginDeleteAndWait(resourceGroupName: string, publisherName: string, options?: PublishersDeleteOptionalParams): Promise<PublishersDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

publisherName

string

The name of the publisher.

options
PublishersDeleteOptionalParams

The options parameters.

Returns

get(string, string, PublishersGetOptionalParams)

Gets information about the specified publisher.

function get(resourceGroupName: string, publisherName: string, options?: PublishersGetOptionalParams): Promise<Publisher>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

publisherName

string

The name of the publisher.

options
PublishersGetOptionalParams

The options parameters.

Returns

Promise<Publisher>

listByResourceGroup(string, PublishersListByResourceGroupOptionalParams)

Lists all the publishers in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: PublishersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Publisher, Publisher[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
PublishersListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(PublishersListBySubscriptionOptionalParams)

Lists all the publishers in a subscription.

function listBySubscription(options?: PublishersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Publisher, Publisher[], PageSettings>

Parameters

options
PublishersListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, PublishersUpdateOptionalParams)

Update a publisher resource.

function update(resourceGroupName: string, publisherName: string, options?: PublishersUpdateOptionalParams): Promise<Publisher>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

publisherName

string

The name of the publisher.

options
PublishersUpdateOptionalParams

The options parameters.

Returns

Promise<Publisher>