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
fetchHealth

Get the status of the deployed application health. It will query the cluster to find the health of the deployed application.

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.

restartDeployedCodePackage

Restart a code package instance of a service replica or instance. This is a potentially destabilizing operation that should be used with immense care.

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 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>

fetchHealth

Get the status of the deployed application health. It will query the cluster to find the health of the deployed application.

fetchHealth: (resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationFetchHealthRequest, options?: ApplicationsFetchHealthOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationFetchHealthRequest, options?: ApplicationsFetchHealthOptionalParams) => 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>

restartDeployedCodePackage

Restart a code package instance of a service replica or instance. This is a potentially destabilizing operation that should be used with immense care.

restartDeployedCodePackage: (resourceGroupName: string, clusterName: string, applicationName: string, parameters: RestartDeployedCodePackageRequest, options?: ApplicationsRestartDeployedCodePackageOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, parameters: RestartDeployedCodePackageRequest, options?: ApplicationsRestartDeployedCodePackageOptionalParams) => 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 an application resource of a given managed cluster.

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

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationUpdateParameters, options?: ApplicationsUpdateOptionalParams) => PollerLike<OperationState<ApplicationResource>, 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>