public interface CustomerSubscriptions
| Modifier and Type | Method and Description |
|---|---|
CustomerSubscription.DefinitionStages.Blank |
define(String name)
Begins definition for a new CustomerSubscription resource.
|
void |
delete(String resourceGroup,
String registrationName,
String customerSubscriptionName)
Deletes a customer subscription under a registration.
|
void |
deleteById(String id)
Deletes a customer subscription under a registration.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
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.
|
CustomerSubscription |
get(String resourceGroup,
String registrationName,
String customerSubscriptionName)
Returns the specified product.
|
CustomerSubscription |
getById(String id)
Returns the specified product.
|
com.azure.core.http.rest.Response<CustomerSubscription> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Returns the specified product.
|
com.azure.core.http.rest.Response<CustomerSubscription> |
getWithResponse(String resourceGroup,
String registrationName,
String customerSubscriptionName,
com.azure.core.util.Context context)
Returns the specified product.
|
com.azure.core.http.rest.PagedIterable<CustomerSubscription> |
list(String resourceGroup,
String registrationName)
Returns a list of products.
|
com.azure.core.http.rest.PagedIterable<CustomerSubscription> |
list(String resourceGroup,
String registrationName,
com.azure.core.util.Context context)
Returns a list of products.
|
com.azure.core.http.rest.PagedIterable<CustomerSubscription> 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<CustomerSubscription> 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.CustomerSubscription 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<CustomerSubscription> 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.CustomerSubscription getById(String id)
id - the resource ID.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<CustomerSubscription> getByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.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 deleteById(String id)
id - the resource ID.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> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.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.CustomerSubscription.DefinitionStages.Blank define(String name)
name - resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.