-
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
Changes from 87 commits
bad8538
aa10694
afdff42
b2c6973
863c497
32858d8
abb8ece
795b23c
a33b8c0
6977e00
caf5d9e
2c77503
2387ca3
e23a8fe
0150fdf
9e64ee3
cc126cb
abe81ee
bab92a6
2d60d5c
3f97d93
1217a25
2f58b01
c7db00b
254c757
1537a9c
7753af2
23e56de
6e11fd0
c9ccb4d
b0c487c
7ddcd66
761a110
0903a5e
d13a00b
ee3aae1
7839c07
96309d5
95fd1df
e008f3c
ce6a756
20acaad
6a55887
492ab48
ee6496f
5aa3cc3
b5bbaa4
ed26922
e51b16e
0218238
b851ece
861bc55
2ebab8d
c4c37d7
2429fec
c8f8670
236b08d
bc9fa5c
de66986
fb5723e
3b28af3
fffe08d
d07d065
aa8bad1
b8aacd3
38f1635
340f4e9
cb7906d
ea146e1
b9b0973
4ee2594
89f7734
2e45b03
ac9dfe2
b4d526b
ced7796
10c985b
88a6d67
6089554
4874812
5bb1517
9a13f03
b49c2d5
d659409
18f48d4
dde8ab6
cdaebb9
8bf91e2
83191c5
d3862b0
0264860
e547234
10700a8
8807198
d92cb5e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
schaudhari6254888 marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ | |
"typescript": "~5.0.4" | ||
}, | ||
"private": true | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Revert changes to this file There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @schaudhari6254888, please revert changes here |
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": {} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.