Applications interface

Interface representing a Applications.

Methods

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

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

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

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

beginDelete(string, string, string, ApplicationsDeleteOptionalParams)

Delete a Service Fabric managed application resource with the specified name.

beginDeleteAndWait(string, string, string, ApplicationsDeleteOptionalParams)

Delete a Service Fabric managed application resource with the specified name.

beginReadUpgrade(string, string, string, ApplicationsReadUpgradeOptionalParams)

Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.

beginReadUpgradeAndWait(string, string, string, ApplicationsReadUpgradeOptionalParams)

Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.

beginResumeUpgrade(string, string, string, RuntimeResumeApplicationUpgradeParameters, ApplicationsResumeUpgradeOptionalParams)

Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused.

beginResumeUpgradeAndWait(string, string, string, RuntimeResumeApplicationUpgradeParameters, ApplicationsResumeUpgradeOptionalParams)

Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused.

beginStartRollback(string, string, string, ApplicationsStartRollbackOptionalParams)

Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version.

beginStartRollbackAndWait(string, string, string, ApplicationsStartRollbackOptionalParams)

Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version.

get(string, string, string, ApplicationsGetOptionalParams)

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

list(string, string, ApplicationsListOptionalParams)

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

update(string, string, string, ApplicationUpdateParameters, ApplicationsUpdateOptionalParams)

Updates the tags of an application resource of a given managed cluster.

Method Details

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

Create or update a Service Fabric managed 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 managed 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 managed 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 managed 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>

beginReadUpgrade(string, string, string, ApplicationsReadUpgradeOptionalParams)

Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.

function beginReadUpgrade(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsReadUpgradeOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsReadUpgradeHeaders>, ApplicationsReadUpgradeHeaders>>

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
ApplicationsReadUpgradeOptionalParams

The options parameters.

Returns

beginReadUpgradeAndWait(string, string, string, ApplicationsReadUpgradeOptionalParams)

Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.

function beginReadUpgradeAndWait(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsReadUpgradeOptionalParams): Promise<ApplicationsReadUpgradeHeaders>

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
ApplicationsReadUpgradeOptionalParams

The options parameters.

Returns

beginResumeUpgrade(string, string, string, RuntimeResumeApplicationUpgradeParameters, ApplicationsResumeUpgradeOptionalParams)

Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused.

function beginResumeUpgrade(resourceGroupName: string, clusterName: string, applicationName: string, parameters: RuntimeResumeApplicationUpgradeParameters, options?: ApplicationsResumeUpgradeOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsResumeUpgradeHeaders>, ApplicationsResumeUpgradeHeaders>>

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
RuntimeResumeApplicationUpgradeParameters

The parameters for resuming an application upgrade.

options
ApplicationsResumeUpgradeOptionalParams

The options parameters.

Returns

beginResumeUpgradeAndWait(string, string, string, RuntimeResumeApplicationUpgradeParameters, ApplicationsResumeUpgradeOptionalParams)

Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused.

function beginResumeUpgradeAndWait(resourceGroupName: string, clusterName: string, applicationName: string, parameters: RuntimeResumeApplicationUpgradeParameters, options?: ApplicationsResumeUpgradeOptionalParams): Promise<ApplicationsResumeUpgradeHeaders>

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
RuntimeResumeApplicationUpgradeParameters

The parameters for resuming an application upgrade.

options
ApplicationsResumeUpgradeOptionalParams

The options parameters.

Returns

beginStartRollback(string, string, string, ApplicationsStartRollbackOptionalParams)

Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version.

function beginStartRollback(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsStartRollbackOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsStartRollbackHeaders>, ApplicationsStartRollbackHeaders>>

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
ApplicationsStartRollbackOptionalParams

The options parameters.

Returns

beginStartRollbackAndWait(string, string, string, ApplicationsStartRollbackOptionalParams)

Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version.

function beginStartRollbackAndWait(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsStartRollbackOptionalParams): Promise<ApplicationsStartRollbackHeaders>

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
ApplicationsStartRollbackOptionalParams

The options parameters.

Returns

get(string, string, string, ApplicationsGetOptionalParams)

Get a Service Fabric managed 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 managed 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

update(string, string, string, ApplicationUpdateParameters, ApplicationsUpdateOptionalParams)

Updates the tags of an application resource of a given managed cluster.

function update(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationUpdateParameters, 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
ApplicationUpdateParameters

The application resource updated tags.

options
ApplicationsUpdateOptionalParams

The options parameters.

Returns