Share via


SAP Application Server Instances - List

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

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances?api-version=2023-04-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

sapVirtualInstanceName
path True

string

The name of the Virtual Instances for SAP solutions resource

subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

SAPApplicationServerInstanceList

List of SAP Application Server Instance resources.

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

SAPApplicationServerInstances_List

Sample request

GET https://management.azure.com/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances?api-version=2023-04-01

Sample response

{
  "value": [
    {
      "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
      "name": "app01",
      "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
      "tags": {},
      "location": "westcentralus",
      "systemData": {
        "createdBy": "user@xyz.com",
        "createdByType": "User",
        "createdAt": "2021-08-19T15:10:46.196Z",
        "lastModifiedBy": "user@xyz.com",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2021-08-19T15:10:46.196Z"
      },
      "properties": {
        "instanceNo": "00",
        "subnet": null,
        "hostname": "vh-nw1",
        "kernelVersion": "777",
        "kernelPatch": "patch 300",
        "ipAddress": "10.0.0.5",
        "gatewayPort": 3300,
        "icmHttpPort": 3312,
        "icmHttpsPort": 3313,
        "vmDetails": [
          {
            "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
            "type": "Active"
          }
        ],
        "status": "Unknown",
        "health": "Unknown",
        "errors": null,
        "provisioningState": "Succeeded"
      }
    },
    {
      "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app02",
      "name": "app02",
      "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
      "tags": {},
      "location": "westcentralus",
      "systemData": {
        "createdBy": "user@xyz.com",
        "createdByType": "User",
        "createdAt": "2021-08-19T15:10:46.196Z",
        "lastModifiedBy": "user@xyz.com",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2021-08-19T15:10:46.196Z"
      },
      "properties": {
        "instanceNo": "01",
        "subnet": null,
        "hostname": "vh-nw1",
        "kernelVersion": "777",
        "kernelPatch": "patch 300",
        "ipAddress": "10.0.0.5",
        "gatewayPort": 3300,
        "icmHttpPort": 3312,
        "icmHttpsPort": 3313,
        "vmDetails": [
          {
            "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
            "type": "Active"
          }
        ],
        "status": "Unknown",
        "health": "Unknown",
        "errors": null,
        "provisioningState": "Succeeded"
      }
    }
  ]
}

Definitions

Name Description
ApplicationServerVirtualMachineType

Defines the type of application server VM.

ApplicationServerVmDetails

The Application Server VM Details.

createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDefinition

Error definition.

ErrorDetail

The error detail.

ErrorResponse

Error response

LoadBalancerDetails

The Load Balancer details such as Load Balancer ID.

SAPApplicationServerInstance

Define the SAP Application Server Instance resource.

SAPApplicationServerInstanceList

Defines the collection of SAP Application Server Instance resources.

SAPHealthState

Defines the health of SAP Instances.

SAPVirtualInstanceError

An error response from the Virtual Instance for SAP Workload service.

SapVirtualInstanceProvisioningState

Defines the provisioning states.

SAPVirtualInstanceStatus

Defines the SAP Instance status.

StorageInformation

Storage details of all the Storage accounts attached to the VM. For e.g. NFS on AFS Shared Storage.

systemData

Metadata pertaining to creation and last modification of the resource.

ApplicationServerVirtualMachineType

Defines the type of application server VM.

Value Description
Active
Standby
Unknown

ApplicationServerVmDetails

The Application Server VM Details.

Name Type Description
storageDetails

StorageInformation[]

Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.

type

ApplicationServerVirtualMachineType

Defines the type of application server VM.

virtualMachineId

string

createdByType

The type of identity that created the resource.

Value Description
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDefinition

Error definition.

Name Type Description
code

string

Service specific error code which serves as the substatus for the HTTP error code.

details

ErrorDefinition[]

Internal error details.

message

string

Description of the error.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

LoadBalancerDetails

The Load Balancer details such as Load Balancer ID.

Name Type Description
id

string

SAPApplicationServerInstance

Define the SAP Application Server Instance resource.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

The geo-location where the resource lives

name

string

The name of the resource

properties.errors

SAPVirtualInstanceError

Defines the Application Instance errors.

properties.gatewayPort

integer (int64)

Application server instance gateway Port.

properties.health

SAPHealthState

Defines the health of SAP Instances.

properties.hostname

string

Application server instance SAP hostname.

properties.icmHttpPort

integer (int64)

Application server instance ICM HTTP Port.

properties.icmHttpsPort

integer (int64)

Application server instance ICM HTTPS Port.

properties.instanceNo

string

Application server Instance Number.

properties.ipAddress

string

Application server instance SAP IP Address.

properties.kernelPatch

string

Application server instance SAP Kernel Patch level.

properties.kernelVersion

string

Application server instance SAP Kernel Version.

properties.loadBalancerDetails

LoadBalancerDetails

The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines

properties.provisioningState

SapVirtualInstanceProvisioningState

Defines the provisioning states.

properties.status

SAPVirtualInstanceStatus

Defines the SAP Instance status.

properties.subnet

string

Application server Subnet.

properties.vmDetails

ApplicationServerVmDetails[]

The list of virtual machines.

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

object

Resource tags.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

SAPApplicationServerInstanceList

Defines the collection of SAP Application Server Instance resources.

Name Type Description
nextLink

string

Gets the value of next link.

value

SAPApplicationServerInstance[]

Gets the list of SAP Application Server instance resources.

SAPHealthState

Defines the health of SAP Instances.

Value Description
Unknown
Healthy
Unhealthy
Degraded

SAPVirtualInstanceError

An error response from the Virtual Instance for SAP Workload service.

Name Type Description
properties

ErrorDefinition

The Virtual Instance for SAP error body.

SapVirtualInstanceProvisioningState

Defines the provisioning states.

Value Description
Succeeded
Updating
Creating
Failed
Deleting

SAPVirtualInstanceStatus

Defines the SAP Instance status.

Value Description
Starting
Running
Stopping
Offline
PartiallyRunning
Unavailable
SoftShutdown

StorageInformation

Storage details of all the Storage accounts attached to the VM. For e.g. NFS on AFS Shared Storage.

Name Type Description
id

string

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.