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.
Service Bus API version 2022-10-01-preview (Azure#20725)
* Base Checkin * update API version to 2022-10-01-preview * Adding the partition count property * updated readme files * Changed the name of the partitions property to premiumMessagingPartitions * added headers - azure-asyncoperation * revertd changes for "modelAsString": true * revertign the modelasstring changes * ci Fixes Co-authored-by: REDMOND\ardsouza <ardsouza@microsoft.com> Co-authored-by: Ajit Maruti Navasare (MINDTREE LIMITED) <v-ajnav@microsoft.com> Co-authored-by: Ajit Navasare <ajitnavasare@microsoft.com>
- Loading branch information
Showing
83 changed files
with
8,836 additions
and
1 deletion.
There are no files selected for viewing
1,256 changes: 1,256 additions & 0 deletions
1,256
.../resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/AuthorizationRules.json
Large diffs are not rendered by default.
Oops, something went wrong.
185 changes: 185 additions & 0 deletions
185
...source-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/CheckNameAvailability.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,185 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "ServiceBusManagementClient", | ||
"description": "Azure Service Bus client", | ||
"version": "2022-10-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}/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.