Interface GalleryScriptVersionsClient
public interface GalleryScriptVersionsClient
An instance of this class provides access to all the operations defined in GalleryScriptVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion, com.azure.core.util.Context context) Create or update a gallery Script Version.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.beginDelete(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.beginDelete(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, com.azure.core.util.Context context) Delete a gallery Script Version.beginDeleteAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion, com.azure.core.util.Context context) Update a gallery Script Version.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion, com.azure.core.util.Context context) Create or update a gallery Script Version.createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.voiddelete(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.voiddelete(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, com.azure.core.util.Context context) Delete a gallery Script Version.deleteAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.get(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Custom ArmResourceRead operation template with CloudError as Error.getAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Custom ArmResourceRead operation template with CloudError as Error.com.azure.core.http.rest.Response<GalleryScriptVersionInner> getWithResponse(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, com.azure.core.util.Context context) Custom ArmResourceRead operation template with CloudError as Error.Mono<com.azure.core.http.rest.Response<GalleryScriptVersionInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Custom ArmResourceRead operation template with CloudError as Error.com.azure.core.http.rest.PagedIterable<GalleryScriptVersionInner> listByGalleryScript(String resourceGroupName, String galleryName, String galleryScriptName) List gallery Script Versions in a gallery Script Definition.com.azure.core.http.rest.PagedIterable<GalleryScriptVersionInner> listByGalleryScript(String resourceGroupName, String galleryName, String galleryScriptName, com.azure.core.util.Context context) List gallery Script Versions in a gallery Script Definition.com.azure.core.http.rest.PagedFlux<GalleryScriptVersionInner> listByGalleryScriptAsync(String resourceGroupName, String galleryName, String galleryScriptName) List gallery Script Versions in a gallery Script Definition.update(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.update(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion, com.azure.core.util.Context context) Update a gallery Script Version.updateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.
-
Method Details
-
listByGalleryScriptAsync
com.azure.core.http.rest.PagedFlux<GalleryScriptVersionInner> listByGalleryScriptAsync(String resourceGroupName, String galleryName, String galleryScriptName) List gallery Script Versions in a gallery Script Definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.- Returns:
- paged collection of GalleryScriptVersion items as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByGalleryScript
com.azure.core.http.rest.PagedIterable<GalleryScriptVersionInner> listByGalleryScript(String resourceGroupName, String galleryName, String galleryScriptName) List gallery Script Versions in a gallery Script Definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.- Returns:
- paged collection of GalleryScriptVersion items as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByGalleryScript
com.azure.core.http.rest.PagedIterable<GalleryScriptVersionInner> listByGalleryScript(String resourceGroupName, String galleryName, String galleryScriptName, com.azure.core.util.Context context) List gallery Script Versions in a gallery Script Definition.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.context- The context to associate with this operation.- Returns:
- paged collection of GalleryScriptVersion items as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<GalleryScriptVersionInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Custom ArmResourceRead operation template with CloudError as Error.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type along
with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<GalleryScriptVersionInner> getAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Custom ArmResourceRead operation template with CloudError as Error.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<GalleryScriptVersionInner> getWithResponse(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, com.azure.core.util.Context context) Custom ArmResourceRead operation template with CloudError as Error.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.context- The context to associate with this operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type along
with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
GalleryScriptVersionInner get(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Custom ArmResourceRead operation template with CloudError as Error.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the create or update gallery Script Version operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type along
with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the create or update gallery Script Version operation.- Returns:
- the
PollerFluxfor polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the create or update gallery Script Version operation.- Returns:
- the
SyncPollerfor polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion, com.azure.core.util.Context context) Create or update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the create or update gallery Script Version operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<GalleryScriptVersionInner> createOrUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the create or update gallery Script Version operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
GalleryScriptVersionInner createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion) Create or update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the create or update gallery Script Version operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
GalleryScriptVersionInner createOrUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionInner galleryScriptVersion, com.azure.core.util.Context context) Create or update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the create or update gallery Script Version operation.context- The context to associate with this operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the update gallery Script Version operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type along
with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginUpdateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the update gallery Script Version operation.- Returns:
- the
PollerFluxfor polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the update gallery Script Version operation.- Returns:
- the
SyncPollerfor polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryScriptVersionInner>, GalleryScriptVersionInner> beginUpdate(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion, com.azure.core.util.Context context) Update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the update gallery Script Version operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<GalleryScriptVersionInner> updateAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the update gallery Script Version operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
GalleryScriptVersionInner update(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion) Update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the update gallery Script Version operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
GalleryScriptVersionInner update(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, GalleryScriptVersionUpdate galleryScriptVersion, com.azure.core.util.Context context) Update a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.galleryScriptVersion- Parameters supplied to the update gallery Script Version operation.context- The context to associate with this operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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 resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, com.azure.core.util.Context context) Delete a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName) Delete a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String galleryName, String galleryScriptName, String galleryScriptVersionName, com.azure.core.util.Context context) Delete a gallery Script Version.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.galleryName- The name of the Shared Image Gallery.galleryScriptName- The name of the gallery Script Definition to be retrieved.galleryScriptVersionName- The name of the gallery Script Version to be retrieved.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-