ArtifactSources class

Klasa reprezentująca element ArtifactSources.

Konstruktory

ArtifactSources(AzureDeploymentManagerContext)

Utwórz element ArtifactSources.

Metody

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)

Synchronicznie tworzy nowe źródło artefaktu lub aktualizuje istniejące źródło artefaktu.

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[]>)

Szczegóły konstruktora

ArtifactSources(AzureDeploymentManagerContext)

Utwórz element ArtifactSources.

new ArtifactSources(client: AzureDeploymentManagerContext)

Parametry

client
AzureDeploymentManagerContext

Odwołanie do klienta usługi.

Szczegóły metody

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)

Synchronicznie tworzy nowe źródło artefaktu lub aktualizuje istniejące źródło artefaktu.

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

options
ArtifactSourcesCreateOrUpdateOptionalParams

Parametry opcjonalne

Zwraca

Promise<Models.ArtifactSourcesCreateOrUpdateResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

options
ArtifactSourcesCreateOrUpdateOptionalParams

Parametry opcjonalne

callback

ServiceCallback<ArtifactSource>

Wywołanie zwrotne

createOrUpdate(string, string, ServiceCallback<ArtifactSource>)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

callback

ServiceCallback<ArtifactSource>

Wywołanie zwrotne

deleteMethod(string, string, RequestOptionsBase)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<RestResponse>

Obietnica<msRest.RestResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<void>

Wywołanie zwrotne

deleteMethod(string, string, ServiceCallback<void>)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

callback

ServiceCallback<void>

Wywołanie zwrotne

get(string, string, RequestOptionsBase)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Obietnica<Models.ArtifactSourcesGetResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<ArtifactSource>

Wywołanie zwrotne

get(string, string, ServiceCallback<ArtifactSource>)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

artifactSourceName

string

Nazwa źródła artefaktu.

callback

ServiceCallback<ArtifactSource>

Wywołanie zwrotne

list(string, RequestOptionsBase)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.ArtifactSourcesListResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<ArtifactSource[]>

Wywołanie zwrotne

list(string, ServiceCallback<ArtifactSource[]>)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów. Nazwa jest niewrażliwa na wielkość liter.

callback

ServiceCallback<ArtifactSource[]>

Wywołanie zwrotne