Skip to content

Commit

Permalink
Revert "ACSS Swagger Changes in PUT SVI API and child resources (Azur…
Browse files Browse the repository at this point in the history
…e#21604)" (Azure#21662)

This reverts commit 58f076e.
  • Loading branch information
ruowan authored Nov 28, 2022
1 parent 58f076e commit 495363b
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 3,345 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,6 @@
"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"
},
Expand All @@ -313,18 +304,6 @@
},
"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"
}
},
"description": "Creates a Virtual Instance for SAP solutions (VIS) resource",
Expand Down Expand Up @@ -653,9 +632,6 @@
"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. <br><br>This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.",
Expand Down Expand Up @@ -930,9 +906,6 @@
"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. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.",
Expand Down Expand Up @@ -1207,9 +1180,6 @@
"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. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.",
Expand Down Expand Up @@ -1774,23 +1744,6 @@
"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": {
Expand Down Expand Up @@ -2318,48 +2271,6 @@
}
}
},
"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",
Expand Down Expand Up @@ -2408,10 +2319,6 @@
"virtualMachineConfiguration": {
"description": "Gets or sets the virtual machine configuration.",
"$ref": "#/definitions/VirtualMachineConfiguration"
},
"dbDiskConfiguration": {
"description": "Gets or sets the disk configuration.",
"$ref": "#/definitions/DiskConfiguration"
}
},
"required": [
Expand Down Expand Up @@ -2463,10 +2370,6 @@
"description": "The number of database VMs.",
"type": "integer",
"format": "int64"
},
"diskConfiguration": {
"description": "Gets or sets the disk configuration.",
"$ref": "#/definitions/DiskConfiguration"
}
},
"required": [
Expand Down Expand Up @@ -2512,100 +2415,6 @@
"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,
Expand Down Expand Up @@ -2636,10 +2445,6 @@
"highAvailabilityConfig": {
"description": "The high availability configuration.",
"$ref": "#/definitions/HighAvailabilityConfiguration"
},
"storageConfiguration": {
"description": "The storage configuration.",
"$ref": "#/definitions/StorageConfiguration"
}
},
"required": [
Expand Down Expand Up @@ -2932,26 +2737,6 @@
},
"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",
Expand All @@ -2963,15 +2748,6 @@
"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
}
}
},
Expand All @@ -2986,15 +2762,6 @@
"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
}
}
},
Expand Down Expand Up @@ -3219,15 +2986,6 @@
"$ref": "#/definitions/SAPVirtualInstanceStatus",
"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
},
"health": {
"$ref": "#/definitions/HealthState",
"readOnly": true
Expand Down Expand Up @@ -3427,11 +3185,6 @@
"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",
Expand Down Expand Up @@ -3499,11 +3252,6 @@
"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",
Expand Down
Loading

0 comments on commit 495363b

Please sign in to comment.