แชร์ผ่าน


az workloads sap-central-instance

Note

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

Manage central instance.

Commands

Name Description Type Status
az workloads sap-central-instance list

List the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.

Extension GA
az workloads sap-central-instance show

Show the SAP Central Services Instance resource.

Extension GA
az workloads sap-central-instance start

Starts the SAP Central Services Instance.

Extension GA
az workloads sap-central-instance stop

Stops the SAP Central Services Instance.

Extension GA
az workloads sap-central-instance update

Update the SAP Central Services Instance resource. This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.

Extension GA

az workloads sap-central-instance list

List the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.

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

Examples

Get an overview of the Central service Instance in a Virtual instance for SAP solutions (VIS)

az workloads sap-central-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-central-instance show

Show the SAP Central Services Instance resource.

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

Examples

Get an overview of a Central service Instance using the Azure resource ID of the instance

az workloads sap-central-instance show --id <resource-id>

Optional Parameters

--central-instance-name --name -n

Central Services Instance resource name string modeled as parameter for auto generation to work correctly.

--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-central-instance start

Starts the SAP Central Services Instance.

az workloads sap-central-instance start [--central-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 Central services instance of the SAP system

az workloads sap-central-instance start --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <cs-instance-name>

Start Central services instance of the SAP system using the Azure resource ID of the instance

az workloads sap-central-instance start --id <resource-id>

Start Central services instance of the SAP system and its underlying Virtual Machine

az workloads sap-central-instance start --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <cs-instance-name> --start-vm

Optional Parameters

--central-instance-name --name -n

Central Services Instance resource name string modeled as parameter for auto generation to work correctly.

--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-central-instance stop

Stops the SAP Central Services Instance.

az workloads sap-central-instance stop [--central-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]
                                       [--subscription]

Examples

Stop Central services instance of the SAP system

az workloads sap-central-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <cs-instance-name>

Stop Central services instance of the SAP system using the Azure resource ID of the instance

az workloads sap-central-instance stop --id <resource-id>

Stop Central services instance of the SAP system and its underlying Virtual Machine

az workloads sap-central-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <cs-instance-name> --deallocate-vm

Optional Parameters

--central-instance-name --name -n

Central Services Instance resource name string modeled as parameter for auto generation to work correctly.

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

--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-central-instance update

Update the SAP Central Services Instance resource. This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.

az workloads sap-central-instance update [--central-instance-name]
                                         [--ids]
                                         [--resource-group]
                                         [--sap-virtual-instance-name]
                                         [--subscription]
                                         [--tags]

Optional Parameters

--central-instance-name --name -n

Central Services Instance resource name string modeled as parameter for auto generation to work correctly.

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

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