swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Subnets API schemes: - https tags: - name: Subnets paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets/{subnetName} : delete: tags: - Subnets operationId: microsoftAzureSubnetsDelete description: The delete subnet operation deletes the specified subnet. parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - name: virtualNetworkName in: path required: true type: string description: The name of the virtual network. - name: subnetName in: path required: true type: string description: The name of the subnet. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' '202': description: '' '204': description: '' x-ms-long-running-operation: true summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname get: tags: - Subnets operationId: microsoftAzureSubnetsGet description: The Get subnet operation retrieves information about the specified subnet. parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - name: virtualNetworkName in: path required: true type: string description: The name of the virtual network. - name: subnetName in: path required: true type: string description: The name of the subnet. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/Subnet' summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname put: tags: - Subnets operationId: microsoftAzureSubnetsCreateorupdate description: The Put Subnet operation creates/updates a subnet in the specified virtual network parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - name: virtualNetworkName in: path required: true type: string description: The name of the virtual network. - name: subnetName in: path required: true type: string description: The name of the subnet. - name: subnetParameters in: body required: true schema: $ref: '#/definitions/Subnet' description: Parameters supplied to the create/update Subnet operation - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/Subnet' '201': description: '' schema: $ref: '#/definitions/Subnet' x-ms-long-running-operation: true summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets : get: tags: - Subnets operationId: microsoftAzureSubnetsList description: The List subnets operation retrieves all the subnets in a virtual network. parameters: - name: resourceGroupName in: path required: true type: string description: The name of the resource group. - name: virtualNetworkName in: path required: true type: string description: The name of the virtual network. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/SubnetListResult' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets definitions: SubnetListResult: properties: value: type: array items: $ref: '#/definitions/Subnet' description: Gets the subnets in a virtual network nextLink: type: string description: Gets the URL to get the next set of results. description: Response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network SubnetPropertiesFormat: properties: addressPrefix: type: string description: Gets or sets Address prefix for the subnet. networkSecurityGroup: $ref: '#/definitions/SubResource' description: Gets or sets the reference of the NetworkSecurityGroup resource routeTable: $ref: '#/definitions/SubResource' description: Gets or sets the reference of the RouteTable resource ipConfigurations: type: array items: $ref: '#/definitions/SubResource' description: Gets array of references to the network interface IP configurations using subnet provisioningState: type: string description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed required: - addressPrefix SubResource: properties: id: type: string description: Resource Id x-ms-azure-resource: true Subnet: properties: properties: x-ms-client-flatten: true $ref: '#/definitions/SubnetPropertiesFormat' name: type: string description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource etag: type: string description: A unique read-only string that changes whenever the resource is updated allOf: - $ref: '#/definitions/SubResource' description: Subnet in a VirtualNetwork resource parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'