forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Communication] SMS 1:N Messages - Update Samples (Azure#14125)
* Update samples * Update samples and readme * formatting and text * update readme * minor readme touchup * make tag example more realistic * update snippet in readme * update ts sample
- Loading branch information
Showing
7 changed files
with
185 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
8 changes: 7 additions & 1 deletion
8
sdk/communication/communication-sms/samples/javascript/sample.env
This file contains 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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# Used in most samples. Retrieve these values from a Communication Service instance | ||
# in the Azure Portal. | ||
COMMUNICATION_CONNECTION_STRING="endpoint=https://<resource name>.communication.azure.net/;accessKey=<key>" | ||
COMMUNICATION_CONNECTION_STRING="endpoint=https://<resource name>.communication.azure.com/;accessKey=<key>" | ||
|
||
# For token authentication | ||
COMMUNICATION_ENDPOINT="https://<resource name>.communication.azure.com", | ||
AZURE_CLIENT_ID: "YourClientId", | ||
AZURE_TENANT_ID: "YourTenantId", | ||
AZURE_CLIENT_SECRET: "YourClientSecret" |
This file contains 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
This file contains 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
8 changes: 7 additions & 1 deletion
8
sdk/communication/communication-sms/samples/typescript/sample.env
This file contains 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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# Used in most samples. Retrieve these values from a Communication Service instance | ||
# in the Azure Portal. | ||
COMMUNICATION_CONNECTION_STRING="endpoint=https://<resource name>.communication.azure.net/;accessKey=<key>" | ||
COMMUNICATION_CONNECTION_STRING="endpoint=https://<resource name>.communication.azure.com/;accessKey=<key>" | ||
|
||
# For token authentication | ||
COMMUNICATION_ENDPOINT="https://<resource name>.communication.azure.com", | ||
AZURE_CLIENT_ID: "YourClientId", | ||
AZURE_TENANT_ID: "YourTenantId", | ||
AZURE_CLIENT_SECRET: "YourClientSecret" |
This file contains 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