Compartilhar 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. Scripts de galeria permitem armazenar, compartilhar e reutilizar scripts comuns

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

Crie ou atualize uma Definição de Script de Galeria. Scripts de galeria permitem armazenar, compartilhar e reutilizar scripts comuns

beginDelete(string, string, string, GalleryScriptsDeleteOptionalParams)

Excluir uma galeria Definição de Script.

beginDeleteAndWait(string, string, string, GalleryScriptsDeleteOptionalParams)

Excluir uma galeria Definição de Script.

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

Atualize uma Definição de Roteiro de Galeria.

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

Atualize uma Definição de Roteiro de Galeria.

get(string, string, string, GalleryScriptsGetOptionalParams)

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

listByGallery(string, string, GalleryScriptsListByGalleryOptionalParams)

Lista de Definições de Roteiro em uma galeria.

Detalhes do método

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

Crie ou atualize uma Definição de Script de Galeria. Scripts de galeria permitem armazenar, compartilhar e reutilizar 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 Script será recuperado.

galleryScript
GalleryScript

Parâmetros fornecidos para a operação de criação ou atualização de script de galeria.

options
GalleryScriptsCreateOrUpdateOptionalParams

Os parâmetros de opções.

Retornos

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

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

Crie ou atualize uma Definição de Script de Galeria. Scripts de galeria permitem armazenar, compartilhar e reutilizar 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 Script será recuperado.

galleryScript
GalleryScript

Parâmetros fornecidos para a operação de criação ou atualização de script de galeria.

options
GalleryScriptsCreateOrUpdateOptionalParams

Os parâmetros de opções.

Retornos

Promise<GalleryScript>

beginDelete(string, string, string, GalleryScriptsDeleteOptionalParams)

Excluir 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 Script será recuperado.

options
GalleryScriptsDeleteOptionalParams

Os parâmetros de opções.

Retornos

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

beginDeleteAndWait(string, string, string, GalleryScriptsDeleteOptionalParams)

Excluir 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 Script será recuperado.

options
GalleryScriptsDeleteOptionalParams

Os parâmetros de opções.

Retornos

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

Atualize uma Definição de Roteiro de Galeria.

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 Script será recuperado.

galleryScript
GalleryScriptUpdate

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

options
GalleryScriptsUpdateOptionalParams

Os parâmetros de opções.

Retornos

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

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

Atualize uma Definição de Roteiro de Galeria.

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 Script será recuperado.

galleryScript
GalleryScriptUpdate

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

options
GalleryScriptsUpdateOptionalParams

Os parâmetros de opções.

Retornos

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 Script será recuperado.

options
GalleryScriptsGetOptionalParams

Os parâmetros de opções.

Retornos

Promise<GalleryScript>

listByGallery(string, string, GalleryScriptsListByGalleryOptionalParams)

Lista de Definições de Roteiro em uma 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.

Retornos