From bf9473b88387a7492df066d2546567b4a50fe74c Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 10 Nov 2020 03:42:44 +0000 Subject: [PATCH] Generated from 30060f5b479356df87a4fe9682e1143c310e288a --- schemas/2020-07-17-preview/Microsoft.AVS.json | 984 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 29 +- 2 files changed, 1012 insertions(+), 1 deletion(-) create mode 100644 schemas/2020-07-17-preview/Microsoft.AVS.json diff --git a/schemas/2020-07-17-preview/Microsoft.AVS.json b/schemas/2020-07-17-preview/Microsoft.AVS.json new file mode 100644 index 0000000000..60f93c1507 --- /dev/null +++ b/schemas/2020-07-17-preview/Microsoft.AVS.json @@ -0,0 +1,984 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AVS", + "description": "Microsoft AVS Resource Types", + "resourceDefinitions": { + "privateClouds": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "Name of the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateCloudProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a private cloud resource" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/privateClouds_clusters_childResource" + }, + { + "$ref": "#/definitions/privateClouds_hcxEnterpriseSites_childResource" + }, + { + "$ref": "#/definitions/privateClouds_authorizations_childResource" + }, + { + "$ref": "#/definitions/privateClouds_globalReachConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.AVS/privateClouds" + }, + "privateClouds_authorizations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the ExpressRoute Circuit Authorization in the private cloud" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/authorizations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AVS/privateClouds/authorizations" + }, + "privateClouds_clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the cluster in the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a cluster" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/clusters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.AVS/privateClouds/clusters" + }, + "privateClouds_globalReachConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the global reach connection in the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GlobalReachConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a global reach connection" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/globalReachConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/globalReachConnections" + }, + "privateClouds_hcxEnterpriseSites": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the HCX Enterprise Site in the private cloud" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + }, + "privateClouds_workloadNetworks_dhcpConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "NSX DHCP identifier. Generally the same as the DHCP display name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + }, + "privateClouds_workloadNetworks_portMirroringProfiles": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NSX Port Mirroring Properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + }, + "privateClouds_workloadNetworks_segments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "NSX Segment identifier. Generally the same as the Segment's display name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadNetworkSegmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NSX Segment Properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/workloadNetworks/segments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + }, + "privateClouds_workloadNetworks_vmGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "NSX VM Group identifier. Generally the same as the VM Group's display name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadNetworkVMGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NSX VM Group Properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + }, + "definitions": { + "Circuit": { + "type": "object", + "properties": {}, + "description": "An ExpressRoute Circuit" + }, + "ClusterProperties": { + "type": "object", + "properties": { + "clusterSize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster size" + } + }, + "description": "The properties of a cluster" + }, + "GlobalReachConnectionProperties": { + "type": "object", + "properties": { + "authorizationKey": { + "type": "string", + "description": "Authorization key from the peer express route used for the global reach connection" + }, + "peerExpressRouteCircuit": { + "type": "string", + "description": "Identifier of the ExpressRoute Circuit to peer with in the global reach connection" + } + }, + "description": "The properties of a global reach connection" + }, + "IdentitySource": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "description": "The domain's NetBIOS name" + }, + "baseGroupDN": { + "type": "string", + "description": "The base distinguished name for groups" + }, + "baseUserDN": { + "type": "string", + "description": "The base distinguished name for users" + }, + "domain": { + "type": "string", + "description": "The domain's dns name" + }, + "name": { + "type": "string", + "description": "The name of the identity source" + }, + "password": { + "type": "string", + "description": "The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups." + }, + "primaryServer": { + "type": "string", + "description": "Primary server URL" + }, + "secondaryServer": { + "type": "string", + "description": "Secondary server URL" + }, + "ssl": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Protect LDAP communication using SSL certificate (LDAPS)." + }, + "username": { + "type": "string", + "description": "The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group" + } + }, + "description": "vCenter Single Sign On Identity Source" + }, + "ManagementCluster": { + "type": "object", + "properties": { + "clusterSize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster size" + } + }, + "description": "The properties of a management cluster" + }, + "PrivateCloudProperties": { + "type": "object", + "properties": { + "circuit": { + "oneOf": [ + { + "$ref": "#/definitions/Circuit" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An ExpressRoute Circuit" + }, + "identitySources": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IdentitySource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "vCenter Single Sign On Identity Sources" + }, + "internet": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connectivity to internet is enabled or disabled." + }, + "managementCluster": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementCluster" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a management cluster" + }, + "networkBlock": { + "type": "string", + "description": "The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22" + }, + "nsxtPassword": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OnetimeRotate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate to rotate the NSX-T Manager password for the private cloud." + }, + "vcenterPassword": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OnetimeRotate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate to rotate the vCenter admin password for the private cloud." + } + }, + "required": [ + "networkBlock" + ], + "description": "The properties of a private cloud resource" + }, + "privateClouds_authorizations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the ExpressRoute Circuit Authorization in the private cloud" + }, + "type": { + "type": "string", + "enum": [ + "authorizations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AVS/privateClouds/authorizations" + }, + "privateClouds_clusters_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the cluster in the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a cluster" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU" + }, + "type": { + "type": "string", + "enum": [ + "clusters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.AVS/privateClouds/clusters" + }, + "privateClouds_globalReachConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the global reach connection in the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GlobalReachConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a global reach connection" + }, + "type": { + "type": "string", + "enum": [ + "globalReachConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/globalReachConnections" + }, + "privateClouds_hcxEnterpriseSites_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the HCX Enterprise Site in the private cloud" + }, + "type": { + "type": "string", + "enum": [ + "hcxEnterpriseSites" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU." + } + }, + "required": [ + "name" + ], + "description": "The resource model definition representing SKU" + }, + "WorkloadNetworkDhcpEntity": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpServer" + }, + { + "$ref": "#/definitions/WorkloadNetworkDhcpRelay" + } + ], + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the DHCP entity." + }, + "revision": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NSX revision number." + } + }, + "description": "Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from" + }, + "WorkloadNetworkDhcpRelay": { + "type": "object", + "properties": { + "dhcpType": { + "type": "string", + "enum": [ + "RELAY" + ] + }, + "serverAddresses": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DHCP Relay Addresses. Max 3." + } + }, + "required": [ + "dhcpType" + ], + "description": "NSX DHCP Relay" + }, + "WorkloadNetworkDhcpServer": { + "type": "object", + "properties": { + "dhcpType": { + "type": "string", + "enum": [ + "SERVER" + ] + }, + "leaseTime": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DHCP Server Lease Time." + }, + "serverAddress": { + "type": "string", + "description": "DHCP Server Address." + } + }, + "required": [ + "dhcpType" + ], + "description": "NSX DHCP Server" + }, + "WorkloadNetworkPortMirroringProperties": { + "type": "object", + "properties": { + "destination": { + "type": "string", + "description": "Destination VM Group." + }, + "direction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "INGRESS, EGRESS, BIDIRECTIONAL" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Direction of port mirroring profile." + }, + "displayName": { + "type": "string", + "description": "Display name of the port mirroring profile." + }, + "revision": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NSX revision number." + }, + "source": { + "type": "string", + "description": "Source VM Group." + } + }, + "description": "NSX Port Mirroring Properties" + }, + "WorkloadNetworkSegmentProperties": { + "type": "object", + "properties": { + "connectedGateway": { + "type": "string", + "description": "Gateway which to connect segment to." + }, + "displayName": { + "type": "string", + "description": "Display name of the segment." + }, + "revision": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NSX revision number." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadNetworkSegmentSubnet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subnet configuration for segment" + } + }, + "description": "NSX Segment Properties" + }, + "WorkloadNetworkSegmentSubnet": { + "type": "object", + "properties": { + "dhcpRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DHCP Range assigned for subnet." + }, + "gatewayAddress": { + "type": "string", + "description": "Gateway address." + } + }, + "description": "Subnet configuration for segment" + }, + "WorkloadNetworkVMGroupProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the VM group." + }, + "members": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual machine members of this group." + }, + "revision": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NSX revision number." + } + }, + "description": "NSX VM Group Properties" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 063f9bc9be..4c92f6f56a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1240,6 +1240,33 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-03-20/Microsoft.AVS.json#/resourceDefinitions/privateClouds_hcxEnterpriseSites" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_authorizations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_globalReachConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_hcxEnterpriseSites" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_workloadNetworks_dhcpConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_workloadNetworks_portMirroringProfiles" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_workloadNetworks_segments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_workloadNetworks_vmGroups" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-07-24-preview/Microsoft.AzureData.json#/resourceDefinitions/dataControllers" }, @@ -5551,4 +5578,4 @@ ] } ] -} +} \ No newline at end of file