共用方式為


Applications interface

Interface representing a Applications.

Methods

beginCreateOrUpdate(string, string, string, ApplicationResource, ApplicationsCreateOrUpdateOptionalParams)

Create or update a Service Fabric application resource with the specified name.

beginCreateOrUpdateAndWait(string, string, string, ApplicationResource, ApplicationsCreateOrUpdateOptionalParams)

Create or update a Service Fabric application resource with the specified name.

beginDelete(string, string, string, ApplicationsDeleteOptionalParams)

Delete a Service Fabric application resource with the specified name.

beginDeleteAndWait(string, string, string, ApplicationsDeleteOptionalParams)

Delete a Service Fabric application resource with the specified name.

beginUpdate(string, string, string, ApplicationResourceUpdate, ApplicationsUpdateOptionalParams)

Update a Service Fabric application resource with the specified name.

beginUpdateAndWait(string, string, string, ApplicationResourceUpdate, ApplicationsUpdateOptionalParams)

Update a Service Fabric application resource with the specified name.

get(string, string, string, ApplicationsGetOptionalParams)

Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

list(string, string, ApplicationsListOptionalParams)

Gets all application resources created or in the process of being created in the Service Fabric cluster resource.

Method Details

beginCreateOrUpdate(string, string, string, ApplicationResource, ApplicationsCreateOrUpdateOptionalParams)

Create or update a Service Fabric application resource with the specified name.

function beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResource, options?: ApplicationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationResource>, ApplicationResource>>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

parameters
ApplicationResource

The application resource.

options
ApplicationsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, ApplicationResource, ApplicationsCreateOrUpdateOptionalParams)

Create or update a Service Fabric application resource with the specified name.

function beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResource, options?: ApplicationsCreateOrUpdateOptionalParams): Promise<ApplicationResource>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

parameters
ApplicationResource

The application resource.

options
ApplicationsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, ApplicationsDeleteOptionalParams)

Delete a Service Fabric application resource with the specified name.

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

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

options
ApplicationsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, ApplicationsDeleteOptionalParams)

Delete a Service Fabric application resource with the specified name.

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

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

options
ApplicationsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, ApplicationResourceUpdate, ApplicationsUpdateOptionalParams)

Update a Service Fabric application resource with the specified name.

function beginUpdate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResourceUpdate, options?: ApplicationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationResource>, ApplicationResource>>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

parameters
ApplicationResourceUpdate

The application resource for patch operations.

options
ApplicationsUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, ApplicationResourceUpdate, ApplicationsUpdateOptionalParams)

Update a Service Fabric application resource with the specified name.

function beginUpdateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResourceUpdate, options?: ApplicationsUpdateOptionalParams): Promise<ApplicationResource>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

parameters
ApplicationResourceUpdate

The application resource for patch operations.

options
ApplicationsUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, ApplicationsGetOptionalParams)

Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

function get(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsGetOptionalParams): Promise<ApplicationResource>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

options
ApplicationsGetOptionalParams

The options parameters.

Returns

list(string, string, ApplicationsListOptionalParams)

Gets all application resources created or in the process of being created in the Service Fabric cluster resource.

function list(resourceGroupName: string, clusterName: string, options?: ApplicationsListOptionalParams): PagedAsyncIterableIterator<ApplicationResource, ApplicationResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

options
ApplicationsListOptionalParams

The options parameters.

Returns