Partilhar via


GalleryScripts interface

Interface representando um GalleryScripts.

Métodos

beginCreateOrUpdate(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

Crie ou atualize uma Definição de Script de Galeria. Os scripts de galeria permitem o armazenamento, partilha e reutilização de scripts comuns

beginCreateOrUpdateAndWait(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

Crie ou atualize uma Definição de Script de Galeria. Os scripts de galeria permitem o armazenamento, partilha e reutilização de scripts comuns

beginDelete(string, string, string, GalleryScriptsDeleteOptionalParams)

Apagar uma galeria Definição de Script.

beginDeleteAndWait(string, string, string, GalleryScriptsDeleteOptionalParams)

Apagar uma galeria Definição de Script.

beginUpdate(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

Atualize uma galeria Definição de Script.

beginUpdateAndWait(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

Atualize uma galeria Definição de Script.

get(string, string, string, GalleryScriptsGetOptionalParams)

Recupera informações sobre a definição de um script de galeria.

listByGallery(string, string, GalleryScriptsListByGalleryOptionalParams)

Lista galeria Definições de Guião numa galeria.

Detalhes do Método

beginCreateOrUpdate(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

Crie ou atualize uma Definição de Script de Galeria. Os scripts de galeria permitem o armazenamento, partilha e reutilização de scripts comuns

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

galleryScriptName

string

O nome da galeria Definição de Guião a ser recuperado.

galleryScript
GalleryScript

Parâmetros fornecidos à operação de criação ou atualização de script da galeria.

options
GalleryScriptsCreateOrUpdateOptionalParams

Os parâmetros de opções.

Regressos

Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

beginCreateOrUpdateAndWait(string, string, string, GalleryScript, GalleryScriptsCreateOrUpdateOptionalParams)

Crie ou atualize uma Definição de Script de Galeria. Os scripts de galeria permitem o armazenamento, partilha e reutilização de scripts comuns

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

galleryScriptName

string

O nome da galeria Definição de Guião a ser recuperado.

galleryScript
GalleryScript

Parâmetros fornecidos à operação de criação ou atualização de script da galeria.

options
GalleryScriptsCreateOrUpdateOptionalParams

Os parâmetros de opções.

Regressos

Promise<GalleryScript>

beginDelete(string, string, string, GalleryScriptsDeleteOptionalParams)

Apagar uma galeria Definição de Script.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

galleryScriptName

string

O nome da galeria Definição de Guião a ser recuperado.

options
GalleryScriptsDeleteOptionalParams

Os parâmetros de opções.

Regressos

Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryScriptsDeleteHeaders>, GalleryScriptsDeleteHeaders>>

beginDeleteAndWait(string, string, string, GalleryScriptsDeleteOptionalParams)

Apagar uma galeria Definição de Script.

function beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryScriptName: string, options?: GalleryScriptsDeleteOptionalParams): Promise<GalleryScriptsDeleteHeaders>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

galleryScriptName

string

O nome da galeria Definição de Guião a ser recuperado.

options
GalleryScriptsDeleteOptionalParams

Os parâmetros de opções.

Regressos

beginUpdate(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

Atualize uma galeria Definição de Script.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

galleryScriptName

string

O nome da galeria Definição de Guião a ser recuperado.

galleryScript
GalleryScriptUpdate

Parâmetros fornecidos à operação de script da galeria de atualização.

options
GalleryScriptsUpdateOptionalParams

Os parâmetros de opções.

Regressos

Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryScript>, GalleryScript>>

beginUpdateAndWait(string, string, string, GalleryScriptUpdate, GalleryScriptsUpdateOptionalParams)

Atualize uma galeria Definição de Script.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

galleryScriptName

string

O nome da galeria Definição de Guião a ser recuperado.

galleryScript
GalleryScriptUpdate

Parâmetros fornecidos à operação de script da galeria de atualização.

options
GalleryScriptsUpdateOptionalParams

Os parâmetros de opções.

Regressos

Promise<GalleryScript>

get(string, string, string, GalleryScriptsGetOptionalParams)

Recupera informações sobre a definição de um script de galeria.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

galleryScriptName

string

O nome da galeria Definição de Guião a ser recuperado.

options
GalleryScriptsGetOptionalParams

Os parâmetros de opções.

Regressos

Promise<GalleryScript>

listByGallery(string, string, GalleryScriptsListByGalleryOptionalParams)

Lista galeria Definições de Guião numa galeria.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

galleryName

string

O nome da Galeria de Imagens Compartilhadas.

options
GalleryScriptsListByGalleryOptionalParams

Os parâmetros de opções.

Regressos