@azure/eventgrid-namespaces 1.0.1-alpha.20250107.1 → 1.0.1-alpha.20250109.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -13
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  [Azure Event Grid](https://azure.microsoft.com/services/event-grid/) is a cloud-based service that provides reliable event delivery at massive scale.
4
4
 
5
- Use the client library to Send events to Event Grid Namespaces
5
+ Use the client library to Send events to Event Grid Namespaces
6
6
 
7
7
  Key links:
8
8
 
9
9
  - [Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventgrid/eventgrid-namespaces/)
10
10
  - [Package (NPM)](https://www.npmjs.com/package/@azure/eventgrid-namespaces)
11
- - [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/eventgrid-namespaces/)
12
- - [Product documentation](https://docs.microsoft.com/azure/event-grid/)
11
+ - [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/eventgrid-namespaces/)
12
+ - [Product documentation](https://learn.microsoft.com/azure/event-grid/)
13
13
  - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/eventgrid-namespaces/samples)
14
14
 
15
15
  ## Getting started
@@ -69,16 +69,20 @@ az eventgrid topic key list --resource-group <your-resource-group-name> --name <
69
69
  Once you have an API key and endpoint, you can use the `AzureKeyCredential` class to authenticate the client as follows:
70
70
 
71
71
  ```js
72
- const { EventGridSenderClient, EventGridReceiverClient, AzureKeyCredential } = require("@azure/eventgrid-namespaces");
72
+ const {
73
+ EventGridSenderClient,
74
+ EventGridReceiverClient,
75
+ AzureKeyCredential,
76
+ } = require("@azure/eventgrid-namespaces");
73
77
 
74
78
  const eventGridSenderClient = new EventGridSenderClient(
75
79
  "<endpoint>",
76
- new AzureKeyCredential("<Access Key>")
80
+ new AzureKeyCredential("<Access Key>"),
77
81
  );
78
82
 
79
83
  const eventGridReceiverClient = new EventGridReceiverClient(
80
84
  "<endpoint>",
81
- new AzureKeyCredential("<Access Key>")
85
+ new AzureKeyCredential("<Access Key>"),
82
86
  );
83
87
  ```
84
88
 
@@ -97,14 +101,14 @@ const { DefaultAzureCredential } = require("@azure/identity");
97
101
  const eventGridSenderClient = new EventGridSenderClient(
98
102
  "<endpoint>",
99
103
  new DefaultAzureCredential(),
100
- "<topicName>"
104
+ "<topicName>",
101
105
  );
102
106
 
103
107
  const eventGridReceiverClient = new EventGridReceiverClient(
104
108
  "<endpoint>",
105
109
  new DefaultAzureCredential(),
106
110
  "<topicName>",
107
- "<subscriptionName>"
111
+ "<subscriptionName>",
108
112
  );
109
113
  ```
110
114
 
@@ -118,7 +122,7 @@ const eventGridReceiverClient = new EventGridReceiverClient(
118
122
  const eventGridSenderClient = new EventGridSenderClient(
119
123
  "<endpoint>",
120
124
  new AzureKeyCredential("<API Key>"),
121
- "<topicName>"
125
+ "<topicName>",
122
126
  );
123
127
  ```
124
128
 
@@ -129,7 +133,7 @@ const eventGridReceiverClient = new EventGridReceiverClient(
129
133
  "<endpoint>",
130
134
  new AzureKeyCredential("<API Key>"),
131
135
  "<topicName>",
132
- "<subscriptionName>"
136
+ "<subscriptionName>",
133
137
  );
134
138
  ```
135
139
 
@@ -198,10 +202,10 @@ If you'd like to contribute to this library, please read the [contributing guide
198
202
 
199
203
  ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Feventgrid%2Feventgrid%2FREADME.png)
200
204
 
201
- [azure_cli]: https://docs.microsoft.com/cli/azure
205
+ [azure_cli]: https://learn.microsoft.com/cli/azure
202
206
  [azure_sub]: https://azure.microsoft.com/free/
203
- [event_grid]: https://docs.microsoft.com/azure/event-grid
207
+ [event_grid]: https://learn.microsoft.com/azure/event-grid
204
208
  [azure_portal]: https://portal.azure.com
205
209
  [azure-core-tracing-github]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-tracing
206
210
  [cloud-events-distributed-tracing-spec]: https://github.com/cloudevents/spec/blob/v1.0.1/extensions/distributed-tracing.md
207
- [eventgrid-on-kubernetes-using-azure-arc]: https://docs.microsoft.com/azure/event-grid/kubernetes/
211
+ [eventgrid-on-kubernetes-using-azure-arc]: https://learn.microsoft.com/azure/event-grid/kubernetes/
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "An isomorphic client library for the Azure Event Grid service.",
6
- "version": "1.0.1-alpha.20250107.1",
6
+ "version": "1.0.1-alpha.20250109.1",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",
@@ -36,9 +36,9 @@
36
36
  "azure-event-grid"
37
37
  ],
38
38
  "requiredResources": {
39
- "Azure Event Grid Custom Topic, configured to use the Event Grid Schema": "https://docs.microsoft.com/azure/event-grid/scripts/event-grid-cli-create-custom-topic",
40
- "Azure Event Grid Custom Topic, configured to use the Cloud Event 1.0 Schema": "https://docs.microsoft.com/azure/event-grid/scripts/event-grid-cli-create-custom-topic",
41
- "Azure Service Bus Queue": "https://docs.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal"
39
+ "Azure Event Grid Custom Topic, configured to use the Event Grid Schema": "https://learn.microsoft.com/azure/event-grid/scripts/event-grid-cli-create-custom-topic",
40
+ "Azure Event Grid Custom Topic, configured to use the Cloud Event 1.0 Schema": "https://learn.microsoft.com/azure/event-grid/scripts/event-grid-cli-create-custom-topic",
41
+ "Azure Service Bus Queue": "https://learn.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal"
42
42
  }
43
43
  },
44
44
  "scripts": {