Skip to content

Commit ee051bb

Browse files
author
msftbot[bot]
authored
[ReleasePR databricks] Added OutboundNetworkDependenciesEndpoints API (#1840)
Create to sync Azure/azure-rest-api-specs#15498 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/databricks?expand=1)
2 parents 5150e49 + a47087c commit ee051bb

File tree

2 files changed

+221
-0
lines changed

2 files changed

+221
-0
lines changed

schemas/2021-04-01-preview/Microsoft.Databricks.json

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
"oneOf": [
4141
{
4242
"$ref": "#/definitions/workspaces_privateEndpointConnections_childResource"
43+
},
44+
{
45+
"$ref": "#/definitions/workspaces_virtualNetworkPeerings_childResource"
4346
}
4447
]
4548
}
@@ -124,9 +127,68 @@
124127
"type"
125128
],
126129
"description": "Microsoft.Databricks/workspaces/privateEndpointConnections"
130+
},
131+
"workspaces_virtualNetworkPeerings": {
132+
"type": "object",
133+
"properties": {
134+
"apiVersion": {
135+
"type": "string",
136+
"enum": [
137+
"2021-04-01-preview"
138+
]
139+
},
140+
"name": {
141+
"type": "string",
142+
"description": "The name of the workspace vNet peering."
143+
},
144+
"properties": {
145+
"oneOf": [
146+
{
147+
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat"
148+
},
149+
{
150+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
151+
}
152+
],
153+
"description": "Properties of the virtual network peering."
154+
},
155+
"type": {
156+
"type": "string",
157+
"enum": [
158+
"Microsoft.Databricks/workspaces/virtualNetworkPeerings"
159+
]
160+
}
161+
},
162+
"required": [
163+
"apiVersion",
164+
"name",
165+
"properties",
166+
"type"
167+
],
168+
"description": "Microsoft.Databricks/workspaces/virtualNetworkPeerings"
127169
}
128170
},
129171
"definitions": {
172+
"AddressSpace": {
173+
"type": "object",
174+
"properties": {
175+
"addressPrefixes": {
176+
"oneOf": [
177+
{
178+
"type": "array",
179+
"items": {
180+
"type": "string"
181+
}
182+
},
183+
{
184+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
185+
}
186+
],
187+
"description": "A list of address blocks reserved for this virtual network in CIDR notation."
188+
}
189+
},
190+
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network."
191+
},
130192
"CreatedBy": {
131193
"type": "object",
132194
"properties": {},
@@ -349,6 +411,123 @@
349411
],
350412
"description": "SKU for the resource."
351413
},
414+
"VirtualNetworkPeeringPropertiesFormat": {
415+
"type": "object",
416+
"properties": {
417+
"allowForwardedTraffic": {
418+
"oneOf": [
419+
{
420+
"type": "boolean"
421+
},
422+
{
423+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
424+
}
425+
],
426+
"description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."
427+
},
428+
"allowGatewayTransit": {
429+
"oneOf": [
430+
{
431+
"type": "boolean"
432+
},
433+
{
434+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
435+
}
436+
],
437+
"description": "If gateway links can be used in remote virtual networking to link to this virtual network."
438+
},
439+
"allowVirtualNetworkAccess": {
440+
"oneOf": [
441+
{
442+
"type": "boolean"
443+
},
444+
{
445+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
446+
}
447+
],
448+
"description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."
449+
},
450+
"databricksAddressSpace": {
451+
"oneOf": [
452+
{
453+
"$ref": "#/definitions/AddressSpace"
454+
},
455+
{
456+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
457+
}
458+
],
459+
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network."
460+
},
461+
"databricksVirtualNetwork": {
462+
"oneOf": [
463+
{
464+
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork"
465+
},
466+
{
467+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
468+
}
469+
],
470+
"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)."
471+
},
472+
"remoteAddressSpace": {
473+
"oneOf": [
474+
{
475+
"$ref": "#/definitions/AddressSpace"
476+
},
477+
{
478+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
479+
}
480+
],
481+
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network."
482+
},
483+
"remoteVirtualNetwork": {
484+
"oneOf": [
485+
{
486+
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork"
487+
},
488+
{
489+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
490+
}
491+
],
492+
"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)."
493+
},
494+
"useRemoteGateways": {
495+
"oneOf": [
496+
{
497+
"type": "boolean"
498+
},
499+
{
500+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
501+
}
502+
],
503+
"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."
504+
}
505+
},
506+
"required": [
507+
"remoteVirtualNetwork"
508+
],
509+
"description": "Properties of the virtual network peering."
510+
},
511+
"VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork": {
512+
"type": "object",
513+
"properties": {
514+
"id": {
515+
"type": "string",
516+
"description": "The Id of the databricks virtual network."
517+
}
518+
},
519+
"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)."
520+
},
521+
"VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork": {
522+
"type": "object",
523+
"properties": {
524+
"id": {
525+
"type": "string",
526+
"description": "The Id of the remote virtual network."
527+
}
528+
},
529+
"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)."
530+
},
352531
"WorkspaceCustomBooleanParameter": {
353532
"type": "object",
354533
"properties": {
@@ -832,6 +1011,45 @@
8321011
"type"
8331012
],
8341013
"description": "Microsoft.Databricks/workspaces/privateEndpointConnections"
1014+
},
1015+
"workspaces_virtualNetworkPeerings_childResource": {
1016+
"type": "object",
1017+
"properties": {
1018+
"apiVersion": {
1019+
"type": "string",
1020+
"enum": [
1021+
"2021-04-01-preview"
1022+
]
1023+
},
1024+
"name": {
1025+
"type": "string",
1026+
"description": "The name of the workspace vNet peering."
1027+
},
1028+
"properties": {
1029+
"oneOf": [
1030+
{
1031+
"$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat"
1032+
},
1033+
{
1034+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1035+
}
1036+
],
1037+
"description": "Properties of the virtual network peering."
1038+
},
1039+
"type": {
1040+
"type": "string",
1041+
"enum": [
1042+
"virtualNetworkPeerings"
1043+
]
1044+
}
1045+
},
1046+
"required": [
1047+
"apiVersion",
1048+
"name",
1049+
"properties",
1050+
"type"
1051+
],
1052+
"description": "Microsoft.Databricks/workspaces/virtualNetworkPeerings"
8351053
}
8361054
}
8371055
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3331,6 +3331,9 @@
33313331
{
33323332
"$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_privateEndpointConnections"
33333333
},
3334+
{
3335+
"$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Databricks.json#/resourceDefinitions/workspaces_virtualNetworkPeerings"
3336+
},
33343337
{
33353338
"$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.DataCatalog.json#/resourceDefinitions/catalogs"
33363339
},

0 commit comments

Comments
 (0)