{
  "openapi": "3.0.1",
  "info": {
    "title": "NetworkManagementClient",
    "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
    "version": "2019-11-01"
  },
  "servers": [
    {
      "url": "https://management.azure.com/"
    }
  ],
  "security": [
    {
      "azure_auth": [
        "user_impersonation"
      ]
    }
  ],
  "paths": {
    "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups": {
      "get": {
        "tags": [
          "IpGroups"
        ],
        "description": "Gets all IpGroups in a subscription.",
        "operationId": "IpGroups_List",
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "description": "Client API version.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request successful. The operation returns a list of ipGroups resources.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IpGroupListResult"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Error code."
                    },
                    "details": {
                      "type": "array",
                      "description": "Error details.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "description": "Error code."
                          },
                          "message": {
                            "type": "string",
                            "description": "Error message."
                          },
                          "target": {
                            "type": "string",
                            "description": "Error target."
                          }
                        },
                        "description": "Common error details representation."
                      }
                    },
                    "innerError": {
                      "type": "string",
                      "description": "Inner error message."
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message."
                    },
                    "target": {
                      "type": "string",
                      "description": "Error target."
                    }
                  },
                  "description": "Common error representation."
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups": {
      "get": {
        "tags": [
          "IpGroups"
        ],
        "description": "Gets all IpGroups in a resource group.",
        "operationId": "IpGroups_ListByResourceGroup",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Client API version.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request successful. The operation returns a list of ipGroups resources.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IpGroupListResult"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Error code."
                    },
                    "details": {
                      "type": "array",
                      "description": "Error details.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "description": "Error code."
                          },
                          "message": {
                            "type": "string",
                            "description": "Error message."
                          },
                          "target": {
                            "type": "string",
                            "description": "Error target."
                          }
                        },
                        "description": "Common error details representation."
                      }
                    },
                    "innerError": {
                      "type": "string",
                      "description": "Inner error message."
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message."
                    },
                    "target": {
                      "type": "string",
                      "description": "Error target."
                    }
                  },
                  "description": "Common error representation."
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}": {
      "get": {
        "tags": [
          "IpGroups"
        ],
        "description": "Gets the specified ipGroups.",
        "operationId": "IpGroups_Get",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ipGroupsName",
            "in": "path",
            "description": "The name of the ipGroups.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Client API version.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request successful. The operation returns the resulting IpGroups resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IpGroup"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Error code."
                    },
                    "details": {
                      "type": "array",
                      "description": "Error details.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "description": "Error code."
                          },
                          "message": {
                            "type": "string",
                            "description": "Error message."
                          },
                          "target": {
                            "type": "string",
                            "description": "Error target."
                          }
                        },
                        "description": "Common error details representation."
                      }
                    },
                    "innerError": {
                      "type": "string",
                      "description": "Inner error message."
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message."
                    },
                    "target": {
                      "type": "string",
                      "description": "Error target."
                    }
                  },
                  "description": "Common error representation."
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "IpGroups"
        ],
        "description": "Creates or updates an ipGroups in a specified resource group.",
        "operationId": "IpGroups_CreateOrUpdate",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ipGroupsName",
            "in": "path",
            "description": "The name of the ipGroups.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Client API version.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Parameters supplied to the create or update IpGroups operation.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IpGroup"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Request successful. The operation returns the resulting ipGroups resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IpGroup"
                }
              }
            }
          },
          "201": {
            "description": "Create successful. The operation returns the resulting ipGroups resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IpGroup"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Error code."
                    },
                    "details": {
                      "type": "array",
                      "description": "Error details.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "description": "Error code."
                          },
                          "message": {
                            "type": "string",
                            "description": "Error message."
                          },
                          "target": {
                            "type": "string",
                            "description": "Error target."
                          }
                        },
                        "description": "Common error details representation."
                      }
                    },
                    "innerError": {
                      "type": "string",
                      "description": "Inner error message."
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message."
                    },
                    "target": {
                      "type": "string",
                      "description": "Error target."
                    }
                  },
                  "description": "Common error representation."
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "IpGroups"
        ],
        "description": "Deletes the specified ipGroups.",
        "operationId": "IpGroups_Delete",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ipGroupsName",
            "in": "path",
            "description": "The name of the ipGroups.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Client API version.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Delete successful."
          },
          "202": {
            "description": "Accepted and the operation will complete asynchronously."
          },
          "204": {
            "description": "Delete successful."
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Error code."
                    },
                    "details": {
                      "type": "array",
                      "description": "Error details.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "description": "Error code."
                          },
                          "message": {
                            "type": "string",
                            "description": "Error message."
                          },
                          "target": {
                            "type": "string",
                            "description": "Error target."
                          }
                        },
                        "description": "Common error details representation."
                      }
                    },
                    "innerError": {
                      "type": "string",
                      "description": "Inner error message."
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message."
                    },
                    "target": {
                      "type": "string",
                      "description": "Error target."
                    }
                  },
                  "description": "Common error representation."
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "IpGroups"
        ],
        "description": "Updates tags of an IpGroups resource.",
        "operationId": "IpGroups_UpdateGroups",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ipGroupsName",
            "in": "path",
            "description": "The name of the ipGroups.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Client API version.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Parameters supplied to the update ipGroups operation.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tags": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Resource tags."
                  }
                },
                "description": "Tags object for patch operations."
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Request successful. The operation returns the resulting ipGroups resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IpGroup"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Error code."
                    },
                    "details": {
                      "type": "array",
                      "description": "Error details.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "description": "Error code."
                          },
                          "message": {
                            "type": "string",
                            "description": "Error message."
                          },
                          "target": {
                            "type": "string",
                            "description": "Error target."
                          }
                        },
                        "description": "Common error details representation."
                      }
                    },
                    "innerError": {
                      "type": "string",
                      "description": "Inner error message."
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message."
                    },
                    "target": {
                      "type": "string",
                      "description": "Error target."
                    }
                  },
                  "description": "Common error representation."
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "IpGroup": {
        "properties": {
          "etag": {
            "type": "string",
            "description": "A unique read-only string that changes whenever the resource is updated.",
            "readOnly": true
          },
          "properties": {
            "$ref": "#/components/schemas/IpGroupPropertiesFormat"
          }
        },
        "description": "The IpGroups resource information.",
        "allOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Resource ID."
              },
              "location": {
                "type": "string",
                "description": "Resource location."
              },
              "name": {
                "type": "string",
                "description": "Resource name.",
                "readOnly": true
              },
              "tags": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Resource tags."
              },
              "type": {
                "type": "string",
                "description": "Resource type.",
                "readOnly": true
              }
            },
            "description": "Common resource representation."
          }
        ]
      },
      "IpGroupListResult": {
        "type": "object",
        "properties": {
          "nextLink": {
            "type": "string",
            "description": "URL to get the next set of results."
          },
          "value": {
            "type": "array",
            "description": "The list of IpGroups information resources.",
            "items": {
              "$ref": "#/components/schemas/IpGroup"
            }
          }
        },
        "description": "Response for the ListIpGroups API service call."
      },
      "IpGroupPropertiesFormat": {
        "type": "object",
        "properties": {
          "firewalls": {
            "type": "array",
            "description": "List of references to Azure resources that this IpGroups is associated with.",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Resource ID."
                }
              },
              "description": "Reference to another subresource."
            }
          },
          "ipAddresses": {
            "type": "array",
            "description": "IpAddresses/IpAddressPrefixes in the IpGroups resource.",
            "items": {
              "type": "string"
            }
          },
          "provisioningState": {
            "type": "string",
            "description": "The current provisioning state.",
            "readOnly": true,
            "enum": [
              "Succeeded",
              "Updating",
              "Deleting",
              "Failed"
            ]
          }
        },
        "description": "The IpGroups property information."
      }
    },
    "securitySchemes": {
      "azure_auth": {
        "type": "oauth2",
        "description": "Azure Active Directory OAuth2 Flow."
      }
    }
  }
}