-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Event Hub Geo DR - New API version 2023-01-01-preview #21994
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 82 commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
bad8538
Base Checkin
arundsouza aa10694
Replace API version with 2022-10-01-preview
arundsouza afdff42
Adding settings for Compaction
arundsouza b2c6973
Fixed examples
arundsouza 863c497
Adding new api version to README.md
damodaravadhani 32858d8
Getting PolicyRetention enum to be modelled as string
damodaravadhani abb8ece
Adding latest api as default
damodaravadhani 795b23c
Fixing LintDiff
damodaravadhani a33b8c0
Fixing Model Validation
damodaravadhani 6977e00
updated readme files
caf5d9e
Splitting the RetentionTimein Hours into two seperate properties.
arundsouza 2c77503
lint fix
2387ca3
fixed typo
e23a8fe
Revert "fixed typo"
arundsouza 0150fdf
Revert "lint fix"
arundsouza 9e64ee3
Revert "Splitting the RetentionTimein Hours into two seperate propert…
arundsouza cc126cb
Fixing examples
arundsouza abe81ee
removed the supperssion
bab92a6
Merge branch 'ardsouza/main/EH/2022-10-01' of https://github.com/dsou…
2d60d5c
added headers - azure-asyncoperation
v-Ajnava 3f97d93
fixing the CI failures
v-Ajnava 1217a25
Revert "added headers - azure-asyncoperation"
v-Ajnava 2f58b01
updated CI fixes
v-Ajnava c7db00b
headers fix for cluster catch
v-Ajnava 254c757
Base Checkin
arundsouza 1537a9c
replace API versions with 2023-01-01-preview
arundsouza 7753af2
Added Swagger representation and the examples for namespace Geo DR op…
arundsouza 23e56de
Added namespace with Geo DR create sample
arundsouza 6e11fd0
CI fixes
v-Ajnava c9ccb4d
CI fixes
v-Ajnava b0c487c
CI fixes 3
v-Ajnava 7ddcd66
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
v-Ajnava 761a110
CI fixes
v-Ajnava 0903a5e
pattern fix
v-Ajnava d13a00b
lint diff warning fixes
v-Ajnava ee3aae1
Adding parameter for maximumGracePeriodInMins on Failover operations
arundsouza 7839c07
Added descriptions and examples for Capture MSI
arundsouza 96309d5
avocado fix
damodaravadhani 95fd1df
fixes
damodaravadhani e008f3c
fix
damodaravadhani ce6a756
prettier fix
damodaravadhani 20acaad
try remove pattern
damodaravadhani 6a55887
Contract changes to fix pipelines
damodaravadhani 492ab48
fix
damodaravadhani ee6496f
fix
damodaravadhani 5aa3cc3
fix
damodaravadhani b5bbaa4
fix
damodaravadhani ed26922
fix
damodaravadhani e51b16e
nesting failover properties
damodaravadhani 0218238
contract fixes
damodaravadhani b851ece
contract fixes
damodaravadhani 861bc55
fix
damodaravadhani 2ebab8d
Rename cleanup policy from Compaction to Compact
schaudhari6254888 c4c37d7
eventhubs updates
schaudhari6254888 2429fec
description added for schema registry
schaudhari6254888 c8f8670
Merge branch 'main' of https://github.com/dsouzaarun/azure-rest-api-s…
schaudhari6254888 236b08d
Prettier check correction
schaudhari6254888 bc9fa5c
Prettier check correction2
schaudhari6254888 de66986
Prettier again
schaudhari6254888 fb5723e
Updating the eventhubs example file
schaudhari6254888 3b28af3
updates
schaudhari6254888 fffe08d
Cluster Provisioning state updates
schaudhari6254888 d07d065
Cluster Provisioning state updates2
schaudhari6254888 aa8bad1
base version
schaudhari6254888 b8aacd3
2023-01-01-preview
schaudhari6254888 38f1635
Regex removed
schaudhari6254888 340f4e9
regex added
schaudhari6254888 cb7906d
Merge branch 'ardsouza/main/EH/2023-01-01' of https://github.com/dsou…
schaudhari6254888 ea146e1
202 response added
schaudhari6254888 b9b0973
typo fixed
schaudhari6254888 4ee2594
Revert "reverting bad commit"
schaudhari6254888 89f7734
Merge branch 'ardsouza/main/EH/2023-01-01' of https://github.com/dsou…
schaudhari6254888 2e45b03
UPdates
schaudhari6254888 ac9dfe2
Merge branch 'main' into ardsouza/main/EH/2023-01-01
schaudhari6254888 b4d526b
Update package.json
schaudhari6254888 ced7796
UPdates
schaudhari6254888 10c985b
Merge branch 'ardsouza/main/EH/2023-01-01' of https://github.com/dsou…
schaudhari6254888 88a6d67
Removing schema from fail over payload
damodaravadhani 6089554
Update EHNamespaceFailover.json
damodaravadhani 4874812
add 200 code
damodaravadhani 5bb1517
Update examples
damodaravadhani 9a13f03
Update description
damodaravadhani b49c2d5
NSP api additions
damodaravadhani d659409
fixes
damodaravadhani 18f48d4
fixes
damodaravadhani dde8ab6
Changing error response type
damodaravadhani cdaebb9
Reverting the package.json
schaudhari6254888 8bf91e2
Reverting the package.json
schaudhari6254888 83191c5
Update readme.md
damodaravadhani d3862b0
Update EHNamespaceFailover.json
damodaravadhani 0264860
Update readme.md
damodaravadhani e547234
Update readme.md
damodaravadhani 10700a8
Update namespaces-preview.json
damodaravadhani 8807198
Update EHNameSpaceCreate.json
damodaravadhani d92cb5e
Prettier fix
schaudhari6254888 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
Large diffs are not rendered by default.
Oops, something went wrong.
schaudhari6254888 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
347 changes: 347 additions & 0 deletions
347
...hub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/ApplicationGroups.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,347 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "EventHubManagementClient", | ||
"description": "Azure Event Hubs client", | ||
"version": "2023-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.EventHub/namespaces/{namespaceName}/applicationGroups": { | ||
"get": { | ||
"tags": [ | ||
"ApplicationGroup" | ||
], | ||
"operationId": "ApplicationGroup_ListByNamespace", | ||
"x-ms-examples": { | ||
"ListApplicationGroups": { | ||
"$ref": "./examples/ApplicationGroup/ApplicationGroupListByNamespace.json" | ||
} | ||
}, | ||
"description": "Gets a list of application groups 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 ApplicationGroups successfully returned.", | ||
"schema": { | ||
"$ref": "#/definitions/ApplicationGroupListResult" | ||
} | ||
}, | ||
"default": { | ||
"description": "Eventhub error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups/{applicationGroupName}": { | ||
"put": { | ||
"tags": [ | ||
"ApplicationGroup" | ||
], | ||
"operationId": "ApplicationGroup_CreateOrUpdateApplicationGroup", | ||
"x-ms-azure-resource": true, | ||
"x-ms-examples": { | ||
"ApplicationGroupCreate": { | ||
"$ref": "./examples/ApplicationGroup/ApplicationGroupCreate.json" | ||
} | ||
}, | ||
"description": "Creates or updates an ApplicationGroup for a Namespace.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v2/definitions.json#/parameters/ApplicationGroupNameParameter" | ||
}, | ||
{ | ||
"name": "parameters", | ||
"in": "body", | ||
"required": true, | ||
"schema": { | ||
"$ref": "#/definitions/ApplicationGroup" | ||
}, | ||
"description": "The ApplicationGroup." | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "ApplicationGroup successfully created.", | ||
"schema": { | ||
"$ref": "#/definitions/ApplicationGroup" | ||
} | ||
}, | ||
"default": { | ||
"description": "Eventhub error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"delete": { | ||
"tags": [ | ||
"ApplicationGroup" | ||
], | ||
"operationId": "ApplicationGroup_Delete", | ||
"x-ms-examples": { | ||
"ApplicationGroupDelete": { | ||
"$ref": "./examples/ApplicationGroup/ApplicationGroupDelete.json" | ||
} | ||
}, | ||
"description": "Deletes an ApplicationGroup for a Namespace.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v2/definitions.json#/parameters/ApplicationGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "ApplicationGroup successfully deleted." | ||
}, | ||
"204": { | ||
"description": "No content." | ||
}, | ||
"default": { | ||
"description": "Eventhub error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"get": { | ||
"tags": [ | ||
"ApplicationGroup" | ||
], | ||
"operationId": "ApplicationGroup_Get", | ||
"x-ms-examples": { | ||
"ApplicationGroupGet": { | ||
"$ref": "./examples/ApplicationGroup/ApplicationGroupGet.json" | ||
} | ||
}, | ||
"description": "Gets an ApplicationGroup for a Namespace.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v2/definitions.json#/parameters/ApplicationGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Namespace ApplicationGroup returned successfully.", | ||
"schema": { | ||
"$ref": "#/definitions/ApplicationGroup" | ||
} | ||
}, | ||
"default": { | ||
"description": "Eventhub error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"ApplicationGroupListResult": { | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/ApplicationGroup" | ||
}, | ||
"description": "Result of the List Application Groups operation." | ||
}, | ||
"nextLink": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Link to the next set of results. Not empty if Value contains an incomplete list of Authorization Rules" | ||
} | ||
}, | ||
"description": "The response from the List Application Groups operation." | ||
}, | ||
"ApplicationGroup": { | ||
"type": "object", | ||
"properties": { | ||
"properties": { | ||
"type": "object", | ||
"x-ms-client-flatten": true, | ||
"properties": { | ||
"isEnabled": { | ||
"type": "boolean", | ||
"description": "Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed" | ||
}, | ||
"clientAppGroupIdentifier": { | ||
"type": "string", | ||
"description": "The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid)" | ||
}, | ||
"policies": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/ApplicationGroupPolicy" | ||
}, | ||
"x-ms-identifiers": [], | ||
"description": "List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic." | ||
} | ||
}, | ||
"required": [ | ||
"clientAppGroupIdentifier" | ||
] | ||
}, | ||
"systemData": { | ||
"readOnly": true, | ||
"description": "The system meta data relating to this resource.", | ||
"$ref": "../../../common/v1/definitions.json#/definitions/systemData" | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../common/v2/definitions.json#/definitions/ProxyResource" | ||
} | ||
], | ||
"description": "The Application Group object" | ||
}, | ||
"ApplicationGroupPolicy": { | ||
"type": "object", | ||
"discriminator": "type", | ||
"description": "Properties of the Application Group policy", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "The Name of this policy" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"ThrottlingPolicy" | ||
], | ||
"x-ms-enum": { | ||
"name": "ApplicationGroupPolicyType", | ||
"modelAsString": true | ||
}, | ||
"description": "Application Group Policy types" | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"type" | ||
] | ||
}, | ||
"ThrottlingPolicy": { | ||
"type": "object", | ||
"x-ms-discriminator-value": "ThrottlingPolicy", | ||
"description": "Properties of the throttling policy", | ||
"properties": { | ||
"rateLimitThreshold": { | ||
"format": "int64", | ||
"type": "integer", | ||
"description": "The Threshold limit above which the application group will be throttled.Rate limit is always per second." | ||
}, | ||
"metricId": { | ||
"type": "string", | ||
"description": "Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics section of Event Hub Namespace inside Azure Portal", | ||
"enum": [ | ||
"IncomingBytes", | ||
"OutgoingBytes", | ||
"IncomingMessages", | ||
"OutgoingMessages" | ||
], | ||
"x-ms-enum": { | ||
"name": "MetricId", | ||
"modelAsString": true | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"rateLimitThreshold", | ||
"metricId" | ||
], | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/ApplicationGroupPolicy" | ||
} | ||
] | ||
} | ||
}, | ||
"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.
Uh oh!
There was an error while loading. Please reload this page.