az workloads sap-application-server-instance

Note

This reference is part of the workloads extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az workloads sap-application-server-instance command. Learn more about extensions.

Command group 'az workloads' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage application instance.

Commands

Name Description Type Status
az workloads sap-application-server-instance list

List the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.

Extension Preview
az workloads sap-application-server-instance show

Show the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.

Extension Preview
az workloads sap-application-server-instance start

Starts the SAP Application Server Instance.

Extension Preview
az workloads sap-application-server-instance stop

Stops the SAP Application Server Instance.

Extension Preview
az workloads sap-application-server-instance update

Update the SAP Application Server Instance resource.

Extension Preview
az workloads sap-application-server-instance wait

Place the CLI in a waiting state until a condition is met.

Extension Preview

az workloads sap-application-server-instance list

Preview

Command group 'az workloads sap-application-server-instance' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.

az workloads sap-application-server-instance list --resource-group
                                                  --sap-virtual-instance-name
                                                  [--max-items]
                                                  [--next-token]

Examples

Get an overview of The App Server Instances in a Virtual instance for SAP solutions (VIS)

az workloads sap-application-server-instance list -g <resource-group-name> --sap-virtual-instance-name <vis-name>

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sap-virtual-instance-name --vis-name

The name of the Virtual Instances for SAP solutions resource.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az workloads sap-application-server-instance show

Preview

Command group 'az workloads sap-application-server-instance' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.

az workloads sap-application-server-instance show [--application-instance-name]
                                                  [--ids]
                                                  [--resource-group]
                                                  [--sap-virtual-instance-name]
                                                  [--subscription]

Examples

Get an overview of an App Server Instance

az workloads sap-application-server-instance show -g <resource-group-name> --sap-virtual-instance-name <vis-name> -n <app-instance-name>

Get an overview of an App Server Instance using the Azure resource ID of the instance

az workloads sap-application-server-instance show --id <resource-id>

Optional Parameters

--application-instance-name --name -n

The name of SAP Application Server instance resource.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sap-virtual-instance-name --vis-name

The name of the Virtual Instances for SAP solutions resource.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az workloads sap-application-server-instance start

Preview

Command group 'az workloads sap-application-server-instance' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Starts the SAP Application Server Instance.

az workloads sap-application-server-instance start [--application-instance-name]
                                                   [--ids]
                                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                   [--resource-group]
                                                   [--sap-virtual-instance-name]
                                                   [--start-vm {0, 1, f, false, n, no, t, true, y, yes}]
                                                   [--subscription]

Examples

Start an Application server instance of the SAP system

az workloads sap-application-server-instance start --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <app-instance-name>

Start an Application server instance of the SAP system using the Azure resource ID of the instance

az workloads sap-application-server-instance start --id <resource-id>

Start an Application server instance of the SAP system and its underlying Virtual Machine

az workloads sap-application-server-instance start --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <app-instance-name> --start-vm

Optional Parameters

--application-instance-name --name -n

The name of SAP Application Server instance resource.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sap-virtual-instance-name --vis-name

The name of the Virtual Instances for SAP solutions resource.

--start-vm

The boolean value indicates whether to start the virtual machines before starting the SAP instances.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
default value: False
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az workloads sap-application-server-instance stop

Preview

Command group 'az workloads sap-application-server-instance' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Stops the SAP Application Server Instance.

az workloads sap-application-server-instance stop [--application-instance-name]
                                                  [--deallocate-vm {0, 1, f, false, n, no, t, true, y, yes}]
                                                  [--ids]
                                                  [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                  [--resource-group]
                                                  [--sap-virtual-instance-name]
                                                  [--soft-stop-timeout-seconds]
                                                  [--subscription]

Examples

Stop Application server instance of the SAP system

az workloads sap-application-server-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <app-instance-name>

Stop Application server instance of the SAP system using the Azure resource ID of the instance

az workloads sap-application-server-instance stop --id <resource-id>

Stop Application server instance of the SAP system and its underlying Virtual Machine

az workloads sap-application-server-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <app-instance-name> --deallocate-vm

Soft Stop Application server instance of the SAP system

az workloads sap-application-server-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <app-instance-name> --soft-stop-timeout-seconds <timeout-in-seconds>

Optional Parameters

--application-instance-name --name -n

The name of SAP Application Server instance resource.

--deallocate-vm

The boolean value indicates whether to Stop and deallocate the virtual machines along with the SAP instances.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sap-virtual-instance-name --vis-name

The name of the Virtual Instances for SAP solutions resource.

--soft-stop-timeout-seconds

This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop.

default value: 0
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az workloads sap-application-server-instance update

Preview

Command group 'az workloads sap-application-server-instance' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Update the SAP Application Server Instance resource.

az workloads sap-application-server-instance update [--application-instance-name]
                                                    [--ids]
                                                    [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                    [--resource-group]
                                                    [--sap-virtual-instance-name]
                                                    [--subscription]
                                                    [--tags]

Examples

Add tags for an existing App server instance resource

az workloads sap-application-server-instance update --sap-virtual-instance-name <VIS name> -g <Resource-group-name> -n <ResourceName> --tags tag=test tag2=test2

Add tags for an existing App server instance resource using the Azure resource ID of the instance

az workloads sap-application-server-instance update --id <ResourceID> --tags tag=test1

Optional Parameters

--application-instance-name --name -n

The name of SAP Application Server instance resource.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sap-virtual-instance-name --vis-name

The name of the Virtual Instances for SAP solutions resource.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

Gets or sets the Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az workloads sap-application-server-instance wait

Preview

Command group 'az workloads sap-application-server-instance' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Place the CLI in a waiting state until a condition is met.

az workloads sap-application-server-instance wait [--application-instance-name]
                                                  [--created]
                                                  [--custom]
                                                  [--deleted]
                                                  [--exists]
                                                  [--ids]
                                                  [--interval]
                                                  [--resource-group]
                                                  [--sap-virtual-instance-name]
                                                  [--subscription]
                                                  [--timeout]
                                                  [--updated]

Optional Parameters

--application-instance-name --name -n

The name of SAP Application Server instance resource.

--created

Wait until created with 'provisioningState' at 'Succeeded'.

default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

default value: False
--exists

Wait until the resource exists.

default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--interval

Polling interval in seconds.

default value: 30
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sap-virtual-instance-name --vis-name

The name of the Virtual Instances for SAP solutions resource.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.