Interface VendorSkusClient
public interface VendorSkusClient
An instance of this class provides access to all the operations defined in VendorSkusClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorSkuInner>,
VendorSkuInner> beginCreateOrUpdate
(String vendorName, String skuName, VendorSkuInner parameters) Creates or updates a sku.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorSkuInner>,
VendorSkuInner> beginCreateOrUpdate
(String vendorName, String skuName, VendorSkuInner parameters, com.azure.core.util.Context context) Creates or updates a sku.beginDelete
(String vendorName, String skuName) Deletes the specified sku.beginDelete
(String vendorName, String skuName, com.azure.core.util.Context context) Deletes the specified sku.createOrUpdate
(String vendorName, String skuName, VendorSkuInner parameters) Creates or updates a sku.createOrUpdate
(String vendorName, String skuName, VendorSkuInner parameters, com.azure.core.util.Context context) Creates or updates a sku.void
Deletes the specified sku.void
Deletes the specified sku.Gets information about the specified sku.com.azure.core.http.rest.Response<VendorSkuInner>
getWithResponse
(String vendorName, String skuName, com.azure.core.util.Context context) Gets information about the specified sku.com.azure.core.http.rest.PagedIterable<VendorSkuInner>
Lists all the skus of a vendor.com.azure.core.http.rest.PagedIterable<VendorSkuInner>
Lists all the skus of a vendor.
-
Method Details
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String vendorName, String skuName) Deletes the specified sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String vendorName, String skuName, com.azure.core.util.Context context) Deletes the specified sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
delete
Deletes the specified sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.- Throws:
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.
-
delete
Deletes the specified sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.context
- The context to associate with this operation.- Throws:
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.
-
getWithResponse
com.azure.core.http.rest.Response<VendorSkuInner> getWithResponse(String vendorName, String skuName, com.azure.core.util.Context context) Gets information about the specified sku.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.context
- The context to associate with this operation.- Returns:
- information about the specified sku along with
Response
. - Throws:
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.
-
get
Gets information about the specified sku.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.- Returns:
- information about the specified sku.
- Throws:
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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorSkuInner>,VendorSkuInner> beginCreateOrUpdate(String vendorName, String skuName, VendorSkuInner parameters) Creates or updates a sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.parameters
- Parameters supplied to the create or update sku operation.- Returns:
- the
SyncPoller
for polling of sku sub resource. - Throws:
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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorSkuInner>,VendorSkuInner> beginCreateOrUpdate(String vendorName, String skuName, VendorSkuInner parameters, com.azure.core.util.Context context) Creates or updates a sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.parameters
- Parameters supplied to the create or update sku operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of sku sub resource. - Throws:
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.
-
createOrUpdate
Creates or updates a sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.parameters
- Parameters supplied to the create or update sku operation.- Returns:
- sku sub resource.
- Throws:
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.
-
createOrUpdate
VendorSkuInner createOrUpdate(String vendorName, String skuName, VendorSkuInner parameters, com.azure.core.util.Context context) Creates or updates a sku. This operation can take up to 2 hours to complete. This is expected service behavior.- Parameters:
vendorName
- The name of the vendor.skuName
- The name of the sku.parameters
- Parameters supplied to the create or update sku operation.context
- The context to associate with this operation.- Returns:
- sku sub resource.
- Throws:
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.
-
list
Lists all the skus of a vendor.- Parameters:
vendorName
- The name of the vendor.- Returns:
- response for list vendor sku API service call as paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<VendorSkuInner> list(String vendorName, com.azure.core.util.Context context) Lists all the skus of a vendor.- Parameters:
vendorName
- The name of the vendor.context
- The context to associate with this operation.- Returns:
- response for list vendor sku API service call as paginated response with
PagedIterable
. - Throws:
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.
-