Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR databricks] Added OutboundNetworkDependenciesEndpoints API #1840

Merged
1 commit merged into from
Aug 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 218 additions & 0 deletions schemas/2021-04-01-preview/Microsoft.Databricks.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"oneOf": [
{
"$ref": "#/definitions/workspaces_privateEndpointConnections_childResource"
},
{
"$ref": "#/definitions/workspaces_virtualNetworkPeerings_childResource"
}
]
}
Expand Down Expand Up @@ -124,9 +127,68 @@
"type"
],
"description": "Microsoft.Databricks/workspaces/privateEndpointConnections"
},
"workspaces_virtualNetworkPeerings": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-04-01-preview"
]
},
"name": {
"type": "string",
"description": "The name of the workspace vNet peering."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of the virtual network peering."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Databricks/workspaces/virtualNetworkPeerings"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Databricks/workspaces/virtualNetworkPeerings"
}
},
"definitions": {
"AddressSpace": {
"type": "object",
"properties": {
"addressPrefixes": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "A list of address blocks reserved for this virtual network in CIDR notation."
}
},
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network."
},
"CreatedBy": {
"type": "object",
"properties": {},
Expand Down Expand Up @@ -349,6 +411,123 @@
],
"description": "SKU for the resource."
},
"VirtualNetworkPeeringPropertiesFormat": {
"type": "object",
"properties": {
"allowForwardedTraffic": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."
},
"allowGatewayTransit": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "If gateway links can be used in remote virtual networking to link to this virtual network."
},
"allowVirtualNetworkAccess": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."
},
"databricksAddressSpace": {
"oneOf": [
{
"$ref": "#/definitions/AddressSpace"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network."
},
"databricksVirtualNetwork": {
"oneOf": [
{
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)."
},
"remoteAddressSpace": {
"oneOf": [
{
"$ref": "#/definitions/AddressSpace"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network."
},
"remoteVirtualNetwork": {
"oneOf": [
{
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)."
},
"useRemoteGateways": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway."
}
},
"required": [
"remoteVirtualNetwork"
],
"description": "Properties of the virtual network peering."
},
"VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Id of the databricks virtual network."
}
},
"description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)."
},
"VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Id of the remote virtual network."
}
},
"description": " The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering)."
},
"WorkspaceCustomBooleanParameter": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -832,6 +1011,45 @@
"type"
],
"description": "Microsoft.Databricks/workspaces/privateEndpointConnections"
},
"workspaces_virtualNetworkPeerings_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-04-01-preview"
]
},
"name": {
"type": "string",
"description": "The name of the workspace vNet peering."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of the virtual network peering."
},
"type": {
"type": "string",
"enum": [
"virtualNetworkPeerings"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Databricks/workspaces/virtualNetworkPeerings"
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -3331,6 +3331,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_privateEndpointConnections"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_virtualNetworkPeerings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.DataCatalog.json#/resourceDefinitions/catalogs"
},
Expand Down