{ "swagger": "2.0", "info": { "description": "IP pool operation endpoints and objects.", "title": "FabricAdminClient", "version": "2016-05-01" }, "host": "management.azure.com", "schemes": [ "https" ], "produces": [ "application/json" ], "consumes": [ "application/json" ], "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/ipPools/{ipPool}": { "get": { "x-ms-examples": { "Return the requested IP pool.": { "$ref": "./examples/IpPool/Get.json" } }, "tags": [ "IpPools" ], "description": "Return the requested IP pool.", "operationId": "IpPools_Get", "parameters": [ { "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" }, { "$ref": "Fabric.json#/parameters/ResourceGroupParameter" }, { "$ref": "Fabric.json#/parameters/LocationParameter" }, { "$ref": "#/parameters/IpPoolNameParameter" }, { "$ref": "Fabric.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/IpPool" } }, "404": { "description": "NOT FOUND" } } }, "put": { "x-ms-examples": { "Create an IP pool. Once created an IP pool cannot be deleted.": { "$ref": "./examples/IpPool/Create.json" } }, "tags": [ "IpPools" ], "description": "Create an IP pool. Once created an IP pool cannot be deleted.", "operationId": "IpPools_CreateOrUpdate", "parameters": [ { "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" }, { "$ref": "Fabric.json#/parameters/ResourceGroupParameter" }, { "$ref": "Fabric.json#/parameters/LocationParameter" }, { "$ref": "#/parameters/IpPoolNameParameter" }, { "$ref": "Fabric.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/IpPoolParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/IpPool" } }, "202": { "description": "Accepted", "schema": { "$ref": "#/definitions/IpPool" } } }, "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/ipPools": { "get": { "x-ms-examples": { "Returns a list of all IP pools at a certain location.": { "$ref": "./examples/IpPool/List.json" } }, "tags": [ "IpPools" ], "description": "Returns a list of all IP pools at a certain location.", "operationId": "IpPools_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/IpPoolList" } }, "404": { "description": "NOT FOUND" } }, "x-ms-pageable": { "nextLinkName": "nextLink" }, "x-ms-odata": "#/definitions/IpPool" } } }, "definitions": { "IpPool": { "description": "This resource defines the range of IP addresses from which addresses are allocated for nodes within a subnet.", "type": "object", "properties": { "properties": { "description": "Properties of an IpPool.", "x-ms-client-flatten": true, "$ref": "#/definitions/IpPoolModel" } }, "allOf": [ { "$ref": "Fabric.json#/definitions/Resource" } ] }, "IpPoolModel": { "description": "Properties of an IpPool.", "type": "object", "properties": { "startIpAddress": { "description": "The starting IP address.", "type": "string" }, "endIpAddress": { "description": "The ending IP address.", "type": "string" }, "addressPrefix": { "description": "The address prefix.", "type": "string" }, "numberOfIpAddresses": { "description": "The total number of IP addresses.", "type": "integer", "format": "int64" }, "numberOfAllocatedIpAddresses": { "description": "The number of currently allocated IP addresses.", "type": "integer", "format": "int64" }, "numberOfIpAddressesInTransition": { "description": "The current number of IP addresses in transition.", "type": "integer", "format": "int64" } } }, "IpPoolList": { "description": "Pageable list of IP pools.", "type": "object", "properties": { "value": { "description": "List of IP pools.", "type": "array", "items": { "$ref": "#/definitions/IpPool" } }, "nextLink": { "description": "URI to the next page.", "type": "string" } } } }, "parameters": { "IpPoolParameter": { "name": "pool", "description": "IP pool object to send.", "in": "body", "required": true, "schema": { "$ref": "#/definitions/IpPool" }, "x-ms-parameter-location": "method" }, "IpPoolNameParameter": { "name": "ipPool", "description": "IP pool name.", "type": "string", "in": "path", "required": true, "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" ] } ] }