{ "swagger": "2.0", "info": { "description": "Logical network 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}": { "get": { "x-ms-examples": { "Returns the requested logical network.": { "$ref": "./examples/LogicalNetwork/Get.json" } }, "tags": [ "LogicalNetworks" ], "description": "Returns the requested logical network.", "operationId": "LogicalNetworks_Get", "parameters": [ { "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" }, { "$ref": "Fabric.json#/parameters/ResourceGroupParameter" }, { "$ref": "Fabric.json#/parameters/LocationParameter" }, { "$ref": "#/parameters/LogicalNetworkParameter" }, { "$ref": "Fabric.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/LogicalNetwork" } }, "404": { "description": "NOT FOUND" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/logicalNetworks": { "get": { "x-ms-examples": { "Returns a list of all logical networks at a location.": { "$ref": "./examples/LogicalNetwork/List.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" }, "tags": [ "LogicalNetworks" ], "description": "Returns a list of all logical networks at a location.", "operationId": "LogicalNetworks_List", "parameters": [ { "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" }, { "$ref": "Fabric.json#/parameters/ResourceGroupParameter" }, { "$ref": "Fabric.json#/parameters/LocationParameter" }, { "$ref": "Fabric.json#/parameters/ApiVersionParameter" }, { "$ref": "Fabric.json#/parameters/FilterParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/LogicalNetworkList" } }, "404": { "description": "NOT FOUND" } }, "x-ms-odata": "#/definitions/LogicalNetwork" } } }, "definitions": { "LogicalNetwork": { "description": "This resource represents a logical partition of physical network that is dedicated for a particular purpose. A logical network comprises a collection of logical subnets.", "type": "object", "properties": { "properties": { "description": "Properties of a logical network.", "x-ms-client-flatten": true, "$ref": "#/definitions/LogicalNetworkModel" } }, "allOf": [ { "$ref": "Fabric.json#/definitions/Resource" } ] }, "LogicalNetworkModel": { "description": "Properties of a logical network.", "type": "object", "properties": { "metadata": { "description": "Metadata related to the logical network.", "type": "object", "additionalProperties": { "type": "string" } }, "networkVirtualizationEnabled": { "description": "Flag to indicate that the network virtualization is enabled on the logical network.", "type": "boolean" }, "subnets": { "description": "List of subnets belonging to the logical network.", "type": "array", "items": { "type": "string" } } } }, "LogicalNetworkList": { "description": "A pageable list of logical networks.", "type": "object", "properties": { "value": { "description": "List of logical networks.", "type": "array", "items": { "$ref": "#/definitions/LogicalNetwork" } }, "nextLink": { "description": "URI to the next page.", "type": "string" } } } }, "parameters": { "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" ] } ] }