public interface CustomerSubscriptionsClient
| Modifier and Type | Method and Description |
|---|---|
CustomerSubscriptionInner |
create(String resourceGroup,
String registrationName,
String customerSubscriptionName,
CustomerSubscriptionInner customerCreationParameters)
Creates a new customer subscription under a registration.
|
com.azure.core.http.rest.Response<CustomerSubscriptionInner> |
createWithResponse(String resourceGroup,
String registrationName,
String customerSubscriptionName,
CustomerSubscriptionInner customerCreationParameters,
com.azure.core.util.Context context)
Creates a new customer subscription under a registration.
|
void |
delete(String resourceGroup,
String registrationName,
String customerSubscriptionName)
Deletes a customer subscription under a registration.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroup,
String registrationName,
String customerSubscriptionName,
com.azure.core.util.Context context)
Deletes a customer subscription under a registration.
|
CustomerSubscriptionInner |
get(String resourceGroup,
String registrationName,
String customerSubscriptionName)
Returns the specified product.
|
com.azure.core.http.rest.Response<CustomerSubscriptionInner> |
getWithResponse(String resourceGroup,
String registrationName,
String customerSubscriptionName,
com.azure.core.util.Context context)
Returns the specified product.
|
com.azure.core.http.rest.PagedIterable<CustomerSubscriptionInner> |
list(String resourceGroup,
String registrationName)
Returns a list of products.
|
com.azure.core.http.rest.PagedIterable<CustomerSubscriptionInner> |
list(String resourceGroup,
String registrationName,
com.azure.core.util.Context context)
Returns a list of products.
|
com.azure.core.http.rest.PagedIterable<CustomerSubscriptionInner> list(String resourceGroup, String registrationName)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<CustomerSubscriptionInner> list(String resourceGroup, String registrationName, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.CustomerSubscriptionInner get(String resourceGroup, String registrationName, String customerSubscriptionName)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.customerSubscriptionName - Name of the product.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<CustomerSubscriptionInner> getWithResponse(String resourceGroup, String registrationName, String customerSubscriptionName, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroup, String registrationName, String customerSubscriptionName)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.customerSubscriptionName - Name of the product.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroup, String registrationName, String customerSubscriptionName, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.CustomerSubscriptionInner create(String resourceGroup, String registrationName, String customerSubscriptionName, CustomerSubscriptionInner customerCreationParameters)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.customerSubscriptionName - Name of the product.customerCreationParameters - Parameters use to create a customer subscription.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<CustomerSubscriptionInner> createWithResponse(String resourceGroup, String registrationName, String customerSubscriptionName, CustomerSubscriptionInner customerCreationParameters, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.customerSubscriptionName - Name of the product.customerCreationParameters - Parameters use to create a customer subscription.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.