Partager via


ArtifactSources class

Classe représentant un ArtifactSources.

Constructeurs

ArtifactSources(AzureDeploymentManagerContext)

Créez un ArtifactSources.

Méthodes

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)

Crée de façon synchrone une source d’artefact ou met à jour une source d’artefact existante.

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams, ServiceCallback<ArtifactSource>)
createOrUpdate(string, string, ServiceCallback<ArtifactSource>)
deleteMethod(string, string, RequestOptionsBase)
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)
get(string, string, RequestOptionsBase, ServiceCallback<ArtifactSource>)
get(string, string, ServiceCallback<ArtifactSource>)
list(string, RequestOptionsBase)
list(string, RequestOptionsBase, ServiceCallback<ArtifactSource[]>)
list(string, ServiceCallback<ArtifactSource[]>)

Détails du constructeur

ArtifactSources(AzureDeploymentManagerContext)

Créez un ArtifactSources.

new ArtifactSources(client: AzureDeploymentManagerContext)

Paramètres

client
AzureDeploymentManagerContext

Référence au client de service.

Détails de la méthode

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)

Crée de façon synchrone une source d’artefact ou met à jour une source d’artefact existante.

function createOrUpdate(resourceGroupName: string, artifactSourceName: string, options?: ArtifactSourcesCreateOrUpdateOptionalParams): Promise<ArtifactSourcesCreateOrUpdateResponse>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

options
ArtifactSourcesCreateOrUpdateOptionalParams

Paramètres facultatifs

Retours

Promise<Models.ArtifactSourcesCreateOrUpdateResponse>

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams, ServiceCallback<ArtifactSource>)

function createOrUpdate(resourceGroupName: string, artifactSourceName: string, options: ArtifactSourcesCreateOrUpdateOptionalParams, callback: ServiceCallback<ArtifactSource>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

options
ArtifactSourcesCreateOrUpdateOptionalParams

Paramètres facultatifs

callback

ServiceCallback<ArtifactSource>

Rappel

createOrUpdate(string, string, ServiceCallback<ArtifactSource>)

function createOrUpdate(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<ArtifactSource>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

callback

ServiceCallback<ArtifactSource>

Rappel

deleteMethod(string, string, RequestOptionsBase)

function deleteMethod(resourceGroupName: string, artifactSourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, artifactSourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

callback

ServiceCallback<void>

Rappel

get(string, string, RequestOptionsBase)

function get(resourceGroupName: string, artifactSourceName: string, options?: RequestOptionsBase): Promise<ArtifactSourcesGetResponse>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.ArtifactSourcesGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<ArtifactSource>)

function get(resourceGroupName: string, artifactSourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ArtifactSource>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<ArtifactSource>

Rappel

get(string, string, ServiceCallback<ArtifactSource>)

function get(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<ArtifactSource>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

artifactSourceName

string

Nom de la source de l’artefact.

callback

ServiceCallback<ArtifactSource>

Rappel

list(string, RequestOptionsBase)

function list(resourceGroupName: string, options?: RequestOptionsBase): Promise<ArtifactSourcesListResponse>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.ArtifactSourcesListResponse>

list(string, RequestOptionsBase, ServiceCallback<ArtifactSource[]>)

function list(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<ArtifactSource[]>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<ArtifactSource[]>

Rappel

list(string, ServiceCallback<ArtifactSource[]>)

function list(resourceGroupName: string, callback: ServiceCallback<ArtifactSource[]>)

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

callback

ServiceCallback<ArtifactSource[]>

Rappel