diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json new file mode 100644 index 000000000000..61ebd7fe0260 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json @@ -0,0 +1,4298 @@ +{ + "swagger": "2.0", + "info": { + "version": "2022-11-01-preview", + "title": "Workloads Client", + "description": "Workloads client provides access to various workload operations" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations": { + "post": { + "tags": [ + "SAPRecommendations" + ], + "description": "Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier", + "operationId": "SAPSizingRecommendations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "SAPSizingRecommendation", + "description": "SAP Sizing Recommendation Request body", + "in": "body", + "schema": { + "$ref": "#/definitions/SAPSizingRecommendationRequest" + } + } + ], + "responses": { + "200": { + "description": "SAP Sizing Recommendation Result.", + "schema": { + "$ref": "#/definitions/SAPSizingRecommendationResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPSizingRecommendations_S4HANA_Distributed": { + "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json" + }, + "SAPSizingRecommendations_S4HANA_SingleServer": { + "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json" + }, + "SAPSizingRecommendations_S4HANA_DistributedHA_AvSet": { + "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json" + }, + "SAPSizingRecommendations_S4HANA_DistributedHA_AvZone": { + "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku": { + "post": { + "tags": [ + "SAPSupportedSku" + ], + "description": "Get a list of SAP supported SKUs for ASCS, Application and Database tier.", + "operationId": "SAPSupportedSku", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "SAPSupportedSku", + "description": "SAP Supported SKU Request body", + "in": "body", + "schema": { + "$ref": "#/definitions/SAPSupportedSkusRequest" + } + } + ], + "responses": { + "200": { + "description": "SAP Supported SKU Result.", + "schema": { + "$ref": "#/definitions/SAPSupportedResourceSkusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPSupportedSkus_Distributed": { + "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json" + }, + "SAPSupportedSkus_SingleServer": { + "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json" + }, + "SAPSupportedSkus_DistributedHA_AvSet": { + "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json" + }, + "SAPSupportedSkus_DistributedHA_AvZone": { + "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations": { + "post": { + "tags": [ + "SAPDiskConfigurations" + ], + "description": "Get the SAP Disk Configuration Layout prod/non-prod SAP System.", + "operationId": "SAPDiskConfigurations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "SAPDiskConfigurations", + "description": "SAP Disk Configurations Request body", + "in": "body", + "schema": { + "$ref": "#/definitions/SAPDiskConfigurationsRequest" + } + } + ], + "responses": { + "200": { + "description": "SAP Disk Configurations Result.", + "schema": { + "$ref": "#/definitions/SAPDiskConfigurationsResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPDiskConfigurations_Prod": { + "$ref": "./examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json" + }, + "SAPDiskConfigurations_NonProd": { + "$ref": "./examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": { + "post": { + "tags": [ + "SAPAvailabilityZoneDetails" + ], + "description": "Get the recommended SAP Availability Zone Pair Details for your region.", + "operationId": "SAPAvailabilityZoneDetails", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "SAPAvailabilityZoneDetails", + "description": "SAP Availability Zone Details Request body", + "in": "body", + "schema": { + "$ref": "#/definitions/SAPAvailabilityZoneDetailsRequest" + } + } + ], + "responses": { + "200": { + "description": "SAP Availability Zone Details Result.", + "schema": { + "$ref": "#/definitions/SAPAvailabilityZoneDetailsResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPAvailabilityZoneDetails_eastus": { + "$ref": "./examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json" + }, + "SAPAvailabilityZoneDetails_northeurope": { + "$ref": "./examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}": { + "put": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_Create", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Register existing SAP system as Virtual Instance for SAP solutions.": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json" + }, + "Register existing SAP system as Virtual Instance for SAP solutions with optional customizations.": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json" + }, + "Create Infrastructure with OS configuration for Single Server System (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json" + }, + "Create Infrastructure with OS configuration for Distributed System (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json" + }, + "Create Infrastructure with OS configuration for HA System with Availability Set (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json" + }, + "Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json" + }, + "Create Infrastructure only for Distributed System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json" + }, + "Create Infrastructure only for HA System with Availability Set": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json" + }, + "Create Infrastructure only for HA System with Availability Zone": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json" + }, + "Create Infrastructure only for Single Server System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json" + }, + "Create Infrastructure without SAP Trans Fileshare": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json" + }, + "Create Infrastructure with a new SAP Trans Fileshare": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json" + }, + "Create Infrastructure with an existing SAP Trans Fileshare": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json" + }, + "Detect SAP Software Installation on a Single Server System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json" + }, + "Detect SAP Software Installation on a Distributed System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json" + }, + "Detect SAP Software Installation on an HA System with Availability Set": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json" + }, + "Detect SAP Software Installation on an HA System with Availability Zone": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json" + }, + "Install SAP Software on Single Server System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json" + }, + "Install SAP Software on Distributed System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json" + }, + "Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json" + }, + "Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json" + }, + "Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json" + }, + "Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended)": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for Single Server System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for Distributed System": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for HA System with Availability Set": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for HA system with Availability Zone": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json" + } + }, + "description": "Creates a Virtual Instance for SAP solutions (VIS) resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "description": "Virtual Instance for SAP solutions resource request body.", + "name": "body", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + } + ], + "responses": { + "201": { + "description": "Describes the Virtual Instance for SAP solutions resource created.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "200": { + "description": "Describes the Virtual Instance for SAP solutions resource which is created successfully.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_Get", + "x-ms-examples": { + "SAPVirtualInstances_Get": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Get.json" + } + }, + "description": "Gets a Virtual Instance for SAP solutions resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describes the Virtual Instance for SAP solutions resource", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_Update", + "x-ms-examples": { + "SAPVirtualInstances_Update": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Update.json" + } + }, + "description": "Updates a Virtual Instance for SAP solutions resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request body to update a Virtual Instance for SAP solutions resource.", + "schema": { + "$ref": "#/definitions/UpdateSAPVirtualInstanceRequest" + } + } + ], + "responses": { + "200": { + "description": "Describes the Virtual Instance for SAP solutions resource which is successfully updated.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPVirtualInstances_Delete": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Delete.json" + } + }, + "description": "Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances": { + "get": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_ListByResourceGroup", + "x-ms-examples": { + "SAPVirtualInstances_ListByResourceGroup": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all Virtual Instances for SAP solutions resources in a Resource Group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of all Virtual Instances for SAP solutions resources.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstanceList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances": { + "get": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_ListBySubscription", + "x-ms-examples": { + "SAPVirtualInstances_ListBySubscription": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all Virtual Instances for SAP solutions resources in a Subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of all Virtual Instances for SAP solutions resources in the Subscription.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstanceList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}": { + "get": { + "tags": [ + "SAPCentralInstances" + ], + "operationId": "SAPCentralInstances_Get", + "x-ms-examples": { + "SAPCentralInstances_Get": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Get.json" + } + }, + "description": "Gets the SAP Central Services Instance resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/CentralInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describes the SAP Central Services Instance resource.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "SAPCentralInstances" + ], + "operationId": "SAPCentralInstances_Create", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPCentralInstances_Create": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Create.json" + }, + "Create SAP Central Instances for HA System with Availability Set": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json" + } + }, + "description": "Creates 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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/CentralInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The SAP Central Services Instance request body.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + } + ], + "responses": { + "201": { + "description": "Describes the SAP Central Services Instance resource created.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "200": { + "description": "Describes the SAP Central Services Instance resource.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "SAPCentralInstances" + ], + "operationId": "SAPCentralInstances_Update", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPCentralInstances_Update": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Update.json" + } + }, + "description": "Updates the SAP Central Services Instance resource.

This can be used to update tags on the resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/CentralInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The SAP Central Services Instance resource request body.", + "schema": { + "$ref": "#/definitions/UpdateSAPCentralInstanceRequest" + } + } + ], + "responses": { + "201": { + "description": "Describes the SAP Central Services Instance resource created.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "200": { + "description": "Describes the SAP Central Services Instance resource created.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "SAPCentralInstances" + ], + "operationId": "SAPCentralInstances_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPCentralInstances_Delete": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Delete.json" + } + }, + "description": "Deletes the SAP Central Services Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the Virtual Instance for SAP solutions resource, using the delete operation on it.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/CentralInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances": { + "get": { + "tags": [ + "SAPCentralInstances" + ], + "operationId": "SAPCentralInstances_List", + "x-ms-examples": { + "SAPCentralInstances_List": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describes the SAP Central Services Instance resource.", + "schema": { + "$ref": "#/definitions/SAPCentralInstanceList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}": { + "get": { + "tags": [ + "SAPDatabaseInstances" + ], + "operationId": "SAPDatabaseInstances_Get", + "x-ms-examples": { + "SAPDatabaseInstances_Get": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Get.json" + } + }, + "description": "Gets the SAP Database Instance resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describes the Database resource associated with the SAP system.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "SAPDatabaseInstances" + ], + "operationId": "SAPDatabaseInstances_Create", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPDatabaseInstances_Create": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Create.json" + }, + "Create SAP Database Instances for HA System with Availability Set": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json" + } + }, + "description": "Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource.

This will be used by service only. PUT by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request body of Database resource of a SAP system.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + } + ], + "responses": { + "201": { + "description": "Describes the Database resource of the SAP system.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "200": { + "description": "Describes the Database resource of the SAP system.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "SAPDatabaseInstances" + ], + "operationId": "SAPDatabaseInstances_Update", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPDatabaseInstances_Update": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Update.json" + } + }, + "description": "Updates the Database resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Database resource update request body.", + "schema": { + "$ref": "#/definitions/UpdateSAPDatabaseInstanceRequest" + } + } + ], + "responses": { + "201": { + "description": "Describes the Database resource of the SAP system.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "200": { + "description": "Describes the Database resource of the SAP system.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "SAPDatabaseInstances" + ], + "operationId": "SAPDatabaseInstances_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPDatabaseInstances_Delete": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json" + } + }, + "description": "Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

This will be used by service only. Delete by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances": { + "get": { + "tags": [ + "SAPDatabaseInstances" + ], + "operationId": "SAPDatabaseInstances_List", + "x-ms-examples": { + "SAPDatabaseInstances_List": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Lists the Database resources associated with a Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describes the Database resource corresponding to a Virtual Instance for SAP solutions resource.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstanceList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}": { + "get": { + "tags": [ + "SAPApplicationServerInstances" + ], + "operationId": "SAPApplicationServerInstances_Get", + "x-ms-examples": { + "SAPApplicationServerInstances_Get": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json" + } + }, + "description": "Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/SAPApplicationInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describes the SAP Application Server Instance.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "SAPApplicationServerInstances" + ], + "operationId": "SAPApplicationServerInstances_Create", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPApplicationServerInstances_Create": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json" + }, + "Create SAP Application Server Instances for HA System with Availability Set": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json" + } + }, + "description": "Puts the SAP Application Server Instance resource.

This will be used by service only. PUT by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/SAPApplicationInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The SAP Application Server Instance resource request body.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + } + ], + "responses": { + "201": { + "description": "Describes the SAP Application Server Instance resource.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "200": { + "description": "Describes the SAP Application Server Instance resource.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "SAPApplicationServerInstances" + ], + "operationId": "SAPApplicationServerInstances_Update", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPApplicationServerInstances_Update": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json" + } + }, + "description": "Puts the SAP Application Server Instance resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/SAPApplicationInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The SAP Application Server Instance resource request body.", + "schema": { + "$ref": "#/definitions/UpdateSAPApplicationInstanceRequest" + } + } + ], + "responses": { + "201": { + "description": "Describes the SAP Application Server Instance resource.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "200": { + "description": "Describes the SAP Application Server Instance resource.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "SAPApplicationServerInstances" + ], + "operationId": "SAPApplicationServerInstances_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPApplicationServerInstances_Delete": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json" + } + }, + "description": "Deletes the SAP Application Server Instance resource.

This operation will be used by service only. Delete by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/SAPApplicationInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances": { + "get": { + "tags": [ + "SAPApplicationServerInstances" + ], + "operationId": "SAPApplicationServerInstances_List", + "x-ms-examples": { + "SAPApplicationServerInstances_List": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "List of SAP Application Server Instance resources.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstanceList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start": { + "post": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_Start", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPVirtualInstances_Start": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Start.json" + } + }, + "description": "Starts the SAP application, that is the Central Services instance and Application server instances.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/stop": { + "post": { + "tags": [ + "SAPVirtualInstances" + ], + "operationId": "SAPVirtualInstances_Stop", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SAPVirtualInstances_Stop": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Stop.json" + } + }, + "description": "Stops the SAP Application, that is the Application server instances and Central Services instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The Virtual Instance for SAP solutions resource stop request body.", + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}/start": { + "post": { + "tags": [ + "SAPCentralInstances" + ], + "operationId": "SAPCentralInstances_StartInstance", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Start the SAP Central Services Instance": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json" + } + }, + "description": "Starts the SAP Central Services Instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/CentralInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}/stop": { + "post": { + "tags": [ + "SAPCentralInstances" + ], + "operationId": "SAPCentralInstances_StopInstance", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Stop the SAP Central Services Instance.": { + "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json" + } + }, + "description": "Stops the SAP Central Services Instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/CentralInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "SAP Central Services instance stop request body.", + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}/start": { + "post": { + "tags": [ + "SAPApplicationServerInstances" + ], + "operationId": "SAPApplicationServerInstances_StartInstance", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Start the SAP Application Server Instance.": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json" + } + }, + "description": "Starts the SAP Application Server Instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/SAPApplicationInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}/stop": { + "post": { + "tags": [ + "SAPApplicationServerInstances" + ], + "operationId": "SAPApplicationServerInstances_StopInstance", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Stop the SAP Application Server Instance": { + "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json" + } + }, + "description": "Stops the SAP Application Server Instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/SAPApplicationInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "SAP Application server instance stop request body.", + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}/start": { + "post": { + "tags": [ + "SAPDatabaseInstances" + ], + "operationId": "SAPDatabaseInstances_StartInstance", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Start the database instance of the SAP system.": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json" + } + }, + "description": "Starts the database instance of the SAP system.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}/stop": { + "post": { + "tags": [ + "SAPDatabaseInstances" + ], + "operationId": "SAPDatabaseInstances_StopInstance", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Stop the database instance of the SAP system.": { + "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json" + } + }, + "description": "Stops the database instance of the SAP system.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/SAPVirtualInstanceNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Stop request for the database instance of the SAP system.", + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "HealthState": { + "description": "Defines the health of SAP Instances.", + "enum": [ + "Unknown", + "Healthy", + "Unhealthy", + "Degraded" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPHealthState", + "modelAsString": true + } + }, + "DeploymentType": { + "description": "The type of SAP deployment, single server or Three tier.", + "enum": [ + "SingleServer", + "ThreeTier" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPDeploymentType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "NamingPatternType": { + "description": "The pattern type to be used for resource naming.", + "enum": [ + "FullResourceName" + ], + "type": "string", + "x-ms-enum": { + "name": "NamingPatternType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "SAPSoftwareInstallationType": { + "description": "The SAP software installation Type.", + "enum": [ + "ServiceInitiated", + "SAPInstallWithoutOSConfig", + "External" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPSoftwareInstallationType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "HighAvailabilityType": { + "description": "The high availability Type. AvailabilitySet guarantees 99.95% availability. Availability Zone guarantees 99.99% availability.", + "enum": [ + "AvailabilitySet", + "AvailabilityZone" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPHighAvailabilityType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "DatabaseScaleMethod": { + "description": "The database scale method.", + "enum": [ + "ScaleUp" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPDatabaseScaleMethod", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "ConfigurationType": { + "description": "The configuration Type.", + "enum": [ + "Deployment", + "Discovery", + "DeploymentWithOSConfig" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPConfigurationType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "SAPVirtualInstanceStatus": { + "description": "Defines the SAP Instance status.", + "enum": [ + "Starting", + "Running", + "Stopping", + "Offline", + "PartiallyRunning", + "Unavailable", + "SoftShutdown" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPVirtualInstanceStatus", + "modelAsString": true + } + }, + "SAPVirtualInstanceState": { + "description": "Defines the Virtual Instance for SAP state.", + "enum": [ + "InfrastructureDeploymentPending", + "InfrastructureDeploymentInProgress", + "InfrastructureDeploymentFailed", + "SoftwareInstallationPending", + "SoftwareInstallationInProgress", + "SoftwareInstallationFailed", + "SoftwareDetectionInProgress", + "SoftwareDetectionFailed", + "DiscoveryPending", + "DiscoveryInProgress", + "DiscoveryFailed", + "RegistrationComplete" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPVirtualInstanceState", + "modelAsString": true + } + }, + "EnvironmentType": { + "description": "Defines the environment type - Production/Non Production.", + "enum": [ + "NonProd", + "Prod" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPEnvironmentType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "CentralServerVirtualMachineType": { + "description": "Defines the type of central server VM.", + "enum": [ + "Primary", + "Secondary", + "Unknown", + "ASCS", + "ERSInactive", + "ERS", + "Standby" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "CentralServerVirtualMachineType", + "modelAsString": true + }, + "x-ms-mutability": [ + "read" + ] + }, + "ApplicationServerVirtualMachineType": { + "description": "Defines the type of application server VM.", + "enum": [ + "Active", + "Standby", + "Unknown" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ApplicationServerVirtualMachineType", + "modelAsString": true + }, + "x-ms-mutability": [ + "read" + ] + }, + "SAPDatabaseType": { + "description": "Defines the supported SAP Database types.", + "enum": [ + "HANA", + "DB2" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPDatabaseType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "SAPProductType": { + "description": "Defines the SAP Product type.", + "enum": [ + "ECC", + "S4HANA", + "Other" + ], + "type": "string", + "x-ms-enum": { + "name": "SAPProductType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "EnqueueReplicationServerType": { + "description": "Defines the type of Enqueue Replication Server.", + "enum": [ + "EnqueueReplicator1", + "EnqueueReplicator2" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "EnqueueReplicationServerType", + "modelAsString": true + }, + "x-ms-mutability": [ + "read" + ] + }, + "ProvisioningState": { + "description": "Defines the provisioning states.", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed", + "Deleting" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SapVirtualInstanceProvisioningState", + "modelAsString": true + } + }, + "DiskSkuName": { + "description": "Defines the disk sku name.", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ], + "type": "string", + "x-ms-enum": { + "name": "DiskSkuName", + "modelAsString": true + } + }, + "SAPVirtualInstanceError": { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "The Virtual Instance for SAP error body.", + "$ref": "#/definitions/ErrorDefinition" + } + }, + "description": "An error response from the Virtual Instance for SAP Workload service." + }, + "UpdateSAPVirtualInstanceRequest": { + "description": "Defines the request body for updating Virtual Instance for SAP.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity" + } + } + }, + "UpdateSAPApplicationInstanceRequest": { + "description": "Defines the request body for updating SAP Application Instance.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateSAPDatabaseInstanceRequest": { + "description": "Defines the request body for updating SAP Database Instance.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateSAPCentralInstanceRequest": { + "description": "Defines the request body for updating SAP Central Instance.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ImageReference": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available." + }, + "exactVersion": { + "type": "string", + "readOnly": true, + "description": "Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'." + }, + "sharedGalleryImageId": { + "type": "string", + "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call." + } + }, + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set." + }, + "WindowsConfiguration": { + "type": "object", + "x-ms-discriminator-value": "Windows", + "allOf": [ + { + "$ref": "#/definitions/OSConfiguration" + } + ], + "properties": {}, + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "SshPublicKey": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + } + }, + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "description": "The list of SSH public keys used to authenticate with linux based VMs.", + "x-ms-identifiers": [] + } + }, + "description": "SSH configuration for Linux based VMs running on Azure" + }, + "LinuxConfiguration": { + "type": "object", + "x-ms-discriminator-value": "Linux", + "allOf": [ + { + "$ref": "#/definitions/OSConfiguration" + } + ], + "properties": { + "disablePasswordAuthentication": { + "type": "boolean", + "description": "Specifies whether password authentication should be disabled." + }, + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)" + }, + "sshKeyPair": { + "$ref": "#/definitions/SshKeyPair", + "description": "The SSH Key-pair used to authenticate with the VM's." + } + }, + "description": "Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "OSConfiguration": { + "description": "Defines the OS configuration.", + "type": "object", + "required": [ + "osType" + ], + "properties": { + "osType": { + "description": "The OS Type", + "enum": [ + "Linux", + "Windows" + ], + "type": "string", + "x-ms-enum": { + "name": "OSType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "osType" + }, + "OSProfile": { + "type": "object", + "properties": { + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in \".\"

**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters." + }, + "adminPassword": { + "type": "string", + "x-ms-secret": true, + "description": "Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + }, + "osConfiguration": { + "$ref": "#/definitions/OSConfiguration", + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "SingleServerRecommendationResult": { + "x-ms-discriminator-value": "SingleServer", + "description": "The recommended configuration for a single server SAP system.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SAPSizingRecommendationResult" + } + ], + "properties": { + "vmSku": { + "description": "The recommended VM SKU for single server.", + "type": "string" + } + } + }, + "ThreeTierRecommendationResult": { + "x-ms-discriminator-value": "ThreeTier", + "description": "The recommended configuration for a three tier SAP system.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SAPSizingRecommendationResult" + } + ], + "properties": { + "dbVmSku": { + "description": "The database VM SKU.", + "type": "string" + }, + "databaseInstanceCount": { + "description": "The database server instance count.", + "type": "integer", + "format": "int64" + }, + "centralServerVmSku": { + "description": "The central server VM SKU.", + "type": "string" + }, + "centralServerInstanceCount": { + "description": "The central server instance count.", + "type": "integer", + "format": "int64" + }, + "applicationServerVmSku": { + "description": "The application server VM SKU.", + "type": "string" + }, + "applicationServerInstanceCount": { + "description": "The application server instance count.", + "type": "integer", + "format": "int64" + } + } + }, + "SAPSizingRecommendationRequest": { + "description": "The SAP Sizing Recommendation request.", + "type": "object", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the resource is to be created." + }, + "environment": { + "$ref": "#/definitions/EnvironmentType" + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType" + }, + "deploymentType": { + "description": "The deployment type. Eg: SingleServer/ThreeTier", + "$ref": "#/definitions/DeploymentType" + }, + "saps": { + "description": "The SAP Application Performance Standard measurement.", + "type": "integer", + "format": "int64" + }, + "dbMemory": { + "description": "The database memory configuration.", + "type": "integer", + "format": "int64" + }, + "databaseType": { + "description": "The database type.", + "$ref": "#/definitions/SAPDatabaseType" + }, + "dbScaleMethod": { + "description": "The DB scale method.", + "$ref": "#/definitions/DatabaseScaleMethod" + }, + "highAvailabilityType": { + "description": "The high availability type.", + "$ref": "#/definitions/HighAvailabilityType" + } + }, + "required": [ + "appLocation", + "environment", + "sapProduct", + "deploymentType", + "saps", + "dbMemory", + "databaseType" + ] + }, + "SAPSizingRecommendationResult": { + "description": "The SAP sizing recommendation result.", + "type": "object", + "required": [ + "deploymentType" + ], + "properties": { + "deploymentType": { + "$ref": "#/definitions/DeploymentType" + } + }, + "discriminator": "deploymentType" + }, + "SAPSupportedSkusRequest": { + "description": "The SAP request to get list of supported SKUs.", + "type": "object", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the resource is to be created." + }, + "environment": { + "$ref": "#/definitions/EnvironmentType" + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType" + }, + "deploymentType": { + "description": "The deployment type. Eg: SingleServer/ThreeTier", + "$ref": "#/definitions/DeploymentType" + }, + "databaseType": { + "description": "The database type. Eg: HANA, DB2, etc", + "$ref": "#/definitions/SAPDatabaseType" + }, + "highAvailabilityType": { + "description": "The high availability type.", + "$ref": "#/definitions/HighAvailabilityType" + } + }, + "required": [ + "appLocation", + "environment", + "sapProduct", + "databaseType", + "deploymentType" + ] + }, + "SAPSupportedSku": { + "description": "The SAP supported SKU.", + "type": "object", + "properties": { + "vmSku": { + "type": "string", + "description": "The VM Sku." + }, + "isAppServerCertified": { + "description": "True if the Sku is certified for App server in the SAP system.", + "type": "boolean" + }, + "isDatabaseCertified": { + "description": "True if the Sku is certified for Database server in the SAP system.", + "type": "boolean" + } + } + }, + "SAPSupportedResourceSkusResult": { + "description": "The list of supported SKUs for different resources which are part of SAP deployment.", + "type": "object", + "properties": { + "supportedSkus": { + "description": "Gets the list of SAP supported SKUs.", + "type": "array", + "items": { + "$ref": "#/definitions/SAPSupportedSku" + }, + "x-ms-identifiers": [] + } + } + }, + "SAPDiskConfigurationsRequest": { + "description": "The SAP request to get list of disk configurations.", + "type": "object", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the SAP resources will be created." + }, + "environment": { + "$ref": "#/definitions/EnvironmentType" + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType" + }, + "databaseType": { + "description": "The database type. Eg: HANA, DB2, etc", + "$ref": "#/definitions/SAPDatabaseType" + }, + "deploymentType": { + "description": "The deployment type. Eg: SingleServer/ThreeTier", + "$ref": "#/definitions/DeploymentType" + }, + "dbVmSku": { + "description": "The VM SKU for database instance.", + "type": "string" + } + }, + "required": [ + "appLocation", + "environment", + "sapProduct", + "databaseType", + "deploymentType", + "dbVmSku" + ] + }, + "DiskDetails": { + "description": "The supported disk size details for a disk type.", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/DiskSku" + }, + "sizeGB": { + "description": "The disk size in GB.", + "type": "integer", + "format": "int64" + }, + "minimumSupportedDiskCount": { + "description": "The minimum supported disk count.", + "type": "integer", + "format": "int64" + }, + "maximumSupportedDiskCount": { + "description": "The maximum supported disk count.", + "type": "integer", + "format": "int64" + }, + "iopsReadWrite": { + "description": "The disk Iops.", + "type": "integer", + "format": "int64" + }, + "mbpsReadWrite": { + "description": "The disk provisioned throughput in MBps.", + "type": "integer", + "format": "int64" + }, + "diskTier": { + "description": "The disk tier, e.g. P10, E10.", + "type": "string" + } + } + }, + "SAPDiskConfiguration": { + "description": "The SAP Disk Configuration contains 'recommended disk' details and list of supported disks detail for a volume type.", + "type": "object", + "properties": { + "recommendedConfiguration": { + "$ref": "#/definitions/DiskVolumeConfiguration", + "description": "The recommended disk details for a given VM Sku." + }, + "supportedConfigurations": { + "description": "The list of supported disks for a given VM Sku.", + "type": "array", + "items": { + "$ref": "#/definitions/DiskDetails" + }, + "x-ms-identifiers": [] + } + } + }, + "SAPDiskConfigurationsResult": { + "description": "The list of disk configuration for vmSku which are part of SAP deployment.", + "type": "object", + "properties": { + "volumeConfigurations": { + "description": "The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/SAPDiskConfiguration" + } + } + } + }, + "SAPAvailabilityZoneDetailsRequest": { + "description": "The SAP request to get list of availability zones.", + "type": "object", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the SAP resources will be created." + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType" + }, + "databaseType": { + "description": "The database type. Eg: HANA, DB2, etc", + "$ref": "#/definitions/SAPDatabaseType" + } + }, + "required": [ + "appLocation", + "sapProduct", + "databaseType" + ] + }, + "SAPAvailabilityZonePair": { + "description": "The SAP Availability Zone Pair.", + "type": "object", + "properties": { + "zoneA": { + "description": "The zone A.", + "type": "integer", + "format": "int64" + }, + "zoneB": { + "description": "The zone B.", + "type": "integer", + "format": "int64" + } + } + }, + "SAPAvailabilityZoneDetailsResult": { + "description": "The list of supported availability zone pairs which are part of SAP HA deployment.", + "type": "object", + "properties": { + "availabilityZonePairs": { + "description": "Gets the list of availability zone pairs.", + "type": "array", + "items": { + "$ref": "#/definitions/SAPAvailabilityZonePair" + }, + "x-ms-identifiers": [] + } + } + }, + "DiskSku": { + "description": "The disk sku.", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/DiskSkuName" + } + } + }, + "DiskVolumeConfiguration": { + "description": "The disk configuration required for the selected volume.", + "type": "object", + "properties": { + "count": { + "description": "The total number of disks required for the concerned volume.", + "type": "integer", + "format": "int64" + }, + "sizeGB": { + "description": "The disk size in GB.", + "type": "integer", + "format": "int64" + }, + "sku": { + "description": "The disk SKU details.", + "$ref": "#/definitions/DiskSku" + } + } + }, + "DiskConfiguration": { + "description": "The Disk Configuration Details.", + "type": "object", + "properties": { + "diskVolumeConfigurations": { + "description": "The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DiskVolumeConfiguration" + } + } + } + }, + "VirtualMachineConfiguration": { + "description": "Defines the virtual machine configuration.", + "type": "object", + "properties": { + "vmSize": { + "type": "string", + "description": "The virtual machine size." + }, + "imageReference": { + "description": "The image reference.", + "$ref": "#/definitions/ImageReference" + }, + "osProfile": { + "description": "The OS profile.", + "$ref": "#/definitions/OSProfile" + } + }, + "required": [ + "vmSize", + "imageReference", + "osProfile" + ] + }, + "SingleServerConfiguration": { + "x-ms-discriminator-value": "SingleServer", + "description": "Gets or sets the single server configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InfrastructureConfiguration" + } + ], + "properties": { + "networkConfiguration": { + "description": "Network configuration for the server", + "$ref": "#/definitions/NetworkConfiguration" + }, + "databaseType": { + "description": "The database type.", + "$ref": "#/definitions/SAPDatabaseType" + }, + "subnetId": { + "description": "The subnet id.", + "type": "string" + }, + "virtualMachineConfiguration": { + "description": "Gets or sets the virtual machine configuration.", + "$ref": "#/definitions/VirtualMachineConfiguration" + }, + "dbDiskConfiguration": { + "description": "Gets or sets the disk configuration.", + "$ref": "#/definitions/DiskConfiguration" + }, + "customResourceNames": { + "description": "The set of custom names to be used for underlying azure resources that are part of the SAP system.", + "$ref": "#/definitions/SingleServerCustomResourceNames" + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration" + ] + }, + "CentralServerConfiguration": { + "description": "Gets or sets the central server configuration.", + "type": "object", + "properties": { + "subnetId": { + "description": "The subnet id.", + "type": "string" + }, + "virtualMachineConfiguration": { + "description": "Gets or sets the virtual machine configuration.", + "$ref": "#/definitions/VirtualMachineConfiguration" + }, + "instanceCount": { + "description": "The number of central server VMs.", + "type": "integer", + "format": "int64" + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration", + "instanceCount" + ] + }, + "DatabaseConfiguration": { + "description": "Gets or sets the database configuration.", + "type": "object", + "properties": { + "databaseType": { + "description": "The database type.", + "$ref": "#/definitions/SAPDatabaseType" + }, + "subnetId": { + "description": "The subnet id.", + "type": "string" + }, + "virtualMachineConfiguration": { + "description": "Gets or sets the virtual machine configuration.", + "$ref": "#/definitions/VirtualMachineConfiguration" + }, + "instanceCount": { + "description": "The number of database VMs.", + "type": "integer", + "format": "int64" + }, + "diskConfiguration": { + "description": "Gets or sets the disk configuration.", + "$ref": "#/definitions/DiskConfiguration" + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration", + "instanceCount" + ] + }, + "ApplicationServerConfiguration": { + "description": "Gets or sets the application server configuration.", + "type": "object", + "properties": { + "subnetId": { + "description": "The subnet id.", + "type": "string" + }, + "virtualMachineConfiguration": { + "description": "Gets or sets the virtual machine configuration.", + "$ref": "#/definitions/VirtualMachineConfiguration" + }, + "instanceCount": { + "description": "The number of app server instances.", + "type": "integer", + "format": "int64" + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration", + "instanceCount" + ] + }, + "HighAvailabilityConfiguration": { + "description": "Gets or sets the high availability configuration.", + "type": "object", + "properties": { + "highAvailabilityType": { + "description": "The high availability type.", + "$ref": "#/definitions/HighAvailabilityType" + } + }, + "required": [ + "highAvailabilityType" + ] + }, + "FileShareConfigurationType": { + "description": "The type of file share config.", + "enum": [ + "Skip", + "CreateAndMount", + "Mount" + ], + "type": "string", + "x-ms-enum": { + "name": "configurationType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "SkipFileShareConfiguration": { + "x-ms-discriminator-value": "Skip", + "description": "Gets or sets the skip file share configuration", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FileShareConfiguration" + } + ] + }, + "CreateAndMountFileShareConfiguration": { + "x-ms-discriminator-value": "CreateAndMount", + "description": "Gets or sets the file share configuration for file share created with the VIS case.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FileShareConfiguration" + } + ], + "properties": { + "resourceGroup": { + "type": "string", + "description": "The name of file share resource group. The app rg is used in case of missing input." + }, + "storageAccountName": { + "type": "string", + "description": "The name of file share storage account name . A custom name is used in case of missing input." + } + } + }, + "MountFileShareConfiguration": { + "x-ms-discriminator-value": "Mount", + "description": "Gets or sets the file share configuration for externally mounted cases.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FileShareConfiguration" + } + ], + "properties": { + "id": { + "type": "string", + "description": "The fileshare resource ID" + }, + "privateEndpointId": { + "type": "string", + "description": "The private endpoint resource ID" + } + }, + "required": [ + "id", + "privateEndpointId" + ] + }, + "FileShareConfiguration": { + "description": "File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input.", + "type": "object", + "properties": { + "configurationType": { + "$ref": "#/definitions/FileShareConfigurationType" + } + }, + "discriminator": "configurationType", + "required": [ + "configurationType" + ] + }, + "StorageConfiguration": { + "description": "Gets or sets the storage configuration.", + "type": "object", + "properties": { + "transportFileShareConfiguration": { + "description": "The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.", + "$ref": "#/definitions/FileShareConfiguration" + } + } + }, + "ThreeTierConfiguration": { + "x-ms-discriminator-value": "ThreeTier", + "x-ms-client-flatten": true, + "description": "Gets or sets the three tier SAP configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InfrastructureConfiguration" + } + ], + "properties": { + "networkConfiguration": { + "description": "Network configuration common to all servers", + "$ref": "#/definitions/NetworkConfiguration" + }, + "centralServer": { + "description": "The central server configuration.", + "$ref": "#/definitions/CentralServerConfiguration" + }, + "applicationServer": { + "description": "The application server configuration.", + "$ref": "#/definitions/ApplicationServerConfiguration" + }, + "databaseServer": { + "description": "The database configuration.", + "$ref": "#/definitions/DatabaseConfiguration" + }, + "highAvailabilityConfig": { + "description": "The high availability configuration.", + "$ref": "#/definitions/HighAvailabilityConfiguration" + }, + "storageConfiguration": { + "description": "The storage configuration.", + "$ref": "#/definitions/StorageConfiguration" + }, + "customResourceNames": { + "description": "The set of custom names to be used for underlying azure resources that are part of the SAP system.", + "$ref": "#/definitions/ThreeTierCustomResourceNames" + } + }, + "required": [ + "centralServer", + "applicationServer", + "databaseServer" + ] + }, + "InfrastructureConfiguration": { + "description": "Deploy SAP Infrastructure Details.", + "type": "object", + "required": [ + "deploymentType", + "appResourceGroup" + ], + "properties": { + "deploymentType": { + "$ref": "#/definitions/DeploymentType" + }, + "appResourceGroup": { + "type": "string", + "description": "The application resource group where SAP system resources will be deployed." + } + }, + "discriminator": "deploymentType" + }, + "SingleServerCustomResourceNames": { + "description": "The resource-names input to specify custom names for underlying azure resources that are part of a single server SAP system.", + "type": "object", + "properties": { + "namingPatternType": { + "$ref": "#/definitions/NamingPatternType" + } + }, + "required": [ + "namingPatternType" + ], + "discriminator": "namingPatternType" + }, + "SingleServerFullResourceNames": { + "description": "The resource name object where the specified values will be full resource names of the corresponding resources in a single server SAP system.", + "type": "object", + "x-ms-discriminator-value": "FullResourceName", + "x-ms-client-flatten": true, + "allOf": [ + { + "$ref": "#/definitions/SingleServerCustomResourceNames" + } + ], + "properties": { + "virtualMachine": { + "$ref": "#/definitions/VirtualMachineResourceNames" + } + } + }, + "ThreeTierCustomResourceNames": { + "description": "The resource-names input to specify custom names for underlying azure resources that are part of a three tier SAP system.", + "type": "object", + "properties": { + "namingPatternType": { + "$ref": "#/definitions/NamingPatternType" + } + }, + "required": [ + "namingPatternType" + ], + "discriminator": "namingPatternType" + }, + "ThreeTierFullResourceNames": { + "description": "The resource name object where the specified values will be full resource names of the corresponding resources in a three tier SAP system.", + "type": "object", + "x-ms-discriminator-value": "FullResourceName", + "x-ms-client-flatten": true, + "allOf": [ + { + "$ref": "#/definitions/ThreeTierCustomResourceNames" + } + ], + "properties": { + "centralServer": { + "$ref": "#/definitions/CentralServerFullResourceNames" + }, + "applicationServer": { + "$ref": "#/definitions/ApplicationServerFullResourceNames" + }, + "databaseServer": { + "$ref": "#/definitions/DatabaseServerFullResourceNames" + }, + "sharedStorage": { + "$ref": "#/definitions/sharedStorageResourceNames" + } + } + }, + "CentralServerFullResourceNames": { + "description": "The full resource names object for central server layer resources.", + "type": "object", + "properties": { + "virtualMachines": { + "description": "The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineResourceNames" + }, + "maxItems": 2 + }, + "availabilitySetName": { + "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.", + "type": "string" + }, + "loadBalancer": { + "$ref": "#/definitions/LoadBalancerResourceNames" + } + } + }, + "VirtualMachineResourceNames": { + "description": "The resource names object for virtual machine and related resources.", + "type": "object", + "properties": { + "vmName": { + "description": "The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.", + "type": "string" + }, + "hostName": { + "description": "The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.", + "type": "string" + }, + "networkInterfaces": { + "description": "The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceResourceNames" + }, + "maxItems": 1 + }, + "osDiskName": { + "description": "The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.", + "type": "string" + }, + "dataDiskNames": { + "description": "The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "The full names for data disks belonging to the specific volume. If names for a volume are not provided, hana disks will be named based the volume. Application and CS layer data disks ('default' volume) will be named as {vmname}-datadisk.", + "type": "string" + } + } + } + } + }, + "NetworkInterfaceResourceNames": { + "description": "The resource names object for network interface and related resources.", + "type": "object", + "properties": { + "networkInterfaceName": { + "description": "The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.", + "type": "string" + } + } + }, + "LoadBalancerResourceNames": { + "description": "The resource names object for load balancer and related resources.", + "type": "object", + "properties": { + "loadBalancerName": { + "description": "The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.", + "type": "string" + }, + "frontendIpConfigurationNames": { + "description": "The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.", + "type": "array", + "items": { + "description": "The full name for frontend IP configuration. If it is not provided, it will be defaulted to frontend.{ASCS/ERS/DB}.", + "type": "string" + }, + "maxItems": 2 + }, + "backendPoolNames": { + "description": "The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1", + "type": "array", + "items": { + "description": "The full name for backend pool. If it is not provided, it will be defaulted to 'backend'.", + "type": "string" + }, + "maxItems": 1 + }, + "healthProbeNames": { + "description": "The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.", + "type": "array", + "items": { + "description": "The full name for health probe. If it is not provided, it will be defaulted to health.{ASCS/ERS/DB}.", + "type": "string" + }, + "maxItems": 2 + } + } + }, + "sharedStorageResourceNames": { + "description": "The resource names object for shared storage.", + "type": "object", + "properties": { + "sharedStorageAccountName": { + "description": "The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.", + "type": "string" + }, + "sharedStorageAccountPrivateEndPointName": { + "description": "The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe", + "type": "string" + } + } + }, + "ApplicationServerFullResourceNames": { + "description": "The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.", + "type": "object", + "properties": { + "virtualMachines": { + "description": "The list of virtual machine naming details.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineResourceNames" + } + }, + "availabilitySetName": { + "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.", + "type": "string" + } + } + }, + "DatabaseServerFullResourceNames": { + "description": "The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.", + "type": "object", + "properties": { + "virtualMachines": { + "description": "The list of virtual machine naming details.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineResourceNames" + }, + "maxItems": 2 + }, + "availabilitySetName": { + "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.", + "type": "string" + }, + "loadBalancer": { + "$ref": "#/definitions/LoadBalancerResourceNames" + } + } + }, + "SoftwareConfiguration": { + "description": "The SAP Software configuration Input.", + "type": "object", + "properties": { + "softwareInstallationType": { + "$ref": "#/definitions/SAPSoftwareInstallationType" + } + }, + "required": [ + "softwareInstallationType" + ], + "discriminator": "softwareInstallationType" + }, + "ServiceInitiatedSoftwareConfiguration": { + "description": "The SAP Software configuration Input when the software is to be installed by service.", + "type": "object", + "x-ms-discriminator-value": "ServiceInitiated", + "x-ms-client-flatten": true, + "allOf": [ + { + "$ref": "#/definitions/SoftwareConfiguration" + } + ], + "properties": { + "bomUrl": { + "type": "string", + "description": "The URL to the SAP Build of Materials(BOM) file." + }, + "softwareVersion": { + "type": "string", + "description": "The software version to install." + }, + "sapBitsStorageAccountId": { + "type": "string", + "description": "The SAP bits storage account id." + }, + "sapFqdn": { + "type": "string", + "description": "The FQDN to set for the SAP system during install." + }, + "sshPrivateKey": { + "type": "string", + "x-ms-secret": true, + "description": "The SSH private key." + }, + "highAvailabilitySoftwareConfiguration": { + "$ref": "#/definitions/HighAvailabilitySoftwareConfiguration" + } + }, + "required": [ + "bomUrl", + "softwareVersion", + "sapBitsStorageAccountId", + "sapFqdn", + "sshPrivateKey" + ] + }, + "SAPInstallWithoutOSConfigSoftwareConfiguration": { + "description": "The SAP Software configuration Input when the software is to be installed by service without OS Configurations", + "type": "object", + "x-ms-discriminator-value": "SAPInstallWithoutOSConfig", + "x-ms-client-flatten": true, + "allOf": [ + { + "$ref": "#/definitions/SoftwareConfiguration" + } + ], + "properties": { + "bomUrl": { + "type": "string", + "description": "The URL to the SAP Build of Materials(BOM) file." + }, + "sapBitsStorageAccountId": { + "type": "string", + "description": "The SAP bits storage account id." + }, + "softwareVersion": { + "type": "string", + "description": "The software version to install." + }, + "highAvailabilitySoftwareConfiguration": { + "$ref": "#/definitions/HighAvailabilitySoftwareConfiguration" + } + }, + "required": [ + "bomUrl", + "sapBitsStorageAccountId", + "softwareVersion" + ] + }, + "ExternalInstallationSoftwareConfiguration": { + "description": "The SAP Software configuration Input when the software is installed externally outside the service.", + "type": "object", + "x-ms-discriminator-value": "External", + "x-ms-client-flatten": true, + "allOf": [ + { + "$ref": "#/definitions/SoftwareConfiguration" + } + ], + "properties": { + "centralServerVmId": { + "type": "string", + "description": "The resource ID of the virtual machine containing the central server instance." + } + } + }, + "HighAvailabilitySoftwareConfiguration": { + "description": "Gets or sets the HA software configuration.", + "type": "object", + "properties": { + "fencingClientId": { + "description": "The fencing client id.", + "type": "string" + }, + "fencingClientPassword": { + "description": "The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.", + "x-ms-secret": true, + "type": "string" + } + }, + "required": [ + "fencingClientId", + "fencingClientPassword" + ] + }, + "StopRequest": { + "description": "Stop SAP instance(s) request body.", + "type": "object", + "properties": { + "softStopTimeoutSeconds": { + "type": "integer", + "format": "int64", + "default": 0, + "description": "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." + } + } + }, + "DiscoveryConfiguration": { + "x-ms-discriminator-value": "Discovery", + "description": "Discovery Details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SAPConfiguration" + } + ], + "properties": { + "centralServerVmId": { + "type": "string", + "description": "The virtual machine ID of the Central Server." + }, + "managedRgStorageAccountName": { + "type": "string", + "description": "The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.

Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).

If not provided, the service will create the storage account with a random name.", + "minLength": 3, + "maxLength": 24 + }, + "appLocation": { + "type": "string", + "readOnly": true, + "description": "The geo-location where the SAP system exists." + } + } + }, + "DeploymentConfiguration": { + "x-ms-discriminator-value": "Deployment", + "description": "Deployment Configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SAPConfiguration" + } + ], + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the SAP system is to be created." + }, + "infrastructureConfiguration": { + "$ref": "#/definitions/InfrastructureConfiguration", + "description": "The infrastructure configuration." + }, + "softwareConfiguration": { + "$ref": "#/definitions/SoftwareConfiguration", + "description": "The software configuration." + } + } + }, + "DeploymentWithOSConfiguration": { + "x-ms-discriminator-value": "DeploymentWithOSConfig", + "description": "Deployment along with OS Configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SAPConfiguration" + } + ], + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the SAP system is to be created." + }, + "infrastructureConfiguration": { + "$ref": "#/definitions/InfrastructureConfiguration", + "description": "The infrastructure configuration." + }, + "softwareConfiguration": { + "$ref": "#/definitions/SoftwareConfiguration", + "description": "The software configuration." + }, + "osSapConfiguration": { + "$ref": "#/definitions/OsSapConfiguration", + "description": "The OS and SAP configuration." + } + } + }, + "OsSapConfiguration": { + "description": "Defines the OS and SAP Configurations for Deployment", + "type": "object", + "properties": { + "deployerVmPackages": { + "$ref": "#/definitions/DeployerVmPackages", + "description": "The url and storage account ID where deployer VM packages are uploaded" + }, + "sapFqdn": { + "type": "string", + "description": "The FQDN to set for the SAP system" + } + } + }, + "DeployerVmPackages": { + "description": "Defines the url and storage account ID where deployer VM packages are uploaded", + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "The URL to the deployer VM packages file." + }, + "storageAccountId": { + "type": "string", + "description": "The deployer VM packages storage account id" + } + } + }, + "SshKeyPair": { + "description": "The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "description": "SSH public key" + }, + "privateKey": { + "type": "string", + "x-ms-secret": true, + "description": "SSH private key." + } + } + }, + "SAPConfiguration": { + "description": "The SAP Configuration.", + "type": "object", + "required": [ + "configurationType" + ], + "properties": { + "configurationType": { + "$ref": "#/definitions/ConfigurationType" + } + }, + "discriminator": "configurationType" + }, + "LoadBalancerDetails": { + "description": "The Load Balancer details such as Load Balancer ID.", + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + } + } + }, + "StorageInformation": { + "description": "Storage details of all the Storage accounts attached to the VM. For e.g. NFS on AFS Shared Storage. ", + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + } + } + }, + "CentralServerVmDetails": { + "description": "The SAP Central Services Instance VM details.", + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/CentralServerVirtualMachineType", + "readOnly": true + }, + "virtualMachineId": { + "type": "string", + "readOnly": true + }, + "storageDetails": { + "description": "Storage details of all the Storage Accounts attached to the ASCS Virtual Machine. For e.g. NFS on AFS Shared Storage.", + "type": "array", + "items": { + "$ref": "#/definitions/StorageInformation" + }, + "x-ms-identifiers": [], + "readOnly": true + } + } + }, + "ApplicationServerVmDetails": { + "description": "The Application Server VM Details.", + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/ApplicationServerVirtualMachineType", + "readOnly": true + }, + "virtualMachineId": { + "type": "string", + "readOnly": true + }, + "storageDetails": { + "description": "Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.", + "type": "array", + "items": { + "$ref": "#/definitions/StorageInformation" + }, + "x-ms-identifiers": [], + "readOnly": true + } + } + }, + "DatabaseVmDetails": { + "description": "Database VM details.", + "type": "object", + "properties": { + "virtualMachineId": { + "type": "string", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "readOnly": true + }, + "storageDetails": { + "description": "Storage details of all the Storage Accounts attached to the Database Virtual Machine. For e.g. NFS on AFS Shared Storage.", + "type": "array", + "items": { + "$ref": "#/definitions/StorageInformation" + }, + "x-ms-identifiers": [], + "readOnly": true + } + } + }, + "ManagedRGConfiguration": { + "description": "Managed resource group configuration", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Managed resource group name" + } + } + }, + "SAPVirtualInstanceProperties": { + "description": "Defines the Virtual Instance for SAP solutions resource properties.", + "type": "object", + "required": [ + "environment", + "sapProduct", + "configuration" + ], + "properties": { + "environment": { + "$ref": "#/definitions/EnvironmentType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "configuration": { + "description": "Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS", + "$ref": "#/definitions/SAPConfiguration" + }, + "managedResourceGroupConfiguration": { + "description": "Managed resource group configuration", + "$ref": "#/definitions/ManagedRGConfiguration" + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/HealthState", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/SAPVirtualInstanceState", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "errors": { + "description": "Indicates any errors on the Virtual Instance for SAP solutions resource.", + "$ref": "#/definitions/SAPVirtualInstanceError", + "readOnly": true + } + } + }, + "SAPVirtualInstance": { + "description": "Define the Virtual Instance for SAP solutions resource.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SAPVirtualInstanceProperties" + } + }, + "required": [ + "properties" + ] + }, + "SAPVirtualInstanceList": { + "description": "Defines the collection of Virtual Instance for SAP solutions resources.", + "type": "object", + "properties": { + "value": { + "description": "Gets the list of Virtual Instances for SAP solutions resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SAPVirtualInstance" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets the value of next link.", + "type": "string" + } + } + }, + "SAPCentralInstanceList": { + "description": "Defines the collection of SAP Central Services Instance resources.", + "type": "object", + "properties": { + "value": { + "description": "Gets the list of SAP central services instance resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SAPCentralServerInstance" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets the value of next link.", + "type": "string" + } + } + }, + "SAPDatabaseInstanceList": { + "description": "Defines the collection of SAP Database Instances.", + "type": "object", + "properties": { + "value": { + "description": "Gets the list of SAP Database instances.", + "type": "array", + "items": { + "$ref": "#/definitions/SAPDatabaseInstance" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets the value of next link.", + "type": "string" + } + } + }, + "SAPApplicationServerInstanceList": { + "description": "Defines the collection of SAP Application Server Instance resources.", + "type": "object", + "properties": { + "value": { + "description": "Gets the list of SAP Application Server instance resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SAPApplicationServerInstance" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Gets the value of next link.", + "type": "string" + } + } + }, + "SAPApplicationServerProperties": { + "description": "Defines the SAP Application Server instance properties.", + "type": "object", + "properties": { + "instanceNo": { + "type": "string", + "description": "Application server Instance Number.", + "readOnly": true + }, + "subnet": { + "type": "string", + "description": "Application server Subnet.", + "readOnly": true + }, + "hostname": { + "type": "string", + "description": "Application server instance SAP hostname.", + "readOnly": true + }, + "kernelVersion": { + "type": "string", + "description": " Application server instance SAP Kernel Version.", + "readOnly": true + }, + "kernelPatch": { + "type": "string", + "description": "Application server instance SAP Kernel Patch level.", + "readOnly": true + }, + "ipAddress": { + "type": "string", + "description": " Application server instance SAP IP Address.", + "readOnly": true + }, + "gatewayPort": { + "type": "integer", + "format": "int64", + "description": "Application server instance gateway Port.", + "readOnly": true, + "x-nullable": true + }, + "icmHttpPort": { + "type": "integer", + "format": "int64", + "description": "Application server instance ICM HTTP Port.", + "readOnly": true, + "x-nullable": true + }, + "icmHttpsPort": { + "type": "integer", + "format": "int64", + "description": "Application server instance ICM HTTPS Port.", + "readOnly": true, + "x-nullable": true + }, + "loadBalancerDetails": { + "description": "The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines", + "$ref": "#/definitions/LoadBalancerDetails", + "readOnly": true + }, + "vmDetails": { + "description": "The list of virtual machines.", + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationServerVmDetails" + }, + "x-ms-identifiers": [], + "readOnly": true + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/HealthState", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "errors": { + "description": "Defines the Application Instance errors.", + "readOnly": true, + "$ref": "#/definitions/SAPVirtualInstanceError" + } + } + }, + "SAPApplicationServerInstance": { + "description": "Define the SAP Application Server Instance resource.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SAPApplicationServerProperties" + } + } + }, + "MessageServerProperties": { + "description": "Defines the SAP Message Server properties.", + "type": "object", + "properties": { + "msPort": { + "type": "integer", + "format": "int64", + "description": "Message Server port.", + "readOnly": true, + "x-nullable": true + }, + "internalMsPort": { + "type": "integer", + "format": "int64", + "description": "Message Server internal MS port.", + "readOnly": true, + "x-nullable": true + }, + "httpPort": { + "type": "integer", + "format": "int64", + "description": "Message Server HTTP Port.", + "readOnly": true, + "x-nullable": true + }, + "httpsPort": { + "type": "integer", + "format": "int64", + "description": "Message Server HTTPS Port.", + "readOnly": true, + "x-nullable": true + }, + "hostname": { + "type": "string", + "description": "Message Server SAP Hostname.", + "readOnly": true + }, + "ipAddress": { + "type": "string", + "description": "Message server IP Address.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/HealthState", + "readOnly": true + } + } + }, + "EnqueueServerProperties": { + "description": "Defines the SAP Enqueue Server properties.", + "type": "object", + "properties": { + "hostname": { + "type": "string", + "description": "Enqueue Server SAP Hostname.", + "readOnly": true + }, + "ipAddress": { + "type": "string", + "description": "Enqueue Server SAP IP Address.", + "readOnly": true + }, + "port": { + "type": "integer", + "format": "int64", + "description": "Enqueue Server Port.", + "readOnly": true, + "x-nullable": true + }, + "health": { + "$ref": "#/definitions/HealthState", + "readOnly": true + } + } + }, + "GatewayServerProperties": { + "description": "Defines the SAP Gateway Server properties.", + "type": "object", + "properties": { + "port": { + "type": "integer", + "format": "int64", + "description": "Gateway Port.", + "readOnly": true, + "x-nullable": true + }, + "health": { + "$ref": "#/definitions/HealthState", + "readOnly": true + } + } + }, + "EnqueueReplicationServerProperties": { + "description": "Defines the SAP Enqueue Replication Server (ERS) properties.", + "type": "object", + "properties": { + "ersVersion": { + "$ref": "#/definitions/EnqueueReplicationServerType", + "readOnly": true + }, + "instanceNo": { + "type": "string", + "description": "ERS Instance Number.", + "readOnly": true + }, + "hostname": { + "type": "string", + "description": "ERS SAP Hostname.", + "readOnly": true + }, + "kernelVersion": { + "type": "string", + "description": "ERS SAP Kernel Version.", + "readOnly": true + }, + "kernelPatch": { + "type": "string", + "description": "ERS SAP Kernel Patch level.", + "readOnly": true + }, + "ipAddress": { + "type": "string", + "description": "ERS SAP IP Address.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/HealthState", + "readOnly": true + } + } + }, + "SAPCentralServerProperties": { + "description": "Defines the SAP Central Services Instance properties.", + "type": "object", + "properties": { + "instanceNo": { + "type": "string", + "description": "The central services instance number.", + "readOnly": true + }, + "subnet": { + "type": "string", + "description": "The central services instance subnet.", + "readOnly": true + }, + "messageServerProperties": { + "$ref": "#/definitions/MessageServerProperties" + }, + "enqueueServerProperties": { + "$ref": "#/definitions/EnqueueServerProperties" + }, + "gatewayServerProperties": { + "$ref": "#/definitions/GatewayServerProperties" + }, + "enqueueReplicationServerProperties": { + "$ref": "#/definitions/EnqueueReplicationServerProperties" + }, + "kernelVersion": { + "type": "string", + "description": "The central services instance Kernel Version.", + "readOnly": true, + "x-nullable": true + }, + "kernelPatch": { + "type": "string", + "description": "The central services instance Kernel Patch level.", + "readOnly": true, + "x-nullable": true + }, + "loadBalancerDetails": { + "description": "The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines", + "$ref": "#/definitions/LoadBalancerDetails", + "readOnly": true + }, + "vmDetails": { + "description": "The list of virtual machines corresponding to the Central Services instance.", + "type": "array", + "items": { + "$ref": "#/definitions/CentralServerVmDetails" + }, + "x-ms-identifiers": [], + "readOnly": true + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/HealthState", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "errors": { + "description": "Defines the errors related to SAP Central Services Instance resource.", + "readOnly": true, + "$ref": "#/definitions/SAPVirtualInstanceError" + } + } + }, + "SAPCentralServerInstance": { + "description": "Define the SAP Central Services Instance resource.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SAPCentralServerProperties" + } + } + }, + "SAPDatabaseProperties": { + "description": "Defines the Database properties.", + "type": "object", + "properties": { + "subnet": { + "type": "string", + "description": "Database subnet.", + "readOnly": true + }, + "databaseSid": { + "type": "string", + "description": "Database SID name.", + "readOnly": true + }, + "databaseType": { + "type": "string", + "description": "Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server.", + "readOnly": true + }, + "ipAddress": { + "type": "string", + "description": "Database IP Address.", + "readOnly": true + }, + "loadBalancerDetails": { + "description": "The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines", + "$ref": "#/definitions/LoadBalancerDetails", + "readOnly": true + }, + "vmDetails": { + "description": "The list of virtual machines corresponding to the Database resource.", + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseVmDetails" + }, + "x-ms-identifiers": [], + "readOnly": true + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "errors": { + "description": "Defines the errors related to Database resource.", + "readOnly": true, + "$ref": "#/definitions/SAPVirtualInstanceError" + } + } + }, + "SAPDatabaseInstance": { + "description": "Define the Database resource.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SAPDatabaseProperties" + } + } + }, + "NetworkConfiguration": { + "description": "Defines the network configuration type for SAP system infrastructure that is being deployed ", + "type": "object", + "properties": { + "isSecondaryIpEnabled": { + "type": "boolean", + "description": "Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed", + "default": false + } + } + }, + "ErrorDefinition": { + "type": "object", + "description": "Error definition.", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "x-ms-identifiers": [], + "readOnly": true + } + } + } + }, + "parameters": { + "SAPVirtualInstanceNameParameter": { + "name": "sapVirtualInstanceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Virtual Instances for SAP solutions resource", + "x-ms-parameter-location": "method" + }, + "SAPApplicationInstanceNameParameter": { + "name": "applicationInstanceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of SAP Application Server instance resource.", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseInstanceName", + "in": "path", + "required": true, + "type": "string", + "description": "Database resource name string modeled as parameter for auto generation to work correctly.", + "x-ms-parameter-location": "method" + }, + "CentralInstanceNameParameter": { + "name": "centralInstanceName", + "in": "path", + "required": true, + "type": "string", + "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json new file mode 100644 index 000000000000..72f65217a9cf --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json @@ -0,0 +1,52 @@ +{ + "swagger": "2.0", + "info": { + "version": "2022-11-01-preview", + "title": "Workloads Client", + "description": "Workloads client provides access to various workload operations" + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "ManagedServiceIdentityType": { + "description": "Type of managed service identity (only None, UserAssigned types are allowed).", + "enum": [ + "None", + "UserAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + }, + "UserAssignedServiceIdentity": { + "description": "Managed service identity (user assigned identities)", + "type": "object", + "properties": { + "type": { + "description": "Type of manage identity", + "$ref": "#/definitions/ManagedServiceIdentityType" + }, + "userAssignedIdentities": { + "description": "User assigned identities dictionary", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/UserAssignedIdentities" + } + }, + "required": [ + "type" + ] + } + }, + "parameters": {} +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..e641046a8eb9 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Workloads/phpWorkloads/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "Creates or updates the phpWorkloads", + "description": "Set phpWorkloads" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "Deletes the phpWorkloads", + "description": "Delete phpWorkloads" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "Reads the phpWorkloads", + "description": "Read phpWorkloads" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "wordpressInstances", + "operation": "Creates or updates the wordpressInstances", + "description": "Set wordpressInstances" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "wordpressInstances", + "operation": "Deletes the wordpressInstances", + "description": "Delete wordpressInstances" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "wordpressInstances", + "operation": "Reads the wordpressInstances", + "description": "Read wordpressInstances" + } + }, + { + "name": "Microsoft.Workloads/monitors/Read", + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads/monitors", + "operation": "Read", + "description": "Reads the Monitor workload." + } + }, + { + "name": "Microsoft.Workloads/monitors/Write", + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads/monitors", + "operation": "Read", + "description": "Creates or updates a Monitor workload." + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json new file mode 100644 index 000000000000..de0880e3b498 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "applicationInstanceName": "app01", + "api-version": "2022-11-01-preview", + "body": { + "location": "westcentralus", + "tags": {}, + "properties": {} + } + }, + "responses": { + "201": { + "body": { + "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": "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" + } + ], + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "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": "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": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json new file mode 100644 index 000000000000..6167b36953c7 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "applicationInstanceName": "app01", + "api-version": "2022-11-01-preview", + "body": { + "location": "westcentralus", + "tags": {}, + "properties": {} + } + }, + "responses": { + "201": { + "body": { + "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": "01", + "subnet": null, + "hostname": "vh-nw1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "gatewayPort": 3300, + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer" + }, + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1", + "type": "Active", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + }, + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2", + "type": "Standby", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "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": "01", + "subnet": null, + "hostname": "vh-nw1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "gatewayPort": 3300, + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer" + }, + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1", + "type": "Active", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + }, + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2", + "type": "Standby", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json new file mode 100644 index 000000000000..ab97cbd81817 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "applicationInstanceName": "app01", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json new file mode 100644 index 000000000000..ffd208eb6859 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "applicationInstanceName": "app01", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "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" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json new file mode 100644 index 000000000000..713a6b036f8c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "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" + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json new file mode 100644 index 000000000000..eed54541b704 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "applicationInstanceName": "app01", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "name": "app01", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json new file mode 100644 index 000000000000..b4ea98e193c4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "applicationInstanceName": "app01", + "api-version": "2022-11-01-preview", + "body": { + "softStopTimeoutSeconds": 0 + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "name": "app01", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json new file mode 100644 index 000000000000..2ae32514d367 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "applicationInstanceName": "app01", + "api-version": "2022-11-01-preview", + "body": { + "tags": { + "tag1": "value1" + } + } + }, + "responses": { + "201": { + "body": { + "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": { + "tag1": "value1" + }, + "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" + } + } + }, + "200": { + "body": { + "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": "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" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json new file mode 100644 index 000000000000..3b1e997a87d6 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "databaseType": "HANA" + } + }, + "responses": { + "200": { + "body": { + "availabilityZonePairs": [ + { + "zoneA": 1, + "zoneB": 2 + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json new file mode 100644 index 000000000000..09559dc35d80 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "northeurope", + "sapProduct": "S4HANA", + "databaseType": "HANA" + } + }, + "responses": { + "200": { + "body": { + "availabilityZonePairs": [ + { + "zoneA": 2, + "zoneB": 3 + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json new file mode 100644 index 000000000000..a5a253c49d67 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "centralInstanceName": "centralServer", + "api-version": "2022-11-01-preview", + "body": { + "location": "westcentralus", + "tags": {}, + "properties": {} + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Healthy" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm", + "type": "Primary" + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Healthy" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm", + "type": "Primary" + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json new file mode 100644 index 000000000000..6b7a331f1e76 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json @@ -0,0 +1,172 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "centralInstanceName": "centralServer", + "api-version": "2022-11-01-preview", + "body": { + "location": "westcentralus", + "tags": {}, + "properties": {} + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Healthy" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1", + "type": "Primary", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + }, + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2", + "type": "Primary", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Healthy" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer" + }, + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1", + "type": "Primary", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + }, + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2", + "type": "Primary", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json new file mode 100644 index 000000000000..6ff7973c9dcd --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "centralInstanceName": "centralServer", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json new file mode 100644 index 000000000000..3d32513c1b51 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "centralInstanceName": "centralServer", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Unhealthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Unknown" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Degraded" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm", + "type": "Primary" + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json new file mode 100644 index 000000000000..2773b21f1783 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Healthy" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm", + "type": "Primary" + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json new file mode 100644 index 000000000000..75659dac7706 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "centralInstanceName": "centralServer", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json new file mode 100644 index 000000000000..c9804a1c1691 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "centralInstanceName": "centralServer", + "api-version": "2022-11-01-preview", + "body": { + "softStopTimeoutSeconds": 1200 + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json new file mode 100644 index 000000000000..c9dc7b505724 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "centralInstanceName": "centralServer", + "api-version": "2022-11-01-preview", + "body": { + "tags": { + "tag1": "value1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "tags": { + "tag1": "value1" + }, + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Healthy" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm", + "type": "Primary" + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "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, + "messageServerProperties": { + "msPort": 3600, + "internalMsPort": 3900, + "httpPort": 8100, + "httpsPort": 44400, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "enqueueServerProperties": { + "port": 3600, + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "gatewayServerProperties": { + "port": 3300, + "health": "Healthy" + }, + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "instanceNo": "00", + "hostname": "vh-ers1", + "kernelVersion": "777", + "kernelPatch": "patch 300", + "ipAddress": "10.0.0.5", + "health": "Healthy" + }, + "kernelVersion": "777", + "kernelPatch": "patch 300", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm", + "type": "Primary" + } + ], + "status": "Running", + "health": "Unknown", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json new file mode 100644 index 000000000000..d1715e866a8d --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "databaseInstanceName": "databaseServer", + "api-version": "2022-11-01-preview", + "body": { + "location": "westcentralus", + "tags": {}, + "properties": {} + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "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": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm" + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "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": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm" + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json new file mode 100644 index 000000000000..027fb6a4b632 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "databaseInstanceName": "databaseServer", + "api-version": "2022-11-01-preview", + "body": { + "location": "westcentralus", + "tags": {}, + "properties": {} + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "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": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer" + }, + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "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": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer" + }, + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm", + "storageDetails": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount" + } + ] + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json new file mode 100644 index 000000000000..77fcaf76d285 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "databaseInstanceName": "databaseServer", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json new file mode 100644 index 000000000000..aed085080e99 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "databaseInstanceName": "databaseServer", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "location": "westcentralus", + "tags": {}, + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm" + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json new file mode 100644 index 000000000000..d1188542577a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "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": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm" + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json new file mode 100644 index 000000000000..5febf6e5958c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "databaseInstanceName": "db0", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "name": "db0", + "status": "Succeeded", + "startTime": "2022-11-01T03:36:07.000Z", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json new file mode 100644 index 000000000000..cc71e378a9fd --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "databaseInstanceName": "db0", + "api-version": "2022-11-01-preview", + "body": { + "softStopTimeoutSeconds": 0 + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "name": "db0", + "status": "Succeeded", + "startTime": "2022-11-01T03:36:07.000Z", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json new file mode 100644 index 000000000000..3c3597e7449a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "databaseInstanceName": "databaseServer", + "api-version": "2022-11-01-preview", + "body": { + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "tags": { + "key1": "value1" + }, + "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": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm" + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "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": { + "databaseSid": "X00", + "databaseType": "hdb", + "ipAddress": "10.0.0.5", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm" + } + ], + "status": "Running", + "errors": null, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json new file mode 100644 index 000000000000..9936894a7f06 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json @@ -0,0 +1,397 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "NonProd", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "dbVmSku": "Standard_M32ts" + } + }, + "responses": { + "200": { + "body": { + "volumeConfigurations": { + "hana/data": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 4, + "sizeGB": 128 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 4, + "maximumSupportedDiskCount": 5, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + } + ] + }, + "hana/log": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 3, + "sizeGB": 128 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 3, + "maximumSupportedDiskCount": 5, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + } + ] + }, + "hana/shared": { + "recommendedConfiguration": { + "sku": { + "name": "StandardSSD_LRS" + }, + "count": 1, + "sizeGB": 256 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 1100, + "mbpsReadWrite": 125, + "diskTier": "P15" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 2300, + "mbpsReadWrite": 150, + "diskTier": "P20" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 1024, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 5000, + "mbpsReadWrite": 200, + "diskTier": "P30" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 2048, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 7500, + "mbpsReadWrite": 250, + "diskTier": "P40" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 4096, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 7500, + "mbpsReadWrite": 250, + "diskTier": "P50" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E15" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E20" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 1024, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E30" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 2048, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E40" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 4096, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E50" + } + ] + }, + "usr/sap": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 1, + "sizeGB": 128 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 1100, + "mbpsReadWrite": 125, + "diskTier": "P10" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 2300, + "mbpsReadWrite": 150, + "diskTier": "P10" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E10" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E15" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E20" + } + ] + }, + "os": { + "recommendedConfiguration": { + "sku": { + "name": "StandardSSD_LRS" + }, + "count": 1, + "sizeGB": 64 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 64, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 240, + "mbpsReadWrite": 50, + "diskTier": "P6" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 64, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "P6" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "P10" + } + ] + }, + "backup": { + "recommendedConfiguration": { + "sku": { + "name": "StandardSSD_LRS" + }, + "count": 2, + "sizeGB": 256 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E10" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E15" + }, + { + "sku": { + "name": "StandardSSD_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 500, + "mbpsReadWrite": 60, + "diskTier": "E20" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 1100, + "mbpsReadWrite": 125, + "diskTier": "P15" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 2300, + "mbpsReadWrite": 150, + "diskTier": "P20" + } + ] + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json new file mode 100644 index 000000000000..959c81f965c3 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json @@ -0,0 +1,254 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "Prod", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "dbVmSku": "Standard_M32ts" + } + }, + "responses": { + "200": { + "body": { + "volumeConfigurations": { + "hana/data": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 4, + "sizeGB": 128 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 4, + "maximumSupportedDiskCount": 5, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + } + ] + }, + "hana/log": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 3, + "sizeGB": 128 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 3, + "maximumSupportedDiskCount": 5, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + } + ] + }, + "hana/shared": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 1, + "sizeGB": 256 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 1100, + "mbpsReadWrite": 125, + "diskTier": "P15" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 2300, + "mbpsReadWrite": 150, + "diskTier": "P20" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 1024, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 5000, + "mbpsReadWrite": 200, + "diskTier": "P30" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 2048, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 7500, + "mbpsReadWrite": 250, + "diskTier": "P40" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 4096, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 7500, + "mbpsReadWrite": 250, + "diskTier": "P50" + } + ] + }, + "usr/sap": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 1, + "sizeGB": 128 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 1100, + "mbpsReadWrite": 125, + "diskTier": "P10" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 2300, + "mbpsReadWrite": 150, + "diskTier": "P10" + } + ] + }, + "os": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 1, + "sizeGB": 64 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 64, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 240, + "mbpsReadWrite": 50, + "diskTier": "P6" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 1, + "maximumSupportedDiskCount": 1, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + } + ] + }, + "backup": { + "recommendedConfiguration": { + "sku": { + "name": "Premium_LRS" + }, + "count": 2, + "sizeGB": 256 + }, + "supportedConfigurations": [ + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 128, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 500, + "mbpsReadWrite": 100, + "diskTier": "P10" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 256, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 1100, + "mbpsReadWrite": 125, + "diskTier": "P15" + }, + { + "sku": { + "name": "Premium_LRS" + }, + "sizeGB": 512, + "minimumSupportedDiskCount": 0, + "maximumSupportedDiskCount": 6, + "iopsReadWrite": 2300, + "mbpsReadWrite": 150, + "diskTier": "P20" + } + ] + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json new file mode 100644 index 000000000000..fb65498ccfbe --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "environment": "Prod", + "sapProduct": "S4HANA", + "deploymentType": "ThreeTier", + "saps": 20000, + "dbMemory": 1024, + "databaseType": "HANA", + "dbScaleMethod": "ScaleUp" + } + }, + "responses": { + "200": { + "body": { + "deploymentType": "ThreeTier", + "applicationServerVmSku": "Standard_E8ds_v4", + "applicationServerInstanceCount": 2, + "centralServerVmSku": "Standard_E4ds_v4", + "centralServerInstanceCount": 1, + "dbVmSku": "Standard_M64s", + "databaseInstanceCount": 1 + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json new file mode 100644 index 000000000000..1a259f47b49e --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "environment": "Prod", + "sapProduct": "S4HANA", + "deploymentType": "ThreeTier", + "saps": 75000, + "dbMemory": 1024, + "databaseType": "HANA", + "dbScaleMethod": "ScaleUp", + "highAvailabilityType": "AvailabilitySet" + } + }, + "responses": { + "200": { + "body": { + "deploymentType": "ThreeTier", + "applicationServerVmSku": "Standard_E16ds_v4", + "applicationServerInstanceCount": 3, + "centralServerVmSku": "Standard_E8ds_v4", + "centralServerInstanceCount": 2, + "dbVmSku": "Standard_M64s", + "databaseInstanceCount": 2 + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json new file mode 100644 index 000000000000..e1899906776e --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "environment": "Prod", + "sapProduct": "S4HANA", + "deploymentType": "ThreeTier", + "saps": 75000, + "dbMemory": 1024, + "databaseType": "HANA", + "dbScaleMethod": "ScaleUp", + "highAvailabilityType": "AvailabilityZone" + } + }, + "responses": { + "200": { + "body": { + "deploymentType": "ThreeTier", + "applicationServerVmSku": "Standard_E8ds_v4", + "applicationServerInstanceCount": 6, + "centralServerVmSku": "Standard_E4ds_v4", + "centralServerInstanceCount": 2, + "dbVmSku": "Standard_M64s", + "databaseInstanceCount": 2 + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json new file mode 100644 index 000000000000..019ae4628265 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "environment": "NonProd", + "sapProduct": "S4HANA", + "deploymentType": "SingleServer", + "saps": 60000, + "dbMemory": 2000, + "databaseType": "HANA", + "dbScaleMethod": "ScaleUp" + } + }, + "responses": { + "200": { + "body": { + "vmSku": "Standard_M128s", + "deploymentType": "SingleServer" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json new file mode 100644 index 000000000000..b7dc7f5711e4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "Prod", + "databaseType": "HANA", + "deploymentType": "ThreeTier" + } + }, + "responses": { + "200": { + "body": { + "supportedSkus": [ + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E4ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E8ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E16ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E20ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E32ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E48ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E64ds_v4" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M32Is" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M32ts" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M64Is" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M64ms" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M64s" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M128ms" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M128s" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M208ms_v2" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M208s_v2" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M416ms_v2" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M416s_v2" + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json new file mode 100644 index 000000000000..f721748ab498 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "Prod", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "highAvailabilityType": "AvailabilitySet" + } + }, + "responses": { + "200": { + "body": { + "supportedSkus": [ + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E4ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E8ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E16ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E20ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E32ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E48ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E64ds_v4" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M32Is" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M32ts" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M64Is" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M64ms" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M64s" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M128ms" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M128s" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M208ms_v2" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M208s_v2" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M416ms_v2" + }, + { + "isAppServerCertified": false, + "isDatabaseCertified": true, + "vmSku": "Standard_M416s_v2" + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json new file mode 100644 index 000000000000..a9b95900abe3 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "Prod", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "highAvailabilityType": "AvailabilityZone" + } + }, + "responses": { + "200": { + "body": { + "supportedSkus": [ + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_E32ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_E48ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_E64ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M32Is" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M32ts" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M64Is" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M64ms" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M64s" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M128ms" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M128s" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M208ms_v2" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M208s_v2" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M416ms_v2" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M416s_v2" + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json new file mode 100644 index 000000000000..3157e776d48c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2022-11-01-preview", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "NonProd", + "databaseType": "HANA", + "deploymentType": "SingleServer" + } + }, + "responses": { + "200": { + "body": { + "supportedSkus": [ + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E32ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E48ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": false, + "vmSku": "Standard_E64ds_v4" + }, + { + "isAppServerCertified": true, + "isDatabaseCertified": true, + "vmSku": "Standard_M32ts" + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json new file mode 100644 index 000000000000..bd22486bc416 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json @@ -0,0 +1,593 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + } + } + ] + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ], + "availabilitySetName": "appAvSet" + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvm", + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "usrSap": [ + "usrsap0" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ] + } + } + ] + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + } + } + ] + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ], + "availabilitySetName": "appAvSet" + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvm", + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "usrSap": [ + "usrsap0" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ] + } + } + ] + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + } + } + ] + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ], + "availabilitySetName": "appAvSet" + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvm", + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "usrSap": [ + "usrsap0" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ] + } + } + ] + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json new file mode 100644 index 000000000000..379373e52866 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json @@ -0,0 +1,785 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk" + }, + { + "vmName": "ersvm", + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk" + } + ], + "availabilitySetName": "csAvSet", + "loadBalancer": { + "loadBalancerName": "ascslb", + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "backendPoolNames": [ + "ascsBackendPool" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ] + } + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ], + "availabilitySetName": "appAvSet" + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvmpr", + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "usrSap": [ + "usrsappr0" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ] + } + }, + { + "vmName": "dbvmsr", + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "usrSap": [ + "usrsapsr0" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ] + } + } + ], + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "loadBalancerName": "dblb", + "frontendIpConfigurationNames": [ + "dbip" + ], + "backendPoolNames": [ + "dbBackendPool" + ], + "healthProbeNames": [ + "dbHealthProbe" + ] + } + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk" + }, + { + "vmName": "ersvm", + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk" + } + ], + "availabilitySetName": "csAvSet", + "loadBalancer": { + "loadBalancerName": "ascslb", + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "backendPoolNames": [ + "ascsBackendPool" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ] + } + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ], + "availabilitySetName": "appAvSet" + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvmpr", + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "usrSap": [ + "usrsappr0" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ] + } + }, + { + "vmName": "dbvmsr", + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "usrSap": [ + "usrsapsr0" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ] + } + } + ], + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "loadBalancerName": "dblb", + "frontendIpConfigurationNames": [ + "dbip" + ], + "backendPoolNames": [ + "dbBackendPool" + ], + "healthProbeNames": [ + "dbHealthProbe" + ] + } + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk" + }, + { + "vmName": "ersvm", + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk" + } + ], + "availabilitySetName": "csAvSet", + "loadBalancer": { + "loadBalancerName": "ascslb", + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "backendPoolNames": [ + "ascsBackendPool" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ] + } + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ], + "availabilitySetName": "appAvSet" + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvmpr", + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "usrSap": [ + "usrsappr0" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ] + } + }, + { + "vmName": "dbvmsr", + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "usrSap": [ + "usrsapsr0" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ] + } + } + ], + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "loadBalancerName": "dblb", + "frontendIpConfigurationNames": [ + "dbip" + ], + "backendPoolNames": [ + "dbBackendPool" + ], + "healthProbeNames": [ + "dbHealthProbe" + ] + } + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json new file mode 100644 index 000000000000..83fa41fd3672 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json @@ -0,0 +1,776 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk" + }, + { + "vmName": "ersvm", + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk" + } + ], + "loadBalancer": { + "loadBalancerName": "ascslb", + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "backendPoolNames": [ + "ascsBackendPool" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ] + } + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvmpr", + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "usrSap": [ + "usrsappr0" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ] + } + }, + { + "vmName": "dbvmsr", + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "usrSap": [ + "usrsapsr0" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ] + } + } + ], + "loadBalancer": { + "loadBalancerName": "dblb", + "frontendIpConfigurationNames": [ + "dbip" + ], + "backendPoolNames": [ + "dbBackendPool" + ], + "healthProbeNames": [ + "dbHealthProbe" + ] + } + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk" + }, + { + "vmName": "ersvm", + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk" + } + ], + "loadBalancer": { + "loadBalancerName": "ascslb", + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "backendPoolNames": [ + "ascsBackendPool" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ] + } + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvmpr", + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "usrSap": [ + "usrsappr0" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ] + } + }, + { + "vmName": "dbvmsr", + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "usrSap": [ + "usrsapsr0" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ] + } + } + ], + "loadBalancer": { + "loadBalancerName": "dblb", + "frontendIpConfigurationNames": [ + "dbip" + ], + "backendPoolNames": [ + "dbBackendPool" + ], + "healthProbeNames": [ + "dbHealthProbe" + ] + } + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "centralServer": { + "virtualMachines": [ + { + "vmName": "ascsvm", + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk" + }, + { + "vmName": "ersvm", + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk" + } + ], + "loadBalancer": { + "loadBalancerName": "ascslb", + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "backendPoolNames": [ + "ascsBackendPool" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ] + } + }, + "applicationServer": { + "virtualMachines": [ + { + "vmName": "appvm0", + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "dataDiskNames": { + "default": [ + "app0disk0" + ] + } + }, + { + "vmName": "appvm1", + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "dataDiskNames": { + "default": [ + "app1disk0" + ] + } + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "vmName": "dbvmpr", + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "usrSap": [ + "usrsappr0" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ] + } + }, + { + "vmName": "dbvmsr", + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "usrSap": [ + "usrsapsr0" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ] + } + } + ], + "loadBalancer": { + "loadBalancerName": "dblb", + "frontendIpConfigurationNames": [ + "dbip" + ], + "backendPoolNames": [ + "dbBackendPool" + ], + "healthProbeNames": [ + "dbHealthProbe" + ] + } + }, + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json new file mode 100644 index 000000000000..295907f26b62 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json @@ -0,0 +1,236 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "virtualMachine": { + "vmName": "ssvm", + "hostName": "sshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ssnic" + } + ], + "osDiskName": "ssosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "usrSap": [ + "usrsap0" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ] + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "customResourceNames": { + "namingPatternType": "FullResourceName", + "virtualMachine": { + "vmName": "ssvm", + "hostName": "sshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ssnic" + } + ], + "osDiskName": "ssosdisk", + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "usrSap": [ + "usrsap0" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ] + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json new file mode 100644 index 000000000000..98eff57af345 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Discovery", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + } + }, + "location": "northeurope", + "tags": { + "test": "abc", + "createdby": "abc@microsoft.com" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "northeurope", + "systemData": { + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "createdAt": "2022-07-27T08:22:52.3318907Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z" + }, + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Discovery", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "appLocation": "westeurope" + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "status": "Running", + "health": "Healthy" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "northeurope", + "systemData": { + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "createdAt": "2022-07-27T08:22:52.3318907Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z" + }, + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Discovery", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "appLocation": "westeurope" + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "status": "Running", + "health": "Healthy" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json new file mode 100644 index 000000000000..01dab167dadd --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Discovery", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "managedRgStorageAccountName": "q20saacssgrs" + } + }, + "location": "northeurope", + "tags": { + "test": "abc", + "createdby": "abc@microsoft.com" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "northeurope", + "systemData": { + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "createdAt": "2022-07-27T08:22:52.3318907Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z" + }, + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Discovery", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "managedRgStorageAccountName": "q20saacssgrs", + "appLocation": "westeurope" + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "status": "Running", + "health": "Healthy" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "northeurope", + "systemData": { + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "createdAt": "2022-07-27T08:22:52.3318907Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z" + }, + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Discovery", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "managedRgStorageAccountName": "q20saacssgrs" + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "status": "Running", + "health": "Healthy" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json new file mode 100644 index 000000000000..ff3cd4736b1a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json @@ -0,0 +1,452 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json new file mode 100644 index 000000000000..148ae1f74d7b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json @@ -0,0 +1,461 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json new file mode 100644 index 000000000000..4359b30e2168 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json @@ -0,0 +1,461 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "diskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json new file mode 100644 index 000000000000..66fd628e26fc --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json @@ -0,0 +1,312 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "hana/data": { + "count": 4, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/log": { + "count": 3, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "hana/shared": { + "count": 1, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + }, + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json new file mode 100644 index 000000000000..173ea9439199 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json @@ -0,0 +1,338 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json new file mode 100644 index 000000000000..236f06270472 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json @@ -0,0 +1,335 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "test-rg", + "storageAccountName": "input-sa-name" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "test-rg", + "storageAccountName": "input-sa-name" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "test-rg", + "storageAccountName": "input-sa-name" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json new file mode 100644 index 000000000000..a6ebf1efa719 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json @@ -0,0 +1,335 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "fileshareID", + "privateEndpointId": "pe-arm-id" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "fileshareID", + "privateEndpointId": "pe-arm-id" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "fileshareID", + "privateEndpointId": "pe-arm-id" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json new file mode 100644 index 000000000000..1647e660672b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json @@ -0,0 +1,329 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json new file mode 100644 index 000000000000..25ff72f6f004 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json @@ -0,0 +1,347 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 5 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 5 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 5 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json new file mode 100644 index 000000000000..9d483e0f7648 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json @@ -0,0 +1,347 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 2 + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json new file mode 100644 index 000000000000..e0c4cab79c91 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + } + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json new file mode 100644 index 000000000000..2191aa93ba6c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json @@ -0,0 +1,314 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 1 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json new file mode 100644 index 000000000000..5a410c0e3045 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json @@ -0,0 +1,323 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json new file mode 100644 index 000000000000..c8509ab9f207 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json @@ -0,0 +1,323 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json new file mode 100644 index 000000000000..9e2144be3d3c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json @@ -0,0 +1,174 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "SoftwareInstallationPending", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "status": "Unknown", + "health": "Unknown", + "state": "InfrastructureDeploymentInProgress", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json new file mode 100644 index 000000000000..c08f4dd43fd6 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json new file mode 100644 index 000000000000..0f89eedb2bdb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json @@ -0,0 +1,334 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": { + "created by": "azureuser" + }, + "location": "eastus2", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "{{resourcegrp}}", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 1 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareDetectionInProgress", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json new file mode 100644 index 000000000000..f4f506e707e8 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json @@ -0,0 +1,331 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "state": "SoftwareDetectionInProgress", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json new file mode 100644 index 000000000000..e67143501c8e --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json @@ -0,0 +1,331 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E16ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 6 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "state": "SoftwareDetectionInProgress", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json new file mode 100644 index 000000000000..718d93ced9e7 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "westcentralus", + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc", + "privateKey": "xyz" + } + } + } + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "abc" + } + } + } + } + }, + "softwareConfiguration": { + "softwareInstallationType": "External", + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "state": "SoftwareDetectionInProgress", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json new file mode 100644 index 000000000000..a2a097dc636b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 10 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "ServiceInitiated", + "sapFqdn": "sapsystem.contoso.net", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "status": "Running", + "health": "Healthy", + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json new file mode 100644 index 000000000000..c43975c8264d --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json @@ -0,0 +1,340 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": { + "created by": "azureuser" + }, + "location": "eastus2", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "{{resourcegrp}}", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 1 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json new file mode 100644 index 000000000000..d9bb8c666c86 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json @@ -0,0 +1,284 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": {}, + "location": "eastus2", + "properties": { + "environment": "NonProd", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "SingleServer", + "appResourceGroup": "test-rg", + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet", + "virtualMachineConfiguration": { + "vmSize": "Standard_E32ds_v4", + "imageReference": { + "offer": "SLES-SAP", + "publisher": "SUSE", + "sku": "12-sp4-gen2", + "version": "2022.02.01" + }, + "osProfile": { + "adminUsername": "azureappadmin", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + } + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 1 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount" + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json new file mode 100644 index 000000000000..5258c3b146d9 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json @@ -0,0 +1,258 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "resourceGroupName": "test-rg", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 10 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "ServiceInitiated", + "sapFqdn": "sapsystem.contoso.net", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "status": "Running", + "health": "Healthy", + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01", + "name": "X01", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 10 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "ServiceInitiated", + "sapFqdn": "sapsystem.contoso.net", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "status": "Running", + "health": "Healthy", + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json new file mode 100644 index 000000000000..3004c4c10220 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json @@ -0,0 +1,257 @@ +{ + "parameters": { + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 10 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "ServiceInitiated", + "sapFqdn": "sapsystem.contoso.net", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "status": "Running", + "health": "Healthy", + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01", + "name": "X01", + "type": "Microsoft.Workloads/sapVirtualInstances", + "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": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "appResourceGroup": "X00-RG", + "centralServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + }, + "applicationServer": { + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 10 + }, + "databaseServer": { + "databaseType": "HANA", + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "vmSize": "Standard_D8s_v3", + "imageReference": { + "sku": "7.4", + "publisher": "RedHat", + "version": "7.4.2019062505", + "offer": "RHEL-SAP" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + } + }, + "instanceCount": 1 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "ServiceInitiated", + "sapFqdn": "sapsystem.contoso.net", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "status": "Running", + "health": "Healthy", + "state": "RegistrationComplete", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json new file mode 100644 index 000000000000..0def4d8da1be --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json new file mode 100644 index 000000000000..005f50ca21e1 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "softStopTimeoutSeconds": 0 + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json new file mode 100644 index 000000000000..d8b4be362deb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2022-11-01-preview", + "body": { + "tags": { + "key1": "svi1" + }, + "identity": { + "type": "None" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "tags": { + "key1": "svi1" + }, + "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" + }, + "identity": { + "type": "None" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "Deployment" + }, + "status": "Starting", + "health": "Unknown", + "state": "InfrastructureDeploymentPending", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json new file mode 100644 index 000000000000..7843890e063b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "hostname", + "dbUsername": "username", + "dbName": "dbName", + "dbPassword": "password", + "dbPasswordUri": "", + "dbPort": "dbPort", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "vmname.azure.com", + "dbUsername": "Db2OPA", + "dbName": "OPA", + "dbPort": "5912", + "dbPasswordUri": "", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "vmname.azure.com", + "dbUsername": "Db2OPA", + "dbName": "OPA", + "dbPort": "5912", + "dbPasswordUri": "", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json new file mode 100644 index 000000000000..43bd41895421 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "hostname", + "dbUsername": "username", + "dbName": "dbName", + "dbPassword": "password", + "dbPasswordUri": "", + "dbPort": "dbPort", + "sslPreference": "RootCertificate" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "vmname.azure.com", + "dbUsername": "Db2OPA", + "dbName": "OPA", + "dbPort": "5912", + "dbPasswordUri": "", + "sslPreference": "RootCertificate" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "vmname.azure.com", + "dbUsername": "Db2OPA", + "dbName": "OPA", + "dbPort": "5912", + "dbPasswordUri": "", + "sslPreference": "RootCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json new file mode 100644 index 000000000000..d39cca0fd781 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "vmname.azure.com", + "dbUsername": "Db2OPA", + "dbName": "OPA", + "dbPort": "5912", + "dbPasswordUri": "", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json new file mode 100644 index 000000000000..74e72bf4e2d4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPassword": "****", + "dbPasswordUri": "", + "dbPort": "5912", + "hostname": "hostname", + "sapSid": "sid", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPort": "5912", + "hostname": "hostname", + "sapSid": "sid", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPort": "5912", + "hostname": "hostname", + "sapSid": "sid", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json new file mode 100644 index 000000000000..23cfec245c61 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPassword": "****", + "dbPasswordUri": "", + "dbPort": "5912", + "hostname": "hostname", + "sapSid": "sid", + "sslPreference": "RootCertificate" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPort": "5912", + "hostname": "hostname", + "sapSid": "sid", + "sslPreference": "RootCertificate" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPort": "5912", + "hostname": "hostname", + "sapSid": "sid", + "sslPreference": "RootCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json new file mode 100644 index 000000000000..b2cf1553139c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPort": "5912", + "hostname": "hostname", + "dbPasswordUri": "", + "sapSid": "sid", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json new file mode 100644 index 000000000000..7b879cefcf6b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPassword": "****", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json new file mode 100644 index 000000000000..99a6ef260146 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPassword": "****", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "RootCertificate" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "RootCertificate" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "RootCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json new file mode 100644 index 000000000000..d70b147bd528 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json new file mode 100644 index 000000000000..4fcd585fa72c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json new file mode 100644 index 000000000000..c72d88460c09 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslPreference": "RootCertificate" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslPreference": "RootCertificate" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslPreference": "RootCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json new file mode 100644 index 000000000000..28fb58e969a9 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json new file mode 100644 index 000000000000..a23ef3d47043 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate", + "sapSid": "SID" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate", + "sapSid": "SID" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate", + "sapSid": "SID" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json new file mode 100644 index 000000000000..8571b393929f --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslPreference": "RootCertificate", + "sapSid": "SID" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslPreference": "RootCertificate", + "sapSid": "SID" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslPreference": "RootCertificate", + "sapSid": "SID" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json new file mode 100644 index 000000000000..ca3c663766f2 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate", + "sapSid": "SID" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json new file mode 100644 index 000000000000..a08c2101e1e3 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPassword": "****", + "dbPasswordUri": "", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslHostNameInCertificate": "xyz.domain.com", + "sapSid": "SID" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPasswordUri": "", + "sslHostNameInCertificate": "xyz.domain.com", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sapSid": "SID" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPasswordUri": "", + "sslHostNameInCertificate": "xyz.domain.com", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sapSid": "SID" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json new file mode 100644 index 000000000000..aa0ce6a5c12f --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance", + "providerInstanceParameter": { + "properties": { + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPassword": "****", + "dbPasswordUri": "", + "sslHostNameInCertificate": "xyz.domain.com", + "sslPreference": "RootCertificate", + "sapSid": "SID" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPasswordUri": "", + "sslHostNameInCertificate": "xyz.domain.com", + "sslPreference": "RootCertificate", + "sapSid": "SID" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Accepted", + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPasswordUri": "", + "sslHostNameInCertificate": "xyz.domain.com", + "sslPreference": "RootCertificate", + "sapSid": "SID" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json new file mode 100644 index 000000000000..4a520a0592a9 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/operations/locations/westus/1e4193c3-206e-4916-b124-1da16175eb0f", + "name": "1e4193c3-206e-4916-b124-1da16175eb0f", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json new file mode 100644 index 000000000000..7383df8e8eff --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "providerInstanceName": "myProviderInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", + "name": "myProviderInstance", + "type": "Microsoft.Workloads/workloads/providerInstances", + "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": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPasswordUri": "", + "sslHostNameInCertificate": "xyz.domain.com", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sapSid": "SID" + } + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json new file mode 100644 index 000000000000..13615b765a2e --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1", + "name": "myProviderInstance1", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapHana", + "hostname": "name", + "dbName": "db", + "sqlPort": "0000", + "instanceNumber": "00", + "dbUsername": "user", + "dbPasswordUri": "", + "sslHostNameInCertificate": "xyz.domain.com", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sapSid": "SID" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1", + "name": "myProviderInstance2", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "SapNetWeaver", + "sapSid": "SID", + "sapHostname": "name", + "sapInstanceNr": "00", + "sapHostFileEntries": [ + "127.0.0.1 name fqdn" + ], + "sapUsername": "username", + "sapPasswordUri": "", + "sapPortNumber": "1234", + "sapClientId": "111", + "sslPreference": "ServerCertificate", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1", + "name": "myProviderInstance4", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "MsSqlServer", + "dbUsername": "user", + "dbPort": "5912", + "hostname": "hostname", + "sapSid": "sid", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1", + "name": "myProviderInstance3", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusOS", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate", + "sapSid": "SID" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1", + "name": "myProviderInstance3", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "PrometheusHaCluster", + "prometheusUrl": "http://192.168.0.0:9090/metrics", + "hostname": "hostname", + "sid": "sid", + "clusterName": "clusterName", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1", + "name": "myProviderInstance3", + "type": "Microsoft.Workloads/workloads/providerInstances", + "properties": { + "provisioningState": "Succeeded", + "providerSettings": { + "providerType": "Db2", + "sapSid": "SID", + "hostname": "vmname.azure.com", + "dbUsername": "Db2OPA", + "dbName": "OPA", + "dbPort": "5912", + "dbPasswordUri": "", + "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename", + "sslPreference": "ServerCertificate" + } + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Create.json new file mode 100644 index 000000000000..a37003d47b17 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Create.json @@ -0,0 +1,132 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "sapLandscapeMonitorParameter": { + "properties": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default", + "name": "default", + "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor", + "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": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default", + "name": "default", + "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor", + "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": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Delete.json new file mode 100644 index 000000000000..af94a0c4f6a2 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Get.json new file mode 100644 index 000000000000..553b8de2b407 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Get.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default", + "name": "default", + "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor", + "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": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_List.json new file mode 100644 index 000000000000..c5ec10f729e5 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_List.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default", + "name": "default", + "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor", + "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": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default", + "name": "default", + "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor", + "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": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Update.json new file mode 100644 index 000000000000..7432bba8c2ce --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Update.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "sapLandscapeMonitorParameter": { + "properties": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default", + "name": "default", + "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor", + "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": { + "grouping": { + "landscape": [ + { + "name": "Prod", + "topSid": [ + "SID1", + "SID2" + ] + } + ], + "sapApplication": [ + { + "name": "ERP1", + "topSid": [ + "SID1", + "SID2" + ] + } + ] + }, + "topMetricsThresholds": [ + { + "name": "Instance Availability", + "green": 90, + "yellow": 75, + "red": 50 + } + ] + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json new file mode 100644 index 000000000000..2b858b7c58fb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "MonitorParameter": { + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "appLocation": "westus", + "routingPreference": "RouteAll", + "managedResourceGroupConfiguration": { + "name": "myManagedRg" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "key": "value" + }, + "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": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "eastus", + "routingPreference": "RouteAll", + "zoneRedundancyPreference": "ZoneRedundantApp", + "managedResourceGroupConfiguration": { + "name": "myManagedRg" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Accepted", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "eastus", + "routingPreference": "RouteAll", + "managedResourceGroupConfiguration": { + "name": "myManagedRg" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json new file mode 100644 index 000000000000..4c6f9333b7a9 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/operations/locations/westus/1e4193c3-206e-4916-b124-1da16175eb0f", + "name": "1e4193c3-206e-4916-b124-1da16175eb0f", + "status": "Succeeded", + "startTime": "2021-08-19T03:36:07.000Z", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null + } + }, + "202": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview" + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json new file mode 100644 index 000000000000..4f30e3de8b23 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor", + "name": "mySapMonitor1", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "key": "value" + }, + "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": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "eastus", + "routingPreference": "RouteAll", + "zoneRedundancyPreference": "ZoneRedundantApp", + "managedResourceGroupConfiguration": { + "name": "myManagedRg" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json new file mode 100644 index 000000000000..9053992f56a5 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor1", + "name": "mySapMonitor1", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "eastus", + "routingPreference": "RouteAll", + "zoneRedundancyPreference": "ZoneRedundantApp", + "managedResourceGroupConfiguration": { + "name": "myManagedRg1" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor2", + "name": "mySapMonitor2", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "westus", + "routingPreference": "Default", + "managedResourceGroupConfiguration": { + "name": "myManagedRg2" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json new file mode 100644 index 000000000000..15f936debb5b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Workloads/monitors/mySapMonitor1", + "name": "mySapMonitor1", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "eastus", + "routingPreference": "RouteAll", + "zoneRedundancyPreference": "ZoneRedundantApp", + "managedResourceGroupConfiguration": { + "name": "myManagedRg1" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Workloads/workloads/mySapMonitor2", + "name": "mySapMonitor2", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "westus", + "routingPreference": "Default", + "managedResourceGroupConfiguration": { + "name": "myManagedRg2" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + } + ] + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json new file mode 100644 index 000000000000..3c62c6ed4b44 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "body": { + "tags": { + "testkey": "testvalue" + }, + "identity": { + "type": "None" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "testkey": "testvalue" + }, + "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" + }, + "identity": { + "type": "None" + }, + "properties": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "eastus", + "routingPreference": "RouteAll", + "zoneRedundancyPreference": "ZoneRedundantApp", + "managedResourceGroupConfiguration": { + "name": "myManagedRg" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json new file mode 100644 index 000000000000..ed0a5bc6d6fb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2022-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "mySapMonitor", + "body": { + "tags": {}, + "identity": { + "type": "None" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor", + "name": "mySapMonitor", + "type": "Microsoft.Workloads/workloads", + "location": "westus", + "tags": { + "testkey": "testvalue" + }, + "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" + }, + "identity": { + "type": "None" + }, + "properties": { + "provisioningState": "Succeeded", + "errors": [ + { + "code": "0000", + "message": "Error message", + "target": "", + "details": "Error details", + "innerError": "Error stack trace" + } + ], + "appLocation": "eastus", + "routingPreference": "RouteAll", + "zoneRedundancyPreference": "ZoneRedundantApp", + "managedResourceGroupConfiguration": { + "name": "myManagedRg" + }, + "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", + "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi", + "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json new file mode 100644 index 000000000000..c2e74272f090 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json @@ -0,0 +1,1667 @@ +{ + "swagger": "2.0", + "info": { + "title": "Workloads Client", + "description": "The workload SAP monitor Client.", + "version": "2022-11-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/monitors": { + "get": { + "tags": [ + "Monitors" + ], + "operationId": "monitors_List", + "summary": "Gets a list of SAP monitors in the specified subscription.", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.", + "x-ms-examples": { + "List all SAP monitors in a subscription": { + "$ref": "./examples/workloadmonitor/monitors_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MonitorListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors": { + "get": { + "tags": [ + "Monitors" + ], + "operationId": "monitors_ListByResourceGroup", + "summary": "Gets a list of SAP monitors", + "description": "Gets a list of SAP monitors in the specified resource group.", + "x-ms-examples": { + "List all SAP monitors in a resource group": { + "$ref": "./examples/workloadmonitor/monitors_ListByRG.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MonitorListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}": { + "get": { + "tags": [ + "Monitors" + ], + "operationId": "monitors_Get", + "summary": "Gets properties of a SAP monitor.", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.", + "x-ms-examples": { + "Get properties of a SAP monitor": { + "$ref": "./examples/workloadmonitor/monitors_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Monitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Monitors" + ], + "operationId": "monitors_Create", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Creates a SAP monitor.", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name.", + "x-ms-examples": { + "Create a SAP monitor": { + "$ref": "./examples/workloadmonitor/monitors_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + }, + { + "$ref": "#/parameters/MonitorParameter" + } + ], + "responses": { + "200": { + "description": "Created SAP monitor", + "schema": { + "$ref": "#/definitions/Monitor" + } + }, + "201": { + "description": "Creating SAP monitor", + "schema": { + "$ref": "#/definitions/Monitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Monitors" + ], + "operationId": "monitors_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Deletes a SAP monitor.", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.", + "x-ms-examples": { + "Deletes a SAP monitor": { + "$ref": "./examples/workloadmonitor/monitors_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete SAP monitor", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Deleting SAP monitor" + }, + "204": { + "description": "No SAP monitor to delete" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Monitors" + ], + "operationId": "monitors_Update", + "summary": "Patches the Tags field of a SAP monitor.", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.", + "x-ms-examples": { + "Update Tags field of a SAP monitor": { + "$ref": "./examples/workloadmonitor/monitors_PatchTags.json" + }, + "Delete Tags field of a SAP monitor": { + "$ref": "./examples/workloadmonitor/monitors_PatchTags_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "The Update SAP workload monitor request body.", + "schema": { + "$ref": "#/definitions/UpdateMonitorRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Monitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/providerInstances": { + "get": { + "tags": [ + "ProviderInstances" + ], + "operationId": "ProviderInstances_List", + "summary": "Gets a list of provider instances in the specified SAP monitor.", + "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances.", + "x-ms-examples": { + "List all SAP monitors providers in a subscription": { + "$ref": "./examples/workloadmonitor/ProviderInstances_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProviderInstanceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/providerInstances/{providerInstanceName}": { + "get": { + "tags": [ + "ProviderInstances" + ], + "operationId": "ProviderInstances_Get", + "summary": "Gets properties of a provider instance.", + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "description": "Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.", + "x-ms-examples": { + "Get properties of a SAP monitor Hana provider": { + "$ref": "./examples/workloadmonitor/ProviderInstances_Get.json" + }, + "Get properties of a SAP monitor NetWeaver provider": { + "$ref": "./examples/workloadmonitor/NetWeaverProviderInstances_Get.json" + }, + "Get properties of a OS provider": { + "$ref": "./examples/workloadmonitor/PrometheusOSProviderInstances_Get.json" + }, + "Get properties of a Db2 provider": { + "$ref": "./examples/workloadmonitor/Db2ProviderInstances_Get.json" + }, + "Get properties of a MsSqlServer provider": { + "$ref": "./examples/workloadmonitor/MsSqlServerProviderInstance_Get.json" + }, + "Get properties of a PrometheusHaCluster provider": { + "$ref": "./examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + }, + { + "$ref": "#/parameters/ProviderInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProviderInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "ProviderInstances" + ], + "operationId": "ProviderInstances_Create", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Creates a provider instance.", + "description": "Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.", + "x-ms-examples": { + "Create a SAP monitor Hana provider": { + "$ref": "./examples/workloadmonitor/ProviderInstances_Create.json" + }, + "Create a SAP monitor NetWeaver provider": { + "$ref": "./examples/workloadmonitor/NetWeaverProviderInstances_Create.json" + }, + "Create a OS provider": { + "$ref": "./examples/workloadmonitor/PrometheusOSProviderInstances_Create.json" + }, + "Create a Db2 provider": { + "$ref": "./examples/workloadmonitor/Db2ProviderInstances_Create.json" + }, + "Create a MsSqlServer provider": { + "$ref": "./examples/workloadmonitor/MsSqlServerProviderInstance_Create.json" + }, + "Create a PrometheusHaCluster provider": { + "$ref": "./examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json" + }, + "Create a SAP monitor Hana provider with Root Certificate": { + "$ref": "./examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json" + }, + "Create a SAP monitor NetWeaver provider with Root Certificate": { + "$ref": "./examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json" + }, + "Create a OS provider with Root Certificate": { + "$ref": "./examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json" + }, + "Create a Db2 provider with Root Certificate": { + "$ref": "./examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json" + }, + "Create a MsSqlServer provider with Root Certificate": { + "$ref": "./examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json" + }, + "Create a PrometheusHaCluster provider with Root Certificate": { + "$ref": "./examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + }, + { + "$ref": "#/parameters/ProviderInstanceNameParameter" + }, + { + "$ref": "#/parameters/ProviderInstanceParameter" + } + ], + "responses": { + "200": { + "description": "Created provider instance", + "schema": { + "$ref": "#/definitions/ProviderInstance" + } + }, + "201": { + "description": "Creating provider instance", + "schema": { + "$ref": "#/definitions/ProviderInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "ProviderInstances" + ], + "operationId": "ProviderInstances_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Deletes a provider instance.", + "description": "Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.", + "x-ms-examples": { + "Deletes a SAP monitor provider": { + "$ref": "./examples/workloadmonitor/ProviderInstances_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + }, + { + "$ref": "#/parameters/ProviderInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "Deleted provider instance", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Deleting provider instance" + }, + "204": { + "description": "No provider instance to delete" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/sapLandscapeMonitor/default": { + "get": { + "tags": [ + "SapLandscapeMonitor" + ], + "operationId": "SapLandscapeMonitor_Get", + "summary": "Gets configuration values for Single Pane Of Glass for SAP monitor.", + "description": "Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource group, and resource name.", + "x-ms-examples": { + "Get properties of a SAP monitor": { + "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SapLandscapeMonitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "SapLandscapeMonitor" + ], + "operationId": "SapLandscapeMonitor_Create", + "summary": "Creates a SAP Landscape Monitor Dashboard.", + "description": "Creates a SAP Landscape Monitor Dashboard for the specified subscription, resource group, and resource name.", + "x-ms-examples": { + "Create for SAP Landscape monitor Dashboard": { + "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + }, + { + "$ref": "#/parameters/SapLandscapeMonitorParameter" + } + ], + "responses": { + "200": { + "description": "Updated SAP Landscape Monitor Dashboard.", + "schema": { + "$ref": "#/definitions/SapLandscapeMonitor" + } + }, + "201": { + "description": "Creating SAP Landscape Monitor Dashboard", + "schema": { + "$ref": "#/definitions/SapLandscapeMonitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "SapLandscapeMonitor" + ], + "operationId": "SapLandscapeMonitor_Delete", + "summary": "Deletes a SAP Landscape Monitor Dashboard.", + "description": "Deletes a SAP Landscape Monitor Dashboard with the specified subscription, resource group, and SAP monitor name.", + "x-ms-examples": { + "Deletes SAP monitor": { + "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete SAP Landscape Monitor Dashboard" + }, + "204": { + "description": "SAP Landscape Monitor Dashboard is already deleted or not found." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "SapLandscapeMonitor" + ], + "operationId": "SapLandscapeMonitor_Update", + "summary": "Patches the SAP Landscape Monitor Dashboard.", + "description": "Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor name.", + "x-ms-examples": { + "Update SAP monitor": { + "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + }, + { + "$ref": "#/parameters/SapLandscapeMonitorParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SapLandscapeMonitor" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/sapLandscapeMonitor": { + "get": { + "tags": [ + "SapLandscapeMonitor" + ], + "operationId": "SapLandscapeMonitor_List", + "summary": "Gets configuration values for Single Pane Of Glass for SAP monitor.", + "description": "Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource group, and resource name.", + "x-ms-examples": { + "Get properties of a SAP monitor": { + "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_List.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/monitorNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SapLandscapeMonitorListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "SslPreference": { + "description": "Gets or sets certificate preference if secure communication is enabled.", + "type": "string", + "enum": [ + "Disabled", + "RootCertificate", + "ServerCertificate" + ], + "x-ms-enum": { + "name": "sslPreference", + "modelAsString": true + } + }, + "OperationsDisplayDefinition": { + "description": "Defines the workload operation.", + "required": [ + "description", + "operation", + "provider", + "resource" + ], + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "Defines the workload provider." + }, + "resource": { + "type": "string", + "description": "Defines the workload resource." + }, + "operation": { + "type": "string", + "description": "Defines the workload operation." + }, + "description": { + "type": "string", + "description": "Describes the workload operation." + } + } + }, + "OperationsDefinition": { + "required": [ + "display", + "name" + ], + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation." + }, + "isDataAction": { + "type": "boolean", + "description": "Indicates whether the operation applies to data-plane." + }, + "origin": { + "enum": [ + "NotSpecified", + "User", + "System" + ], + "type": "string", + "description": "Defines the workload operation origin.", + "x-ms-enum": { + "name": "OperationProperties", + "modelAsString": true + } + }, + "display": { + "description": "Display information of the operation.", + "allOf": [ + { + "$ref": "#/definitions/OperationsDisplayDefinition" + } + ] + }, + "actionType": { + "enum": [ + "NotSpecified", + "Internal" + ], + "x-ms-enum": { + "name": "WorkloadMonitorActionType", + "modelAsString": true + }, + "description": "Defines the action type of workload operation.", + "type": "string" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Defines the workload operation properties." + } + }, + "description": "Properties of an Operation." + }, + "OperationsContent": { + "type": "object", + "description": "Defines the workload operation content.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Operations content.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/OperationsDefinition" + } + }, + "x-ms-azure-resource": true + }, + "OperationsDefinitionArrayResponseWithContinuation": { + "type": "object", + "description": "Defines the workload operation definition response.", + "properties": { + "value": { + "description": "Defines the workload operation definition response properties.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationsDefinition" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "The URL to get to the next set of results, if there are any.", + "type": "string" + } + } + }, + "Error": { + "description": "Standard error object.", + "type": "object", + "properties": { + "code": { + "description": "Server-defined set of error codes.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Human-readable representation of the error.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "Target of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Array of details about specific errors that led to this reported error.", + "type": "array", + "items": { + "$ref": "#/definitions/Error" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "innerError": { + "description": "Object containing more specific information than the current object about the error.", + "type": "object", + "properties": { + "innerError": { + "$ref": "#/definitions/Error" + } + }, + "readOnly": true + } + } + }, + "ManagedRGConfiguration": { + "description": "Managed resource group configuration", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Managed resource group name" + } + } + }, + "Tags": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Tags field of the resource." + } + }, + "description": "Tags field of the resource." + }, + "MonitorListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Monitor" + }, + "description": "The list of SAP monitors." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of SAP monitors." + } + }, + "description": "The response from the List SAP monitors operation." + }, + "Monitor": { + "type": "object", + "properties": { + "identity": { + "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MonitorProperties", + "description": "SAP monitor properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "SAP monitor info on Azure (ARM properties and SAP monitor properties)" + }, + "MonitorProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ], + "x-ms-enum": { + "name": "WorkloadMonitorProvisioningState", + "modelAsString": true + }, + "description": "State of provisioning of the SAP monitor." + }, + "errors": { + "description": "Defines the SAP monitor errors.", + "allOf": [ + { + "$ref": "#/definitions/Error" + } + ], + "readOnly": true + }, + "appLocation": { + "type": "string", + "description": "The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region." + }, + "routingPreference": { + "type": "string", + "description": "Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.", + "enum": [ + "Default", + "RouteAll" + ], + "x-ms-enum": { + "name": "RoutingPreference", + "modelAsString": true + } + }, + "zoneRedundancyPreference": { + "type": "string", + "description": "Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy." + }, + "managedResourceGroupConfiguration": { + "description": "Managed resource group configuration", + "$ref": "#/definitions/ManagedRGConfiguration" + }, + "logAnalyticsWorkspaceArmId": { + "type": "string", + "description": "The ARM ID of the Log Analytics Workspace that is used for SAP monitoring." + }, + "monitorSubnet": { + "type": "string", + "description": "The subnet which the SAP monitor will be deployed in" + }, + "msiArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM ID of the MSI used for SAP monitoring." + }, + "storageAccountArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM ID of the Storage account used for SAP monitoring." + } + }, + "description": "Describes the properties of a SAP monitor." + }, + "UpdateMonitorRequest": { + "description": "Defines the request body for updating SAP monitor resource.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity" + } + } + }, + "ProviderInstanceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProviderInstance" + }, + "description": "The list of provider instances." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of provider instances." + } + }, + "description": "The response from the List provider instances operation." + }, + "ProviderInstance": { + "type": "object", + "properties": { + "identity": { + "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProviderInstanceProperties", + "description": "Provider Instance properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "description": "A provider instance associated with SAP monitor." + }, + "HanaDbProviderInstanceProperties": { + "description": "Gets or sets the provider properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProviderSpecificProperties" + } + ], + "properties": { + "hostname": { + "description": "Gets or sets the target virtual machine size.", + "type": "string" + }, + "dbName": { + "description": "Gets or sets the hana database name.", + "type": "string" + }, + "sqlPort": { + "description": "Gets or sets the database sql port.", + "type": "string" + }, + "instanceNumber": { + "description": "Gets or sets the database instance number.", + "type": "string" + }, + "dbUsername": { + "description": "Gets or sets the database user name.", + "type": "string" + }, + "dbPassword": { + "description": "Gets or sets the database password.", + "type": "string", + "x-ms-secret": true + }, + "dbPasswordUri": { + "description": "Gets or sets the key vault URI to secret with the database password.", + "type": "string" + }, + "sslCertificateUri": { + "description": "Gets or sets the blob URI to SSL certificate for the DB.", + "type": "string" + }, + "sslHostNameInCertificate": { + "description": "Gets or sets the hostname(s) in the SSL certificate.", + "type": "string" + }, + "sslPreference": { + "$ref": "#/definitions/SslPreference" + }, + "sapSid": { + "description": "Gets or sets the SAP System Identifier.", + "type": "string" + } + }, + "x-ms-discriminator-value": "SapHana" + }, + "SapNetWeaverProviderInstanceProperties": { + "description": "Gets or sets the provider properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProviderSpecificProperties" + } + ], + "properties": { + "sapSid": { + "description": "Gets or sets the SAP System Identifier", + "type": "string" + }, + "sapHostname": { + "description": "Gets or sets the target virtual machine IP Address/FQDN.", + "type": "string" + }, + "sapInstanceNr": { + "description": "Gets or sets the instance number of SAP NetWeaver.", + "type": "string" + }, + "sapHostFileEntries": { + "description": "Gets or sets the list of HostFile Entries", + "type": "array", + "items": { + "type": "string" + } + }, + "sapUsername": { + "description": "Gets or sets the SAP user name.", + "type": "string" + }, + "sapPassword": { + "description": "Sets the SAP password.", + "type": "string", + "x-ms-secret": true + }, + "sapPasswordUri": { + "description": "Gets or sets the key vault URI to secret with the SAP password.", + "type": "string" + }, + "sapClientId": { + "description": "Gets or sets the SAP Client ID.", + "type": "string" + }, + "sapPortNumber": { + "description": "Gets or sets the SAP HTTP port number.", + "type": "string" + }, + "sslCertificateUri": { + "description": "Gets or sets the blob URI to SSL certificate for the SAP system.", + "type": "string" + }, + "sslPreference": { + "$ref": "#/definitions/SslPreference" + } + }, + "x-ms-discriminator-value": "SapNetWeaver" + }, + "PrometheusOSProviderInstanceProperties": { + "description": "Gets or sets the PrometheusOS provider properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProviderSpecificProperties" + } + ], + "properties": { + "prometheusUrl": { + "description": "URL of the Node Exporter endpoint", + "type": "string" + }, + "sslPreference": { + "$ref": "#/definitions/SslPreference" + }, + "sslCertificateUri": { + "description": "Gets or sets the blob URI to SSL certificate for the prometheus node exporter.", + "type": "string" + }, + "sapSid": { + "description": "Gets or sets the SAP System Identifier", + "type": "string" + } + }, + "x-ms-discriminator-value": "PrometheusOS" + }, + "DB2ProviderInstanceProperties": { + "description": "Gets or sets the DB2 provider properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProviderSpecificProperties" + } + ], + "properties": { + "hostname": { + "description": "Gets or sets the target virtual machine name.", + "type": "string" + }, + "dbName": { + "description": "Gets or sets the db2 database name.", + "type": "string" + }, + "dbPort": { + "description": "Gets or sets the db2 database sql port.", + "type": "string" + }, + "dbUsername": { + "description": "Gets or sets the db2 database user name.", + "type": "string" + }, + "dbPassword": { + "description": "Gets or sets the db2 database password.", + "type": "string", + "x-ms-secret": true + }, + "dbPasswordUri": { + "description": "Gets or sets the key vault URI to secret with the database password.", + "type": "string" + }, + "sapSid": { + "description": "Gets or sets the SAP System Identifier", + "type": "string" + }, + "sslPreference": { + "$ref": "#/definitions/SslPreference" + }, + "sslCertificateUri": { + "description": "Gets or sets the blob URI to SSL certificate for the DB2 Database.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Db2" + }, + "PrometheusHaClusterProviderInstanceProperties": { + "description": "Gets or sets the PrometheusHaCluster provider properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProviderSpecificProperties" + } + ], + "properties": { + "prometheusUrl": { + "description": "URL of the Node Exporter endpoint.", + "type": "string" + }, + "hostname": { + "description": "Gets or sets the target machine name.", + "type": "string" + }, + "sid": { + "description": "Gets or sets the cluster sid.", + "type": "string" + }, + "clusterName": { + "description": "Gets or sets the clusterName.", + "type": "string" + }, + "sslPreference": { + "$ref": "#/definitions/SslPreference" + }, + "sslCertificateUri": { + "description": "Gets or sets the blob URI to SSL certificate for the HA cluster exporter.", + "type": "string" + } + }, + "x-ms-discriminator-value": "PrometheusHaCluster" + }, + "MsSqlServerProviderInstanceProperties": { + "description": "Gets or sets the SQL server provider properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProviderSpecificProperties" + } + ], + "properties": { + "hostname": { + "description": "Gets or sets the SQL server host name.", + "type": "string" + }, + "dbPort": { + "description": "Gets or sets the database sql port.", + "type": "string" + }, + "dbUsername": { + "description": "Gets or sets the database user name.", + "type": "string" + }, + "dbPassword": { + "description": "Gets or sets the database password.", + "type": "string", + "x-ms-secret": true + }, + "dbPasswordUri": { + "description": "Gets or sets the key vault URI to secret with the database password.", + "type": "string" + }, + "sapSid": { + "description": "Gets or sets the SAP System Identifier", + "type": "string" + }, + "sslPreference": { + "$ref": "#/definitions/SslPreference" + }, + "sslCertificateUri": { + "description": "Gets or sets the blob URI to SSL certificate for the SQL Database.", + "type": "string" + } + }, + "x-ms-discriminator-value": "MsSqlServer" + }, + "ProviderSpecificProperties": { + "description": "Gets or sets the provider specific properties.", + "type": "object", + "required": [ + "providerType" + ], + "properties": { + "providerType": { + "description": "The provider type. For example, the value can be SapHana.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "providerType" + }, + "ProviderInstanceProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ], + "x-ms-enum": { + "name": "WorkloadMonitorProvisioningState", + "modelAsString": true + }, + "description": "State of provisioning of the provider instance" + }, + "errors": { + "description": "Defines the provider instance errors.", + "allOf": [ + { + "$ref": "#/definitions/Error" + } + ], + "readOnly": true + }, + "providerSettings": { + "description": "Defines the provider instance errors.", + "$ref": "#/definitions/ProviderSpecificProperties" + } + }, + "description": "Describes the properties of a provider instance." + }, + "SapLandscapeMonitorMetricThresholds": { + "description": "Gets or sets the Threshold Values for Top Metrics Health.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the name of the threshold.", + "type": "string" + }, + "green": { + "description": "Gets or sets the threshold value for Green.", + "type": "number" + }, + "yellow": { + "description": "Gets or sets the threshold value for Yellow.", + "type": "number" + }, + "red": { + "description": "Gets or sets the threshold value for Red.", + "type": "number" + } + } + }, + "SapLandscapeMonitorSidMapping": { + "description": "Gets or sets the mapping for SID to Environment/Applications.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the name of the grouping.", + "type": "string" + }, + "topSid": { + "description": "Gets or sets the list of SID's.", + "type": "array", + "items": { + "type": "string" + }, + "maxLength": 50 + } + } + }, + "SapLandscapeMonitorListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SapLandscapeMonitor" + }, + "description": "The list of Sap Landscape Monitor configuration." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of SAP Landscape Monitor Dashboard." + } + }, + "description": "The response from the List SAP Landscape Monitor Dashboard operation." + }, + "SapLandscapeMonitor": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SapLandscapeMonitorProperties", + "description": "Sap Landscape Monitor properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "description": "configuration associated with SAP Landscape Monitor Dashboard." + }, + "SapLandscapeMonitorProperties": { + "description": "Gets or sets the properties for Sap Landscape Monitor Dashboard.", + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Accepted", + "Created", + "Failed", + "Succeeded", + "Canceled" + ], + "x-ms-enum": { + "name": "SapLandscapeMonitorProvisioningState", + "modelAsString": true + }, + "description": "State of provisioning of the SAP monitor." + }, + "grouping": { + "description": "Gets or sets the SID groupings by landscape and Environment.", + "type": "object", + "properties": { + "landscape": { + "description": "Gets or sets the list of landscape to SID mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/SapLandscapeMonitorSidMapping" + }, + "maxLength": 50, + "x-ms-identifiers": [ + "name" + ] + }, + "sapApplication": { + "description": "Gets or sets the list of Sap Applications to SID mappings.", + "type": "array", + "items": { + "$ref": "#/definitions/SapLandscapeMonitorSidMapping" + }, + "maxLength": 50, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "topMetricsThresholds": { + "description": "Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard", + "type": "array", + "items": { + "$ref": "#/definitions/SapLandscapeMonitorMetricThresholds" + }, + "maxLength": 50, + "x-ms-identifiers": [ + "name" + ] + } + } + } + }, + "parameters": { + "monitorNameParameter": { + "name": "monitorName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the SAP monitor resource.", + "x-ms-parameter-location": "method" + }, + "ProviderInstanceNameParameter": { + "name": "providerInstanceName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the provider instance.", + "x-ms-parameter-location": "method" + }, + "MonitorParameter": { + "name": "MonitorParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Monitor" + }, + "description": "Request body representing a SAP monitor", + "x-ms-parameter-location": "method" + }, + "ProviderInstanceParameter": { + "name": "providerInstanceParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProviderInstance" + }, + "description": "Request body representing a provider instance", + "x-ms-parameter-location": "method" + }, + "SapLandscapeMonitorParameter": { + "name": "sapLandscapeMonitorParameter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SapLandscapeMonitor" + }, + "description": "Request body representing a configuration for Sap Landscape Monitor Dashboard", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json new file mode 100644 index 000000000000..3d989a63840e --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json @@ -0,0 +1,76 @@ +{ + "swagger": "2.0", + "info": { + "version": "2022-11-01-preview", + "title": "Workloads Client", + "description": "Workloads client provides access to various workload operations" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Workloads/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all the available API operations under this PR", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Resource provider error response about the failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations": { + "$ref": "./examples/Operations_List.json" + } + } + } + } + }, + "definitions": {}, + "parameters": {} +} diff --git a/specification/workloads/resource-manager/readme.go.md b/specification/workloads/resource-manager/readme.go.md index be4f3b677b66..4fd87037bcb3 100644 --- a/specification/workloads/resource-manager/readme.go.md +++ b/specification/workloads/resource-manager/readme.go.md @@ -22,6 +22,7 @@ output-folder: $(go-sdk-folder)/$(module-name) ``` yaml $(go) && $(multiapi) batch: - tag: package-2021-12-01-preview + - tag: package-preview-2022-11 ``` ### Tag: package-2021-12-01-preview and go @@ -31,4 +32,13 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-preview-2022-11' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-11-01-preview/$(namespace) +``` diff --git a/specification/workloads/resource-manager/readme.md b/specification/workloads/resource-manager/readme.md index 960f8f0085f1..ed6e32d3d712 100644 --- a/specification/workloads/resource-manager/readme.md +++ b/specification/workloads/resource-manager/readme.md @@ -24,17 +24,29 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the workloads. -```yaml +``` yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2021-12-01-preview +tag: package-preview-2022-11 ``` + +### Tag: package-preview-2022-11 + +These settings apply only when `--tag=package-preview-2022-11` is specified on the command line. + +```yaml $(tag) == 'package-preview-2022-11' +input-file: + - Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json + - Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json + - Microsoft.Workloads/preview/2022-11-01-preview/monitors.json + - Microsoft.Workloads/preview/2022-11-01-preview/operations.json +``` ### Tag: package-2021-12-01-preview These settings apply only when `--tag=package-2021-12-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2021-12-01-preview' +``` yaml $(tag) == 'package-2021-12-01-preview' input-file: - Microsoft.Workloads/preview/2021-12-01-preview/phpWorkloads.json - Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json @@ -52,7 +64,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -```yaml $(swagger-to-sdk) +``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java