GalleryScriptsOperations interface

Interface representing a GalleryScripts operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common scripts

delete
get

Retrieves information about a gallery script definition.

listByGallery

List gallery Script Definitions in a gallery.

update

Update a gallery Script Definition.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => Promise<GalleryScript>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => Promise<GalleryScript>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => Promise<GalleryScript>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => Promise<GalleryScript>

createOrUpdate

Create or update a Gallery Script Definition. Gallery scripts allow the storage, sharing and reuse of common scripts

createOrUpdate: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScript, options?: GalleryScriptsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>

delete

delete: (resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Retrieves information about a gallery script definition.

get: (resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsGetOptionalParams) => Promise<GalleryScript>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsGetOptionalParams) => Promise<GalleryScript>

listByGallery

List gallery Script Definitions in a gallery.

listByGallery: (resourceGroupName: string, galleryName: string, options?: GalleryScriptsListByGalleryOptionalParams) => PagedAsyncIterableIterator<GalleryScript, GalleryScript[], PageSettings>

Property Value

(resourceGroupName: string, galleryName: string, options?: GalleryScriptsListByGalleryOptionalParams) => PagedAsyncIterableIterator<GalleryScript, GalleryScript[], PageSettings>

update

Update a gallery Script Definition.

update: (resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>

Property Value

(resourceGroupName: string, galleryName: string, galleryScriptName: string, galleryScript: GalleryScriptUpdate, options?: GalleryScriptsUpdateOptionalParams) => PollerLike<OperationState<GalleryScript>, GalleryScript>