Publishers interface
Interface representing a Publishers.
Methods
begin |
Creates or updates a publisher. |
begin |
Creates or updates a publisher. |
begin |
Deletes the specified publisher. |
begin |
Deletes the specified publisher. |
get(string, string, Publishers |
Gets information about the specified publisher. |
list |
Lists all the publishers in a resource group. |
list |
Lists all the publishers in a subscription. |
update(string, string, Publishers |
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.
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.
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
Promise<PublishersDeleteHeaders>
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.
The options parameters.
Returns
listBySubscription(PublishersListBySubscriptionOptionalParams)
Lists all the publishers in a subscription.
function listBySubscription(options?: PublishersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Publisher, Publisher[], PageSettings>
Parameters
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>
Azure SDK for JavaScript