Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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

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-09-01",
"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-09-01",
"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-09-01",
"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-09-01",
"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-09-01",
"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-09-01",
"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-09-01",
"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/namespaces/sdk-Namespace-2924",
"name": "sdk-Namespace-2924",
"type": "Microsoft.NotificationHubs/namespaces/checkNamespaceAvailability"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"resourceGroupName": "5ktrial",
"api-version": "2023-09-01",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
"parameters": {
"sku": {
"name": "Standard",
"tier": "Standard"
},
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"zoneRedundancy": "Enabled",
"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",
"zoneRedundancy": "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",
"zoneRedundancy": "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-09-01",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"parameters": {
"namespaceName": "nh-sdk-ns",
"resourceGroupName": "5ktrial",
"api-version": "2023-09-01",
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
},
"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:10:44.03+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"
}
}
}
}
}
Loading