-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Service Bus : Adding 2021-11-01 Api Version #16532
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
b57a4a3
Added 2021-11-01 folder for new api version
damodaravadhani 5e7d763
Changed api version to 2021-11-01
damodaravadhani ccc3573
Changed SBQueue allof to point to ProxyResource
damodaravadhani 77f9f19
added operation Display to operations and Proxyresource addition to A…
damodaravadhani bb05590
Changed network rule set definition to inherit from ProxyResource
damodaravadhani 00c1198
Changed rule definition allOf to ProxyResource
damodaravadhani 8caf26c
Changed SBSubscription allOf to ProxyResource
damodaravadhani 63dfe34
Change PrivateEndpointConnection allOf to ProxyResource
damodaravadhani 13cfe19
Changed SBTopic allOf to ProxyResource
damodaravadhani 1097f87
Added alternate Name to SBNamespaceProperties
damodaravadhani 4d68d17
Added parameters dictionary to Rules.json, Action, SqlFilter
damodaravadhani 24701a6
Changes to SBAuth and CheckName
damodaravadhani 20788e8
Added description to rules and 204 to delete in disaster config
damodaravadhani b9d04fe
Added 204 response to DisasterConfigDelete
damodaravadhani 81f4d22
Prettier check fix
damodaravadhani 2e3f4ce
Changed disasterRecoveryConfigs auth rules type, defined new property…
damodaravadhani cc0fa2f
Added type object to SBUpdateNamespaceProperties
damodaravadhani f3a120c
Prettier fix
damodaravadhani 08ff45e
Removed parameters from Rules.json
damodaravadhani a35a3aa
Added type object to definitions
damodaravadhani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,256 changes: 1,256 additions & 0 deletions
1,256
...ervicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/AuthorizationRules.json
Large diffs are not rendered by default.
Oops, something went wrong.
185 changes: 185 additions & 0 deletions
185
...icebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/CheckNameAvailability.json
This file contains hidden or 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,185 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "title": "ServiceBusManagementClient", | ||
| "description": "Azure Service Bus client", | ||
| "version": "2021-11-01" | ||
| }, | ||
| "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}/providers/Microsoft.ServiceBus/CheckNameAvailability": { | ||
| "post": { | ||
| "tags": [ | ||
| "Namespaces" | ||
| ], | ||
| "operationId": "Namespaces_CheckNameAvailability", | ||
| "x-ms-examples": { | ||
| "NameSpaceCheckNameAvailability": { | ||
| "$ref": "./examples/NameSpaces/SBNameSpaceCheckNameAvailability.json" | ||
| } | ||
| }, | ||
| "description": "Check the give namespace name availability.", | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "#/definitions/CheckNameAvailability" | ||
| }, | ||
| "description": "Parameters to check availability of the given namespace name" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "check availability returned successfully.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CheckNameAvailabilityResult" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "ServiceBus error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability": { | ||
| "post": { | ||
| "tags": [ | ||
| "DisasterRecoveryConfigs" | ||
| ], | ||
| "operationId": "DisasterRecoveryConfigs_CheckNameAvailability", | ||
| "x-ms-examples": { | ||
| "AliasNameAvailability": { | ||
| "$ref": "./examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json" | ||
| } | ||
| }, | ||
| "description": "Check the give namespace name availability.", | ||
| "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" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "#/definitions/CheckNameAvailability" | ||
| }, | ||
| "description": "Parameters to check availability of the given namespace name" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "check availability returned successfully.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CheckNameAvailabilityResult" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "ServiceBus error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "definitions": { | ||
| "CheckNameAvailability": { | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "type": "string", | ||
| "description": "The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number." | ||
| } | ||
| }, | ||
| "required": [ | ||
| "name" | ||
| ], | ||
| "description": "Description of a Check Name availability request properties." | ||
| }, | ||
| "CheckNameAvailabilityResult": { | ||
| "type": "object", | ||
| "properties": { | ||
| "message": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The detailed info regarding the reason associated with the namespace." | ||
| }, | ||
| "nameAvailable": { | ||
| "type": "boolean", | ||
| "description": "Value indicating namespace is availability, true if the namespace is available; otherwise, false." | ||
| }, | ||
| "reason": { | ||
| "$ref": "#/definitions/UnavailableReason", | ||
| "description": "The reason for unavailability of a namespace." | ||
| } | ||
| }, | ||
| "description": "Description of a Check Name availability request properties." | ||
| }, | ||
| "UnavailableReason": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "None", | ||
| "InvalidName", | ||
| "SubscriptionIsDisabled", | ||
| "NameInUse", | ||
| "NameInLockdown", | ||
| "TooManyNamespaceInCurrentSubscription" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "UnavailableReason", | ||
| "modelAsString": false | ||
| }, | ||
| "description": "Specifies the reason for the unavailability of the service." | ||
| } | ||
| }, | ||
| "parameters": {} | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
POST action must be on a single resource.
https://armwiki.azurewebsites.net/api_contracts/guidelines/rpc.html#rpc014-post-action-must-operate-on-single-resource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The POST action is performed on a single resource by passing the resource name in the body. There is a slight difference in handing RBAC, but it's okay if this API already exists and is working.