Skip to content

Commit

Permalink
CodeGen from PR 12470 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Adding required for api swagger for azure resource mover (#12470)

* adding required for api changes

* fixing npmpretty checks and lint issues

* linting fixes 2

Co-authored-by: Durgesh Kumar <[email protected]>
  • Loading branch information
SDKAuto and Durgesh Kumar committed Jan 27, 2021
1 parent 97e25b9 commit 54470f7
Showing 1 changed file with 117 additions and 2 deletions.
119 changes: 117 additions & 2 deletions schemas/2019-10-01-preview/Microsoft.Migrate.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,21 @@
],
"description": "Gets or sets the availability set resource settings."
},
"DiskEncryptionSetResourceSettings": {
"type": "object",
"properties": {
"resourceType": {
"type": "string",
"enum": [
"Microsoft.Compute/diskEncryptionSets"
]
}
},
"required": [
"resourceType"
],
"description": "Defines the disk encryption set resource settings."
},
"Identity": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -193,6 +208,21 @@
},
"description": "Defines the MSI properties of the Move Collection."
},
"KeyVaultResourceSettings": {
"type": "object",
"properties": {
"resourceType": {
"type": "string",
"enum": [
"Microsoft.KeyVault/vaults"
]
}
},
"required": [
"resourceType"
],
"description": "Defines the key vault resource settings."
},
"LBBackendAddressPoolResourceSettings": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -253,6 +283,23 @@
],
"description": "Defines reference to load balancer backend address pools."
},
"LoadBalancerNatRuleReference": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Gets the name of the proxy resource on the target side."
},
"sourceArmResourceId": {
"type": "string",
"description": "Gets the ARM resource ID of the tracked resource being referenced."
}
},
"required": [
"sourceArmResourceId"
],
"description": "Defines reference to load balancer NAT rules."
},
"LoadBalancerResourceSettings": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -535,6 +582,20 @@
],
"description": "Gets or sets the references of the load balancer backend address pools."
},
"loadBalancerNatRules": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/LoadBalancerNatRuleReference"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the references of the load balancer NAT rules."
},
"name": {
"type": "string",
"description": "Gets or sets the IP configuration name."
Expand All @@ -558,6 +619,17 @@
"type": "string",
"description": "Gets or sets the private IP address allocation method."
},
"publicIp": {
"oneOf": [
{
"$ref": "#/definitions/PublicIpReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Defines reference to a public IP."
},
"subnet": {
"oneOf": [
{
Expand All @@ -572,6 +644,19 @@
},
"description": "Defines NIC IP configuration properties."
},
"NsgReference": {
"type": "object",
"properties": {
"sourceArmResourceId": {
"type": "string",
"description": "Gets the ARM resource ID of the tracked resource being referenced."
}
},
"required": [
"sourceArmResourceId"
],
"description": "Defines reference to NSG."
},
"NsgSecurityRule": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -632,7 +717,7 @@
"type": "string",
"description": "Gets or sets the domain name label."
},
"fQDN": {
"fqdn": {
"type": "string",
"description": "Gets or sets the fully qualified domain name."
},
Expand Down Expand Up @@ -660,6 +745,19 @@
],
"description": "Defines the public IP address resource settings."
},
"PublicIpReference": {
"type": "object",
"properties": {
"sourceArmResourceId": {
"type": "string",
"description": "Gets the ARM resource ID of the tracked resource being referenced."
}
},
"required": [
"sourceArmResourceId"
],
"description": "Defines reference to a public IP."
},
"ResourceGroupResourceSettings": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -710,6 +808,12 @@
},
{
"$ref": "#/definitions/PublicIPAddressResourceSettings"
},
{
"$ref": "#/definitions/KeyVaultResourceSettings"
},
{
"$ref": "#/definitions/DiskEncryptionSetResourceSettings"
}
],
"properties": {
Expand Down Expand Up @@ -823,6 +927,17 @@
"name": {
"type": "string",
"description": "Gets or sets the Subnet name."
},
"networkSecurityGroup": {
"oneOf": [
{
"$ref": "#/definitions/NsgReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Defines reference to NSG."
}
},
"description": "Defines the virtual network subnets resource settings."
Expand Down Expand Up @@ -936,4 +1051,4 @@
"description": "Defines the virtual network resource settings."
}
}
}
}

0 comments on commit 54470f7

Please sign in to comment.