Skip to content

Commit

Permalink
Merge pull request #11 from ZhidaLiu/FQDNApi
Browse files Browse the repository at this point in the history
Add External FQDN API
  • Loading branch information
zhaomuzhi authored Jul 6, 2021
2 parents 6b8f2ce + d44f88a commit 26167ec
Show file tree
Hide file tree
Showing 2 changed files with 358 additions and 0 deletions.
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 @@ -1790,6 +1790,51 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints": {
"get": {
"tags": [
"OutboundNetworkDependenciesEndpoints"
],
"summary": "Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.",
"operationId": "OutboundNetworkDependenciesEndpoints_List",
"produces": [
"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 @@ -4948,6 +4993,54 @@
"$ref": "#/definitions/SynapseAKSProperties"
}
}
},
"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"
}
}
}
}
}
}

0 comments on commit 26167ec

Please sign in to comment.