|
457 | 457 | Example: --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/sa1/blobServices/default/containers/containerName
|
458 | 458 | - name: --endpoint-type
|
459 | 459 | short-summary: The type of the destination endpoint.
|
| 460 | + - name: --delivery-attribute-mapping |
| 461 | + short-summary: Add delivery attribute mapping to send additional information via HTTP headers when delivering events. This attribute is valid for all destination types except StorageQueue. Multiple attributes can be specified by using more than one `--delivery-attribute-mapping` argument. |
| 462 | + long-summary: | |
| 463 | + Usage: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] |
| 464 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue |
| 465 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue false |
| 466 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true |
| 467 | + Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue |
| 468 | + Both Static and Dynamic: --delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue |
460 | 469 | examples:
|
461 | 470 | - name: Create a new event subscription for an Event Grid system topic, using default filters.
|
462 | 471 | text: |
|
|
537 | 546 | text: |
|
538 | 547 | az eventgrid system-topic event-subscription show --name es1 \\
|
539 | 548 | -g rg1 --system-topic-name systemtopic1
|
| 549 | + - name: Show the details of an event subscription for an Event Grid system topic include any static delivery attribute secrets. |
| 550 | + text: | |
| 551 | + az eventgrid system-topic event-subscription show --name es1 \\ |
| 552 | + -g rg1 --system-topic-name systemtopic1 --include-attrib-secret |
540 | 553 | """
|
541 | 554 |
|
542 | 555 | helps['eventgrid system-topic event-subscription update'] = """
|
|
569 | 582 | IsNullOrUndefined: --advanced-filter data.property3 IsNullOrUndefined
|
570 | 583 | IsNotNull: --advanced-filter data.property3 IsNotNull
|
571 | 584 | Multiple advanced filters can be specified by using more than one `--advanced-filter` argument.
|
| 585 | + - name: --delivery-attribute-mapping |
| 586 | + short-summary: Add delivery attribute mapping to send additional information via HTTP headers when delivering events. This attribute is valid for all destination types except StorageQueue. Multiple attributes can be specified by using more than one `--delivery-attribute-mapping` argument. |
| 587 | + long-summary: | |
| 588 | + Usage: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] |
| 589 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue |
| 590 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue false |
| 591 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true |
| 592 | + Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue |
| 593 | + Both Static and Dynamic: --delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue |
572 | 594 | examples:
|
573 | 595 | - name: Update an event subscription for an Event Grid system topic to specify a new endpoint.
|
574 | 596 | text: |
|
|
649 | 671 | Example: --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/sa1/blobServices/default/containers/containerName
|
650 | 672 | - name: --endpoint-type
|
651 | 673 | short-summary: The type of the destination endpoint.
|
| 674 | + - name: --delivery-attribute-mapping |
| 675 | + short-summary: Add delivery attribute mapping to send additional information via HTTP headers when delivering events. This attribute is valid for all destination types except StorageQueue. Multiple attributes can be specified by using more than one `--delivery-attribute-mapping` argument. |
| 676 | + long-summary: | |
| 677 | + Usage: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] |
| 678 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue |
| 679 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue false |
| 680 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true |
| 681 | + Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue |
| 682 | + Both Static and Dynamic: --delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue |
652 | 683 | examples:
|
653 | 684 | - name: Create a new event subscription for an Event Grid partner topic, using default filters.
|
654 | 685 | text: |
|
|
729 | 760 | text: |
|
730 | 761 | az eventgrid partner topic event-subscription show --name es1 \\
|
731 | 762 | -g rg1 --partner-topic-name partnertopic1
|
| 763 | + - name: Show the details of an event subscription for an Event Grid partner topic and include static delivery attribute secrets |
| 764 | + text: | |
| 765 | + az eventgrid partner topic event-subscription show --name es1 \\ |
| 766 | + -g rg1 --partner-topic-name partnertopic1 --include-static-delivery-attribute-secret |
732 | 767 | """
|
733 | 768 |
|
734 | 769 | helps['eventgrid partner topic event-subscription update'] = """
|
|
761 | 796 | IsNullOrUndefined: --advanced-filter data.property3 IsNullOrUndefined
|
762 | 797 | IsNotNull: --advanced-filter data.property3 IsNotNull
|
763 | 798 | Multiple advanced filters can be specified by using more than one `--advanced-filter` argument.
|
| 799 | + - name: --delivery-attribute-mapping |
| 800 | + short-summary: Add delivery attribute mapping to send additional information via HTTP headers when delivering events. This attribute is valid for all destination types except StorageQueue. Multiple attributes can be specified by using more than one `--delivery-attribute-mapping` argument. |
| 801 | + long-summary: | |
| 802 | + Usage: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] |
| 803 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue |
| 804 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue false |
| 805 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true |
| 806 | + Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue |
| 807 | + Both Static and Dynamic: --delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue |
764 | 808 | examples:
|
765 | 809 | - name: Update an event subscription for an Event Grid partner topic to specify a new endpoint.
|
766 | 810 | text: |
|
|
859 | 903 | short-summary: The type of the destination endpoint.
|
860 | 904 | - name: --delivery-identity-endpoint-type
|
861 | 905 | short-summary: The type of the destination endpoint with resource identity.
|
| 906 | + - name: --delivery-attribute-mapping |
| 907 | + short-summary: Add delivery attribute mapping to send additional information via HTTP headers when delivering events. This attribute is valid for all destination types except StorageQueue. Multiple attributes can be specified by using more than one `--delivery-attribute-mapping` argument. |
| 908 | + long-summary: | |
| 909 | + Usage: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] |
| 910 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue |
| 911 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue false |
| 912 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true |
| 913 | + Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue |
| 914 | + Both Static and Dynamic: --delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue |
862 | 915 | examples:
|
863 | 916 | - name: Create a new event subscription for an Event Grid topic, using default filters.
|
864 | 917 | text: |
|
|
1118 | 1171 | text: |
|
1119 | 1172 | az eventgrid event-subscription show --name es3 \\
|
1120 | 1173 | --source-resource-id /subscriptions/{SubID}/resourceGroups/rg1/providers/microsoft.storage/storageaccounts/kalsegblob
|
| 1174 | + - name: Show the details of an event subscription for a resource group including any static delivery attribute secrets. |
| 1175 | + text: | |
| 1176 | + az eventgrid event-subscription show --name es3 \\ |
| 1177 | + --source-resource-id /subscriptions/{SubID}/resourceGroups/rg1 \\ |
| 1178 | + --include-static-delivery-attribute-secret |
1121 | 1179 | """
|
1122 | 1180 |
|
1123 | 1181 | helps['eventgrid event-subscription update'] = """
|
|
1162 | 1220 | IsNullOrUndefined: --advanced-filter data.property3 IsNullOrUndefined
|
1163 | 1221 | IsNotNull: --advanced-filter data.property3 IsNotNull
|
1164 | 1222 | Multiple advanced filters can be specified by using more than one `--advanced-filter` argument.
|
| 1223 | + - name: --delivery-attribute-mapping |
| 1224 | + short-summary: Add delivery attribute mapping to send additional information via HTTP headers when delivering events. This attribute is valid for all destination types except StorageQueue. Multiple attributes can be specified by using more than one `--delivery-attribute-mapping` argument. |
| 1225 | + long-summary: | |
| 1226 | + Usage: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] |
| 1227 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue |
| 1228 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue false |
| 1229 | + Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true |
| 1230 | + Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue |
| 1231 | + Both Static and Dynamic: --delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue |
1165 | 1232 | examples:
|
1166 | 1233 | - name: Update an event subscription for an Event Grid topic to specify a new endpoint.
|
1167 | 1234 | text: |
|
|
1243 | 1310 | text: az eventgrid topic create -g rg1 --name topic1 -l westus2 --input-schema cloudeventschemav1_0
|
1244 | 1311 | - name: Create a new topic which allows specific inbound ip rules with Basic Sku and system assigned identity
|
1245 | 1312 | text: az eventgrid topic create -g rg1 --name topic1 -l westus2 --public-network-access enabled --inbound-ip-rules 10.0.0.0/8 Allow --inbound-ip-rules 10.2.0.0/8 Allow --sku Basic --identity systemassigned
|
| 1313 | + - name: Create a new topic in Azure. |
| 1314 | + text: az eventgrid topic create -g rg1 --name topic1 -l westus2 |
| 1315 | + - name: Create a new topic in Azure. |
| 1316 | + text: az eventgrid topic create -g rg1 --name topic1 -l westus2 --kind azure |
| 1317 | + - name: Create a new topic in AzureArc targeting a custom location. |
| 1318 | + text: az eventgrid topic create -g rg1 --name topic1 -l eastus2euap --kind azurearc --extended-location-name /subscriptions/<subid>/resourcegroups/<rgname>/providers/microsoft.extendedlocation/customlocations/<cust-loc-name> --extended-location-type customlocation |
1246 | 1319 | """
|
1247 | 1320 |
|
1248 | 1321 | helps['eventgrid topic delete'] = """
|
|
0 commit comments