Applications interface
Interface representing a Applications.
Methods
begin |
Create or update a Service Fabric managed application resource with the specified name. |
begin |
Create or update a Service Fabric managed application resource with the specified name. |
begin |
Delete a Service Fabric managed application resource with the specified name. |
begin |
Delete a Service Fabric managed application resource with the specified name. |
begin |
Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade. |
begin |
Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade. |
begin |
Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused. |
begin |
Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused. |
begin |
Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version. |
begin |
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, Applications |
Get a Service Fabric managed application resource created or in the process of being created in the Service Fabric cluster resource. |
list(string, string, Applications |
Gets all managed application resources created or in the process of being created in the Service Fabric cluster resource. |
update(string, string, string, Application |
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.
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.
The options parameters.
Returns
Promise<ApplicationResource>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ApplicationsReadUpgradeHeaders>, ApplicationsReadUpgradeHeaders>>
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.
The options parameters.
Returns
Promise<ApplicationsReadUpgradeHeaders>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ApplicationsResumeUpgradeHeaders>, ApplicationsResumeUpgradeHeaders>>
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.
The options parameters.
Returns
Promise<ApplicationsResumeUpgradeHeaders>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ApplicationsStartRollbackHeaders>, ApplicationsStartRollbackHeaders>>
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.
The options parameters.
Returns
Promise<ApplicationsStartRollbackHeaders>
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
Promise<ApplicationResource>
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
Promise<ApplicationResource>
Azure SDK for JavaScript