forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ServiceBus : Swagger Split and Added PrivateEndPointConnection API (A…
…zure#10071) * Swagger Split and Added PrivateEndPointConnection API * updated custom-words.txt * prettier check fix * updated Readme * removed the ub-referenced file * Operations API * fix avocado * fix for UniqueXmsEnumName * updated description * update * updated resource * fix for modelvalidation * version update in definition * added examples * updated examples * fix for avocado - INCONSISTENT_API_VERSION * updated azureresourceschema.md
- Loading branch information
Ajit Navasare
authored
Sep 10, 2020
1 parent
b813f80
commit 3f4d11b
Showing
37 changed files
with
8,031 additions
and
6,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1879,4 +1879,7 @@ Stix | |
STIX | ||
Mibps | ||
ntfs | ||
shamir_share | ||
networkrulesets | ||
Setget | ||
Ruleproperties | ||
shamir_share |
278 changes: 278 additions & 0 deletions
278
...source-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/IPFilterRules-preview.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,278 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "ServiceBusManagementClient", | ||
"description": "Azure Service Bus client for managing Namespace, IPFilter Rules, VirtualNetworkRules and Zone Redundant", | ||
"version": "2018-01-01-preview" | ||
}, | ||
"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.ServiceBus/namespaces/{namespaceName}/ipfilterrules": { | ||
"get": { | ||
"tags": [ | ||
"Namespaces" | ||
], | ||
"operationId": "Namespaces_ListIpFilterRules", | ||
"x-ms-examples": { | ||
"ListIpFilterRules": { | ||
"$ref": "./examples/NameSpaces/IPFilterRule/SBNameSpaceIPFilterRuleListAll.json" | ||
} | ||
}, | ||
"description": "Gets a list of IP Filter rules for a Namespace.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Namespace IpFilterRule successfully returned.", | ||
"schema": { | ||
"$ref": "#/definitions/IpFilterRuleListResult" | ||
} | ||
}, | ||
"default": { | ||
"description": "ServiceBus error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}": { | ||
"put": { | ||
"tags": [ | ||
"Namespaces" | ||
], | ||
"operationId": "Namespaces_CreateOrUpdateIpFilterRule", | ||
"x-ms-examples": { | ||
"NameSpaceIpFilterRuleCreate": { | ||
"$ref": "./examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleCreateorUpdate.json" | ||
} | ||
}, | ||
"description": "Creates or updates an IpFilterRule for a Namespace.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/IpFilterRuleNameParameter" | ||
}, | ||
{ | ||
"name": "parameters", | ||
"in": "body", | ||
"required": true, | ||
"schema": { | ||
"$ref": "#/definitions/IpFilterRule" | ||
}, | ||
"description": "The Namespace IpFilterRule." | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Namespace IpFilterRule created", | ||
"schema": { | ||
"$ref": "#/definitions/IpFilterRule" | ||
} | ||
}, | ||
"default": { | ||
"description": "ServiceBus error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"delete": { | ||
"tags": [ | ||
"Namespaces" | ||
], | ||
"operationId": "Namespaces_DeleteIpFilterRule", | ||
"x-ms-examples": { | ||
"NameSpaceIpFilterRuleDelete": { | ||
"$ref": "./examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleDelete.json" | ||
} | ||
}, | ||
"description": "Deletes an IpFilterRule for a Namespace.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/IpFilterRuleNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Namespace IpFilterRule successfully deleted." | ||
}, | ||
"204": { | ||
"description": "No content." | ||
}, | ||
"default": { | ||
"description": "ServiceBus error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"get": { | ||
"tags": [ | ||
"Namespaces" | ||
], | ||
"operationId": "Namespaces_GetIpFilterRule", | ||
"x-ms-examples": { | ||
"NameSpaceIpFilterRuleGet": { | ||
"$ref": "./examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleGet.json" | ||
} | ||
}, | ||
"description": "Gets an IpFilterRule for a Namespace by rule name.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/IpFilterRuleNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Namespace IpFilterRule returned successfully.", | ||
"schema": { | ||
"$ref": "#/definitions/IpFilterRule" | ||
} | ||
}, | ||
"default": { | ||
"description": "ServiceBus error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"IpFilterRule": { | ||
"properties": { | ||
"properties": { | ||
"x-ms-client-flatten": true, | ||
"properties": { | ||
"ipMask": { | ||
"type": "string", | ||
"description": "IP Mask" | ||
}, | ||
"action": { | ||
"type": "string", | ||
"description": "The IP Filter Action", | ||
"enum": [ | ||
"Accept", | ||
"Reject" | ||
], | ||
"x-ms-enum": { | ||
"name": "IPAction", | ||
"modelAsString": true | ||
} | ||
}, | ||
"filterName": { | ||
"type": "string", | ||
"description": "IP Filter name" | ||
} | ||
}, | ||
"description": "Properties supplied to create or update IpFilterRules" | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/definitions/Resource" | ||
} | ||
], | ||
"description": "Single item in a List or Get IpFilterRules operation" | ||
}, | ||
"IpFilterRuleListResult": { | ||
"properties": { | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/IpFilterRule" | ||
}, | ||
"description": "Result of the List IpFilter Rules operation." | ||
}, | ||
"nextLink": { | ||
"type": "string", | ||
"description": "Link to the next set of results. Not empty if Value contains an incomplete list of IpFilter Rules" | ||
} | ||
}, | ||
"description": "The response from the List namespace operation." | ||
} | ||
}, | ||
"parameters": {} | ||
} |
Oops, something went wrong.