Share via


ApplicationsOperations interface

Interface representing a Applications operations.

Properties

createOrUpdate

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

delete
get

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

list

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

readUpgrade

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

resumeUpgrade

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

startRollback

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

update

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

updateUpgrade

Send a request to update the current application upgrade.

Property Details

createOrUpdate

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

createOrUpdate: (resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResource, options?: ApplicationsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ApplicationResource>, ApplicationResource>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResource, options?: ApplicationsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ApplicationResource>, ApplicationResource>

delete

delete: (resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

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

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

Property Value

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

list

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

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

Property Value

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

readUpgrade

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

readUpgrade: (resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsReadUpgradeOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsReadUpgradeOptionalParams) => PollerLike<OperationState<void>, void>

resumeUpgrade

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

resumeUpgrade: (resourceGroupName: string, clusterName: string, applicationName: string, parameters: RuntimeResumeApplicationUpgradeParameters, options?: ApplicationsResumeUpgradeOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, parameters: RuntimeResumeApplicationUpgradeParameters, options?: ApplicationsResumeUpgradeOptionalParams) => PollerLike<OperationState<void>, void>

startRollback

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

startRollback: (resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsStartRollbackOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsStartRollbackOptionalParams) => PollerLike<OperationState<void>, void>

update

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

update: (resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationUpdateParameters, options?: ApplicationsUpdateOptionalParams) => Promise<ApplicationResource>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationUpdateParameters, options?: ApplicationsUpdateOptionalParams) => Promise<ApplicationResource>

updateUpgrade

Send a request to update the current application upgrade.

updateUpgrade: (resourceGroupName: string, clusterName: string, applicationName: string, parameters: RuntimeUpdateApplicationUpgradeParameters, options?: ApplicationsUpdateUpgradeOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, parameters: RuntimeUpdateApplicationUpgradeParameters, options?: ApplicationsUpdateUpgradeOptionalParams) => PollerLike<OperationState<void>, void>