public interface CustomImagesClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomImageInner>,CustomImageInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String name,
CustomImageInner customImage)
Create or replace an existing custom image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomImageInner>,CustomImageInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String name,
CustomImageInner customImage,
com.azure.core.util.Context context)
Create or replace an existing custom image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String name)
Delete custom image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String name,
com.azure.core.util.Context context)
Delete custom image.
|
CustomImageInner |
createOrUpdate(String resourceGroupName,
String labName,
String name,
CustomImageInner customImage)
Create or replace an existing custom image.
|
CustomImageInner |
createOrUpdate(String resourceGroupName,
String labName,
String name,
CustomImageInner customImage,
com.azure.core.util.Context context)
Create or replace an existing custom image.
|
void |
delete(String resourceGroupName,
String labName,
String name)
Delete custom image.
|
void |
delete(String resourceGroupName,
String labName,
String name,
com.azure.core.util.Context context)
Delete custom image.
|
CustomImageInner |
get(String resourceGroupName,
String labName,
String name)
Get custom image.
|
com.azure.core.http.rest.Response<CustomImageInner> |
getWithResponse(String resourceGroupName,
String labName,
String name,
String expand,
com.azure.core.util.Context context)
Get custom image.
|
com.azure.core.http.rest.PagedIterable<CustomImageInner> |
list(String resourceGroupName,
String labName)
List custom images in a given lab.
|
com.azure.core.http.rest.PagedIterable<CustomImageInner> |
list(String resourceGroupName,
String labName,
String expand,
String filter,
Integer top,
String orderby,
com.azure.core.util.Context context)
List custom images in a given lab.
|
CustomImageInner |
update(String resourceGroupName,
String labName,
String name,
CustomImageFragment customImage)
Allows modifying tags of custom images.
|
com.azure.core.http.rest.Response<CustomImageInner> |
updateWithResponse(String resourceGroupName,
String labName,
String name,
CustomImageFragment customImage,
com.azure.core.util.Context context)
Allows modifying tags of custom images.
|
com.azure.core.http.rest.PagedIterable<CustomImageInner> list(String resourceGroupName, String labName)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.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<CustomImageInner> list(String resourceGroupName, String labName, String expand, String filter, Integer top, String orderby, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.expand
- Specify the $expand query. Example: 'properties($select=vm)'.filter
- The filter to apply to the operation. Example: '$filter=contains(name,'myName').top
- The maximum number of resources to return from the operation. Example: '$top=10'.orderby
- The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.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.CustomImageInner get(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.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<CustomImageInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.expand
- Specify the $expand query. Example: 'properties($select=vm)'.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomImageInner>,CustomImageInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, CustomImageInner customImage)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.customImage
- A custom image.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomImageInner>,CustomImageInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, CustomImageInner customImage, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.customImage
- A custom image.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.CustomImageInner createOrUpdate(String resourceGroupName, String labName, String name, CustomImageInner customImage)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.customImage
- A custom image.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.CustomImageInner createOrUpdate(String resourceGroupName, String labName, String name, CustomImageInner customImage, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.customImage
- A custom image.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.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 resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.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 resourceGroupName, String labName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.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.CustomImageInner update(String resourceGroupName, String labName, String name, CustomImageFragment customImage)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.customImage
- A custom image.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<CustomImageInner> updateWithResponse(String resourceGroupName, String labName, String name, CustomImageFragment customImage, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the custom image.customImage
- A custom image.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.