Freigeben über


PublishersClient Interface

public interface PublishersClient

An instance of this class provides access to all the operations defined in PublishersClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<PublisherInner>,PublisherInner> beginCreateOrUpdate(String resourceGroupName, String publisherName)

Creates or updates a publisher.

abstract SyncPoller<PollResult<PublisherInner>,PublisherInner> beginCreateOrUpdate(String resourceGroupName, String publisherName, PublisherInner parameters, Context context)

Creates or updates a publisher.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String publisherName)

Deletes the specified publisher.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String publisherName, Context context)

Deletes the specified publisher.

abstract PublisherInner createOrUpdate(String resourceGroupName, String publisherName)

Creates or updates a publisher.

abstract PublisherInner createOrUpdate(String resourceGroupName, String publisherName, PublisherInner parameters, Context context)

Creates or updates a publisher.

abstract void delete(String resourceGroupName, String publisherName)

Deletes the specified publisher.

abstract void delete(String resourceGroupName, String publisherName, Context context)

Deletes the specified publisher.

abstract PublisherInner getByResourceGroup(String resourceGroupName, String publisherName)

Gets information about the specified publisher.

abstract Response<PublisherInner> getByResourceGroupWithResponse(String resourceGroupName, String publisherName, Context context)

Gets information about the specified publisher.

abstract PagedIterable<PublisherInner> list()

Lists all the publishers in a subscription.

abstract PagedIterable<PublisherInner> list(Context context)

Lists all the publishers in a subscription.

abstract PagedIterable<PublisherInner> listByResourceGroup(String resourceGroupName)

Lists all the publishers in a resource group.

abstract PagedIterable<PublisherInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the publishers in a resource group.

abstract PublisherInner update(String resourceGroupName, String publisherName)

Update a publisher resource.

abstract Response<PublisherInner> updateWithResponse(String resourceGroupName, String publisherName, TagsObject parameters, Context context)

Update a publisher resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<PublisherInner>,PublisherInner> beginCreateOrUpdate(String resourceGroupName, String publisherName)

Creates or updates a publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.

Returns:

the SyncPoller<T,U> for polling of publisher resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<PublisherInner>,PublisherInner> beginCreateOrUpdate(String resourceGroupName, String publisherName, PublisherInner parameters, Context context)

Creates or updates a publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.
parameters - Parameters supplied to the create publisher operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of publisher resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String publisherName)

Deletes the specified publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String publisherName, Context context)

Deletes the specified publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

createOrUpdate

public abstract PublisherInner createOrUpdate(String resourceGroupName, String publisherName)

Creates or updates a publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.

Returns:

publisher resource.

createOrUpdate

public abstract PublisherInner createOrUpdate(String resourceGroupName, String publisherName, PublisherInner parameters, Context context)

Creates or updates a publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.
parameters - Parameters supplied to the create publisher operation.
context - The context to associate with this operation.

Returns:

publisher resource.

delete

public abstract void delete(String resourceGroupName, String publisherName)

Deletes the specified publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.

delete

public abstract void delete(String resourceGroupName, String publisherName, Context context)

Deletes the specified publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.
context - The context to associate with this operation.

getByResourceGroup

public abstract PublisherInner getByResourceGroup(String resourceGroupName, String publisherName)

Gets information about the specified publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.

Returns:

information about the specified publisher.

getByResourceGroupWithResponse

public abstract Response<PublisherInner> getByResourceGroupWithResponse(String resourceGroupName, String publisherName, Context context)

Gets information about the specified publisher.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.
context - The context to associate with this operation.

Returns:

information about the specified publisher along with Response<T>.

list

public abstract PagedIterable<PublisherInner> list()

Lists all the publishers in a subscription.

Returns:

a list of publishers as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PublisherInner> list(Context context)

Lists all the publishers in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a list of publishers as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PublisherInner> listByResourceGroup(String resourceGroupName)

Lists all the publishers in a resource group.

Parameters:

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

Returns:

a list of publishers as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PublisherInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the publishers in a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

a list of publishers as paginated response with PagedIterable<T>.

update

public abstract PublisherInner update(String resourceGroupName, String publisherName)

Update a publisher resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.

Returns:

publisher resource.

updateWithResponse

public abstract Response<PublisherInner> updateWithResponse(String resourceGroupName, String publisherName, TagsObject parameters, Context context)

Update a publisher resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
publisherName - The name of the publisher.
parameters - Parameters supplied to the create publisher operation.
context - The context to associate with this operation.

Returns:

publisher resource along with Response<T>.

Applies to