次の方法で共有


CustomerSubscriptions Interface

public interface CustomerSubscriptions

Resource collection API of CustomerSubscriptions.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new CustomerSubscription resource.

abstract void delete(String resourceGroup, String registrationName, String customerSubscriptionName)

Deletes a customer subscription under a registration.

abstract void deleteById(String id)

Deletes a customer subscription under a registration.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes a customer subscription under a registration.

abstract Response<Void> deleteWithResponse(String resourceGroup, String registrationName, String customerSubscriptionName, Context context)

Deletes a customer subscription under a registration.

abstract CustomerSubscription get(String resourceGroup, String registrationName, String customerSubscriptionName)

Returns the specified product.

abstract CustomerSubscription getById(String id)

Returns the specified product.

abstract Response<CustomerSubscription> getByIdWithResponse(String id, Context context)

Returns the specified product.

abstract Response<CustomerSubscription> getWithResponse(String resourceGroup, String registrationName, String customerSubscriptionName, Context context)

Returns the specified product.

abstract PagedIterable<CustomerSubscription> list(String resourceGroup, String registrationName)

Returns a list of products.

abstract PagedIterable<CustomerSubscription> list(String resourceGroup, String registrationName, Context context)

Returns a list of products.

Method Details

define

public abstract CustomerSubscription.DefinitionStages.Blank define(String name)

Begins definition for a new CustomerSubscription resource.

Parameters:

name - resource name.

Returns:

the first stage of the new CustomerSubscription definition.

delete

public abstract void delete(String resourceGroup, String registrationName, String customerSubscriptionName)

Deletes a customer subscription under a registration.

Parameters:

resourceGroup - Name of the resource group.
registrationName - Name of the Azure Stack registration.
customerSubscriptionName - Name of the product.

deleteById

public abstract void deleteById(String id)

Deletes a customer subscription under a registration.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes a customer subscription under a registration.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroup, String registrationName, String customerSubscriptionName, Context context)

Deletes a customer subscription under a registration.

Parameters:

resourceGroup - Name of the resource group.
registrationName - Name of the Azure Stack registration.
customerSubscriptionName - Name of the product.
context - The context to associate with this operation.

Returns:

get

public abstract CustomerSubscription get(String resourceGroup, String registrationName, String customerSubscriptionName)

Returns the specified product.

Parameters:

resourceGroup - Name of the resource group.
registrationName - Name of the Azure Stack registration.
customerSubscriptionName - Name of the product.

Returns:

customer subscription.

getById

public abstract CustomerSubscription getById(String id)

Returns the specified product.

Parameters:

id - the resource ID.

Returns:

customer subscription along with Response<T>.

getByIdWithResponse

public abstract Response<CustomerSubscription> getByIdWithResponse(String id, Context context)

Returns the specified product.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

customer subscription along with Response<T>.

getWithResponse

public abstract Response<CustomerSubscription> getWithResponse(String resourceGroup, String registrationName, String customerSubscriptionName, Context context)

Returns the specified product.

Parameters:

resourceGroup - Name of the resource group.
registrationName - Name of the Azure Stack registration.
customerSubscriptionName - Name of the product.
context - The context to associate with this operation.

Returns:

customer subscription along with Response<T>.

list

public abstract PagedIterable<CustomerSubscription> list(String resourceGroup, String registrationName)

Returns a list of products.

Parameters:

resourceGroup - Name of the resource group.
registrationName - Name of the Azure Stack registration.

Returns:

pageable list of customer subscriptions as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<CustomerSubscription> list(String resourceGroup, String registrationName, Context context)

Returns a list of products.

Parameters:

resourceGroup - Name of the resource group.
registrationName - Name of the Azure Stack registration.
context - The context to associate with this operation.

Returns:

pageable list of customer subscriptions as paginated response with PagedIterable<T>.

Applies to