{ "swagger": "2.0", "info": { "description": "Logical subnet operation endpoints and objects.", "title": "FabricAdminClient", "version": "2016-05-01" }, "host": "management.azure.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/logicalNetworks/{logicalNetwork}/logicalSubnets/{logicalSubnet}": { "get": { "x-ms-examples": { "Returns the requested logical subnet.": { "$ref": "./examples/LogicalSubnet/Get.json" } }, "tags": [ "LogicalSubnets" ], "description": "Returns the requested logical subnet.", "operationId": "LogicalSubnets_Get", "parameters": [ { "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" }, { "$ref": "Fabric.json#/parameters/ResourceGroupParameter" }, { "$ref": "Fabric.json#/parameters/LocationParameter" }, { "$ref": "#/parameters/LogicalNetworkParameter" }, { "$ref": "#/parameters/LogicalSubnetParameter" }, { "$ref": "Fabric.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/LogicalSubnet" } }, "404": { "description": "NOT FOUND" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/logicalNetworks/{logicalNetwork}/logicalSubnets": { "get": { "x-ms-examples": { "Returns a list of all logical subnets.": { "$ref": "./examples/LogicalSubnet/List.json" } }, "tags": [ "LogicalSubnets" ], "description": "Returns a list of all logical subnets.", "operationId": "LogicalSubnets_List", "parameters": [ { "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" }, { "$ref": "Fabric.json#/parameters/ResourceGroupParameter" }, { "$ref": "Fabric.json#/parameters/LocationParameter" }, { "$ref": "#/parameters/LogicalNetworkParameter" }, { "$ref": "Fabric.json#/parameters/ApiVersionParameter" }, { "$ref": "Fabric.json#/parameters/FilterParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/LogicalSubnetList" } }, "404": { "description": "NOT FOUND" } }, "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-odata": "#/definitions/LogicalSubnet" } } }, "definitions": { "LogicalSubnet": { "description": "This resource represents a logical subnet. A logical subnet is made of a subnet-vlan pair.", "type": "object", "properties": { "properties": { "description": "Properties of a logical subnet.", "x-ms-client-flatten": true, "$ref": "#/definitions/LogicalSubnetModel" } }, "allOf": [ { "$ref": "Fabric.json#/definitions/Resource" } ] }, "LogicalSubnetModel": { "description": "Properties of a logical subnet.", "type": "object", "properties": { "ipPools": { "description": "All IP pools which belong to this subnet.", "type": "array", "items": { "type": "string" } }, "isPublic": { "description": "The visibility status of the IP pool. If is true the associated pools are public IP address pools.", "type": "boolean" }, "metadata": { "description": "Metadata related to the logical network.", "type": "object", "additionalProperties": { "type": "string" } } } }, "LogicalSubnetList": { "description": "Pageable list of logical subnets.", "type": "object", "properties": { "value": { "description": "List of logical subnets.", "type": "array", "items": { "$ref": "#/definitions/LogicalSubnet" } }, "nextLink": { "description": "URI to the next page.", "type": "string" } } } }, "parameters": { "LogicalSubnetParameter": { "name": "logicalSubnet", "description": "Name of the logical subnet.", "in": "path", "required": true, "type": "string", "x-ms-parameter-location": "method" }, "LogicalNetworkParameter": { "name": "logicalNetwork", "description": "Name of the logical network.", "in": "path", "required": true, "type": "string", "x-ms-parameter-location": "method" } }, "securityDefinitions": { "azure_auth": { "type": "oauth2", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "flow": "implicit", "description": "Authorization uses an Azure Active Directory OAuth2 flow.", "scopes": { "user_impersonation": "impersonate your user account" } } }, "security": [ { "azure_auth": [ "user_impersonation" ] } ] }