Delen via


Services interface

Interface die een Services vertegenwoordigt.

Methoden

beginCreateOrUpdate(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak of werk een Service Fabric-serviceresource bij met de opgegeven naam.

beginCreateOrUpdateAndWait(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak of werk een Service Fabric-serviceresource bij met de opgegeven naam.

beginDelete(string, string, string, string, ServicesDeleteOptionalParams)

Verwijder een Service Fabric-serviceresource met de opgegeven naam.

beginDeleteAndWait(string, string, string, string, ServicesDeleteOptionalParams)

Verwijder een Service Fabric-serviceresource met de opgegeven naam.

beginUpdate(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Werk een Service Fabric-serviceresource bij met de opgegeven naam.

beginUpdateAndWait(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Werk een Service Fabric-serviceresource bij met de opgegeven naam.

get(string, string, string, string, ServicesGetOptionalParams)

Haal een Service Fabric-serviceresource op die is gemaakt of wordt gemaakt in de Service Fabric-toepassingsresource.

list(string, string, string, ServicesListOptionalParams)

Hiermee haalt u alle serviceresources op die zijn gemaakt of die worden gemaakt in de Service Fabric-toepassingsresource.

Methodedetails

beginCreateOrUpdate(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak of werk een Service Fabric-serviceresource bij met de opgegeven naam.

function beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

serviceName

string

De naam van de serviceresource in de indeling van {applicationName}~{serviceName}.

parameters
ServiceResource

De serviceresource.

options
ServicesCreateOrUpdateOptionalParams

De optiesparameters.

Retouren

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

beginCreateOrUpdateAndWait(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak of werk een Service Fabric-serviceresource bij met de opgegeven naam.

function beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServiceResource>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

serviceName

string

De naam van de serviceresource in de indeling van {applicationName}~{serviceName}.

parameters
ServiceResource

De serviceresource.

options
ServicesCreateOrUpdateOptionalParams

De optiesparameters.

Retouren

Promise<ServiceResource>

beginDelete(string, string, string, string, ServicesDeleteOptionalParams)

Verwijder een Service Fabric-serviceresource met de opgegeven naam.

function beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

serviceName

string

De naam van de serviceresource in de indeling van {applicationName}~{serviceName}.

options
ServicesDeleteOptionalParams

De optiesparameters.

Retouren

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

beginDeleteAndWait(string, string, string, string, ServicesDeleteOptionalParams)

Verwijder een Service Fabric-serviceresource met de opgegeven naam.

function beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

serviceName

string

De naam van de serviceresource in de indeling van {applicationName}~{serviceName}.

options
ServicesDeleteOptionalParams

De optiesparameters.

Retouren

Promise<void>

beginUpdate(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Werk een Service Fabric-serviceresource bij met de opgegeven naam.

function beginUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResourceUpdate, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

serviceName

string

De naam van de serviceresource in de indeling van {applicationName}~{serviceName}.

parameters
ServiceResourceUpdate

De serviceresource voor patchbewerkingen.

options
ServicesUpdateOptionalParams

De optiesparameters.

Retouren

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

beginUpdateAndWait(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Werk een Service Fabric-serviceresource bij met de opgegeven naam.

function beginUpdateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResourceUpdate, options?: ServicesUpdateOptionalParams): Promise<ServiceResource>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

serviceName

string

De naam van de serviceresource in de indeling van {applicationName}~{serviceName}.

parameters
ServiceResourceUpdate

De serviceresource voor patchbewerkingen.

options
ServicesUpdateOptionalParams

De optiesparameters.

Retouren

Promise<ServiceResource>

get(string, string, string, string, ServicesGetOptionalParams)

Haal een Service Fabric-serviceresource op die is gemaakt of wordt gemaakt in de Service Fabric-toepassingsresource.

function get(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<ServiceResource>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

serviceName

string

De naam van de serviceresource in de indeling van {applicationName}~{serviceName}.

options
ServicesGetOptionalParams

De optiesparameters.

Retouren

Promise<ServiceResource>

list(string, string, string, ServicesListOptionalParams)

Hiermee haalt u alle serviceresources op die zijn gemaakt of die worden gemaakt in de Service Fabric-toepassingsresource.

function list(resourceGroupName: string, clusterName: string, applicationName: string, options?: ServicesListOptionalParams): PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van de clusterresource.

applicationName

string

De naam van de toepassingsresource.

options
ServicesListOptionalParams

De optiesparameters.

Retouren