Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d0a2469
Adding initial swagger and examples for Notification Hubs api version…
kmiecikt Apr 25, 2023
533291f
Notification Hubs API 2023-01-01-preview: updating examples
kmiecikt Apr 26, 2023
fb612b0
Notification Hubs API 2023-01-01-preview: updating swagger
kmiecikt Apr 26, 2023
a89f4e8
Merge branch 'main' of https://github.com/kmiecikt/azure-rest-api-spe…
kmiecikt Apr 26, 2023
933436f
Notification Hubs: resolving some of issues found by automation
kmiecikt Apr 27, 2023
abe0560
Notification Hubs examples: removing null values
kmiecikt Apr 27, 2023
0326934
Notification Hubs: fixing file name for one of examples
kmiecikt Apr 28, 2023
ee04bae
Notification Hubs: adding example for operations
kmiecikt Apr 28, 2023
86ad29c
Notification Hubs: udpating example file name
kmiecikt Apr 28, 2023
5745ae4
Notification Hubs: udpating examples
kmiecikt Apr 28, 2023
258a26c
Notification Hubs: adding Private Link / Private Endpoint Connection …
kmiecikt Apr 28, 2023
5360425
Notification Hubs: updating example file name
kmiecikt Apr 28, 2023
247c697
Notification Hubs: updating parameters in examples for Private Link
kmiecikt Apr 28, 2023
ab8ec0c
Notification Hubs: updating parameters in examples for Private Link
kmiecikt Apr 28, 2023
6dd845e
NotificationHubs: updating custom words
kmiecikt Apr 28, 2023
77ce27c
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
kmiecikt Apr 28, 2023
a783fc9
Notification Hubs: updating formatting (pretty-fix)
kmiecikt Apr 28, 2023
d197ee5
Notification Hubs: updating readme.md to include new API version
kmiecikt Apr 28, 2023
1b924ec
Notification Hubs: removing internal operations
kmiecikt May 4, 2023
60779ab
Notification Hubs: removing internal operations
kmiecikt May 4, 2023
2b08388
New API: fixing camelCase linter errors
kmiecikt May 4, 2023
42541a9
Notification Hubs: using shared parameters
kmiecikt May 4, 2023
df53eca
Notification Hubs: adding reusable internal parameters
kmiecikt May 4, 2023
0276482
Notification Hubs: fixing patterns
kmiecikt May 4, 2023
945f51a
Notification Hubs: using shared parameters for Authorization Rules
kmiecikt May 5, 2023
8c1d8cb
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
kmiecikt May 5, 2023
2c6f7ce
Notification Hubs: adding x-ms-azure-resource annotations
kmiecikt May 5, 2023
0b17010
Notification Hubs: marking id, type and name as readonly.
kmiecikt May 8, 2023
1b8e8f3
Notification Hubs: removing incorrect POST operations
kmiecikt May 8, 2023
ba1f4e0
Notification Hubs: removing incorrect x-ms-pageable annotation
kmiecikt May 8, 2023
8fcf899
Notification Hubs: cleanup in parameters order
kmiecikt May 8, 2023
974abdb
Notification Hubs: adding x-ms-identifiers and removed invalid examples
kmiecikt May 9, 2023
a9eaac1
Notification Hubs: reusing common Private Link information
kmiecikt May 9, 2023
418236d
Notification Hubs: reusing common Private Link information (fixing fi…
kmiecikt May 9, 2023
d828b26
Notification Hubs: updating types for Patch parameters
kmiecikt May 9, 2023
04c08fd
Notification Hubs: using in-swagger PrivateEndpointConnectionName
kmiecikt May 9, 2023
7982d0a
Notification Hubs: adding pattern for Private Link subResourceName
kmiecikt May 10, 2023
e82c556
Notification Hubs: fixing compatibility for PATCH / PUT parameters
kmiecikt May 10, 2023
bb52bdf
Notification Hubs: marking required parameters
kmiecikt May 10, 2023
4952ce4
Notification Hubs: updating required parameters
kmiecikt May 10, 2023
b2bbdc5
Notification Hubs: using "parameters" name for body
kmiecikt May 10, 2023
567a542
Notification Hubs: fixes in examples
kmiecikt May 10, 2023
8ea96b6
Notification Hubs: annotating 202 DELETE operations
kmiecikt May 10, 2023
251c5a1
Notification Hubs: adding parameters and schemas descriptions (part 1)
kmiecikt May 10, 2023
c604489
Notification Hubs: adding default ErrorResponse schema.
kmiecikt May 10, 2023
3c9119d
Notification Hub: fixing content types for Private Link operations
kmiecikt May 10, 2023
b61dab9
Notification Hubs: reverting separate type for Namespace Create Or Up…
kmiecikt May 10, 2023
6217ba8
Notification Hubs: adding schema descriptions
kmiecikt May 11, 2023
787f5a5
Notification Hubs: fixing last set of fixable linter warnings.
kmiecikt May 11, 2023
c0bd66f
Notification Hubs: reusing common ErrorResponse
kmiecikt May 11, 2023
f0bd97d
Notification Hubs: fixing references to common ErrorResponse
kmiecikt May 11, 2023
56e1768
Notification Hubs: fixing reference to ErrorResponse
kmiecikt May 11, 2023
548d551
Notification Hubs: fixing spelling errors
kmiecikt May 11, 2023
8f7a8ff
Notification Hubs: next set of fixes for linter errors
kmiecikt May 11, 2023
aadb6fc
Notification Hubs: updating example with 200 status code
kmiecikt May 11, 2023
a360e64
Notification Hubs: fixing some of breaking changes
kmiecikt May 11, 2023
4a551c8
Notification Hubs: using TrackedResource common type
kmiecikt May 11, 2023
6c801f2
Notification Hubs: using ProxyResource common type
kmiecikt May 11, 2023
22a2c04
Notification Hubs: removing unused properties from Proxy Resources
kmiecikt May 11, 2023
a099a1f
Notification Hubs: updating examples
kmiecikt May 11, 2023
53f55aa
Notification Hubs: bringing back tags (for compatibility)
kmiecikt May 11, 2023
cf25629
Notification Hubs: updating tags for PATCH parameters
kmiecikt May 11, 2023
ba04139
Notification Hubs: removing parameters already defined in common classes
kmiecikt May 11, 2023
adcf5c8
Notification Hubs: fixing formatting
kmiecikt May 11, 2023
9c5f741
Notification Hubs: adding 200 response code to DELETE operations
kmiecikt May 12, 2023
be4b42c
Notificatin Hubs: reusing common class for all LIST resources
kmiecikt May 12, 2023
49d2421
Notification Hubs: fixing next set of compliance issues
kmiecikt May 12, 2023
473f337
Notification Hubs: updating examples
kmiecikt May 12, 2023
25bc22d
Notification Hubs: fixing next set of compliance issues
kmiecikt May 12, 2023
950ccec
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
kmiecikt May 12, 2023
dba2fb9
Notification Hubs: reusing common type of OperationsListResult
kmiecikt May 12, 2023
c8f75d3
Notification Hubs: switching back to non-common OperationListResult
kmiecikt May 12, 2023
bb04c67
Notification Hubs: fixing new breaking changes
kmiecikt May 12, 2023
a71d0d4
Notification Hubs: fixing new breaking changes
kmiecikt May 12, 2023
444d48b
Notification Hubs: adding PublicNetworkAccess property
kmiecikt May 16, 2023
2234738
Notification Hubs: add back Sku property
kmiecikt May 16, 2023
0ed4bbb
Notification Hubs: updating examples
kmiecikt May 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ ambari
amlcompute
amortizedcost
analyticsconnectors
analysisservices
analyzeconversations
analyzetext
AND'ed
Expand Down Expand Up @@ -2805,6 +2804,8 @@ Metadatas
Gtid
GTID
gtid
xiaomi
availiable
Wifi
Nwfs
Hnsw
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"authorizationRuleName": "sdk-AuthRules-1788",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
"location": "West Europe",
"parameters": {
"properties": {
"rights": [
"Listen",
"Send"
]
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"rights": [
"Listen",
"Send"
],
"modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
"createdTime": "2023-04-26T10:09:19.9675121+00:00"
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
"name": "NewAuthorizationRule",
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
}
},
"201": {
"body": {
"properties": {
"rights": [
"Listen",
"Send"
],
"modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
"createdTime": "2023-04-26T10:09:19.9675121+00:00"
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
"name": "NewAuthorizationRule",
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"authorizationRuleName": "RootManageSharedAccessKey",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"authorizationRuleName": "RootManageSharedAccessKey",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
},
"responses": {
"200": {
"body": {
"properties": {
"rights": [
"Manage",
"Listen",
"Send"
],
"modifiedTime": "2023-04-26T10:19:36.3315279+00:00",
"createdTime": "2023-04-26T10:19:36.3315279+00:00"
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/RootManageSharedAccessKey",
"name": "RootManageSharedAccessKey",
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"rights": [
"Manage",
"Listen",
"Send"
],
"modifiedTime": "2023-04-26T06:10:44.0407987+00:00",
"createdTime": "2023-04-26T06:10:44.0407982+00:00"
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/RootManageSharedAccessKey",
"name": "RootManageSharedAccessKey",
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
},
{
"properties": {
"rights": [
"Listen",
"Send"
],
"modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
"createdTime": "2023-04-26T10:09:19.9675121+00:00"
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
"name": "NewAuthorizationRule",
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"authorizationRuleName": "RootManageSharedAccessKey",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
},
"responses": {
"200": {
"body": {
"primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
"secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
"primaryKey": "############################################",
"secondaryKey": "############################################",
"keyName": "RootManageSharedAccessKey"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"authorizationRuleName": "RootManageSharedAccessKey",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
"parameters": {
"policyKey": "PrimaryKey"
}
},
"responses": {
"200": {
"body": {
"primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=########################################",
"secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=########################################",
"primaryKey": "########################################",
"secondaryKey": "########################################",
"keyName": "RootManageSharedAccessKey"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
"parameters": {
"name": "sdk-Namespace-2924"
}
},
"responses": {
"200": {
"body": {
"isAvailiable": true,
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/providers/Microsoft.NotificationHubs/CheckNamespaceAvailability",
"name": "sdk-Namespace-2924",
"type": "Microsoft.NotificationHubs/namespaces/checkNamespaceAvailability"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
"parameters": {
"sku": {
"name": "Standard",
"tier": "Standard"
},
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"networkAcls": {
"ipRules": [
{
"ipMask": "185.48.100.00/24",
"rights": [
"Manage",
"Send",
"Listen"
]
}
],
"publicNetworkRule": {
"rights": [
"Listen"
]
}
}
}
}
},
"responses": {
"200": {
"body": {
"location": "East US",
"sku": {
"name": "Standard"
},
"properties": {
"name": "nh-sdk-ns",
"provisioningState": "Succeeded",
"status": "Created",
"enabled": true,
"critical": false,
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
"createdAt": "2023-04-26T06:10:44.01+00:00",
"updatedAt": "2023-04-26T06:16:17.697+00:00",
"namespaceType": "NotificationHub",
"publicNetworkAccess": "Enabled",
"networkAcls": {
"ipRules": [
{
"ipMask": "185.48.100.00/24",
"rights": [
"Manage",
"Send",
"Listen"
]
}
],
"publicNetworkRule": {
"rights": [
"Listen"
]
}
},
"serviceBusEndpoint": "https://nh-sdk-ns.servicebus.windows.net:443/",
"privateEndpointConnections": []
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
"name": "nh-sdk-ns",
"type": "Microsoft.NotificationHubs/namespaces",
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"201": {
"body": {
"location": "East US",
"sku": {
"name": "Standard"
},
"properties": {
"provisioningState": "InProgress",
"publicNetworkAccess": "Enabled",
"networkAcls": {
"ipRules": [
{
"ipMask": "185.48.100.00/24",
"rights": [
"Manage",
"Send",
"Listen"
]
}
],
"publicNetworkRule": {
"rights": [
"Listen"
]
}
}
},
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
"name": "nh-sdk-ns",
"type": "Microsoft.NotificationHubs/namespaces",
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"resourceGroupName": "5ktrial",
"api-version": "2023-01-01-preview",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
},
"responses": {
"200": {},
"204": {}
}
}
Loading