Microsoft Azure Virtual Network Links API

The VirtualNetworkLinks API from Microsoft Azure, for virtualnetworklinks.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName} Link a VNet to a DNS forwarding ruleset · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I attach a virtual network to a DNS forwarding ruleset?”
“Can I avoid overwriting an existing ruleset link with If-None-Match?”
Tell an agent
Link a VNet to forwarding ruleset {dnsForwardingRulesetName} as {virtualNetworkLinkName}.
Create ruleset link {virtualNetworkLinkName} on {dnsForwardingRulesetName} with properties {properties}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName} Update a VNet link on a DNS forwarding ruleset · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change the metadata on an existing forwarding ruleset VNet link?”
“What can be patched on a DNS resolver ruleset's virtual network link?”
Tell an agent
Update ruleset link {virtualNetworkLinkName} on {dnsForwardingRulesetName} with {properties}.
Patch forwarding ruleset {dnsForwardingRulesetName} VNet link {virtualNetworkLinkName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName} Unlink a VNet from a DNS forwarding ruleset · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I detach a VNet from a DNS forwarding ruleset?”
“Is removing a forwarding ruleset's VNet link reversible?”
Tell an agent destructive · confirm first
Delete VNet link {virtualNetworkLinkName} from forwarding ruleset {dnsForwardingRulesetName}.
Remove ruleset {dnsForwardingRulesetName} link {virtualNetworkLinkName} only if etag is {ifMatch}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName} Get a VNet link on a DNS forwarding ruleset · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I see which VNet is linked to my DNS forwarding ruleset?”
“What properties does a DNS resolver ruleset's virtual network link have?”
Tell an agent
Get VNet link {virtualNetworkLinkName} on forwarding ruleset {dnsForwardingRulesetName}.
Show ruleset {dnsForwardingRulesetName} link {virtualNetworkLinkName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName} Link a VNet to a Private DNS zone · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I link a virtual network to a Private DNS zone so it can resolve records?”
“Can I create a private zone link in a specific location with tags?”
Tell an agent
Link a VNet to Private DNS zone {privateZoneName} as {virtualNetworkLinkName}.
Create private zone link {virtualNetworkLinkName} on {privateZoneName} in {resourceGroupName} of subscription {subscriptionId} with {properties}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName} Update a VNet link on a Private DNS zone · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I switch auto-registration on for an existing private zone VNet link?”
“Which tags are on a Private DNS zone's virtual network link, and can I replace them?”
Tell an agent
Update private zone link {virtualNetworkLinkName} on {privateZoneName} with {properties}.
Set tags {tags} on Private DNS zone {privateZoneName} link {virtualNetworkLinkName} in {resourceGroupName} of subscription {subscriptionId}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName} Unlink a VNet from a Private DNS zone · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What happens to auto-registered records when I remove a private zone's VNet link?”
“How do I unlink a virtual network from a Private DNS zone?”
Tell an agent destructive · confirm first
Delete VNet link {virtualNetworkLinkName} from private zone {privateZoneName}.
Remove Private DNS zone {privateZoneName} link {virtualNetworkLinkName} in {resourceGroupName} of subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName} Get a VNet link on a Private DNS zone · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Where do I check a virtual network link on my Private DNS zone?”
“Is auto-registration turned on for a private zone's VNet link?”
Tell an agent
Get VNet link {virtualNetworkLinkName} on private zone {privateZoneName}.
Show Private DNS zone {privateZoneName} link {virtualNetworkLinkName} in {resourceGroupName} of subscription {subscriptionId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-virtualnetworklinks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-virtualnetworklinks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure DnsResolverManagementClient Virtual Network…
  description: The DNS Resolver Management Client.
  version: 2020-04-01-preview
servers:
- url: https://management.azure.com
tags:
- name: VirtualNetworkLinks
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  : put:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksCreateorupdate
      description: Creates or updates a virtual network link to a DNS forwarding ruleset.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/DnsForwardingRulesetNameParameter'
      - $ref: '#/components/parameters/VirtualNetworkLinkNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/IfMatchParameter'
      - $ref: '#/components/parameters/IfNoneMatchParameter'
      responses:
        '200':
          description: The virtual network link to the DNS forwarding ruleset has been updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        '201':
          description: The virtual network link to the DNS forwarding ruleset has been created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        '202':
          description: The operation to upsert virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously.
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        Upsert virtual network link to a DNS forwarding ruleset:
          $ref: ./examples/VirtualNetworkLink_Put.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VirtualNetworkLink'
        description: Parameters supplied to the CreateOrUpdate operation.
        required: true
    patch:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksUpdate
      description: Updates a virtual network link to a DNS forwarding ruleset.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/DnsForwardingRulesetNameParameter'
      - $ref: '#/components/parameters/VirtualNetworkLinkNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/IfMatchParameter'
      responses:
        '200':
          description: The virtual network link to the DNS forwarding ruleset has been updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        '202':
          description: The operation to update virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously.
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        Update virtual network link to a DNS forwarding ruleset:
          $ref: ./examples/VirtualNetworkLink_Patch.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VirtualNetworkLinkPatch'
        description: Parameters supplied to the Update operation.
        required: true
    delete:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksDelete
      description: 'Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.'
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/DnsForwardingRulesetNameParameter'
      - $ref: '#/components/parameters/VirtualNetworkLinkNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/IfMatchParameter'
      responses:
        '200':
          description: The virtual network link to the DNS forwarding ruleset has been deleted.
        '202':
          description: The operation to delete virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously.
        '204':
          description: The virtual network link to the DNS forwarding ruleset was not found.
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        Delete virtual network link to a DNS forwarding ruleset:
          $ref: ./examples/VirtualNetworkLink_Delete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    get:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksGet
      description: Gets properties of a virtual network link to a DNS forwarding ruleset.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/DnsForwardingRulesetNameParameter'
      - $ref: '#/components/parameters/VirtualNetworkLinkNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The virtual network link to DNS forwarding ruleset was found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Retrieve virtual network link to a DNS forwarding ruleset:
          $ref: ./examples/VirtualNetworkLink_Get.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks
  : get:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksList
      description: Lists virtual network links to a DNS forwarding ruleset.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/DnsForwardingRulesetNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/TopParameter'
      responses:
        '200':
          description: List of virtual network links to a DNS forwarding ruleset.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLinkListResult'
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        List virtual network links to a DNS forwarding ruleset:
          $ref: ./examples/VirtualNetworkLink_List.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  : put:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksCreateorupdate
      description: Creates or updates a virtual network link to the specified Private DNS zone.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group.
        schema:
          type: string
      - name: privateZoneName
        in: path
        required: true
        description: The name of the Private DNS zone (without a terminating dot).
        schema:
          type: string
      - name: virtualNetworkLinkName
        in: path
        required: true
        description: The name of the virtual network link.
        schema:
          type: string
      - name: If-Match
        in: header
        required: false
        x-ms-client-name: IfMatch
        description: The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        schema:
          type: string
      - name: If-None-Match
        in: header
        required: false
        x-ms-client-name: IfNoneMatch
        description: Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The virtual network link to the Private DNS zone has been updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        '201':
          description: The virtual network link to the Private DNS zone has been created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        '202':
          description: The operation to upsert virtual network link to the Private DNS zone has been accepted and will complete asynchronously.
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        PUT Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkPut.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VirtualNetworkLink'
        description: Parameters supplied to the CreateOrUpdate operation.
        required: true
    patch:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksUpdate
      description: Updates a virtual network link to the specified Private DNS zone.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group.
        schema:
          type: string
      - name: privateZoneName
        in: path
        required: true
        description: The name of the Private DNS zone (without a terminating dot).
        schema:
          type: string
      - name: virtualNetworkLinkName
        in: path
        required: true
        description: The name of the virtual network link.
        schema:
          type: string
      - name: If-Match
        in: header
        required: false
        x-ms-client-name: IfMatch
        description: The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The virtual network link to the Private DNS zone has been updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        '202':
          description: The operation to link virtual network link to Private DNS zone has been accepted and will complete asynchronously.
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        PATCH Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkPatch.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VirtualNetworkLink'
        description: Parameters supplied to the Update operation.
        required: true
    delete:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksDelete
      description: 'Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.'
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group.
        schema:
          type: string
      - name: privateZoneName
        in: path
        required: true
        description: The name of the Private DNS zone (without a terminating dot).
        schema:
          type: string
      - name: virtualNetworkLinkName
        in: path
        required: true
        description: The name of the virtual network link.
        schema:
          type: string
      - name: If-Match
        in: header
        required: false
        x-ms-client-name: IfMatch
        description: The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The virtual network link to the Private DNS zone has been deleted.
        '202':
          description: The operation to delete virtual network link to the Private DNS zone has been accepted and will complete asynchronously.
        '204':
          description: The virtual network link to the Private DNS zone was not found.
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        DELETE Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkDelete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    get:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksGet
      description: Gets a virtual network link to the specified Private DNS zone.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group.
        schema:
          type: string
      - name: privateZoneName
        in: path
        required: true
        description: The name of the Private DNS zone (without a terminating dot).
        schema:
          type: string
      - name: virtualNetworkLinkName
        in: path
        required: true
        description: The name of the virtual network link.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLink'
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        GET Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkGet.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks
  : get:
      tags:
      - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksList
      description: Lists the virtual network links to the specified Private DNS zone.
      parameters:
      - name: resourceGroupName
        in: path
        required: true
        description: The name of the resource group.
        schema:
          type: string
      - name: privateZoneName
        in: path
        required: true
        description: The name of the Private DNS zone (without a terminating dot).
        schema:
          type: string
      - name: $top
        in: query
        required: false
        description: The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links.
        schema:
          type: integer
          format: int32
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualNetworkLinkListResult'
        default:
          description: Default response. It will be deserialized as per the Error definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Get Private DNS Zone Virtual Network Links:
          $ref: ./examples/VirtualNetworkLinkList.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  parameters:
    VirtualNetworkLinkNameParameter:
      name: virtualNetworkLinkName
      in: path
      required: true
      description: The name of the virtual network link.
      x-ms-parameter-location: method
      schema:
        type: string
    IfMatchParameter:
      name: If-Match
      in: header
      required: false
      x-ms-client-name: IfMatch
      description: ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
      x-ms-parameter-location: method
      schema:
        type: string
    DnsForwardingRulesetNameParameter:
      name: dnsForwardingRulesetName
      in: path
      required: true
      description: The name of the DNS forwarding ruleset.
      x-ms-parameter-location: method
      schema:
        type: string
    IfNoneMatchParameter:
      name: If-None-Match
      in: header
      required: false
      x-ms-client-name: IfNoneMatch
      description: Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.
      x-ms-parameter-location: method
      schema:
        type: string
    TopParameter:
      name: $top
      in: query
      required: false
      description: The maximum number of results to return. If not specified, returns up to 100 results.
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: Client Api Version.
      schema:
        type: string
  schemas:
    CloudErrorBody:
      description: The body of an error message
      type: object
      properties:
        code:
          description: The error code
          type: string
        message:
          description: A description of what caused the error
          type: string
        target:
          description: The target resource of the error message
          type: string
        details:
          description: Extra error information
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
          x-ms-identifiers: []
      x-ms-external: true
    CloudError:
      description: An error message
      type: object
      properties:
        error:
          description: The error message body
          $ref: '#/components/schemas/CloudErrorBody'
      x-ms-external: true
    VirtualNetworkLink:
      description: Describes a virtual network link.
      type: object
      properties:
        etag:
          description: ETag of the virtual network link.
          type: string
          readOnly: true
        properties:
          description: Properties of the virtual network link.
          $ref: '#/components/schemas/VirtualNetworkLinkProperties'
          x-ms-client-flatten: true
        systemData:
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
          description: Metadata pertaining to creation and last modification of the resource.
          readOnly: true
      allOf:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource
    ProvisioningState:
      description: The current provisioning state of the resource.
      type: string
      enum:
      - Creating
      - Updating
      - Deleting
      - Succeeded
      - Failed
      - Canceled
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
    SubResource:
      description: Reference to another ARM resource.
      type: object
      properties:
        id:
          type: string
          description: Resource ID.
      x-ms-azure-resource: true
    VirtualNetworkLinkPatchProperties:
      description: Represents the updatable properties of the virtual network link.
      type: object
      properties:
        metadata:
          description: Metadata attached to the virtual network link.
          type: object
          additionalProperties:
            type: string
    VirtualNetworkLinkProperties:
      description: Represents the properties of a virtual network link.
      type: object
      properties:
        virtualNetwork:
          description: The reference to the virtual network. This cannot be changed after creation.
          $ref: '#/components/schemas/SubResource'
        metadata:
          description: Metadata attached to the virtual network link.
          type: object
          additionalProperties:
            type: string
        provisioningState:
          description: The current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored.
          $ref: '#/components/schemas/ProvisioningState'
          readOnly: true
    VirtualNetworkLinkPatch:
      description: Describes a virtual network link for PATCH operation.
      type: object
      properties:
        properties:
          description: Updatable properties of the virtual network link.
          $ref: '#/components/schemas/VirtualNetworkLinkPatchProperties'
          x-ms-client-flatten: true
    VirtualNetworkLinkListResult:
      description: The response to an enumeration operation on virtual network links.
      type: object
      properties:
        value:
          description: Enumeration of the virtual network links.
          type: array
          items:
            $ref: '#/components/schemas/VirtualNetworkLink'
        nextLink:
          description: The continuation token for the next page of results.
          type: string
          readOnly: true
    TrackedResource:
      description: The resource model definition for a ARM tracked top level resource
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
          description: Resource tags.
        location:
          type: string
          x-ms-mutability:
          - read
          - create
          description: The Azure Region where the resource lives
      allOf:
      - $ref: '#/components/schemas/Resource'
    Resource:
      description: The core properties of ARM resources
      properties:
        id:
          type: string
          readOnly: true
          description: Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
        name:
          type: string
          readOnly: true
          description: The name of the resource
        type:
          type: string
          readOnly: true
          description: The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
      x-ms-azure-resource: true
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow