Partager via


CustomImages interface

Interface représentant un CustomImages.

Méthodes

beginCreateOrUpdate(string, string, string, CustomImage, CustomImagesCreateOrUpdateOptionalParams)

Créez ou remplacez une image personnalisée existante. Cette opération peut prendre un certain temps.

beginCreateOrUpdateAndWait(string, string, string, CustomImage, CustomImagesCreateOrUpdateOptionalParams)

Créez ou remplacez une image personnalisée existante. Cette opération peut prendre un certain temps.

beginDelete(string, string, string, CustomImagesDeleteOptionalParams)

Supprimer une image personnalisée. Cette opération peut prendre un certain temps.

beginDeleteAndWait(string, string, string, CustomImagesDeleteOptionalParams)

Supprimer une image personnalisée. Cette opération peut prendre un certain temps.

get(string, string, string, CustomImagesGetOptionalParams)

Obtenir une image personnalisée.

list(string, string, CustomImagesListOptionalParams)

Répertoriez les images personnalisées dans un labo donné.

update(string, string, string, CustomImageFragment, CustomImagesUpdateOptionalParams)

Permet de modifier des balises d’images personnalisées. Toutes les autres propriétés seront ignorées.

Détails de la méthode

beginCreateOrUpdate(string, string, string, CustomImage, CustomImagesCreateOrUpdateOptionalParams)

Créez ou remplacez une image personnalisée existante. Cette opération peut prendre un certain temps.

function beginCreateOrUpdate(resourceGroupName: string, labName: string, name: string, customImage: CustomImage, options?: CustomImagesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CustomImage>, CustomImage>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom de l’image personnalisée.

customImage
CustomImage

Image personnalisée.

options
CustomImagesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<PollerLike<@azure/core-lro.PollOperationState<CustomImage>, CustomImage>>

beginCreateOrUpdateAndWait(string, string, string, CustomImage, CustomImagesCreateOrUpdateOptionalParams)

Créez ou remplacez une image personnalisée existante. Cette opération peut prendre un certain temps.

function beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, name: string, customImage: CustomImage, options?: CustomImagesCreateOrUpdateOptionalParams): Promise<CustomImage>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom de l’image personnalisée.

customImage
CustomImage

Image personnalisée.

options
CustomImagesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<CustomImage>

beginDelete(string, string, string, CustomImagesDeleteOptionalParams)

Supprimer une image personnalisée. Cette opération peut prendre un certain temps.

function beginDelete(resourceGroupName: string, labName: string, name: string, options?: CustomImagesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom de l’image personnalisée.

options
CustomImagesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, CustomImagesDeleteOptionalParams)

Supprimer une image personnalisée. Cette opération peut prendre un certain temps.

function beginDeleteAndWait(resourceGroupName: string, labName: string, name: string, options?: CustomImagesDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom de l’image personnalisée.

options
CustomImagesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, CustomImagesGetOptionalParams)

Obtenir une image personnalisée.

function get(resourceGroupName: string, labName: string, name: string, options?: CustomImagesGetOptionalParams): Promise<CustomImage>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom de l’image personnalisée.

options
CustomImagesGetOptionalParams

Paramètres d’options.

Retours

Promise<CustomImage>

list(string, string, CustomImagesListOptionalParams)

Répertoriez les images personnalisées dans un labo donné.

function list(resourceGroupName: string, labName: string, options?: CustomImagesListOptionalParams): PagedAsyncIterableIterator<CustomImage, CustomImage[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

options
CustomImagesListOptionalParams

Paramètres d’options.

Retours

update(string, string, string, CustomImageFragment, CustomImagesUpdateOptionalParams)

Permet de modifier des balises d’images personnalisées. Toutes les autres propriétés seront ignorées.

function update(resourceGroupName: string, labName: string, name: string, customImage: CustomImageFragment, options?: CustomImagesUpdateOptionalParams): Promise<CustomImage>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

labName

string

Nom du labo.

name

string

Nom de l’image personnalisée.

customImage
CustomImageFragment

Image personnalisée.

options
CustomImagesUpdateOptionalParams

Paramètres d’options.

Retours

Promise<CustomImage>