Azure Networking Services Vip Swap API

The VipSwap API from Azure Networking Services — 2 operation(s) for vipswap.

GitHub OpenAPI

Operations 3

GET /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots Vip swap list #
GET /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource} Vip swap get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource} Vip swap create #

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/azure-networking-services:azure-networking-services-vipswap-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

azure-networking-services-vipswap-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Vip Swap API
  version: '2026-03-01'
  description: APIs to manage Microsoft Azure network resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: VipSwap
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots
  : get:
      operationId: VipSwap_List
      tags:
      - VipSwap
      description: Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      - name: resourceName
        in: path
        description: The name of the cloud service.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SwapResourceListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Vip swap list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}
  : get:
      operationId: VipSwap_Get
      tags:
      - VipSwap
      description: Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      - name: resourceName
        in: path
        description: The name of the cloud service.
        required: true
        schema:
          type: string
      - name: singletonResource
        in: path
        description: The name of the singleton resource.
        required: true
        x-ms-enum:
          name: SingletonResource
          modelAsString: false
        schema:
          type: string
          enum:
          - swap
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SwapResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Vip swap get
      x-summary-source: derived
    put:
      operationId: VipSwap_Create
      tags:
      - VipSwap
      description: Performs vip swap operation on swappable cloud services.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      - name: resourceName
        in: path
        description: The name of the cloud service.
        required: true
        schema:
          type: string
      - name: singletonResource
        in: path
        description: The name of the singleton resource.
        required: true
        x-ms-enum:
          name: SingletonResource
          modelAsString: false
        schema:
          type: string
          enum:
          - swap
      responses:
        '200':
          description: The request has succeeded.
        '202':
          description: Resource operation accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwapResource'
        description: SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.
        required: true
      summary: Vip swap create
      x-summary-source: derived
components:
  schemas:
    SlotType:
      type: string
      description: Specifies slot info on a cloud service
      enum:
      - Production
      - Staging
      x-ms-enum:
        name: SlotType
        modelAsString: false
        values:
        - name: Production
          value: Production
          description: Production
        - name: Staging
          value: Staging
          description: Staging
    SwapResourceProperties:
      type: object
      description: Swap resource properties
      properties:
        slotType:
          $ref: '#/components/schemas/SlotType'
          description: Specifies slot info on a cloud service
    SwapResourceListResult:
      type: object
      description: SwapResource List with single entry to represent slot type on the specified cloud service.
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/SwapResource'
    ProxyResourceWithReadOnlyID:
      type: object
      description: Proxy resource representation.
      properties:
        id:
          type: string
          description: Resource ID.
          readOnly: true
        name:
          type: string
          description: Resource name.
          readOnly: true
        type:
          type: string
          description: Resource type.
          readOnly: true
      x-ms-azure-resource: true
    SwapResource:
      type: object
      description: SwapResource to represent slot type on the specified cloud service.
      properties:
        properties:
          $ref: '#/components/schemas/SwapResourceProperties'
          description: Swap resource properties
      allOf:
      - $ref: '#/components/schemas/ProxyResourceWithReadOnlyID'
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
  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.