Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Network to add version 9999-99-99 #5174

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,303 @@
{
"swagger": "2.0",
"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": "9999-99-99"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": {
"delete": {
"tags": [
"ApplicationSecurityGroups"
],
"operationId": "ApplicationSecurityGroups_Delete",
"description": "Deletes the specified application security group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "applicationSecurityGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the application security group."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"204": {
"description": "Request successful. Resource does not exist."
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
"200": {
"description": "Delete successful."
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Delete application security group": { "$ref": "./examples/ApplicationSecurityGroupDelete.json" }
}
},
"get": {
"tags": [
"ApplicationSecurityGroups"
],
"operationId": "ApplicationSecurityGroups_Get",
"description": "Gets information about the specified application security group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "applicationSecurityGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the application security group."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation returns the specified application security group resource.",
"schema": {
"$ref": "#/definitions/ApplicationSecurityGroup"
}
}
},
"x-ms-examples": {
"Get application security group": { "$ref": "./examples/ApplicationSecurityGroupGet.json" }
}
},
"put": {
"tags": [
"ApplicationSecurityGroups"
],
"operationId": "ApplicationSecurityGroups_CreateOrUpdate",
"description": "Creates or updates an application security group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "applicationSecurityGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the application security group."
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApplicationSecurityGroup"
},
"description": "Parameters supplied to the create or update ApplicationSecurityGroup operation."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"201": {
"description": "Create successful. The operation returns the resulting application security group resource.",
"schema": {
"$ref": "#/definitions/ApplicationSecurityGroup"
}
},
"200": {
"description": "Update successful. The operation returns the resulting application security group resource.",
"schema": {
"$ref": "#/definitions/ApplicationSecurityGroup"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Create application security group": { "$ref": "./examples/ApplicationSecurityGroupCreate.json" }
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": {
"get": {
"tags": [
"ApplicationSecurityGroups"
],
"operationId": "ApplicationSecurityGroups_ListAll",
"description": "Gets all application security groups in a subscription.",
"parameters": [
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation returns a list of application security group resources.",
"schema": {
"$ref": "#/definitions/ApplicationSecurityGroupListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List all application security groups": { "$ref": "./examples/ApplicationSecurityGroupListAll.json" }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": {
"get": {
"tags": [
"ApplicationSecurityGroups"
],
"operationId": "ApplicationSecurityGroups_List",
"description": "Gets all the application security groups in a resource group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation returns a list of application security group resources.",
"schema": {
"$ref": "#/definitions/ApplicationSecurityGroupListResult"
}
}
},
"x-ms-examples": {
"List load balancers in resource group": { "$ref": "./examples/ApplicationSecurityGroupList.json" }
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"ApplicationSecurityGroup": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ApplicationSecurityGroupPropertiesFormat",
"description": "Properties of the application security group."
},
"etag": {
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
}
},
"allOf": [
{
"$ref": "./network.json#/definitions/Resource"
}
],
"description": "An application security group in a resource group."
},
"ApplicationSecurityGroupPropertiesFormat": {
"properties": {
"resourceGuid": {
"readOnly": true,
"type": "string",
"description": "The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
},
"provisioningState": {
"readOnly": true,
"type": "string",
"description": "The provisioning state of the application security group resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'."
}
},
"description": "Application security group properties."
},
"ApplicationSecurityGroupListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationSecurityGroup"
},
"description": "A list of application security groups."
},
"nextLink": {
"readOnly": true,
"type": "string",
"description": "The URL to get the next set of results."
}
},
"description": "A list of application security groups."
}
}
}
Loading