Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,265 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "workspace-1234",
"workspaceName": "testworkspace",
"api-version": "2021-07-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"category": "Azure Active Directory",
"endpoints": [
{
"domainName": "login.microsoftonline.com",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Azure portal",
"endpoints": [
{
"domainName": "management.azure.com",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Azure Resource Manager",
"endpoints": [
{
"domainName": "management.azure.com",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Azure Machine Learning studio",
"endpoints": [
{
"domainName": "ml.azure.com",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "API",
"endpoints": [
{
"domainName": "*.azureml.ms",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Azure Active Directory",
"endpoints": [
{
"domainName": "login.microsoftonline.com",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Integrated notebook",
"endpoints": [
{
"domainName": "*.notebooks.azure.net",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "localtest9127254374.file.core.windows.net",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "localtest9127254374.dfs.core.windows.net",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "localtest9127254374.blob.core.windows.net",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "graph.microsoft.com",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "*.aznbcontent.net",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Compute cluster/instance",
"endpoints": [
{
"domainName": "*.batchai.core.windows.net",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "graph.windows.net",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Compute instance",
"endpoints": [
{
"domainName": "*.instances.azureml.net",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "*.instances.azureml.ms",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Azure Storage Account",
"endpoints": [
{
"domainName": "core.windows.net",
"endpointDetails": [
{
"port": 443
},
{
"port": 18881
},
{
"port": 8787
}
]
}
]
},
{
"category": "Azure Key Vault",
"endpoints": [
{
"domainName": "vault.azure.net",
"endpointDetails": [
{
"port": 443
},
{
"port": 18881
},
{
"port": 8787
}
]
}
]
},
{
"category": "Azure Container Registry",
"endpoints": [
{
"domainName": "azurecr.io",
"endpointDetails": [
{
"port": 443
},
{
"port": 18881
},
{
"port": 8787
}
]
}
]
},
{
"category": "Microsoft Container Registry",
"endpoints": [
{
"domainName": "mcr.microsoft.com",
"endpointDetails": [
{
"port": 443
},
{
"port": 18881
},
{
"port": 8787
}
]
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,51 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints": {
"get": {
"tags": [

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to double check, this code is auto generated from swashbuckle, right? If so, can you share with me the service code PR too?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I can send you a draft

"OutboundNetworkDependenciesEndpoints"
],
"summary": "Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.",
"operationId": "OutboundNetworkDependenciesEndpoints_List",
"produces": [

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to be OutboundNetworkDependenciesEndpoints_List

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will change to that

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use Capital O?

"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ExternalFQDNResponse"
}
},
"default": {
"description": "Error",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"ListOutboundNetworkDependenciesEndpoints": {
"$ref": "./examples/ExternalFQDN/get.json"
}
}
}
}
},
"parameters": {
Expand Down Expand Up @@ -4802,6 +4847,54 @@
"$ref": "#/definitions/AKSProperties"
}
}
},
"FQDNEndpointDetail": {
"type": "object",
"properties": {
"port": {
"format": "int32",
"type": "integer"
}
}
},
"FQDNEndpoint": {
"type": "object",
"properties": {
"domainName": {
"type": "string"
},
"endpointDetails": {
"type": "array",
"items": {
"$ref": "#/definitions/FQDNEndpointDetail"
}
}
}
},
"FQDNEndpoints": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"endpoints": {
"type": "array",
"items": {
"$ref": "#/definitions/FQDNEndpoint"
}
}
}
},
"ExternalFQDNResponse": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/FQDNEndpoints"
}
}
}
}
}
}