@azure/arm-eventgrid 12.0.0 → 13.0.0
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.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -82
- package/dist/index.js +7613 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/eventGridManagementClient.d.ts +29 -0
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClient.js +62 -0
- package/dist-esm/src/eventGridManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1943 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +204 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +107 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1216 -1303
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +42 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +347 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/domainTopics.d.ts +79 -0
- package/dist-esm/src/operations/domainTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/domainTopics.js +310 -0
- package/dist-esm/src/operations/domainTopics.js.map +1 -0
- package/dist-esm/src/operations/domains.d.ts +122 -0
- package/dist-esm/src/operations/domains.d.ts.map +1 -0
- package/dist-esm/src/operations/domains.js +522 -0
- package/dist-esm/src/operations/domains.js.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts +404 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.js +1504 -0
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/extensionTopics.d.ts +24 -0
- package/dist-esm/src/operations/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/extensionTopics.js +50 -0
- package/dist-esm/src/operations/extensionTopics.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +88 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +89 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +346 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +50 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +176 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +128 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js +483 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/systemTopics.d.ts +107 -0
- package/dist-esm/src/operations/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopics.js +482 -0
- package/dist-esm/src/operations/systemTopics.js.map +1 -0
- package/dist-esm/src/operations/topicTypes.d.ts +46 -0
- package/dist-esm/src/operations/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/topicTypes.js +175 -0
- package/dist-esm/src/operations/topicTypes.js.map +1 -0
- package/dist-esm/src/operations/topics.d.ts +150 -0
- package/dist-esm/src/operations/topics.d.ts.map +1 -0
- package/dist-esm/src/operations/topics.js +656 -0
- package/dist-esm/src/operations/topics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/domainTopics.js} +2 -8
- package/dist-esm/src/operationsInterfaces/domainTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -0
- package/{src/models/privateLinkResourcesMappers.ts → dist-esm/src/operationsInterfaces/domains.js} +2 -7
- package/dist-esm/src/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +217 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/eventSubscriptions.js} +2 -2
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/topics.js} +2 -1
- package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
- package/dist-esm/test/eventgrid_examples.d.ts +4 -0
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
- package/dist-esm/test/eventgrid_examples.js +166 -0
- package/dist-esm/test/eventgrid_examples.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-eventgrid.api.md +1777 -0
- package/rollup.config.js +181 -30
- package/src/eventGridManagementClient.ts +107 -53
- package/{esm/models/privateLinkResourcesMappers.js → src/index.ts} +5 -2
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1844 -3910
- package/src/models/mappers.ts +1261 -1339
- package/src/models/parameters.ts +239 -82
- package/src/operations/domainTopics.ts +346 -224
- package/src/operations/domains.ts +545 -454
- package/src/operations/eventSubscriptions.ts +1658 -1236
- package/src/operations/extensionTopics.ts +37 -66
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +65 -43
- package/src/operations/privateEndpointConnections.ts +386 -253
- package/src/operations/privateLinkResources.ts +178 -150
- package/src/operations/systemTopicEventSubscriptions.ts +537 -394
- package/src/operations/systemTopics.ts +505 -349
- package/src/operations/topicTypes.ts +138 -114
- package/src/operations/topics.ts +728 -494
- package/src/operationsInterfaces/domainTopics.ts +105 -0
- package/src/operationsInterfaces/domains.ts +162 -0
- package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
- package/src/operationsInterfaces/extensionTopics.ts +30 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +125 -0
- package/src/operationsInterfaces/privateLinkResources.ts +48 -0
- package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +190 -0
- package/src/operationsInterfaces/systemTopics.ts +139 -0
- package/src/operationsInterfaces/topicTypes.ts +47 -0
- package/src/operationsInterfaces/topics.ts +197 -0
- package/tsconfig.json +3 -3
- package/types/arm-eventgrid.d.ts +2998 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-eventgrid.js +0 -6824
- package/dist/arm-eventgrid.js.map +0 -1
- package/dist/arm-eventgrid.min.js +0 -1
- package/dist/arm-eventgrid.min.js.map +0 -1
- package/esm/eventGridManagementClient.d.ts +0 -35
- package/esm/eventGridManagementClient.d.ts.map +0 -1
- package/esm/eventGridManagementClient.js +0 -48
- package/esm/eventGridManagementClient.js.map +0 -1
- package/esm/eventGridManagementClientContext.d.ts +0 -23
- package/esm/eventGridManagementClientContext.d.ts.map +0 -1
- package/esm/eventGridManagementClientContext.js +0 -61
- package/esm/eventGridManagementClientContext.js.map +0 -1
- package/esm/models/domainTopicsMappers.d.ts +0 -2
- package/esm/models/domainTopicsMappers.d.ts.map +0 -1
- package/esm/models/domainTopicsMappers.js +0 -9
- package/esm/models/domainTopicsMappers.js.map +0 -1
- package/esm/models/domainsMappers.d.ts +0 -2
- package/esm/models/domainsMappers.d.ts.map +0 -1
- package/esm/models/domainsMappers.js +0 -9
- package/esm/models/domainsMappers.js.map +0 -1
- package/esm/models/eventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/eventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/eventSubscriptionsMappers.js +0 -9
- package/esm/models/eventSubscriptionsMappers.js.map +0 -1
- package/esm/models/extensionTopicsMappers.d.ts +0 -2
- package/esm/models/extensionTopicsMappers.d.ts.map +0 -1
- package/esm/models/extensionTopicsMappers.js +0 -9
- package/esm/models/extensionTopicsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4080
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -109
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -25
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -245
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.js +0 -9
- package/esm/models/systemTopicEventSubscriptionsMappers.js.map +0 -1
- package/esm/models/systemTopicsMappers.d.ts +0 -2
- package/esm/models/systemTopicsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicsMappers.js +0 -9
- package/esm/models/systemTopicsMappers.js.map +0 -1
- package/esm/models/topicTypesMappers.d.ts +0 -2
- package/esm/models/topicTypesMappers.d.ts.map +0 -1
- package/esm/models/topicTypesMappers.js +0 -9
- package/esm/models/topicTypesMappers.js.map +0 -1
- package/esm/models/topicsMappers.d.ts +0 -2
- package/esm/models/topicsMappers.d.ts.map +0 -1
- package/esm/models/topicsMappers.js +0 -9
- package/esm/models/topicsMappers.js.map +0 -1
- package/esm/operations/domainTopics.d.ts +0 -120
- package/esm/operations/domainTopics.d.ts.map +0 -1
- package/esm/operations/domainTopics.js +0 -233
- package/esm/operations/domainTopics.js.map +0 -1
- package/esm/operations/domains.d.ts +0 -214
- package/esm/operations/domains.d.ts.map +0 -1
- package/esm/operations/domains.js +0 -415
- package/esm/operations/domains.js.map +0 -1
- package/esm/operations/eventSubscriptions.d.ts +0 -666
- package/esm/operations/eventSubscriptions.d.ts.map +0 -1
- package/esm/operations/eventSubscriptions.js +0 -969
- package/esm/operations/eventSubscriptions.js.map +0 -1
- package/esm/operations/extensionTopics.d.ts +0 -47
- package/esm/operations/extensionTopics.d.ts.map +0 -1
- package/esm/operations/extensionTopics.js +0 -54
- package/esm/operations/extensionTopics.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -29
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -152
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -263
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -91
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -127
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.d.ts +0 -213
- package/esm/operations/systemTopicEventSubscriptions.d.ts.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.js +0 -379
- package/esm/operations/systemTopicEventSubscriptions.js.map +0 -1
- package/esm/operations/systemTopics.d.ts +0 -167
- package/esm/operations/systemTopics.d.ts.map +0 -1
- package/esm/operations/systemTopics.js +0 -353
- package/esm/operations/systemTopics.js.map +0 -1
- package/esm/operations/topicTypes.d.ts +0 -67
- package/esm/operations/topicTypes.d.ts.map +0 -1
- package/esm/operations/topicTypes.js +0 -106
- package/esm/operations/topicTypes.js.map +0 -1
- package/esm/operations/topics.d.ts +0 -237
- package/esm/operations/topics.d.ts.map +0 -1
- package/esm/operations/topics.js +0 -471
- package/esm/operations/topics.js.map +0 -1
- package/src/eventGridManagementClientContext.ts +0 -68
- package/src/models/domainTopicsMappers.ts +0 -66
- package/src/models/domainsMappers.ts +0 -69
- package/src/models/eventSubscriptionsMappers.ts +0 -69
- package/src/models/extensionTopicsMappers.ts +0 -65
- package/src/models/privateEndpointConnectionsMappers.ts +0 -66
- package/src/models/systemTopicEventSubscriptionsMappers.ts +0 -69
- package/src/models/systemTopicsMappers.ts +0 -67
- package/src/models/topicTypesMappers.ts +0 -67
- package/src/models/topicsMappers.ts +0 -70
|
@@ -0,0 +1,2998 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter. */
|
|
8
|
+
export declare interface AdvancedFilter {
|
|
9
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
10
|
+
operatorType: "NumberIn" | "NumberNotIn" | "NumberLessThan" | "NumberGreaterThan" | "NumberLessThanOrEquals" | "NumberGreaterThanOrEquals" | "BoolEquals" | "StringIn" | "StringNotIn" | "StringBeginsWith" | "StringEndsWith" | "StringContains";
|
|
11
|
+
/** The field/property in the event based on which you want to filter. */
|
|
12
|
+
key?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Defines values for AdvancedFilterOperatorType. \
|
|
17
|
+
* {@link KnownAdvancedFilterOperatorType} can be used interchangeably with AdvancedFilterOperatorType,
|
|
18
|
+
* this enum contains the known values that the service supports.
|
|
19
|
+
* ### Known values supported by the service
|
|
20
|
+
* **NumberIn** \
|
|
21
|
+
* **NumberNotIn** \
|
|
22
|
+
* **NumberLessThan** \
|
|
23
|
+
* **NumberGreaterThan** \
|
|
24
|
+
* **NumberLessThanOrEquals** \
|
|
25
|
+
* **NumberGreaterThanOrEquals** \
|
|
26
|
+
* **BoolEquals** \
|
|
27
|
+
* **StringIn** \
|
|
28
|
+
* **StringNotIn** \
|
|
29
|
+
* **StringBeginsWith** \
|
|
30
|
+
* **StringEndsWith** \
|
|
31
|
+
* **StringContains**
|
|
32
|
+
*/
|
|
33
|
+
export declare type AdvancedFilterOperatorType = string;
|
|
34
|
+
|
|
35
|
+
export declare type AdvancedFilterUnion = AdvancedFilter | NumberInAdvancedFilter | NumberNotInAdvancedFilter | NumberLessThanAdvancedFilter | NumberGreaterThanAdvancedFilter | NumberLessThanOrEqualsAdvancedFilter | NumberGreaterThanOrEqualsAdvancedFilter | BoolEqualsAdvancedFilter | StringInAdvancedFilter | StringNotInAdvancedFilter | StringBeginsWithAdvancedFilter | StringEndsWithAdvancedFilter | StringContainsAdvancedFilter;
|
|
36
|
+
|
|
37
|
+
/** Information about the azure function destination for an event subscription. */
|
|
38
|
+
export declare type AzureFunctionEventSubscriptionDestination = EventSubscriptionDestination & {
|
|
39
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
40
|
+
endpointType: "AzureFunction";
|
|
41
|
+
/** The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription. */
|
|
42
|
+
resourceId?: string;
|
|
43
|
+
/** Maximum number of events per batch. */
|
|
44
|
+
maxEventsPerBatch?: number;
|
|
45
|
+
/** Preferred batch size in Kilobytes. */
|
|
46
|
+
preferredBatchSizeInKilobytes?: number;
|
|
47
|
+
/** Delivery attribute details. */
|
|
48
|
+
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** BoolEquals Advanced Filter. */
|
|
52
|
+
export declare type BoolEqualsAdvancedFilter = AdvancedFilter & {
|
|
53
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
54
|
+
operatorType: "BoolEquals";
|
|
55
|
+
/** The boolean filter value. */
|
|
56
|
+
value?: boolean;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** ConnectionState information. */
|
|
60
|
+
export declare interface ConnectionState {
|
|
61
|
+
/** Status of the connection. */
|
|
62
|
+
status?: PersistedConnectionStatus;
|
|
63
|
+
/** Description of the connection state. */
|
|
64
|
+
description?: string;
|
|
65
|
+
/** Actions required (if any). */
|
|
66
|
+
actionsRequired?: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Defines values for CreatedByType. \
|
|
71
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
72
|
+
* this enum contains the known values that the service supports.
|
|
73
|
+
* ### Known values supported by the service
|
|
74
|
+
* **User** \
|
|
75
|
+
* **Application** \
|
|
76
|
+
* **ManagedIdentity** \
|
|
77
|
+
* **Key**
|
|
78
|
+
*/
|
|
79
|
+
export declare type CreatedByType = string;
|
|
80
|
+
|
|
81
|
+
/** Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class. */
|
|
82
|
+
export declare interface DeadLetterDestination {
|
|
83
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
84
|
+
endpointType: "StorageBlob";
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export declare type DeadLetterDestinationUnion = DeadLetterDestination | StorageBlobDeadLetterDestination;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Defines values for DeadLetterEndPointType. \
|
|
91
|
+
* {@link KnownDeadLetterEndPointType} can be used interchangeably with DeadLetterEndPointType,
|
|
92
|
+
* this enum contains the known values that the service supports.
|
|
93
|
+
* ### Known values supported by the service
|
|
94
|
+
* **StorageBlob**
|
|
95
|
+
*/
|
|
96
|
+
export declare type DeadLetterEndPointType = string;
|
|
97
|
+
|
|
98
|
+
/** Information about the deadletter destination with resource identity. */
|
|
99
|
+
export declare interface DeadLetterWithResourceIdentity {
|
|
100
|
+
/** The identity to use when dead-lettering events. */
|
|
101
|
+
identity?: EventSubscriptionIdentity;
|
|
102
|
+
/**
|
|
103
|
+
* Information about the destination where events have to be delivered for the event subscription.
|
|
104
|
+
* Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
|
|
105
|
+
*/
|
|
106
|
+
deadLetterDestination?: DeadLetterDestinationUnion;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** Result of the Get delivery attributes operation. */
|
|
110
|
+
export declare interface DeliveryAttributeListResult {
|
|
111
|
+
/** A collection of DeliveryAttributeMapping */
|
|
112
|
+
value?: DeliveryAttributeMappingUnion[];
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/** Delivery attribute mapping details. */
|
|
116
|
+
export declare interface DeliveryAttributeMapping {
|
|
117
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
118
|
+
type: "Static" | "Dynamic";
|
|
119
|
+
/** Name of the delivery attribute or header. */
|
|
120
|
+
name?: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Defines values for DeliveryAttributeMappingType. \
|
|
125
|
+
* {@link KnownDeliveryAttributeMappingType} can be used interchangeably with DeliveryAttributeMappingType,
|
|
126
|
+
* this enum contains the known values that the service supports.
|
|
127
|
+
* ### Known values supported by the service
|
|
128
|
+
* **Static** \
|
|
129
|
+
* **Dynamic**
|
|
130
|
+
*/
|
|
131
|
+
export declare type DeliveryAttributeMappingType = string;
|
|
132
|
+
|
|
133
|
+
export declare type DeliveryAttributeMappingUnion = DeliveryAttributeMapping | StaticDeliveryAttributeMapping | DynamicDeliveryAttributeMapping;
|
|
134
|
+
|
|
135
|
+
/** Information about the delivery for an event subscription with resource identity. */
|
|
136
|
+
export declare interface DeliveryWithResourceIdentity {
|
|
137
|
+
/** The identity to use when delivering events. */
|
|
138
|
+
identity?: EventSubscriptionIdentity;
|
|
139
|
+
/**
|
|
140
|
+
* Information about the destination where events have to be delivered for the event subscription.
|
|
141
|
+
* Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
|
|
142
|
+
*/
|
|
143
|
+
destination?: EventSubscriptionDestinationUnion;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** EventGrid Domain. */
|
|
147
|
+
export declare type Domain = TrackedResource & {
|
|
148
|
+
/**
|
|
149
|
+
* The system metadata relating to Domain resource.
|
|
150
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
151
|
+
*/
|
|
152
|
+
readonly systemData?: SystemData;
|
|
153
|
+
/** Identity information for the Event Grid Domain resource. */
|
|
154
|
+
identity?: IdentityInfo;
|
|
155
|
+
/**
|
|
156
|
+
* List of private endpoint connections.
|
|
157
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
158
|
+
*/
|
|
159
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
160
|
+
/**
|
|
161
|
+
* Provisioning state of the Event Grid Domain Resource.
|
|
162
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
163
|
+
*/
|
|
164
|
+
readonly provisioningState?: DomainProvisioningState;
|
|
165
|
+
/**
|
|
166
|
+
* Endpoint for the domain.
|
|
167
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
168
|
+
*/
|
|
169
|
+
readonly endpoint?: string;
|
|
170
|
+
/** This determines the format that Event Grid should expect for incoming events published to the domain. */
|
|
171
|
+
inputSchema?: InputSchema;
|
|
172
|
+
/** Information about the InputSchemaMapping which specified the info about mapping event payload. */
|
|
173
|
+
inputSchemaMapping?: InputSchemaMappingUnion;
|
|
174
|
+
/**
|
|
175
|
+
* Metric resource id for the domain.
|
|
176
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
177
|
+
*/
|
|
178
|
+
readonly metricResourceId?: string;
|
|
179
|
+
/**
|
|
180
|
+
* This determines if traffic is allowed over public network. By default it is enabled.
|
|
181
|
+
* You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules" />
|
|
182
|
+
*/
|
|
183
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
184
|
+
/** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
|
|
185
|
+
inboundIpRules?: InboundIpRule[];
|
|
186
|
+
/** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain. */
|
|
187
|
+
disableLocalAuth?: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
|
|
190
|
+
* In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
|
|
191
|
+
* When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
|
|
192
|
+
* created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
|
|
193
|
+
* by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
|
|
194
|
+
* flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
|
|
195
|
+
* domain topic on demand if needed.
|
|
196
|
+
*/
|
|
197
|
+
autoCreateTopicWithFirstSubscription?: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
|
|
200
|
+
* In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
|
|
201
|
+
* When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
|
|
202
|
+
* of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
|
|
203
|
+
* (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
|
|
204
|
+
* control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
|
|
205
|
+
* resources by the user.
|
|
206
|
+
*/
|
|
207
|
+
autoDeleteTopicWithLastSubscription?: boolean;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Defines values for DomainProvisioningState. \
|
|
212
|
+
* {@link KnownDomainProvisioningState} can be used interchangeably with DomainProvisioningState,
|
|
213
|
+
* this enum contains the known values that the service supports.
|
|
214
|
+
* ### Known values supported by the service
|
|
215
|
+
* **Creating** \
|
|
216
|
+
* **Updating** \
|
|
217
|
+
* **Deleting** \
|
|
218
|
+
* **Succeeded** \
|
|
219
|
+
* **Canceled** \
|
|
220
|
+
* **Failed**
|
|
221
|
+
*/
|
|
222
|
+
export declare type DomainProvisioningState = string;
|
|
223
|
+
|
|
224
|
+
/** Domain regenerate share access key request. */
|
|
225
|
+
export declare interface DomainRegenerateKeyRequest {
|
|
226
|
+
/** Key name to regenerate key1 or key2. */
|
|
227
|
+
keyName: string;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/** Interface representing a Domains. */
|
|
231
|
+
export declare interface Domains {
|
|
232
|
+
/**
|
|
233
|
+
* List all the domains under an Azure subscription.
|
|
234
|
+
* @param options The options parameters.
|
|
235
|
+
*/
|
|
236
|
+
listBySubscription(options?: DomainsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Domain>;
|
|
237
|
+
/**
|
|
238
|
+
* List all the domains under a resource group.
|
|
239
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
240
|
+
* @param options The options parameters.
|
|
241
|
+
*/
|
|
242
|
+
listByResourceGroup(resourceGroupName: string, options?: DomainsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Domain>;
|
|
243
|
+
/**
|
|
244
|
+
* Get properties of a domain.
|
|
245
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
246
|
+
* @param domainName Name of the domain.
|
|
247
|
+
* @param options The options parameters.
|
|
248
|
+
*/
|
|
249
|
+
get(resourceGroupName: string, domainName: string, options?: DomainsGetOptionalParams): Promise<DomainsGetResponse>;
|
|
250
|
+
/**
|
|
251
|
+
* Asynchronously creates or updates a new domain with the specified parameters.
|
|
252
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
253
|
+
* @param domainName Name of the domain.
|
|
254
|
+
* @param domainInfo Domain information.
|
|
255
|
+
* @param options The options parameters.
|
|
256
|
+
*/
|
|
257
|
+
beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainsCreateOrUpdateResponse>, DomainsCreateOrUpdateResponse>>;
|
|
258
|
+
/**
|
|
259
|
+
* Asynchronously creates or updates a new domain with the specified parameters.
|
|
260
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
261
|
+
* @param domainName Name of the domain.
|
|
262
|
+
* @param domainInfo Domain information.
|
|
263
|
+
* @param options The options parameters.
|
|
264
|
+
*/
|
|
265
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise<DomainsCreateOrUpdateResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* Delete existing domain.
|
|
268
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
269
|
+
* @param domainName Name of the domain.
|
|
270
|
+
* @param options The options parameters.
|
|
271
|
+
*/
|
|
272
|
+
beginDelete(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
273
|
+
/**
|
|
274
|
+
* Delete existing domain.
|
|
275
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
276
|
+
* @param domainName Name of the domain.
|
|
277
|
+
* @param options The options parameters.
|
|
278
|
+
*/
|
|
279
|
+
beginDeleteAndWait(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise<void>;
|
|
280
|
+
/**
|
|
281
|
+
* Asynchronously updates a domain with the specified parameters.
|
|
282
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
283
|
+
* @param domainName Name of the domain.
|
|
284
|
+
* @param domainUpdateParameters Domain update information.
|
|
285
|
+
* @param options The options parameters.
|
|
286
|
+
*/
|
|
287
|
+
beginUpdate(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
288
|
+
/**
|
|
289
|
+
* Asynchronously updates a domain with the specified parameters.
|
|
290
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
291
|
+
* @param domainName Name of the domain.
|
|
292
|
+
* @param domainUpdateParameters Domain update information.
|
|
293
|
+
* @param options The options parameters.
|
|
294
|
+
*/
|
|
295
|
+
beginUpdateAndWait(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise<void>;
|
|
296
|
+
/**
|
|
297
|
+
* List the two keys used to publish to a domain.
|
|
298
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
299
|
+
* @param domainName Name of the domain.
|
|
300
|
+
* @param options The options parameters.
|
|
301
|
+
*/
|
|
302
|
+
listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: DomainsListSharedAccessKeysOptionalParams): Promise<DomainsListSharedAccessKeysResponse>;
|
|
303
|
+
/**
|
|
304
|
+
* Regenerate a shared access key for a domain.
|
|
305
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
306
|
+
* @param domainName Name of the domain.
|
|
307
|
+
* @param regenerateKeyRequest Request body to regenerate key.
|
|
308
|
+
* @param options The options parameters.
|
|
309
|
+
*/
|
|
310
|
+
regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: DomainRegenerateKeyRequest, options?: DomainsRegenerateKeyOptionalParams): Promise<DomainsRegenerateKeyResponse>;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/** Optional parameters. */
|
|
314
|
+
export declare interface DomainsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
315
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
316
|
+
updateIntervalInMs?: number;
|
|
317
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
318
|
+
resumeFrom?: string;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
322
|
+
export declare type DomainsCreateOrUpdateResponse = Domain;
|
|
323
|
+
|
|
324
|
+
/** Optional parameters. */
|
|
325
|
+
export declare interface DomainsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
326
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
327
|
+
updateIntervalInMs?: number;
|
|
328
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
329
|
+
resumeFrom?: string;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/** Optional parameters. */
|
|
333
|
+
export declare interface DomainsGetOptionalParams extends coreClient.OperationOptions {
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/** Contains response data for the get operation. */
|
|
337
|
+
export declare type DomainsGetResponse = Domain;
|
|
338
|
+
|
|
339
|
+
/** Shared access keys of the Domain. */
|
|
340
|
+
export declare interface DomainSharedAccessKeys {
|
|
341
|
+
/** Shared access key1 for the domain. */
|
|
342
|
+
key1?: string;
|
|
343
|
+
/** Shared access key2 for the domain. */
|
|
344
|
+
key2?: string;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/** Optional parameters. */
|
|
348
|
+
export declare interface DomainsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
349
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
350
|
+
filter?: string;
|
|
351
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
352
|
+
top?: number;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
356
|
+
export declare type DomainsListByResourceGroupNextResponse = DomainsListResult;
|
|
357
|
+
|
|
358
|
+
/** Optional parameters. */
|
|
359
|
+
export declare interface DomainsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
360
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
361
|
+
filter?: string;
|
|
362
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
363
|
+
top?: number;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
367
|
+
export declare type DomainsListByResourceGroupResponse = DomainsListResult;
|
|
368
|
+
|
|
369
|
+
/** Optional parameters. */
|
|
370
|
+
export declare interface DomainsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
371
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
372
|
+
filter?: string;
|
|
373
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
374
|
+
top?: number;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
378
|
+
export declare type DomainsListBySubscriptionNextResponse = DomainsListResult;
|
|
379
|
+
|
|
380
|
+
/** Optional parameters. */
|
|
381
|
+
export declare interface DomainsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
382
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
383
|
+
filter?: string;
|
|
384
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
385
|
+
top?: number;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/** Contains response data for the listBySubscription operation. */
|
|
389
|
+
export declare type DomainsListBySubscriptionResponse = DomainsListResult;
|
|
390
|
+
|
|
391
|
+
/** Result of the List Domains operation. */
|
|
392
|
+
export declare interface DomainsListResult {
|
|
393
|
+
/** A collection of Domains. */
|
|
394
|
+
value?: Domain[];
|
|
395
|
+
/** A link for the next page of domains. */
|
|
396
|
+
nextLink?: string;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/** Optional parameters. */
|
|
400
|
+
export declare interface DomainsListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/** Contains response data for the listSharedAccessKeys operation. */
|
|
404
|
+
export declare type DomainsListSharedAccessKeysResponse = DomainSharedAccessKeys;
|
|
405
|
+
|
|
406
|
+
/** Optional parameters. */
|
|
407
|
+
export declare interface DomainsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/** Contains response data for the regenerateKey operation. */
|
|
411
|
+
export declare type DomainsRegenerateKeyResponse = DomainSharedAccessKeys;
|
|
412
|
+
|
|
413
|
+
/** Optional parameters. */
|
|
414
|
+
export declare interface DomainsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
415
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
416
|
+
updateIntervalInMs?: number;
|
|
417
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
418
|
+
resumeFrom?: string;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/** Domain Topic. */
|
|
422
|
+
export declare type DomainTopic = Resource & {
|
|
423
|
+
/**
|
|
424
|
+
* The system metadata relating to Domain Topic resource.
|
|
425
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
|
+
*/
|
|
427
|
+
readonly systemData?: SystemData;
|
|
428
|
+
/**
|
|
429
|
+
* Provisioning state of the domain topic.
|
|
430
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
431
|
+
*/
|
|
432
|
+
readonly provisioningState?: DomainTopicProvisioningState;
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Defines values for DomainTopicProvisioningState. \
|
|
437
|
+
* {@link KnownDomainTopicProvisioningState} can be used interchangeably with DomainTopicProvisioningState,
|
|
438
|
+
* this enum contains the known values that the service supports.
|
|
439
|
+
* ### Known values supported by the service
|
|
440
|
+
* **Creating** \
|
|
441
|
+
* **Updating** \
|
|
442
|
+
* **Deleting** \
|
|
443
|
+
* **Succeeded** \
|
|
444
|
+
* **Canceled** \
|
|
445
|
+
* **Failed**
|
|
446
|
+
*/
|
|
447
|
+
export declare type DomainTopicProvisioningState = string;
|
|
448
|
+
|
|
449
|
+
/** Interface representing a DomainTopics. */
|
|
450
|
+
export declare interface DomainTopics {
|
|
451
|
+
/**
|
|
452
|
+
* List all the topics in a domain.
|
|
453
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
454
|
+
* @param domainName Domain name.
|
|
455
|
+
* @param options The options parameters.
|
|
456
|
+
*/
|
|
457
|
+
listByDomain(resourceGroupName: string, domainName: string, options?: DomainTopicsListByDomainOptionalParams): PagedAsyncIterableIterator<DomainTopic>;
|
|
458
|
+
/**
|
|
459
|
+
* Get properties of a domain topic.
|
|
460
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
461
|
+
* @param domainName Name of the domain.
|
|
462
|
+
* @param domainTopicName Name of the topic.
|
|
463
|
+
* @param options The options parameters.
|
|
464
|
+
*/
|
|
465
|
+
get(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsGetOptionalParams): Promise<DomainTopicsGetResponse>;
|
|
466
|
+
/**
|
|
467
|
+
* Asynchronously creates or updates a new domain topic with the specified parameters.
|
|
468
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
469
|
+
* @param domainName Name of the domain.
|
|
470
|
+
* @param domainTopicName Name of the domain topic.
|
|
471
|
+
* @param options The options parameters.
|
|
472
|
+
*/
|
|
473
|
+
beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainTopicsCreateOrUpdateResponse>, DomainTopicsCreateOrUpdateResponse>>;
|
|
474
|
+
/**
|
|
475
|
+
* Asynchronously creates or updates a new domain topic with the specified parameters.
|
|
476
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
477
|
+
* @param domainName Name of the domain.
|
|
478
|
+
* @param domainTopicName Name of the domain topic.
|
|
479
|
+
* @param options The options parameters.
|
|
480
|
+
*/
|
|
481
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsCreateOrUpdateOptionalParams): Promise<DomainTopicsCreateOrUpdateResponse>;
|
|
482
|
+
/**
|
|
483
|
+
* Delete existing domain topic.
|
|
484
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
485
|
+
* @param domainName Name of the domain.
|
|
486
|
+
* @param domainTopicName Name of the domain topic.
|
|
487
|
+
* @param options The options parameters.
|
|
488
|
+
*/
|
|
489
|
+
beginDelete(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
490
|
+
/**
|
|
491
|
+
* Delete existing domain topic.
|
|
492
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
493
|
+
* @param domainName Name of the domain.
|
|
494
|
+
* @param domainTopicName Name of the domain topic.
|
|
495
|
+
* @param options The options parameters.
|
|
496
|
+
*/
|
|
497
|
+
beginDeleteAndWait(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsDeleteOptionalParams): Promise<void>;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/** Optional parameters. */
|
|
501
|
+
export declare interface DomainTopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
502
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
503
|
+
updateIntervalInMs?: number;
|
|
504
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
505
|
+
resumeFrom?: string;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
509
|
+
export declare type DomainTopicsCreateOrUpdateResponse = DomainTopic;
|
|
510
|
+
|
|
511
|
+
/** Optional parameters. */
|
|
512
|
+
export declare interface DomainTopicsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
513
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
514
|
+
updateIntervalInMs?: number;
|
|
515
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
516
|
+
resumeFrom?: string;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/** Optional parameters. */
|
|
520
|
+
export declare interface DomainTopicsGetOptionalParams extends coreClient.OperationOptions {
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/** Contains response data for the get operation. */
|
|
524
|
+
export declare type DomainTopicsGetResponse = DomainTopic;
|
|
525
|
+
|
|
526
|
+
/** Optional parameters. */
|
|
527
|
+
export declare interface DomainTopicsListByDomainNextOptionalParams extends coreClient.OperationOptions {
|
|
528
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
529
|
+
filter?: string;
|
|
530
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
531
|
+
top?: number;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/** Contains response data for the listByDomainNext operation. */
|
|
535
|
+
export declare type DomainTopicsListByDomainNextResponse = DomainTopicsListResult;
|
|
536
|
+
|
|
537
|
+
/** Optional parameters. */
|
|
538
|
+
export declare interface DomainTopicsListByDomainOptionalParams extends coreClient.OperationOptions {
|
|
539
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
540
|
+
filter?: string;
|
|
541
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
542
|
+
top?: number;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/** Contains response data for the listByDomain operation. */
|
|
546
|
+
export declare type DomainTopicsListByDomainResponse = DomainTopicsListResult;
|
|
547
|
+
|
|
548
|
+
/** Result of the List Domain Topics operation. */
|
|
549
|
+
export declare interface DomainTopicsListResult {
|
|
550
|
+
/** A collection of Domain Topics. */
|
|
551
|
+
value?: DomainTopic[];
|
|
552
|
+
/** A link for the next page of domain topics. */
|
|
553
|
+
nextLink?: string;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/** Properties of the Domain update. */
|
|
557
|
+
export declare interface DomainUpdateParameters {
|
|
558
|
+
/** Tags of the domains resource. */
|
|
559
|
+
tags?: {
|
|
560
|
+
[propertyName: string]: string;
|
|
561
|
+
};
|
|
562
|
+
/** Identity information for the resource. */
|
|
563
|
+
identity?: IdentityInfo;
|
|
564
|
+
/**
|
|
565
|
+
* This determines if traffic is allowed over public network. By default it is enabled.
|
|
566
|
+
* You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainUpdateParameterProperties.InboundIpRules" />
|
|
567
|
+
*/
|
|
568
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
569
|
+
/** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
|
|
570
|
+
inboundIpRules?: InboundIpRule[];
|
|
571
|
+
/** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain. */
|
|
572
|
+
disableLocalAuth?: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
|
|
575
|
+
* In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
|
|
576
|
+
* When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
|
|
577
|
+
* created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
|
|
578
|
+
* by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
|
|
579
|
+
* flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
|
|
580
|
+
* domain topic on demand if needed.
|
|
581
|
+
*/
|
|
582
|
+
autoCreateTopicWithFirstSubscription?: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
|
|
585
|
+
* In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
|
|
586
|
+
* When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
|
|
587
|
+
* of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
|
|
588
|
+
* (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
|
|
589
|
+
* control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
|
|
590
|
+
* resources by the user.
|
|
591
|
+
*/
|
|
592
|
+
autoDeleteTopicWithLastSubscription?: boolean;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/** Dynamic delivery attribute mapping details. */
|
|
596
|
+
export declare type DynamicDeliveryAttributeMapping = DeliveryAttributeMapping & {
|
|
597
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
598
|
+
type: "Dynamic";
|
|
599
|
+
/** JSON path in the event which contains attribute value. */
|
|
600
|
+
sourceField?: string;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Defines values for EndpointType. \
|
|
605
|
+
* {@link KnownEndpointType} can be used interchangeably with EndpointType,
|
|
606
|
+
* this enum contains the known values that the service supports.
|
|
607
|
+
* ### Known values supported by the service
|
|
608
|
+
* **WebHook** \
|
|
609
|
+
* **EventHub** \
|
|
610
|
+
* **StorageQueue** \
|
|
611
|
+
* **HybridConnection** \
|
|
612
|
+
* **ServiceBusQueue** \
|
|
613
|
+
* **ServiceBusTopic** \
|
|
614
|
+
* **AzureFunction**
|
|
615
|
+
*/
|
|
616
|
+
export declare type EndpointType = string;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Defines values for Enum18. \
|
|
620
|
+
* {@link KnownEnum18} can be used interchangeably with Enum18,
|
|
621
|
+
* this enum contains the known values that the service supports.
|
|
622
|
+
* ### Known values supported by the service
|
|
623
|
+
* **topics** \
|
|
624
|
+
* **domains**
|
|
625
|
+
*/
|
|
626
|
+
export declare type Enum18 = string;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Defines values for Enum19. \
|
|
630
|
+
* {@link KnownEnum19} can be used interchangeably with Enum19,
|
|
631
|
+
* this enum contains the known values that the service supports.
|
|
632
|
+
* ### Known values supported by the service
|
|
633
|
+
* **topics** \
|
|
634
|
+
* **domains**
|
|
635
|
+
*/
|
|
636
|
+
export declare type Enum19 = string;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Defines values for Enum20. \
|
|
640
|
+
* {@link KnownEnum20} can be used interchangeably with Enum20,
|
|
641
|
+
* this enum contains the known values that the service supports.
|
|
642
|
+
* ### Known values supported by the service
|
|
643
|
+
* **topics** \
|
|
644
|
+
* **domains**
|
|
645
|
+
*/
|
|
646
|
+
export declare type Enum20 = string;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Defines values for Enum21. \
|
|
650
|
+
* {@link KnownEnum21} can be used interchangeably with Enum21,
|
|
651
|
+
* this enum contains the known values that the service supports.
|
|
652
|
+
* ### Known values supported by the service
|
|
653
|
+
* **topics** \
|
|
654
|
+
* **domains**
|
|
655
|
+
*/
|
|
656
|
+
export declare type Enum21 = string;
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Defines values for EventDeliverySchema. \
|
|
660
|
+
* {@link KnownEventDeliverySchema} can be used interchangeably with EventDeliverySchema,
|
|
661
|
+
* this enum contains the known values that the service supports.
|
|
662
|
+
* ### Known values supported by the service
|
|
663
|
+
* **EventGridSchema** \
|
|
664
|
+
* **CustomInputSchema** \
|
|
665
|
+
* **CloudEventSchemaV1_0**
|
|
666
|
+
*/
|
|
667
|
+
export declare type EventDeliverySchema = string;
|
|
668
|
+
|
|
669
|
+
export declare class EventGridManagementClient extends coreClient.ServiceClient {
|
|
670
|
+
$host: string;
|
|
671
|
+
subscriptionId: string;
|
|
672
|
+
apiVersion: string;
|
|
673
|
+
/**
|
|
674
|
+
* Initializes a new instance of the EventGridManagementClient class.
|
|
675
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
676
|
+
* @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure
|
|
677
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
678
|
+
* @param options The parameter options
|
|
679
|
+
*/
|
|
680
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EventGridManagementClientOptionalParams);
|
|
681
|
+
domains: Domains;
|
|
682
|
+
domainTopics: DomainTopics;
|
|
683
|
+
eventSubscriptions: EventSubscriptions;
|
|
684
|
+
systemTopicEventSubscriptions: SystemTopicEventSubscriptions;
|
|
685
|
+
operations: Operations;
|
|
686
|
+
topics: Topics;
|
|
687
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
688
|
+
privateLinkResources: PrivateLinkResources;
|
|
689
|
+
systemTopics: SystemTopics;
|
|
690
|
+
extensionTopics: ExtensionTopics;
|
|
691
|
+
topicTypes: TopicTypes;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/** Optional parameters. */
|
|
695
|
+
export declare interface EventGridManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
696
|
+
/** server parameter */
|
|
697
|
+
$host?: string;
|
|
698
|
+
/** Api Version */
|
|
699
|
+
apiVersion?: string;
|
|
700
|
+
/** Overrides client endpoint. */
|
|
701
|
+
endpoint?: string;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** Information about the event hub destination for an event subscription. */
|
|
705
|
+
export declare type EventHubEventSubscriptionDestination = EventSubscriptionDestination & {
|
|
706
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
707
|
+
endpointType: "EventHub";
|
|
708
|
+
/** The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription. */
|
|
709
|
+
resourceId?: string;
|
|
710
|
+
/** Delivery attribute details. */
|
|
711
|
+
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
/** Event Subscription */
|
|
715
|
+
export declare type EventSubscription = Resource & {
|
|
716
|
+
/**
|
|
717
|
+
* The system metadata relating to Event Subscription resource.
|
|
718
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
719
|
+
*/
|
|
720
|
+
readonly systemData?: SystemData;
|
|
721
|
+
/**
|
|
722
|
+
* Name of the topic of the event subscription.
|
|
723
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
724
|
+
*/
|
|
725
|
+
readonly topic?: string;
|
|
726
|
+
/**
|
|
727
|
+
* Provisioning state of the event subscription.
|
|
728
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
729
|
+
*/
|
|
730
|
+
readonly provisioningState?: EventSubscriptionProvisioningState;
|
|
731
|
+
/** Information about the destination where events have to be delivered for the event subscription. */
|
|
732
|
+
destination?: EventSubscriptionDestinationUnion;
|
|
733
|
+
/**
|
|
734
|
+
* Information about the destination where events have to be delivered for the event subscription.
|
|
735
|
+
* Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
|
|
736
|
+
*/
|
|
737
|
+
deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
|
|
738
|
+
/** Information about the filter for the event subscription. */
|
|
739
|
+
filter?: EventSubscriptionFilter;
|
|
740
|
+
/** List of user defined labels. */
|
|
741
|
+
labels?: string[];
|
|
742
|
+
/** Expiration time of the event subscription. */
|
|
743
|
+
expirationTimeUtc?: Date;
|
|
744
|
+
/** The event delivery schema for the event subscription. */
|
|
745
|
+
eventDeliverySchema?: EventDeliverySchema;
|
|
746
|
+
/** The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. */
|
|
747
|
+
retryPolicy?: RetryPolicy;
|
|
748
|
+
/** The DeadLetter destination of the event subscription. */
|
|
749
|
+
deadLetterDestination?: DeadLetterDestinationUnion;
|
|
750
|
+
/**
|
|
751
|
+
* The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
|
|
752
|
+
* Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
|
|
753
|
+
*/
|
|
754
|
+
deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
/** Information about the destination for an event subscription. */
|
|
758
|
+
export declare interface EventSubscriptionDestination {
|
|
759
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
760
|
+
endpointType: "WebHook" | "EventHub" | "StorageQueue" | "HybridConnection" | "ServiceBusQueue" | "ServiceBusTopic" | "AzureFunction";
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
export declare type EventSubscriptionDestinationUnion = EventSubscriptionDestination | WebHookEventSubscriptionDestination | EventHubEventSubscriptionDestination | StorageQueueEventSubscriptionDestination | HybridConnectionEventSubscriptionDestination | ServiceBusQueueEventSubscriptionDestination | ServiceBusTopicEventSubscriptionDestination | AzureFunctionEventSubscriptionDestination;
|
|
764
|
+
|
|
765
|
+
/** Filter for the Event Subscription. */
|
|
766
|
+
export declare interface EventSubscriptionFilter {
|
|
767
|
+
/**
|
|
768
|
+
* An optional string to filter events for an event subscription based on a resource path prefix.
|
|
769
|
+
* The format of this depends on the publisher of the events.
|
|
770
|
+
* Wildcard characters are not supported in this path.
|
|
771
|
+
*/
|
|
772
|
+
subjectBeginsWith?: string;
|
|
773
|
+
/**
|
|
774
|
+
* An optional string to filter events for an event subscription based on a resource path suffix.
|
|
775
|
+
* Wildcard characters are not supported in this path.
|
|
776
|
+
*/
|
|
777
|
+
subjectEndsWith?: string;
|
|
778
|
+
/** A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null. */
|
|
779
|
+
includedEventTypes?: string[];
|
|
780
|
+
/**
|
|
781
|
+
* Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter
|
|
782
|
+
* should be compared in a case sensitive manner.
|
|
783
|
+
*/
|
|
784
|
+
isSubjectCaseSensitive?: boolean;
|
|
785
|
+
/** Allows advanced filters to be evaluated against an array of values instead of expecting a singular value. */
|
|
786
|
+
enableAdvancedFilteringOnArrays?: boolean;
|
|
787
|
+
/** An array of advanced filters that are used for filtering event subscriptions. */
|
|
788
|
+
advancedFilters?: AdvancedFilterUnion[];
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/** Full endpoint url of an event subscription */
|
|
792
|
+
export declare interface EventSubscriptionFullUrl {
|
|
793
|
+
/** The URL that represents the endpoint of the destination of an event subscription. */
|
|
794
|
+
endpointUrl?: string;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/** The identity information with the event subscription. */
|
|
798
|
+
export declare interface EventSubscriptionIdentity {
|
|
799
|
+
/** The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. */
|
|
800
|
+
type?: EventSubscriptionIdentityType;
|
|
801
|
+
/** The user identity associated with the resource. */
|
|
802
|
+
userAssignedIdentity?: string;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Defines values for EventSubscriptionIdentityType. \
|
|
807
|
+
* {@link KnownEventSubscriptionIdentityType} can be used interchangeably with EventSubscriptionIdentityType,
|
|
808
|
+
* this enum contains the known values that the service supports.
|
|
809
|
+
* ### Known values supported by the service
|
|
810
|
+
* **SystemAssigned** \
|
|
811
|
+
* **UserAssigned**
|
|
812
|
+
*/
|
|
813
|
+
export declare type EventSubscriptionIdentityType = string;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Defines values for EventSubscriptionProvisioningState. \
|
|
817
|
+
* {@link KnownEventSubscriptionProvisioningState} can be used interchangeably with EventSubscriptionProvisioningState,
|
|
818
|
+
* this enum contains the known values that the service supports.
|
|
819
|
+
* ### Known values supported by the service
|
|
820
|
+
* **Creating** \
|
|
821
|
+
* **Updating** \
|
|
822
|
+
* **Deleting** \
|
|
823
|
+
* **Succeeded** \
|
|
824
|
+
* **Canceled** \
|
|
825
|
+
* **Failed** \
|
|
826
|
+
* **AwaitingManualAction**
|
|
827
|
+
*/
|
|
828
|
+
export declare type EventSubscriptionProvisioningState = string;
|
|
829
|
+
|
|
830
|
+
/** Interface representing a EventSubscriptions. */
|
|
831
|
+
export declare interface EventSubscriptions {
|
|
832
|
+
/**
|
|
833
|
+
* List all aggregated global event subscriptions under a specific Azure subscription.
|
|
834
|
+
* @param options The options parameters.
|
|
835
|
+
*/
|
|
836
|
+
listGlobalBySubscription(options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
837
|
+
/**
|
|
838
|
+
* List all global event subscriptions under an Azure subscription for a topic type.
|
|
839
|
+
* @param topicTypeName Name of the topic type.
|
|
840
|
+
* @param options The options parameters.
|
|
841
|
+
*/
|
|
842
|
+
listGlobalBySubscriptionForTopicType(topicTypeName: string, options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
843
|
+
/**
|
|
844
|
+
* List all global event subscriptions under a specific Azure subscription and resource group.
|
|
845
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
846
|
+
* @param options The options parameters.
|
|
847
|
+
*/
|
|
848
|
+
listGlobalByResourceGroup(resourceGroupName: string, options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
849
|
+
/**
|
|
850
|
+
* List all global event subscriptions under a resource group for a specific topic type.
|
|
851
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
852
|
+
* @param topicTypeName Name of the topic type.
|
|
853
|
+
* @param options The options parameters.
|
|
854
|
+
*/
|
|
855
|
+
listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
856
|
+
/**
|
|
857
|
+
* List all event subscriptions from the given location under a specific Azure subscription.
|
|
858
|
+
* @param location Name of the location.
|
|
859
|
+
* @param options The options parameters.
|
|
860
|
+
*/
|
|
861
|
+
listRegionalBySubscription(location: string, options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
862
|
+
/**
|
|
863
|
+
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
864
|
+
* resource group.
|
|
865
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
866
|
+
* @param location Name of the location.
|
|
867
|
+
* @param options The options parameters.
|
|
868
|
+
*/
|
|
869
|
+
listRegionalByResourceGroup(resourceGroupName: string, location: string, options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
870
|
+
/**
|
|
871
|
+
* List all event subscriptions from the given location under a specific Azure subscription and topic
|
|
872
|
+
* type.
|
|
873
|
+
* @param location Name of the location.
|
|
874
|
+
* @param topicTypeName Name of the topic type.
|
|
875
|
+
* @param options The options parameters.
|
|
876
|
+
*/
|
|
877
|
+
listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
878
|
+
/**
|
|
879
|
+
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
880
|
+
* resource group and topic type.
|
|
881
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
882
|
+
* @param location Name of the location.
|
|
883
|
+
* @param topicTypeName Name of the topic type.
|
|
884
|
+
* @param options The options parameters.
|
|
885
|
+
*/
|
|
886
|
+
listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
887
|
+
/**
|
|
888
|
+
* List all event subscriptions that have been created for a specific topic.
|
|
889
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
890
|
+
* @param providerNamespace Namespace of the provider of the topic.
|
|
891
|
+
* @param resourceTypeName Name of the resource type.
|
|
892
|
+
* @param resourceName Name of the resource.
|
|
893
|
+
* @param options The options parameters.
|
|
894
|
+
*/
|
|
895
|
+
listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: EventSubscriptionsListByResourceOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
896
|
+
/**
|
|
897
|
+
* List all event subscriptions that have been created for a specific domain topic.
|
|
898
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
899
|
+
* @param domainName Name of the top level domain.
|
|
900
|
+
* @param topicName Name of the domain topic.
|
|
901
|
+
* @param options The options parameters.
|
|
902
|
+
*/
|
|
903
|
+
listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options?: EventSubscriptionsListByDomainTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
904
|
+
/**
|
|
905
|
+
* Get properties of an event subscription.
|
|
906
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
907
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
908
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
909
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
910
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
911
|
+
* for a resource, and
|
|
912
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
913
|
+
* for an EventGrid topic.
|
|
914
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
915
|
+
* @param options The options parameters.
|
|
916
|
+
*/
|
|
917
|
+
get(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetOptionalParams): Promise<EventSubscriptionsGetResponse>;
|
|
918
|
+
/**
|
|
919
|
+
* Asynchronously creates a new event subscription or updates an existing event subscription based on
|
|
920
|
+
* the specified scope.
|
|
921
|
+
* @param scope The identifier of the resource to which the event subscription needs to be created or
|
|
922
|
+
* updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
|
|
923
|
+
* a resource provider namespace, or an EventGrid topic. For example, use
|
|
924
|
+
* '/subscriptions/{subscriptionId}/' for a subscription,
|
|
925
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
926
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
927
|
+
* for a resource, and
|
|
928
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
929
|
+
* for an EventGrid topic.
|
|
930
|
+
* @param eventSubscriptionName Name of the event subscription. Event subscription names must be
|
|
931
|
+
* between 3 and 64 characters in length and should use alphanumeric letters only.
|
|
932
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
933
|
+
* information.
|
|
934
|
+
* @param options The options parameters.
|
|
935
|
+
*/
|
|
936
|
+
beginCreateOrUpdate(scope: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: EventSubscriptionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<EventSubscriptionsCreateOrUpdateResponse>, EventSubscriptionsCreateOrUpdateResponse>>;
|
|
937
|
+
/**
|
|
938
|
+
* Asynchronously creates a new event subscription or updates an existing event subscription based on
|
|
939
|
+
* the specified scope.
|
|
940
|
+
* @param scope The identifier of the resource to which the event subscription needs to be created or
|
|
941
|
+
* updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
|
|
942
|
+
* a resource provider namespace, or an EventGrid topic. For example, use
|
|
943
|
+
* '/subscriptions/{subscriptionId}/' for a subscription,
|
|
944
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
945
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
946
|
+
* for a resource, and
|
|
947
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
948
|
+
* for an EventGrid topic.
|
|
949
|
+
* @param eventSubscriptionName Name of the event subscription. Event subscription names must be
|
|
950
|
+
* between 3 and 64 characters in length and should use alphanumeric letters only.
|
|
951
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
952
|
+
* information.
|
|
953
|
+
* @param options The options parameters.
|
|
954
|
+
*/
|
|
955
|
+
beginCreateOrUpdateAndWait(scope: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: EventSubscriptionsCreateOrUpdateOptionalParams): Promise<EventSubscriptionsCreateOrUpdateResponse>;
|
|
956
|
+
/**
|
|
957
|
+
* Delete an existing event subscription.
|
|
958
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
959
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
960
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
961
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
962
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
963
|
+
* for a resource, and
|
|
964
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
965
|
+
* for an EventGrid topic.
|
|
966
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
967
|
+
* @param options The options parameters.
|
|
968
|
+
*/
|
|
969
|
+
beginDelete(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
970
|
+
/**
|
|
971
|
+
* Delete an existing event subscription.
|
|
972
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
973
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
974
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
975
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
976
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
977
|
+
* for a resource, and
|
|
978
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
979
|
+
* for an EventGrid topic.
|
|
980
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
981
|
+
* @param options The options parameters.
|
|
982
|
+
*/
|
|
983
|
+
beginDeleteAndWait(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsDeleteOptionalParams): Promise<void>;
|
|
984
|
+
/**
|
|
985
|
+
* Asynchronously updates an existing event subscription.
|
|
986
|
+
* @param scope The scope of existing event subscription. The scope can be a subscription, or a
|
|
987
|
+
* resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
988
|
+
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
989
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
990
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
991
|
+
* for a resource, and
|
|
992
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
993
|
+
* for an EventGrid topic.
|
|
994
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
995
|
+
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
996
|
+
* @param options The options parameters.
|
|
997
|
+
*/
|
|
998
|
+
beginUpdate(scope: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: EventSubscriptionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<EventSubscriptionsUpdateResponse>, EventSubscriptionsUpdateResponse>>;
|
|
999
|
+
/**
|
|
1000
|
+
* Asynchronously updates an existing event subscription.
|
|
1001
|
+
* @param scope The scope of existing event subscription. The scope can be a subscription, or a
|
|
1002
|
+
* resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
1003
|
+
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1004
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1005
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1006
|
+
* for a resource, and
|
|
1007
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1008
|
+
* for an EventGrid topic.
|
|
1009
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
1010
|
+
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
1011
|
+
* @param options The options parameters.
|
|
1012
|
+
*/
|
|
1013
|
+
beginUpdateAndWait(scope: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: EventSubscriptionsUpdateOptionalParams): Promise<EventSubscriptionsUpdateResponse>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Get the full endpoint URL for an event subscription.
|
|
1016
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
1017
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
1018
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1019
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1020
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1021
|
+
* for a resource, and
|
|
1022
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1023
|
+
* for an EventGrid topic.
|
|
1024
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
1025
|
+
* @param options The options parameters.
|
|
1026
|
+
*/
|
|
1027
|
+
getFullUrl(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetFullUrlOptionalParams): Promise<EventSubscriptionsGetFullUrlResponse>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Get all delivery attributes for an event subscription.
|
|
1030
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
1031
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
1032
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1033
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1034
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1035
|
+
* for a resource, and
|
|
1036
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1037
|
+
* for an EventGrid topic.
|
|
1038
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
1039
|
+
* @param options The options parameters.
|
|
1040
|
+
*/
|
|
1041
|
+
getDeliveryAttributes(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/** Optional parameters. */
|
|
1045
|
+
export declare interface EventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1046
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1047
|
+
updateIntervalInMs?: number;
|
|
1048
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1049
|
+
resumeFrom?: string;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1053
|
+
export declare type EventSubscriptionsCreateOrUpdateResponse = EventSubscription;
|
|
1054
|
+
|
|
1055
|
+
/** Optional parameters. */
|
|
1056
|
+
export declare interface EventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1057
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1058
|
+
updateIntervalInMs?: number;
|
|
1059
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1060
|
+
resumeFrom?: string;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
/** Optional parameters. */
|
|
1064
|
+
export declare interface EventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/** Contains response data for the getDeliveryAttributes operation. */
|
|
1068
|
+
export declare type EventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
|
|
1069
|
+
|
|
1070
|
+
/** Optional parameters. */
|
|
1071
|
+
export declare interface EventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/** Contains response data for the getFullUrl operation. */
|
|
1075
|
+
export declare type EventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
|
|
1076
|
+
|
|
1077
|
+
/** Optional parameters. */
|
|
1078
|
+
export declare interface EventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/** Contains response data for the get operation. */
|
|
1082
|
+
export declare type EventSubscriptionsGetResponse = EventSubscription;
|
|
1083
|
+
|
|
1084
|
+
/** Optional parameters. */
|
|
1085
|
+
export declare interface EventSubscriptionsListByDomainTopicNextOptionalParams extends coreClient.OperationOptions {
|
|
1086
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1087
|
+
filter?: string;
|
|
1088
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1089
|
+
top?: number;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
/** Contains response data for the listByDomainTopicNext operation. */
|
|
1093
|
+
export declare type EventSubscriptionsListByDomainTopicNextResponse = EventSubscriptionsListResult;
|
|
1094
|
+
|
|
1095
|
+
/** Optional parameters. */
|
|
1096
|
+
export declare interface EventSubscriptionsListByDomainTopicOptionalParams extends coreClient.OperationOptions {
|
|
1097
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1098
|
+
filter?: string;
|
|
1099
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1100
|
+
top?: number;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
/** Contains response data for the listByDomainTopic operation. */
|
|
1104
|
+
export declare type EventSubscriptionsListByDomainTopicResponse = EventSubscriptionsListResult;
|
|
1105
|
+
|
|
1106
|
+
/** Optional parameters. */
|
|
1107
|
+
export declare interface EventSubscriptionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1108
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1109
|
+
filter?: string;
|
|
1110
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1111
|
+
top?: number;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/** Contains response data for the listByResourceNext operation. */
|
|
1115
|
+
export declare type EventSubscriptionsListByResourceNextResponse = EventSubscriptionsListResult;
|
|
1116
|
+
|
|
1117
|
+
/** Optional parameters. */
|
|
1118
|
+
export declare interface EventSubscriptionsListByResourceOptionalParams extends coreClient.OperationOptions {
|
|
1119
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1120
|
+
filter?: string;
|
|
1121
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1122
|
+
top?: number;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/** Contains response data for the listByResource operation. */
|
|
1126
|
+
export declare type EventSubscriptionsListByResourceResponse = EventSubscriptionsListResult;
|
|
1127
|
+
|
|
1128
|
+
/** Optional parameters. */
|
|
1129
|
+
export declare interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
|
|
1130
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1131
|
+
filter?: string;
|
|
1132
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1133
|
+
top?: number;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/** Contains response data for the listGlobalByResourceGroupForTopicTypeNext operation. */
|
|
1137
|
+
export declare type EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
|
|
1138
|
+
|
|
1139
|
+
/** Optional parameters. */
|
|
1140
|
+
export declare interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams extends coreClient.OperationOptions {
|
|
1141
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1142
|
+
filter?: string;
|
|
1143
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1144
|
+
top?: number;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
/** Contains response data for the listGlobalByResourceGroupForTopicType operation. */
|
|
1148
|
+
export declare type EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
|
|
1149
|
+
|
|
1150
|
+
/** Optional parameters. */
|
|
1151
|
+
export declare interface EventSubscriptionsListGlobalByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1152
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1153
|
+
filter?: string;
|
|
1154
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1155
|
+
top?: number;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/** Contains response data for the listGlobalByResourceGroupNext operation. */
|
|
1159
|
+
export declare type EventSubscriptionsListGlobalByResourceGroupNextResponse = EventSubscriptionsListResult;
|
|
1160
|
+
|
|
1161
|
+
/** Optional parameters. */
|
|
1162
|
+
export declare interface EventSubscriptionsListGlobalByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1163
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1164
|
+
filter?: string;
|
|
1165
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1166
|
+
top?: number;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/** Contains response data for the listGlobalByResourceGroup operation. */
|
|
1170
|
+
export declare type EventSubscriptionsListGlobalByResourceGroupResponse = EventSubscriptionsListResult;
|
|
1171
|
+
|
|
1172
|
+
/** Optional parameters. */
|
|
1173
|
+
export declare interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
|
|
1174
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1175
|
+
filter?: string;
|
|
1176
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1177
|
+
top?: number;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/** Contains response data for the listGlobalBySubscriptionForTopicTypeNext operation. */
|
|
1181
|
+
export declare type EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
|
|
1182
|
+
|
|
1183
|
+
/** Optional parameters. */
|
|
1184
|
+
export declare interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams extends coreClient.OperationOptions {
|
|
1185
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1186
|
+
filter?: string;
|
|
1187
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1188
|
+
top?: number;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/** Contains response data for the listGlobalBySubscriptionForTopicType operation. */
|
|
1192
|
+
export declare type EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
|
|
1193
|
+
|
|
1194
|
+
/** Optional parameters. */
|
|
1195
|
+
export declare interface EventSubscriptionsListGlobalBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1196
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1197
|
+
filter?: string;
|
|
1198
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1199
|
+
top?: number;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/** Contains response data for the listGlobalBySubscriptionNext operation. */
|
|
1203
|
+
export declare type EventSubscriptionsListGlobalBySubscriptionNextResponse = EventSubscriptionsListResult;
|
|
1204
|
+
|
|
1205
|
+
/** Optional parameters. */
|
|
1206
|
+
export declare interface EventSubscriptionsListGlobalBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1207
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1208
|
+
filter?: string;
|
|
1209
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1210
|
+
top?: number;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/** Contains response data for the listGlobalBySubscription operation. */
|
|
1214
|
+
export declare type EventSubscriptionsListGlobalBySubscriptionResponse = EventSubscriptionsListResult;
|
|
1215
|
+
|
|
1216
|
+
/** Optional parameters. */
|
|
1217
|
+
export declare interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
|
|
1218
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1219
|
+
filter?: string;
|
|
1220
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1221
|
+
top?: number;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/** Contains response data for the listRegionalByResourceGroupForTopicTypeNext operation. */
|
|
1225
|
+
export declare type EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
|
|
1226
|
+
|
|
1227
|
+
/** Optional parameters. */
|
|
1228
|
+
export declare interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams extends coreClient.OperationOptions {
|
|
1229
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1230
|
+
filter?: string;
|
|
1231
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1232
|
+
top?: number;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
/** Contains response data for the listRegionalByResourceGroupForTopicType operation. */
|
|
1236
|
+
export declare type EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
|
|
1237
|
+
|
|
1238
|
+
/** Optional parameters. */
|
|
1239
|
+
export declare interface EventSubscriptionsListRegionalByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1240
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1241
|
+
filter?: string;
|
|
1242
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1243
|
+
top?: number;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
/** Contains response data for the listRegionalByResourceGroupNext operation. */
|
|
1247
|
+
export declare type EventSubscriptionsListRegionalByResourceGroupNextResponse = EventSubscriptionsListResult;
|
|
1248
|
+
|
|
1249
|
+
/** Optional parameters. */
|
|
1250
|
+
export declare interface EventSubscriptionsListRegionalByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1251
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1252
|
+
filter?: string;
|
|
1253
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1254
|
+
top?: number;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/** Contains response data for the listRegionalByResourceGroup operation. */
|
|
1258
|
+
export declare type EventSubscriptionsListRegionalByResourceGroupResponse = EventSubscriptionsListResult;
|
|
1259
|
+
|
|
1260
|
+
/** Optional parameters. */
|
|
1261
|
+
export declare interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
|
|
1262
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1263
|
+
filter?: string;
|
|
1264
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1265
|
+
top?: number;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/** Contains response data for the listRegionalBySubscriptionForTopicTypeNext operation. */
|
|
1269
|
+
export declare type EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
|
|
1270
|
+
|
|
1271
|
+
/** Optional parameters. */
|
|
1272
|
+
export declare interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams extends coreClient.OperationOptions {
|
|
1273
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1274
|
+
filter?: string;
|
|
1275
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1276
|
+
top?: number;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/** Contains response data for the listRegionalBySubscriptionForTopicType operation. */
|
|
1280
|
+
export declare type EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
|
|
1281
|
+
|
|
1282
|
+
/** Optional parameters. */
|
|
1283
|
+
export declare interface EventSubscriptionsListRegionalBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1284
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1285
|
+
filter?: string;
|
|
1286
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1287
|
+
top?: number;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/** Contains response data for the listRegionalBySubscriptionNext operation. */
|
|
1291
|
+
export declare type EventSubscriptionsListRegionalBySubscriptionNextResponse = EventSubscriptionsListResult;
|
|
1292
|
+
|
|
1293
|
+
/** Optional parameters. */
|
|
1294
|
+
export declare interface EventSubscriptionsListRegionalBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1295
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1296
|
+
filter?: string;
|
|
1297
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1298
|
+
top?: number;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
/** Contains response data for the listRegionalBySubscription operation. */
|
|
1302
|
+
export declare type EventSubscriptionsListRegionalBySubscriptionResponse = EventSubscriptionsListResult;
|
|
1303
|
+
|
|
1304
|
+
/** Result of the List EventSubscriptions operation */
|
|
1305
|
+
export declare interface EventSubscriptionsListResult {
|
|
1306
|
+
/** A collection of EventSubscriptions */
|
|
1307
|
+
value?: EventSubscription[];
|
|
1308
|
+
/** A link for the next page of event subscriptions */
|
|
1309
|
+
nextLink?: string;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/** Optional parameters. */
|
|
1313
|
+
export declare interface EventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1314
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1315
|
+
updateIntervalInMs?: number;
|
|
1316
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1317
|
+
resumeFrom?: string;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/** Contains response data for the update operation. */
|
|
1321
|
+
export declare type EventSubscriptionsUpdateResponse = EventSubscription;
|
|
1322
|
+
|
|
1323
|
+
/** Properties of the Event Subscription update. */
|
|
1324
|
+
export declare interface EventSubscriptionUpdateParameters {
|
|
1325
|
+
/** Information about the destination where events have to be delivered for the event subscription. */
|
|
1326
|
+
destination?: EventSubscriptionDestinationUnion;
|
|
1327
|
+
/**
|
|
1328
|
+
* Information about the destination where events have to be delivered for the event subscription.
|
|
1329
|
+
* Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
|
|
1330
|
+
*/
|
|
1331
|
+
deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
|
|
1332
|
+
/** Information about the filter for the event subscription. */
|
|
1333
|
+
filter?: EventSubscriptionFilter;
|
|
1334
|
+
/** List of user defined labels. */
|
|
1335
|
+
labels?: string[];
|
|
1336
|
+
/** Information about the expiration time for the event subscription. */
|
|
1337
|
+
expirationTimeUtc?: Date;
|
|
1338
|
+
/** The event delivery schema for the event subscription. */
|
|
1339
|
+
eventDeliverySchema?: EventDeliverySchema;
|
|
1340
|
+
/** The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. */
|
|
1341
|
+
retryPolicy?: RetryPolicy;
|
|
1342
|
+
/** The DeadLetter destination of the event subscription. */
|
|
1343
|
+
deadLetterDestination?: DeadLetterDestinationUnion;
|
|
1344
|
+
/**
|
|
1345
|
+
* The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
|
|
1346
|
+
* Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
|
|
1347
|
+
*/
|
|
1348
|
+
deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
/** Event Type for a subject under a topic */
|
|
1352
|
+
export declare type EventType = Resource & {
|
|
1353
|
+
/** Display name of the event type. */
|
|
1354
|
+
displayName?: string;
|
|
1355
|
+
/** Description of the event type. */
|
|
1356
|
+
description?: string;
|
|
1357
|
+
/** Url of the schema for this event type. */
|
|
1358
|
+
schemaUrl?: string;
|
|
1359
|
+
/** IsInDefaultSet flag of the event type. */
|
|
1360
|
+
isInDefaultSet?: boolean;
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
/** Result of the List Event Types operation */
|
|
1364
|
+
export declare interface EventTypesListResult {
|
|
1365
|
+
/** A collection of event types */
|
|
1366
|
+
value?: EventType[];
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
/** Event grid Extension Topic. This is used for getting Event Grid related metrics for Azure resources. */
|
|
1370
|
+
export declare type ExtensionTopic = Resource & {
|
|
1371
|
+
/**
|
|
1372
|
+
* The system metadata relating to the Extension Topic resource.
|
|
1373
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1374
|
+
*/
|
|
1375
|
+
readonly systemData?: SystemData;
|
|
1376
|
+
/** Description of the extension topic. */
|
|
1377
|
+
description?: string;
|
|
1378
|
+
/** System topic resource id which is mapped to the source. */
|
|
1379
|
+
systemTopic?: string;
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
/** Interface representing a ExtensionTopics. */
|
|
1383
|
+
export declare interface ExtensionTopics {
|
|
1384
|
+
/**
|
|
1385
|
+
* Get the properties of an extension topic.
|
|
1386
|
+
* @param scope The identifier of the resource to which extension topic is queried. The scope can be a
|
|
1387
|
+
* subscription, or a resource group, or a top level resource belonging to a resource provider
|
|
1388
|
+
* namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1389
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1390
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1391
|
+
* for Azure resource.
|
|
1392
|
+
* @param options The options parameters.
|
|
1393
|
+
*/
|
|
1394
|
+
get(scope: string, options?: ExtensionTopicsGetOptionalParams): Promise<ExtensionTopicsGetResponse>;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/** Optional parameters. */
|
|
1398
|
+
export declare interface ExtensionTopicsGetOptionalParams extends coreClient.OperationOptions {
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/** Contains response data for the get operation. */
|
|
1402
|
+
export declare type ExtensionTopicsGetResponse = ExtensionTopic;
|
|
1403
|
+
|
|
1404
|
+
/** Information about the HybridConnection destination for an event subscription. */
|
|
1405
|
+
export declare type HybridConnectionEventSubscriptionDestination = EventSubscriptionDestination & {
|
|
1406
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1407
|
+
endpointType: "HybridConnection";
|
|
1408
|
+
/** The Azure Resource ID of an hybrid connection that is the destination of an event subscription. */
|
|
1409
|
+
resourceId?: string;
|
|
1410
|
+
/** Delivery attribute details. */
|
|
1411
|
+
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
/** The identity information for the resource. */
|
|
1415
|
+
export declare interface IdentityInfo {
|
|
1416
|
+
/** The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. */
|
|
1417
|
+
type?: IdentityType;
|
|
1418
|
+
/** The principal ID of resource identity. */
|
|
1419
|
+
principalId?: string;
|
|
1420
|
+
/** The tenant ID of resource. */
|
|
1421
|
+
tenantId?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
|
|
1424
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
|
|
1425
|
+
* This property is currently not used and reserved for future usage.
|
|
1426
|
+
*/
|
|
1427
|
+
userAssignedIdentities?: {
|
|
1428
|
+
[propertyName: string]: UserIdentityProperties;
|
|
1429
|
+
};
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* Defines values for IdentityType. \
|
|
1434
|
+
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
1435
|
+
* this enum contains the known values that the service supports.
|
|
1436
|
+
* ### Known values supported by the service
|
|
1437
|
+
* **None** \
|
|
1438
|
+
* **SystemAssigned** \
|
|
1439
|
+
* **UserAssigned** \
|
|
1440
|
+
* **SystemAssigned, UserAssigned**
|
|
1441
|
+
*/
|
|
1442
|
+
export declare type IdentityType = string;
|
|
1443
|
+
|
|
1444
|
+
export declare interface InboundIpRule {
|
|
1445
|
+
/** IP Address in CIDR notation e.g., 10.0.0.0/8. */
|
|
1446
|
+
ipMask?: string;
|
|
1447
|
+
/** Action to perform based on the match or no match of the IpMask. */
|
|
1448
|
+
action?: IpActionType;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Defines values for InputSchema. \
|
|
1453
|
+
* {@link KnownInputSchema} can be used interchangeably with InputSchema,
|
|
1454
|
+
* this enum contains the known values that the service supports.
|
|
1455
|
+
* ### Known values supported by the service
|
|
1456
|
+
* **EventGridSchema** \
|
|
1457
|
+
* **CustomEventSchema** \
|
|
1458
|
+
* **CloudEventSchemaV1_0**
|
|
1459
|
+
*/
|
|
1460
|
+
export declare type InputSchema = string;
|
|
1461
|
+
|
|
1462
|
+
/** By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'. */
|
|
1463
|
+
export declare interface InputSchemaMapping {
|
|
1464
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1465
|
+
inputSchemaMappingType: "Json";
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* Defines values for InputSchemaMappingType. \
|
|
1470
|
+
* {@link KnownInputSchemaMappingType} can be used interchangeably with InputSchemaMappingType,
|
|
1471
|
+
* this enum contains the known values that the service supports.
|
|
1472
|
+
* ### Known values supported by the service
|
|
1473
|
+
* **Json**
|
|
1474
|
+
*/
|
|
1475
|
+
export declare type InputSchemaMappingType = string;
|
|
1476
|
+
|
|
1477
|
+
export declare type InputSchemaMappingUnion = InputSchemaMapping | JsonInputSchemaMapping;
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Defines values for IpActionType. \
|
|
1481
|
+
* {@link KnownIpActionType} can be used interchangeably with IpActionType,
|
|
1482
|
+
* this enum contains the known values that the service supports.
|
|
1483
|
+
* ### Known values supported by the service
|
|
1484
|
+
* **Allow**
|
|
1485
|
+
*/
|
|
1486
|
+
export declare type IpActionType = string;
|
|
1487
|
+
|
|
1488
|
+
/** This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema. */
|
|
1489
|
+
export declare interface JsonField {
|
|
1490
|
+
/** Name of a field in the input event schema that's to be used as the source of a mapping. */
|
|
1491
|
+
sourceField?: string;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* This is used to express the source of an input schema mapping for a single target field
|
|
1496
|
+
* in the Event Grid Event schema. This is currently used in the mappings for the 'subject',
|
|
1497
|
+
* 'eventtype' and 'dataversion' properties. This represents a field in the input event schema
|
|
1498
|
+
* along with a default value to be used, and at least one of these two properties should be provided.
|
|
1499
|
+
*/
|
|
1500
|
+
export declare interface JsonFieldWithDefault {
|
|
1501
|
+
/** Name of a field in the input event schema that's to be used as the source of a mapping. */
|
|
1502
|
+
sourceField?: string;
|
|
1503
|
+
/** The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload. */
|
|
1504
|
+
defaultValue?: string;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
/** This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema. */
|
|
1508
|
+
export declare type JsonInputSchemaMapping = InputSchemaMapping & {
|
|
1509
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1510
|
+
inputSchemaMappingType: "Json";
|
|
1511
|
+
/** The mapping information for the Id property of the Event Grid Event. */
|
|
1512
|
+
id?: JsonField;
|
|
1513
|
+
/** The mapping information for the Topic property of the Event Grid Event. */
|
|
1514
|
+
topic?: JsonField;
|
|
1515
|
+
/** The mapping information for the EventTime property of the Event Grid Event. */
|
|
1516
|
+
eventTime?: JsonField;
|
|
1517
|
+
/** The mapping information for the EventType property of the Event Grid Event. */
|
|
1518
|
+
eventType?: JsonFieldWithDefault;
|
|
1519
|
+
/** The mapping information for the Subject property of the Event Grid Event. */
|
|
1520
|
+
subject?: JsonFieldWithDefault;
|
|
1521
|
+
/** The mapping information for the DataVersion property of the Event Grid Event. */
|
|
1522
|
+
dataVersion?: JsonFieldWithDefault;
|
|
1523
|
+
};
|
|
1524
|
+
|
|
1525
|
+
/** Known values of {@link AdvancedFilterOperatorType} that the service accepts. */
|
|
1526
|
+
export declare enum KnownAdvancedFilterOperatorType {
|
|
1527
|
+
NumberIn = "NumberIn",
|
|
1528
|
+
NumberNotIn = "NumberNotIn",
|
|
1529
|
+
NumberLessThan = "NumberLessThan",
|
|
1530
|
+
NumberGreaterThan = "NumberGreaterThan",
|
|
1531
|
+
NumberLessThanOrEquals = "NumberLessThanOrEquals",
|
|
1532
|
+
NumberGreaterThanOrEquals = "NumberGreaterThanOrEquals",
|
|
1533
|
+
BoolEquals = "BoolEquals",
|
|
1534
|
+
StringIn = "StringIn",
|
|
1535
|
+
StringNotIn = "StringNotIn",
|
|
1536
|
+
StringBeginsWith = "StringBeginsWith",
|
|
1537
|
+
StringEndsWith = "StringEndsWith",
|
|
1538
|
+
StringContains = "StringContains"
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1542
|
+
export declare enum KnownCreatedByType {
|
|
1543
|
+
User = "User",
|
|
1544
|
+
Application = "Application",
|
|
1545
|
+
ManagedIdentity = "ManagedIdentity",
|
|
1546
|
+
Key = "Key"
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/** Known values of {@link DeadLetterEndPointType} that the service accepts. */
|
|
1550
|
+
export declare enum KnownDeadLetterEndPointType {
|
|
1551
|
+
StorageBlob = "StorageBlob"
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/** Known values of {@link DeliveryAttributeMappingType} that the service accepts. */
|
|
1555
|
+
export declare enum KnownDeliveryAttributeMappingType {
|
|
1556
|
+
Static = "Static",
|
|
1557
|
+
Dynamic = "Dynamic"
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/** Known values of {@link DomainProvisioningState} that the service accepts. */
|
|
1561
|
+
export declare enum KnownDomainProvisioningState {
|
|
1562
|
+
Creating = "Creating",
|
|
1563
|
+
Updating = "Updating",
|
|
1564
|
+
Deleting = "Deleting",
|
|
1565
|
+
Succeeded = "Succeeded",
|
|
1566
|
+
Canceled = "Canceled",
|
|
1567
|
+
Failed = "Failed"
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/** Known values of {@link DomainTopicProvisioningState} that the service accepts. */
|
|
1571
|
+
export declare enum KnownDomainTopicProvisioningState {
|
|
1572
|
+
Creating = "Creating",
|
|
1573
|
+
Updating = "Updating",
|
|
1574
|
+
Deleting = "Deleting",
|
|
1575
|
+
Succeeded = "Succeeded",
|
|
1576
|
+
Canceled = "Canceled",
|
|
1577
|
+
Failed = "Failed"
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/** Known values of {@link EndpointType} that the service accepts. */
|
|
1581
|
+
export declare enum KnownEndpointType {
|
|
1582
|
+
WebHook = "WebHook",
|
|
1583
|
+
EventHub = "EventHub",
|
|
1584
|
+
StorageQueue = "StorageQueue",
|
|
1585
|
+
HybridConnection = "HybridConnection",
|
|
1586
|
+
ServiceBusQueue = "ServiceBusQueue",
|
|
1587
|
+
ServiceBusTopic = "ServiceBusTopic",
|
|
1588
|
+
AzureFunction = "AzureFunction"
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
/** Known values of {@link Enum18} that the service accepts. */
|
|
1592
|
+
export declare enum KnownEnum18 {
|
|
1593
|
+
Topics = "topics",
|
|
1594
|
+
Domains = "domains"
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/** Known values of {@link Enum19} that the service accepts. */
|
|
1598
|
+
export declare enum KnownEnum19 {
|
|
1599
|
+
Topics = "topics",
|
|
1600
|
+
Domains = "domains"
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
/** Known values of {@link Enum20} that the service accepts. */
|
|
1604
|
+
export declare enum KnownEnum20 {
|
|
1605
|
+
Topics = "topics",
|
|
1606
|
+
Domains = "domains"
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/** Known values of {@link Enum21} that the service accepts. */
|
|
1610
|
+
export declare enum KnownEnum21 {
|
|
1611
|
+
Topics = "topics",
|
|
1612
|
+
Domains = "domains"
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
/** Known values of {@link EventDeliverySchema} that the service accepts. */
|
|
1616
|
+
export declare enum KnownEventDeliverySchema {
|
|
1617
|
+
EventGridSchema = "EventGridSchema",
|
|
1618
|
+
CustomInputSchema = "CustomInputSchema",
|
|
1619
|
+
CloudEventSchemaV10 = "CloudEventSchemaV1_0"
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
/** Known values of {@link EventSubscriptionIdentityType} that the service accepts. */
|
|
1623
|
+
export declare enum KnownEventSubscriptionIdentityType {
|
|
1624
|
+
SystemAssigned = "SystemAssigned",
|
|
1625
|
+
UserAssigned = "UserAssigned"
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
/** Known values of {@link EventSubscriptionProvisioningState} that the service accepts. */
|
|
1629
|
+
export declare enum KnownEventSubscriptionProvisioningState {
|
|
1630
|
+
Creating = "Creating",
|
|
1631
|
+
Updating = "Updating",
|
|
1632
|
+
Deleting = "Deleting",
|
|
1633
|
+
Succeeded = "Succeeded",
|
|
1634
|
+
Canceled = "Canceled",
|
|
1635
|
+
Failed = "Failed",
|
|
1636
|
+
AwaitingManualAction = "AwaitingManualAction"
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
/** Known values of {@link IdentityType} that the service accepts. */
|
|
1640
|
+
export declare enum KnownIdentityType {
|
|
1641
|
+
None = "None",
|
|
1642
|
+
SystemAssigned = "SystemAssigned",
|
|
1643
|
+
UserAssigned = "UserAssigned",
|
|
1644
|
+
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
/** Known values of {@link InputSchema} that the service accepts. */
|
|
1648
|
+
export declare enum KnownInputSchema {
|
|
1649
|
+
EventGridSchema = "EventGridSchema",
|
|
1650
|
+
CustomEventSchema = "CustomEventSchema",
|
|
1651
|
+
CloudEventSchemaV10 = "CloudEventSchemaV1_0"
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
/** Known values of {@link InputSchemaMappingType} that the service accepts. */
|
|
1655
|
+
export declare enum KnownInputSchemaMappingType {
|
|
1656
|
+
Json = "Json"
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
/** Known values of {@link IpActionType} that the service accepts. */
|
|
1660
|
+
export declare enum KnownIpActionType {
|
|
1661
|
+
Allow = "Allow"
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/** Known values of {@link PersistedConnectionStatus} that the service accepts. */
|
|
1665
|
+
export declare enum KnownPersistedConnectionStatus {
|
|
1666
|
+
Pending = "Pending",
|
|
1667
|
+
Approved = "Approved",
|
|
1668
|
+
Rejected = "Rejected",
|
|
1669
|
+
Disconnected = "Disconnected"
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
1673
|
+
export declare enum KnownPublicNetworkAccess {
|
|
1674
|
+
Enabled = "Enabled",
|
|
1675
|
+
Disabled = "Disabled"
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
/** Known values of {@link ResourceProvisioningState} that the service accepts. */
|
|
1679
|
+
export declare enum KnownResourceProvisioningState {
|
|
1680
|
+
Creating = "Creating",
|
|
1681
|
+
Updating = "Updating",
|
|
1682
|
+
Deleting = "Deleting",
|
|
1683
|
+
Succeeded = "Succeeded",
|
|
1684
|
+
Canceled = "Canceled",
|
|
1685
|
+
Failed = "Failed"
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
/** Known values of {@link ResourceRegionType} that the service accepts. */
|
|
1689
|
+
export declare enum KnownResourceRegionType {
|
|
1690
|
+
RegionalResource = "RegionalResource",
|
|
1691
|
+
GlobalResource = "GlobalResource"
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
/** Known values of {@link TopicProvisioningState} that the service accepts. */
|
|
1695
|
+
export declare enum KnownTopicProvisioningState {
|
|
1696
|
+
Creating = "Creating",
|
|
1697
|
+
Updating = "Updating",
|
|
1698
|
+
Deleting = "Deleting",
|
|
1699
|
+
Succeeded = "Succeeded",
|
|
1700
|
+
Canceled = "Canceled",
|
|
1701
|
+
Failed = "Failed"
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
/** Known values of {@link TopicTypePropertiesSupportedScopesForSourceItem} that the service accepts. */
|
|
1705
|
+
export declare enum KnownTopicTypePropertiesSupportedScopesForSourceItem {
|
|
1706
|
+
Resource = "Resource",
|
|
1707
|
+
ResourceGroup = "ResourceGroup",
|
|
1708
|
+
AzureSubscription = "AzureSubscription"
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/** Known values of {@link TopicTypeProvisioningState} that the service accepts. */
|
|
1712
|
+
export declare enum KnownTopicTypeProvisioningState {
|
|
1713
|
+
Creating = "Creating",
|
|
1714
|
+
Updating = "Updating",
|
|
1715
|
+
Deleting = "Deleting",
|
|
1716
|
+
Succeeded = "Succeeded",
|
|
1717
|
+
Canceled = "Canceled",
|
|
1718
|
+
Failed = "Failed"
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
/** NumberGreaterThan Advanced Filter. */
|
|
1722
|
+
export declare type NumberGreaterThanAdvancedFilter = AdvancedFilter & {
|
|
1723
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1724
|
+
operatorType: "NumberGreaterThan";
|
|
1725
|
+
/** The filter value. */
|
|
1726
|
+
value?: number;
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
/** NumberGreaterThanOrEquals Advanced Filter. */
|
|
1730
|
+
export declare type NumberGreaterThanOrEqualsAdvancedFilter = AdvancedFilter & {
|
|
1731
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1732
|
+
operatorType: "NumberGreaterThanOrEquals";
|
|
1733
|
+
/** The filter value. */
|
|
1734
|
+
value?: number;
|
|
1735
|
+
};
|
|
1736
|
+
|
|
1737
|
+
/** NumberIn Advanced Filter. */
|
|
1738
|
+
export declare type NumberInAdvancedFilter = AdvancedFilter & {
|
|
1739
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1740
|
+
operatorType: "NumberIn";
|
|
1741
|
+
/** The set of filter values. */
|
|
1742
|
+
values?: number[];
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
/** NumberLessThan Advanced Filter. */
|
|
1746
|
+
export declare type NumberLessThanAdvancedFilter = AdvancedFilter & {
|
|
1747
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1748
|
+
operatorType: "NumberLessThan";
|
|
1749
|
+
/** The filter value. */
|
|
1750
|
+
value?: number;
|
|
1751
|
+
};
|
|
1752
|
+
|
|
1753
|
+
/** NumberLessThanOrEquals Advanced Filter. */
|
|
1754
|
+
export declare type NumberLessThanOrEqualsAdvancedFilter = AdvancedFilter & {
|
|
1755
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1756
|
+
operatorType: "NumberLessThanOrEquals";
|
|
1757
|
+
/** The filter value. */
|
|
1758
|
+
value?: number;
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
/** NumberNotIn Advanced Filter. */
|
|
1762
|
+
export declare type NumberNotInAdvancedFilter = AdvancedFilter & {
|
|
1763
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1764
|
+
operatorType: "NumberNotIn";
|
|
1765
|
+
/** The set of filter values. */
|
|
1766
|
+
values?: number[];
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
/** Represents an operation returned by the GetOperations request */
|
|
1770
|
+
export declare interface Operation {
|
|
1771
|
+
/** Name of the operation */
|
|
1772
|
+
name?: string;
|
|
1773
|
+
/** Display name of the operation */
|
|
1774
|
+
display?: OperationInfo;
|
|
1775
|
+
/** Origin of the operation */
|
|
1776
|
+
origin?: string;
|
|
1777
|
+
/** Properties of the operation */
|
|
1778
|
+
properties?: Record<string, unknown>;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
/** Information about an operation */
|
|
1782
|
+
export declare interface OperationInfo {
|
|
1783
|
+
/** Name of the provider */
|
|
1784
|
+
provider?: string;
|
|
1785
|
+
/** Name of the resource type */
|
|
1786
|
+
resource?: string;
|
|
1787
|
+
/** Name of the operation */
|
|
1788
|
+
operation?: string;
|
|
1789
|
+
/** Description of the operation */
|
|
1790
|
+
description?: string;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/** Interface representing a Operations. */
|
|
1794
|
+
export declare interface Operations {
|
|
1795
|
+
/**
|
|
1796
|
+
* List the available operations supported by the Microsoft.EventGrid resource provider.
|
|
1797
|
+
* @param options The options parameters.
|
|
1798
|
+
*/
|
|
1799
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
/** Optional parameters. */
|
|
1803
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
/** Contains response data for the list operation. */
|
|
1807
|
+
export declare type OperationsListResponse = OperationsListResult;
|
|
1808
|
+
|
|
1809
|
+
/** Result of the List Operations operation */
|
|
1810
|
+
export declare interface OperationsListResult {
|
|
1811
|
+
/** A collection of operations */
|
|
1812
|
+
value?: Operation[];
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* Defines values for PersistedConnectionStatus. \
|
|
1817
|
+
* {@link KnownPersistedConnectionStatus} can be used interchangeably with PersistedConnectionStatus,
|
|
1818
|
+
* this enum contains the known values that the service supports.
|
|
1819
|
+
* ### Known values supported by the service
|
|
1820
|
+
* **Pending** \
|
|
1821
|
+
* **Approved** \
|
|
1822
|
+
* **Rejected** \
|
|
1823
|
+
* **Disconnected**
|
|
1824
|
+
*/
|
|
1825
|
+
export declare type PersistedConnectionStatus = string;
|
|
1826
|
+
|
|
1827
|
+
/** PrivateEndpoint information. */
|
|
1828
|
+
export declare interface PrivateEndpoint {
|
|
1829
|
+
/** The ARM identifier for Private Endpoint. */
|
|
1830
|
+
id?: string;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
export declare type PrivateEndpointConnection = Resource & {
|
|
1834
|
+
/** The Private Endpoint resource for this Connection. */
|
|
1835
|
+
privateEndpoint?: PrivateEndpoint;
|
|
1836
|
+
/** GroupIds from the private link service resource. */
|
|
1837
|
+
groupIds?: string[];
|
|
1838
|
+
/** Details about the state of the connection. */
|
|
1839
|
+
privateLinkServiceConnectionState?: ConnectionState;
|
|
1840
|
+
/** Provisioning state of the Private Endpoint Connection. */
|
|
1841
|
+
provisioningState?: ResourceProvisioningState;
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
/** Result of the list of all private endpoint connections operation. */
|
|
1845
|
+
export declare interface PrivateEndpointConnectionListResult {
|
|
1846
|
+
/** A collection of private endpoint connection resources. */
|
|
1847
|
+
value?: PrivateEndpointConnection[];
|
|
1848
|
+
/** A link for the next page of private endpoint connection resources. */
|
|
1849
|
+
nextLink?: string;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
1853
|
+
export declare interface PrivateEndpointConnections {
|
|
1854
|
+
/**
|
|
1855
|
+
* Get all private endpoint connections under a topic or domain.
|
|
1856
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1857
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1858
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1859
|
+
* @param options The options parameters.
|
|
1860
|
+
*/
|
|
1861
|
+
listByResource(resourceGroupName: string, parentType: Enum21, parentName: string, options?: PrivateEndpointConnectionsListByResourceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
1862
|
+
/**
|
|
1863
|
+
* Get a specific private endpoint connection under a topic or domain.
|
|
1864
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1865
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1866
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1867
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
1868
|
+
* @param options The options parameters.
|
|
1869
|
+
*/
|
|
1870
|
+
get(resourceGroupName: string, parentType: Enum18, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
1871
|
+
/**
|
|
1872
|
+
* Update a specific private endpoint connection under a topic or domain.
|
|
1873
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1874
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1875
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1876
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
1877
|
+
* @param privateEndpointConnection The private endpoint connection object to update.
|
|
1878
|
+
* @param options The options parameters.
|
|
1879
|
+
*/
|
|
1880
|
+
beginUpdate(resourceGroupName: string, parentType: Enum19, parentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>;
|
|
1881
|
+
/**
|
|
1882
|
+
* Update a specific private endpoint connection under a topic or domain.
|
|
1883
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1884
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1885
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1886
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
1887
|
+
* @param privateEndpointConnection The private endpoint connection object to update.
|
|
1888
|
+
* @param options The options parameters.
|
|
1889
|
+
*/
|
|
1890
|
+
beginUpdateAndWait(resourceGroupName: string, parentType: Enum19, parentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
|
|
1891
|
+
/**
|
|
1892
|
+
* Delete a specific private endpoint connection under a topic or domain.
|
|
1893
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1894
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1895
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1896
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
1897
|
+
* @param options The options parameters.
|
|
1898
|
+
*/
|
|
1899
|
+
beginDelete(resourceGroupName: string, parentType: Enum20, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1900
|
+
/**
|
|
1901
|
+
* Delete a specific private endpoint connection under a topic or domain.
|
|
1902
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1903
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1904
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1905
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
1906
|
+
* @param options The options parameters.
|
|
1907
|
+
*/
|
|
1908
|
+
beginDeleteAndWait(resourceGroupName: string, parentType: Enum20, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/** Optional parameters. */
|
|
1912
|
+
export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1913
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1914
|
+
updateIntervalInMs?: number;
|
|
1915
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1916
|
+
resumeFrom?: string;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
/** Optional parameters. */
|
|
1920
|
+
export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
/** Contains response data for the get operation. */
|
|
1924
|
+
export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
1925
|
+
|
|
1926
|
+
/** Optional parameters. */
|
|
1927
|
+
export declare interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1928
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1929
|
+
filter?: string;
|
|
1930
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1931
|
+
top?: number;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/** Contains response data for the listByResourceNext operation. */
|
|
1935
|
+
export declare type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
|
|
1936
|
+
|
|
1937
|
+
/** Optional parameters. */
|
|
1938
|
+
export declare interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
|
|
1939
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
1940
|
+
filter?: string;
|
|
1941
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
1942
|
+
top?: number;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
/** Contains response data for the listByResource operation. */
|
|
1946
|
+
export declare type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
|
|
1947
|
+
|
|
1948
|
+
/** Optional parameters. */
|
|
1949
|
+
export declare interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1950
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1951
|
+
updateIntervalInMs?: number;
|
|
1952
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1953
|
+
resumeFrom?: string;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
/** Contains response data for the update operation. */
|
|
1957
|
+
export declare type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;
|
|
1958
|
+
|
|
1959
|
+
/** Information of the private link resource. */
|
|
1960
|
+
export declare interface PrivateLinkResource {
|
|
1961
|
+
/** Fully qualified identifier of the resource. */
|
|
1962
|
+
id?: string;
|
|
1963
|
+
/** Name of the resource. */
|
|
1964
|
+
name?: string;
|
|
1965
|
+
/** Type of the resource. */
|
|
1966
|
+
type?: string;
|
|
1967
|
+
groupId?: string;
|
|
1968
|
+
displayName?: string;
|
|
1969
|
+
requiredMembers?: string[];
|
|
1970
|
+
requiredZoneNames?: string[];
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
/** Interface representing a PrivateLinkResources. */
|
|
1974
|
+
export declare interface PrivateLinkResources {
|
|
1975
|
+
/**
|
|
1976
|
+
* List all the private link resources under a topic or domain.
|
|
1977
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1978
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1979
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1980
|
+
* @param options The options parameters.
|
|
1981
|
+
*/
|
|
1982
|
+
listByResource(resourceGroupName: string, parentType: string, parentName: string, options?: PrivateLinkResourcesListByResourceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
1983
|
+
/**
|
|
1984
|
+
* Get properties of a private link resource.
|
|
1985
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1986
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
1987
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
1988
|
+
* @param privateLinkResourceName The name of private link resource.
|
|
1989
|
+
* @param options The options parameters.
|
|
1990
|
+
*/
|
|
1991
|
+
get(resourceGroupName: string, parentType: string, parentName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
/** Optional parameters. */
|
|
1995
|
+
export declare interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/** Contains response data for the get operation. */
|
|
1999
|
+
export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
|
|
2000
|
+
|
|
2001
|
+
/** Optional parameters. */
|
|
2002
|
+
export declare interface PrivateLinkResourcesListByResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
2003
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2004
|
+
filter?: string;
|
|
2005
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2006
|
+
top?: number;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
/** Contains response data for the listByResourceNext operation. */
|
|
2010
|
+
export declare type PrivateLinkResourcesListByResourceNextResponse = PrivateLinkResourcesListResult;
|
|
2011
|
+
|
|
2012
|
+
/** Optional parameters. */
|
|
2013
|
+
export declare interface PrivateLinkResourcesListByResourceOptionalParams extends coreClient.OperationOptions {
|
|
2014
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2015
|
+
filter?: string;
|
|
2016
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2017
|
+
top?: number;
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
/** Contains response data for the listByResource operation. */
|
|
2021
|
+
export declare type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourcesListResult;
|
|
2022
|
+
|
|
2023
|
+
/** Result of the List private link resources operation. */
|
|
2024
|
+
export declare interface PrivateLinkResourcesListResult {
|
|
2025
|
+
/** A collection of private link resources */
|
|
2026
|
+
value?: PrivateLinkResource[];
|
|
2027
|
+
/** A link for the next page of private link resources. */
|
|
2028
|
+
nextLink?: string;
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* Defines values for PublicNetworkAccess. \
|
|
2033
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
|
2034
|
+
* this enum contains the known values that the service supports.
|
|
2035
|
+
* ### Known values supported by the service
|
|
2036
|
+
* **Enabled** \
|
|
2037
|
+
* **Disabled**
|
|
2038
|
+
*/
|
|
2039
|
+
export declare type PublicNetworkAccess = string;
|
|
2040
|
+
|
|
2041
|
+
/** Definition of a Resource. */
|
|
2042
|
+
export declare interface Resource {
|
|
2043
|
+
/**
|
|
2044
|
+
* Fully qualified identifier of the resource.
|
|
2045
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2046
|
+
*/
|
|
2047
|
+
readonly id?: string;
|
|
2048
|
+
/**
|
|
2049
|
+
* Name of the resource.
|
|
2050
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2051
|
+
*/
|
|
2052
|
+
readonly name?: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Type of the resource.
|
|
2055
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2056
|
+
*/
|
|
2057
|
+
readonly type?: string;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Defines values for ResourceProvisioningState. \
|
|
2062
|
+
* {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,
|
|
2063
|
+
* this enum contains the known values that the service supports.
|
|
2064
|
+
* ### Known values supported by the service
|
|
2065
|
+
* **Creating** \
|
|
2066
|
+
* **Updating** \
|
|
2067
|
+
* **Deleting** \
|
|
2068
|
+
* **Succeeded** \
|
|
2069
|
+
* **Canceled** \
|
|
2070
|
+
* **Failed**
|
|
2071
|
+
*/
|
|
2072
|
+
export declare type ResourceProvisioningState = string;
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* Defines values for ResourceRegionType. \
|
|
2076
|
+
* {@link KnownResourceRegionType} can be used interchangeably with ResourceRegionType,
|
|
2077
|
+
* this enum contains the known values that the service supports.
|
|
2078
|
+
* ### Known values supported by the service
|
|
2079
|
+
* **RegionalResource** \
|
|
2080
|
+
* **GlobalResource**
|
|
2081
|
+
*/
|
|
2082
|
+
export declare type ResourceRegionType = string;
|
|
2083
|
+
|
|
2084
|
+
/** Information about the retry policy for an event subscription. */
|
|
2085
|
+
export declare interface RetryPolicy {
|
|
2086
|
+
/** Maximum number of delivery retry attempts for events. */
|
|
2087
|
+
maxDeliveryAttempts?: number;
|
|
2088
|
+
/** Time To Live (in minutes) for events. */
|
|
2089
|
+
eventTimeToLiveInMinutes?: number;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
/** Information about the service bus destination for an event subscription. */
|
|
2093
|
+
export declare type ServiceBusQueueEventSubscriptionDestination = EventSubscriptionDestination & {
|
|
2094
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2095
|
+
endpointType: "ServiceBusQueue";
|
|
2096
|
+
/** The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription. */
|
|
2097
|
+
resourceId?: string;
|
|
2098
|
+
/** Delivery attribute details. */
|
|
2099
|
+
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
/** Information about the service bus topic destination for an event subscription. */
|
|
2103
|
+
export declare type ServiceBusTopicEventSubscriptionDestination = EventSubscriptionDestination & {
|
|
2104
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2105
|
+
endpointType: "ServiceBusTopic";
|
|
2106
|
+
/** The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription. */
|
|
2107
|
+
resourceId?: string;
|
|
2108
|
+
/** Delivery attribute details. */
|
|
2109
|
+
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
|
|
2110
|
+
};
|
|
2111
|
+
|
|
2112
|
+
/** Static delivery attribute mapping details. */
|
|
2113
|
+
export declare type StaticDeliveryAttributeMapping = DeliveryAttributeMapping & {
|
|
2114
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2115
|
+
type: "Static";
|
|
2116
|
+
/** Value of the delivery attribute. */
|
|
2117
|
+
value?: string;
|
|
2118
|
+
/** Boolean flag to tell if the attribute contains sensitive information . */
|
|
2119
|
+
isSecret?: boolean;
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
/** Information about the storage blob based dead letter destination. */
|
|
2123
|
+
export declare type StorageBlobDeadLetterDestination = DeadLetterDestination & {
|
|
2124
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2125
|
+
endpointType: "StorageBlob";
|
|
2126
|
+
/** The Azure Resource ID of the storage account that is the destination of the deadletter events */
|
|
2127
|
+
resourceId?: string;
|
|
2128
|
+
/** The name of the Storage blob container that is the destination of the deadletter events */
|
|
2129
|
+
blobContainerName?: string;
|
|
2130
|
+
};
|
|
2131
|
+
|
|
2132
|
+
/** Information about the storage queue destination for an event subscription. */
|
|
2133
|
+
export declare type StorageQueueEventSubscriptionDestination = EventSubscriptionDestination & {
|
|
2134
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2135
|
+
endpointType: "StorageQueue";
|
|
2136
|
+
/** The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription. */
|
|
2137
|
+
resourceId?: string;
|
|
2138
|
+
/** The name of the Storage queue under a storage account that is the destination of an event subscription. */
|
|
2139
|
+
queueName?: string;
|
|
2140
|
+
/** Storage queue message time to live in seconds. */
|
|
2141
|
+
queueMessageTimeToLiveInSeconds?: number;
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
/** StringBeginsWith Advanced Filter. */
|
|
2145
|
+
export declare type StringBeginsWithAdvancedFilter = AdvancedFilter & {
|
|
2146
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2147
|
+
operatorType: "StringBeginsWith";
|
|
2148
|
+
/** The set of filter values. */
|
|
2149
|
+
values?: string[];
|
|
2150
|
+
};
|
|
2151
|
+
|
|
2152
|
+
/** StringContains Advanced Filter. */
|
|
2153
|
+
export declare type StringContainsAdvancedFilter = AdvancedFilter & {
|
|
2154
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2155
|
+
operatorType: "StringContains";
|
|
2156
|
+
/** The set of filter values. */
|
|
2157
|
+
values?: string[];
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
/** StringEndsWith Advanced Filter. */
|
|
2161
|
+
export declare type StringEndsWithAdvancedFilter = AdvancedFilter & {
|
|
2162
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2163
|
+
operatorType: "StringEndsWith";
|
|
2164
|
+
/** The set of filter values. */
|
|
2165
|
+
values?: string[];
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
/** StringIn Advanced Filter. */
|
|
2169
|
+
export declare type StringInAdvancedFilter = AdvancedFilter & {
|
|
2170
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2171
|
+
operatorType: "StringIn";
|
|
2172
|
+
/** The set of filter values. */
|
|
2173
|
+
values?: string[];
|
|
2174
|
+
};
|
|
2175
|
+
|
|
2176
|
+
/** StringNotIn Advanced Filter. */
|
|
2177
|
+
export declare type StringNotInAdvancedFilter = AdvancedFilter & {
|
|
2178
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2179
|
+
operatorType: "StringNotIn";
|
|
2180
|
+
/** The set of filter values. */
|
|
2181
|
+
values?: string[];
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2184
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2185
|
+
export declare interface SystemData {
|
|
2186
|
+
/** The identity that created the resource. */
|
|
2187
|
+
createdBy?: string;
|
|
2188
|
+
/** The type of identity that created the resource. */
|
|
2189
|
+
createdByType?: CreatedByType;
|
|
2190
|
+
/** The timestamp of resource creation (UTC). */
|
|
2191
|
+
createdAt?: Date;
|
|
2192
|
+
/** The identity that last modified the resource. */
|
|
2193
|
+
lastModifiedBy?: string;
|
|
2194
|
+
/** The type of identity that last modified the resource. */
|
|
2195
|
+
lastModifiedByType?: CreatedByType;
|
|
2196
|
+
/** The timestamp of resource last modification (UTC) */
|
|
2197
|
+
lastModifiedAt?: Date;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
/** EventGrid System Topic. */
|
|
2201
|
+
export declare type SystemTopic = TrackedResource & {
|
|
2202
|
+
/** Identity information for the resource. */
|
|
2203
|
+
identity?: IdentityInfo;
|
|
2204
|
+
/**
|
|
2205
|
+
* The system metadata relating to System Topic resource.
|
|
2206
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2207
|
+
*/
|
|
2208
|
+
readonly systemData?: SystemData;
|
|
2209
|
+
/**
|
|
2210
|
+
* Provisioning state of the system topic.
|
|
2211
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2212
|
+
*/
|
|
2213
|
+
readonly provisioningState?: ResourceProvisioningState;
|
|
2214
|
+
/** Source for the system topic. */
|
|
2215
|
+
source?: string;
|
|
2216
|
+
/** TopicType for the system topic. */
|
|
2217
|
+
topicType?: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* Metric resource id for the system topic.
|
|
2220
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2221
|
+
*/
|
|
2222
|
+
readonly metricResourceId?: string;
|
|
2223
|
+
};
|
|
2224
|
+
|
|
2225
|
+
/** Interface representing a SystemTopicEventSubscriptions. */
|
|
2226
|
+
export declare interface SystemTopicEventSubscriptions {
|
|
2227
|
+
/**
|
|
2228
|
+
* List event subscriptions that belong to a specific system topic.
|
|
2229
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2230
|
+
* @param systemTopicName Name of the system topic.
|
|
2231
|
+
* @param options The options parameters.
|
|
2232
|
+
*/
|
|
2233
|
+
listBySystemTopic(resourceGroupName: string, systemTopicName: string, options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
2234
|
+
/**
|
|
2235
|
+
* Get an event subscription.
|
|
2236
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2237
|
+
* @param systemTopicName Name of the system topic.
|
|
2238
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2239
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2240
|
+
* @param options The options parameters.
|
|
2241
|
+
*/
|
|
2242
|
+
get(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetOptionalParams): Promise<SystemTopicEventSubscriptionsGetResponse>;
|
|
2243
|
+
/**
|
|
2244
|
+
* Asynchronously creates or updates an event subscription with the specified parameters. Existing
|
|
2245
|
+
* event subscriptions will be updated with this API.
|
|
2246
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2247
|
+
* @param systemTopicName Name of the system topic.
|
|
2248
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2249
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2250
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
2251
|
+
* information.
|
|
2252
|
+
* @param options The options parameters.
|
|
2253
|
+
*/
|
|
2254
|
+
beginCreateOrUpdate(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicEventSubscriptionsCreateOrUpdateResponse>, SystemTopicEventSubscriptionsCreateOrUpdateResponse>>;
|
|
2255
|
+
/**
|
|
2256
|
+
* Asynchronously creates or updates an event subscription with the specified parameters. Existing
|
|
2257
|
+
* event subscriptions will be updated with this API.
|
|
2258
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2259
|
+
* @param systemTopicName Name of the system topic.
|
|
2260
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2261
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2262
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
2263
|
+
* information.
|
|
2264
|
+
* @param options The options parameters.
|
|
2265
|
+
*/
|
|
2266
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise<SystemTopicEventSubscriptionsCreateOrUpdateResponse>;
|
|
2267
|
+
/**
|
|
2268
|
+
* Delete an event subscription of a system topic.
|
|
2269
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2270
|
+
* @param systemTopicName Name of the system topic.
|
|
2271
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2272
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2273
|
+
* @param options The options parameters.
|
|
2274
|
+
*/
|
|
2275
|
+
beginDelete(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2276
|
+
/**
|
|
2277
|
+
* Delete an event subscription of a system topic.
|
|
2278
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2279
|
+
* @param systemTopicName Name of the system topic.
|
|
2280
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2281
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2282
|
+
* @param options The options parameters.
|
|
2283
|
+
*/
|
|
2284
|
+
beginDeleteAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsDeleteOptionalParams): Promise<void>;
|
|
2285
|
+
/**
|
|
2286
|
+
* Update event subscription of a system topic.
|
|
2287
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2288
|
+
* @param systemTopicName Name of the system topic.
|
|
2289
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2290
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2291
|
+
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
2292
|
+
* @param options The options parameters.
|
|
2293
|
+
*/
|
|
2294
|
+
beginUpdate(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: SystemTopicEventSubscriptionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicEventSubscriptionsUpdateResponse>, SystemTopicEventSubscriptionsUpdateResponse>>;
|
|
2295
|
+
/**
|
|
2296
|
+
* Update event subscription of a system topic.
|
|
2297
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2298
|
+
* @param systemTopicName Name of the system topic.
|
|
2299
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2300
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2301
|
+
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
2302
|
+
* @param options The options parameters.
|
|
2303
|
+
*/
|
|
2304
|
+
beginUpdateAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: SystemTopicEventSubscriptionsUpdateOptionalParams): Promise<SystemTopicEventSubscriptionsUpdateResponse>;
|
|
2305
|
+
/**
|
|
2306
|
+
* Get the full endpoint URL for an event subscription of a system topic.
|
|
2307
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2308
|
+
* @param systemTopicName Name of the system topic.
|
|
2309
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2310
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2311
|
+
* @param options The options parameters.
|
|
2312
|
+
*/
|
|
2313
|
+
getFullUrl(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetFullUrlOptionalParams): Promise<SystemTopicEventSubscriptionsGetFullUrlResponse>;
|
|
2314
|
+
/**
|
|
2315
|
+
* Get all delivery attributes for an event subscription.
|
|
2316
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2317
|
+
* @param systemTopicName Name of the system topic.
|
|
2318
|
+
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
2319
|
+
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
2320
|
+
* @param options The options parameters.
|
|
2321
|
+
*/
|
|
2322
|
+
getDeliveryAttributes(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<SystemTopicEventSubscriptionsGetDeliveryAttributesResponse>;
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
/** Optional parameters. */
|
|
2326
|
+
export declare interface SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2327
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2328
|
+
updateIntervalInMs?: number;
|
|
2329
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2330
|
+
resumeFrom?: string;
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2334
|
+
export declare type SystemTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription;
|
|
2335
|
+
|
|
2336
|
+
/** Optional parameters. */
|
|
2337
|
+
export declare interface SystemTopicEventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2338
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2339
|
+
updateIntervalInMs?: number;
|
|
2340
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2341
|
+
resumeFrom?: string;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
/** Optional parameters. */
|
|
2345
|
+
export declare interface SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
/** Contains response data for the getDeliveryAttributes operation. */
|
|
2349
|
+
export declare type SystemTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
|
|
2350
|
+
|
|
2351
|
+
/** Optional parameters. */
|
|
2352
|
+
export declare interface SystemTopicEventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
/** Contains response data for the getFullUrl operation. */
|
|
2356
|
+
export declare type SystemTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
|
|
2357
|
+
|
|
2358
|
+
/** Optional parameters. */
|
|
2359
|
+
export declare interface SystemTopicEventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
/** Contains response data for the get operation. */
|
|
2363
|
+
export declare type SystemTopicEventSubscriptionsGetResponse = EventSubscription;
|
|
2364
|
+
|
|
2365
|
+
/** Optional parameters. */
|
|
2366
|
+
export declare interface SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams extends coreClient.OperationOptions {
|
|
2367
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2368
|
+
filter?: string;
|
|
2369
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2370
|
+
top?: number;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
/** Contains response data for the listBySystemTopicNext operation. */
|
|
2374
|
+
export declare type SystemTopicEventSubscriptionsListBySystemTopicNextResponse = EventSubscriptionsListResult;
|
|
2375
|
+
|
|
2376
|
+
/** Optional parameters. */
|
|
2377
|
+
export declare interface SystemTopicEventSubscriptionsListBySystemTopicOptionalParams extends coreClient.OperationOptions {
|
|
2378
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2379
|
+
filter?: string;
|
|
2380
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2381
|
+
top?: number;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
/** Contains response data for the listBySystemTopic operation. */
|
|
2385
|
+
export declare type SystemTopicEventSubscriptionsListBySystemTopicResponse = EventSubscriptionsListResult;
|
|
2386
|
+
|
|
2387
|
+
/** Optional parameters. */
|
|
2388
|
+
export declare interface SystemTopicEventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2389
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2390
|
+
updateIntervalInMs?: number;
|
|
2391
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2392
|
+
resumeFrom?: string;
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
/** Contains response data for the update operation. */
|
|
2396
|
+
export declare type SystemTopicEventSubscriptionsUpdateResponse = EventSubscription;
|
|
2397
|
+
|
|
2398
|
+
/** Interface representing a SystemTopics. */
|
|
2399
|
+
export declare interface SystemTopics {
|
|
2400
|
+
/**
|
|
2401
|
+
* List all the system topics under an Azure subscription.
|
|
2402
|
+
* @param options The options parameters.
|
|
2403
|
+
*/
|
|
2404
|
+
listBySubscription(options?: SystemTopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SystemTopic>;
|
|
2405
|
+
/**
|
|
2406
|
+
* List all the system topics under a resource group.
|
|
2407
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2408
|
+
* @param options The options parameters.
|
|
2409
|
+
*/
|
|
2410
|
+
listByResourceGroup(resourceGroupName: string, options?: SystemTopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SystemTopic>;
|
|
2411
|
+
/**
|
|
2412
|
+
* Get properties of a system topic.
|
|
2413
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2414
|
+
* @param systemTopicName Name of the system topic.
|
|
2415
|
+
* @param options The options parameters.
|
|
2416
|
+
*/
|
|
2417
|
+
get(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsGetOptionalParams): Promise<SystemTopicsGetResponse>;
|
|
2418
|
+
/**
|
|
2419
|
+
* Asynchronously creates a new system topic with the specified parameters.
|
|
2420
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2421
|
+
* @param systemTopicName Name of the system topic.
|
|
2422
|
+
* @param systemTopicInfo System Topic information.
|
|
2423
|
+
* @param options The options parameters.
|
|
2424
|
+
*/
|
|
2425
|
+
beginCreateOrUpdate(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicsCreateOrUpdateResponse>, SystemTopicsCreateOrUpdateResponse>>;
|
|
2426
|
+
/**
|
|
2427
|
+
* Asynchronously creates a new system topic with the specified parameters.
|
|
2428
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2429
|
+
* @param systemTopicName Name of the system topic.
|
|
2430
|
+
* @param systemTopicInfo System Topic information.
|
|
2431
|
+
* @param options The options parameters.
|
|
2432
|
+
*/
|
|
2433
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise<SystemTopicsCreateOrUpdateResponse>;
|
|
2434
|
+
/**
|
|
2435
|
+
* Delete existing system topic.
|
|
2436
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2437
|
+
* @param systemTopicName Name of the system topic.
|
|
2438
|
+
* @param options The options parameters.
|
|
2439
|
+
*/
|
|
2440
|
+
beginDelete(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2441
|
+
/**
|
|
2442
|
+
* Delete existing system topic.
|
|
2443
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2444
|
+
* @param systemTopicName Name of the system topic.
|
|
2445
|
+
* @param options The options parameters.
|
|
2446
|
+
*/
|
|
2447
|
+
beginDeleteAndWait(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise<void>;
|
|
2448
|
+
/**
|
|
2449
|
+
* Asynchronously updates a system topic with the specified parameters.
|
|
2450
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2451
|
+
* @param systemTopicName Name of the system topic.
|
|
2452
|
+
* @param systemTopicUpdateParameters SystemTopic update information.
|
|
2453
|
+
* @param options The options parameters.
|
|
2454
|
+
*/
|
|
2455
|
+
beginUpdate(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicsUpdateResponse>, SystemTopicsUpdateResponse>>;
|
|
2456
|
+
/**
|
|
2457
|
+
* Asynchronously updates a system topic with the specified parameters.
|
|
2458
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2459
|
+
* @param systemTopicName Name of the system topic.
|
|
2460
|
+
* @param systemTopicUpdateParameters SystemTopic update information.
|
|
2461
|
+
* @param options The options parameters.
|
|
2462
|
+
*/
|
|
2463
|
+
beginUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise<SystemTopicsUpdateResponse>;
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
/** Optional parameters. */
|
|
2467
|
+
export declare interface SystemTopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2468
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2469
|
+
updateIntervalInMs?: number;
|
|
2470
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2471
|
+
resumeFrom?: string;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2475
|
+
export declare type SystemTopicsCreateOrUpdateResponse = SystemTopic;
|
|
2476
|
+
|
|
2477
|
+
/** Optional parameters. */
|
|
2478
|
+
export declare interface SystemTopicsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2479
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2480
|
+
updateIntervalInMs?: number;
|
|
2481
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2482
|
+
resumeFrom?: string;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
/** Optional parameters. */
|
|
2486
|
+
export declare interface SystemTopicsGetOptionalParams extends coreClient.OperationOptions {
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
/** Contains response data for the get operation. */
|
|
2490
|
+
export declare type SystemTopicsGetResponse = SystemTopic;
|
|
2491
|
+
|
|
2492
|
+
/** Optional parameters. */
|
|
2493
|
+
export declare interface SystemTopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
2494
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2495
|
+
filter?: string;
|
|
2496
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2497
|
+
top?: number;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
2501
|
+
export declare type SystemTopicsListByResourceGroupNextResponse = SystemTopicsListResult;
|
|
2502
|
+
|
|
2503
|
+
/** Optional parameters. */
|
|
2504
|
+
export declare interface SystemTopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2505
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2506
|
+
filter?: string;
|
|
2507
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2508
|
+
top?: number;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
2512
|
+
export declare type SystemTopicsListByResourceGroupResponse = SystemTopicsListResult;
|
|
2513
|
+
|
|
2514
|
+
/** Optional parameters. */
|
|
2515
|
+
export declare interface SystemTopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
2516
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2517
|
+
filter?: string;
|
|
2518
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2519
|
+
top?: number;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
2523
|
+
export declare type SystemTopicsListBySubscriptionNextResponse = SystemTopicsListResult;
|
|
2524
|
+
|
|
2525
|
+
/** Optional parameters. */
|
|
2526
|
+
export declare interface SystemTopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
2527
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2528
|
+
filter?: string;
|
|
2529
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2530
|
+
top?: number;
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
/** Contains response data for the listBySubscription operation. */
|
|
2534
|
+
export declare type SystemTopicsListBySubscriptionResponse = SystemTopicsListResult;
|
|
2535
|
+
|
|
2536
|
+
/** Result of the List System topics operation. */
|
|
2537
|
+
export declare interface SystemTopicsListResult {
|
|
2538
|
+
/** A collection of system Topics. */
|
|
2539
|
+
value?: SystemTopic[];
|
|
2540
|
+
/** A link for the next page of topics. */
|
|
2541
|
+
nextLink?: string;
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
/** Optional parameters. */
|
|
2545
|
+
export declare interface SystemTopicsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2546
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2547
|
+
updateIntervalInMs?: number;
|
|
2548
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2549
|
+
resumeFrom?: string;
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
/** Contains response data for the update operation. */
|
|
2553
|
+
export declare type SystemTopicsUpdateResponse = SystemTopic;
|
|
2554
|
+
|
|
2555
|
+
/** Properties of the System Topic update. */
|
|
2556
|
+
export declare interface SystemTopicUpdateParameters {
|
|
2557
|
+
/** Tags of the system topic. */
|
|
2558
|
+
tags?: {
|
|
2559
|
+
[propertyName: string]: string;
|
|
2560
|
+
};
|
|
2561
|
+
/** Resource identity information. */
|
|
2562
|
+
identity?: IdentityInfo;
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2565
|
+
/** EventGrid Topic */
|
|
2566
|
+
export declare type Topic = TrackedResource & {
|
|
2567
|
+
/** Identity information for the resource. */
|
|
2568
|
+
identity?: IdentityInfo;
|
|
2569
|
+
/**
|
|
2570
|
+
* The system metadata relating to Topic resource.
|
|
2571
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2572
|
+
*/
|
|
2573
|
+
readonly systemData?: SystemData;
|
|
2574
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
2575
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
2576
|
+
/**
|
|
2577
|
+
* Provisioning state of the topic.
|
|
2578
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2579
|
+
*/
|
|
2580
|
+
readonly provisioningState?: TopicProvisioningState;
|
|
2581
|
+
/**
|
|
2582
|
+
* Endpoint for the topic.
|
|
2583
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2584
|
+
*/
|
|
2585
|
+
readonly endpoint?: string;
|
|
2586
|
+
/** This determines the format that Event Grid should expect for incoming events published to the topic. */
|
|
2587
|
+
inputSchema?: InputSchema;
|
|
2588
|
+
/** This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema. */
|
|
2589
|
+
inputSchemaMapping?: InputSchemaMappingUnion;
|
|
2590
|
+
/**
|
|
2591
|
+
* Metric resource id for the topic.
|
|
2592
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2593
|
+
*/
|
|
2594
|
+
readonly metricResourceId?: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* This determines if traffic is allowed over public network. By default it is enabled.
|
|
2597
|
+
* You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules" />
|
|
2598
|
+
*/
|
|
2599
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
2600
|
+
/** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
|
|
2601
|
+
inboundIpRules?: InboundIpRule[];
|
|
2602
|
+
/** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic. */
|
|
2603
|
+
disableLocalAuth?: boolean;
|
|
2604
|
+
};
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* Defines values for TopicProvisioningState. \
|
|
2608
|
+
* {@link KnownTopicProvisioningState} can be used interchangeably with TopicProvisioningState,
|
|
2609
|
+
* this enum contains the known values that the service supports.
|
|
2610
|
+
* ### Known values supported by the service
|
|
2611
|
+
* **Creating** \
|
|
2612
|
+
* **Updating** \
|
|
2613
|
+
* **Deleting** \
|
|
2614
|
+
* **Succeeded** \
|
|
2615
|
+
* **Canceled** \
|
|
2616
|
+
* **Failed**
|
|
2617
|
+
*/
|
|
2618
|
+
export declare type TopicProvisioningState = string;
|
|
2619
|
+
|
|
2620
|
+
/** Topic regenerate share access key request */
|
|
2621
|
+
export declare interface TopicRegenerateKeyRequest {
|
|
2622
|
+
/** Key name to regenerate key1 or key2 */
|
|
2623
|
+
keyName: string;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
/** Interface representing a Topics. */
|
|
2627
|
+
export declare interface Topics {
|
|
2628
|
+
/**
|
|
2629
|
+
* List all the topics under an Azure subscription.
|
|
2630
|
+
* @param options The options parameters.
|
|
2631
|
+
*/
|
|
2632
|
+
listBySubscription(options?: TopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Topic>;
|
|
2633
|
+
/**
|
|
2634
|
+
* List all the topics under a resource group.
|
|
2635
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2636
|
+
* @param options The options parameters.
|
|
2637
|
+
*/
|
|
2638
|
+
listByResourceGroup(resourceGroupName: string, options?: TopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Topic>;
|
|
2639
|
+
/**
|
|
2640
|
+
* List event types for a topic.
|
|
2641
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2642
|
+
* @param providerNamespace Namespace of the provider of the topic.
|
|
2643
|
+
* @param resourceTypeName Name of the topic type.
|
|
2644
|
+
* @param resourceName Name of the topic.
|
|
2645
|
+
* @param options The options parameters.
|
|
2646
|
+
*/
|
|
2647
|
+
listEventTypes(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: TopicsListEventTypesOptionalParams): PagedAsyncIterableIterator<EventType>;
|
|
2648
|
+
/**
|
|
2649
|
+
* Get properties of a topic.
|
|
2650
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2651
|
+
* @param topicName Name of the topic.
|
|
2652
|
+
* @param options The options parameters.
|
|
2653
|
+
*/
|
|
2654
|
+
get(resourceGroupName: string, topicName: string, options?: TopicsGetOptionalParams): Promise<TopicsGetResponse>;
|
|
2655
|
+
/**
|
|
2656
|
+
* Asynchronously creates a new topic with the specified parameters.
|
|
2657
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2658
|
+
* @param topicName Name of the topic.
|
|
2659
|
+
* @param topicInfo Topic information.
|
|
2660
|
+
* @param options The options parameters.
|
|
2661
|
+
*/
|
|
2662
|
+
beginCreateOrUpdate(resourceGroupName: string, topicName: string, topicInfo: Topic, options?: TopicsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<TopicsCreateOrUpdateResponse>, TopicsCreateOrUpdateResponse>>;
|
|
2663
|
+
/**
|
|
2664
|
+
* Asynchronously creates a new topic with the specified parameters.
|
|
2665
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2666
|
+
* @param topicName Name of the topic.
|
|
2667
|
+
* @param topicInfo Topic information.
|
|
2668
|
+
* @param options The options parameters.
|
|
2669
|
+
*/
|
|
2670
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, topicName: string, topicInfo: Topic, options?: TopicsCreateOrUpdateOptionalParams): Promise<TopicsCreateOrUpdateResponse>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Delete existing topic.
|
|
2673
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2674
|
+
* @param topicName Name of the topic.
|
|
2675
|
+
* @param options The options parameters.
|
|
2676
|
+
*/
|
|
2677
|
+
beginDelete(resourceGroupName: string, topicName: string, options?: TopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2678
|
+
/**
|
|
2679
|
+
* Delete existing topic.
|
|
2680
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2681
|
+
* @param topicName Name of the topic.
|
|
2682
|
+
* @param options The options parameters.
|
|
2683
|
+
*/
|
|
2684
|
+
beginDeleteAndWait(resourceGroupName: string, topicName: string, options?: TopicsDeleteOptionalParams): Promise<void>;
|
|
2685
|
+
/**
|
|
2686
|
+
* Asynchronously updates a topic with the specified parameters.
|
|
2687
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2688
|
+
* @param topicName Name of the topic.
|
|
2689
|
+
* @param topicUpdateParameters Topic update information.
|
|
2690
|
+
* @param options The options parameters.
|
|
2691
|
+
*/
|
|
2692
|
+
beginUpdate(resourceGroupName: string, topicName: string, topicUpdateParameters: TopicUpdateParameters, options?: TopicsUpdateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2693
|
+
/**
|
|
2694
|
+
* Asynchronously updates a topic with the specified parameters.
|
|
2695
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2696
|
+
* @param topicName Name of the topic.
|
|
2697
|
+
* @param topicUpdateParameters Topic update information.
|
|
2698
|
+
* @param options The options parameters.
|
|
2699
|
+
*/
|
|
2700
|
+
beginUpdateAndWait(resourceGroupName: string, topicName: string, topicUpdateParameters: TopicUpdateParameters, options?: TopicsUpdateOptionalParams): Promise<void>;
|
|
2701
|
+
/**
|
|
2702
|
+
* List the two keys used to publish to a topic.
|
|
2703
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2704
|
+
* @param topicName Name of the topic.
|
|
2705
|
+
* @param options The options parameters.
|
|
2706
|
+
*/
|
|
2707
|
+
listSharedAccessKeys(resourceGroupName: string, topicName: string, options?: TopicsListSharedAccessKeysOptionalParams): Promise<TopicsListSharedAccessKeysResponse>;
|
|
2708
|
+
/**
|
|
2709
|
+
* Regenerate a shared access key for a topic.
|
|
2710
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2711
|
+
* @param topicName Name of the topic.
|
|
2712
|
+
* @param regenerateKeyRequest Request body to regenerate key.
|
|
2713
|
+
* @param options The options parameters.
|
|
2714
|
+
*/
|
|
2715
|
+
beginRegenerateKey(resourceGroupName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: TopicsRegenerateKeyOptionalParams): Promise<PollerLike<PollOperationState<TopicsRegenerateKeyResponse>, TopicsRegenerateKeyResponse>>;
|
|
2716
|
+
/**
|
|
2717
|
+
* Regenerate a shared access key for a topic.
|
|
2718
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
2719
|
+
* @param topicName Name of the topic.
|
|
2720
|
+
* @param regenerateKeyRequest Request body to regenerate key.
|
|
2721
|
+
* @param options The options parameters.
|
|
2722
|
+
*/
|
|
2723
|
+
beginRegenerateKeyAndWait(resourceGroupName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: TopicsRegenerateKeyOptionalParams): Promise<TopicsRegenerateKeyResponse>;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
/** Optional parameters. */
|
|
2727
|
+
export declare interface TopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2728
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2729
|
+
updateIntervalInMs?: number;
|
|
2730
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2731
|
+
resumeFrom?: string;
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2735
|
+
export declare type TopicsCreateOrUpdateResponse = Topic;
|
|
2736
|
+
|
|
2737
|
+
/** Optional parameters. */
|
|
2738
|
+
export declare interface TopicsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2739
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2740
|
+
updateIntervalInMs?: number;
|
|
2741
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2742
|
+
resumeFrom?: string;
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
/** Optional parameters. */
|
|
2746
|
+
export declare interface TopicsGetOptionalParams extends coreClient.OperationOptions {
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
/** Contains response data for the get operation. */
|
|
2750
|
+
export declare type TopicsGetResponse = Topic;
|
|
2751
|
+
|
|
2752
|
+
/** Shared access keys of the Topic */
|
|
2753
|
+
export declare interface TopicSharedAccessKeys {
|
|
2754
|
+
/** Shared access key1 for the topic. */
|
|
2755
|
+
key1?: string;
|
|
2756
|
+
/** Shared access key2 for the topic. */
|
|
2757
|
+
key2?: string;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
/** Optional parameters. */
|
|
2761
|
+
export declare interface TopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
2762
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2763
|
+
filter?: string;
|
|
2764
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2765
|
+
top?: number;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
2769
|
+
export declare type TopicsListByResourceGroupNextResponse = TopicsListResult;
|
|
2770
|
+
|
|
2771
|
+
/** Optional parameters. */
|
|
2772
|
+
export declare interface TopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2773
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2774
|
+
filter?: string;
|
|
2775
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2776
|
+
top?: number;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
2780
|
+
export declare type TopicsListByResourceGroupResponse = TopicsListResult;
|
|
2781
|
+
|
|
2782
|
+
/** Optional parameters. */
|
|
2783
|
+
export declare interface TopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
2784
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2785
|
+
filter?: string;
|
|
2786
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2787
|
+
top?: number;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
2791
|
+
export declare type TopicsListBySubscriptionNextResponse = TopicsListResult;
|
|
2792
|
+
|
|
2793
|
+
/** Optional parameters. */
|
|
2794
|
+
export declare interface TopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
2795
|
+
/** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
|
|
2796
|
+
filter?: string;
|
|
2797
|
+
/** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
|
|
2798
|
+
top?: number;
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
/** Contains response data for the listBySubscription operation. */
|
|
2802
|
+
export declare type TopicsListBySubscriptionResponse = TopicsListResult;
|
|
2803
|
+
|
|
2804
|
+
/** Optional parameters. */
|
|
2805
|
+
export declare interface TopicsListEventTypesOptionalParams extends coreClient.OperationOptions {
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
/** Contains response data for the listEventTypes operation. */
|
|
2809
|
+
export declare type TopicsListEventTypesResponse = EventTypesListResult;
|
|
2810
|
+
|
|
2811
|
+
/** Result of the List Topics operation */
|
|
2812
|
+
export declare interface TopicsListResult {
|
|
2813
|
+
/** A collection of Topics */
|
|
2814
|
+
value?: Topic[];
|
|
2815
|
+
/** A link for the next page of topics */
|
|
2816
|
+
nextLink?: string;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
/** Optional parameters. */
|
|
2820
|
+
export declare interface TopicsListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
/** Contains response data for the listSharedAccessKeys operation. */
|
|
2824
|
+
export declare type TopicsListSharedAccessKeysResponse = TopicSharedAccessKeys;
|
|
2825
|
+
|
|
2826
|
+
/** Optional parameters. */
|
|
2827
|
+
export declare interface TopicsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
|
|
2828
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2829
|
+
updateIntervalInMs?: number;
|
|
2830
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2831
|
+
resumeFrom?: string;
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
/** Contains response data for the regenerateKey operation. */
|
|
2835
|
+
export declare type TopicsRegenerateKeyResponse = TopicSharedAccessKeys;
|
|
2836
|
+
|
|
2837
|
+
/** Optional parameters. */
|
|
2838
|
+
export declare interface TopicsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2839
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2840
|
+
updateIntervalInMs?: number;
|
|
2841
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2842
|
+
resumeFrom?: string;
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
/** Properties of a topic type info. */
|
|
2846
|
+
export declare type TopicTypeInfo = Resource & {
|
|
2847
|
+
/** Namespace of the provider of the topic type. */
|
|
2848
|
+
provider?: string;
|
|
2849
|
+
/** Display Name for the topic type. */
|
|
2850
|
+
displayName?: string;
|
|
2851
|
+
/** Description of the topic type. */
|
|
2852
|
+
description?: string;
|
|
2853
|
+
/** Region type of the resource. */
|
|
2854
|
+
resourceRegionType?: ResourceRegionType;
|
|
2855
|
+
/** Provisioning state of the topic type */
|
|
2856
|
+
provisioningState?: TopicTypeProvisioningState;
|
|
2857
|
+
/** List of locations supported by this topic type. */
|
|
2858
|
+
supportedLocations?: string[];
|
|
2859
|
+
/** Source resource format. */
|
|
2860
|
+
sourceResourceFormat?: string;
|
|
2861
|
+
/** Supported source scopes. */
|
|
2862
|
+
supportedScopesForSource?: TopicTypePropertiesSupportedScopesForSourceItem[];
|
|
2863
|
+
};
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* Defines values for TopicTypePropertiesSupportedScopesForSourceItem. \
|
|
2867
|
+
* {@link KnownTopicTypePropertiesSupportedScopesForSourceItem} can be used interchangeably with TopicTypePropertiesSupportedScopesForSourceItem,
|
|
2868
|
+
* this enum contains the known values that the service supports.
|
|
2869
|
+
* ### Known values supported by the service
|
|
2870
|
+
* **Resource** \
|
|
2871
|
+
* **ResourceGroup** \
|
|
2872
|
+
* **AzureSubscription**
|
|
2873
|
+
*/
|
|
2874
|
+
export declare type TopicTypePropertiesSupportedScopesForSourceItem = string;
|
|
2875
|
+
|
|
2876
|
+
/**
|
|
2877
|
+
* Defines values for TopicTypeProvisioningState. \
|
|
2878
|
+
* {@link KnownTopicTypeProvisioningState} can be used interchangeably with TopicTypeProvisioningState,
|
|
2879
|
+
* this enum contains the known values that the service supports.
|
|
2880
|
+
* ### Known values supported by the service
|
|
2881
|
+
* **Creating** \
|
|
2882
|
+
* **Updating** \
|
|
2883
|
+
* **Deleting** \
|
|
2884
|
+
* **Succeeded** \
|
|
2885
|
+
* **Canceled** \
|
|
2886
|
+
* **Failed**
|
|
2887
|
+
*/
|
|
2888
|
+
export declare type TopicTypeProvisioningState = string;
|
|
2889
|
+
|
|
2890
|
+
/** Interface representing a TopicTypes. */
|
|
2891
|
+
export declare interface TopicTypes {
|
|
2892
|
+
/**
|
|
2893
|
+
* List all registered topic types.
|
|
2894
|
+
* @param options The options parameters.
|
|
2895
|
+
*/
|
|
2896
|
+
list(options?: TopicTypesListOptionalParams): PagedAsyncIterableIterator<TopicTypeInfo>;
|
|
2897
|
+
/**
|
|
2898
|
+
* List event types for a topic type.
|
|
2899
|
+
* @param topicTypeName Name of the topic type.
|
|
2900
|
+
* @param options The options parameters.
|
|
2901
|
+
*/
|
|
2902
|
+
listEventTypes(topicTypeName: string, options?: TopicTypesListEventTypesOptionalParams): PagedAsyncIterableIterator<EventType>;
|
|
2903
|
+
/**
|
|
2904
|
+
* Get information about a topic type.
|
|
2905
|
+
* @param topicTypeName Name of the topic type.
|
|
2906
|
+
* @param options The options parameters.
|
|
2907
|
+
*/
|
|
2908
|
+
get(topicTypeName: string, options?: TopicTypesGetOptionalParams): Promise<TopicTypesGetResponse>;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
/** Optional parameters. */
|
|
2912
|
+
export declare interface TopicTypesGetOptionalParams extends coreClient.OperationOptions {
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/** Contains response data for the get operation. */
|
|
2916
|
+
export declare type TopicTypesGetResponse = TopicTypeInfo;
|
|
2917
|
+
|
|
2918
|
+
/** Optional parameters. */
|
|
2919
|
+
export declare interface TopicTypesListEventTypesOptionalParams extends coreClient.OperationOptions {
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
/** Contains response data for the listEventTypes operation. */
|
|
2923
|
+
export declare type TopicTypesListEventTypesResponse = EventTypesListResult;
|
|
2924
|
+
|
|
2925
|
+
/** Optional parameters. */
|
|
2926
|
+
export declare interface TopicTypesListOptionalParams extends coreClient.OperationOptions {
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
/** Contains response data for the list operation. */
|
|
2930
|
+
export declare type TopicTypesListResponse = TopicTypesListResult;
|
|
2931
|
+
|
|
2932
|
+
/** Result of the List Topic Types operation */
|
|
2933
|
+
export declare interface TopicTypesListResult {
|
|
2934
|
+
/** A collection of topic types */
|
|
2935
|
+
value?: TopicTypeInfo[];
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
/** Properties of the Topic update */
|
|
2939
|
+
export declare interface TopicUpdateParameters {
|
|
2940
|
+
/** Tags of the resource. */
|
|
2941
|
+
tags?: {
|
|
2942
|
+
[propertyName: string]: string;
|
|
2943
|
+
};
|
|
2944
|
+
/** Topic resource identity information. */
|
|
2945
|
+
identity?: IdentityInfo;
|
|
2946
|
+
/**
|
|
2947
|
+
* This determines if traffic is allowed over public network. By default it is enabled.
|
|
2948
|
+
* You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />
|
|
2949
|
+
*/
|
|
2950
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
2951
|
+
/** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
|
|
2952
|
+
inboundIpRules?: InboundIpRule[];
|
|
2953
|
+
/** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic. */
|
|
2954
|
+
disableLocalAuth?: boolean;
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
/** Definition of a Tracked Resource. */
|
|
2958
|
+
export declare type TrackedResource = Resource & {
|
|
2959
|
+
/** Location of the resource. */
|
|
2960
|
+
location: string;
|
|
2961
|
+
/** Tags of the resource. */
|
|
2962
|
+
tags?: {
|
|
2963
|
+
[propertyName: string]: string;
|
|
2964
|
+
};
|
|
2965
|
+
};
|
|
2966
|
+
|
|
2967
|
+
/** The information about the user identity. */
|
|
2968
|
+
export declare interface UserIdentityProperties {
|
|
2969
|
+
/** The principal id of user assigned identity. */
|
|
2970
|
+
principalId?: string;
|
|
2971
|
+
/** The client id of user assigned identity. */
|
|
2972
|
+
clientId?: string;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
/** Information about the webhook destination for an event subscription. */
|
|
2976
|
+
export declare type WebHookEventSubscriptionDestination = EventSubscriptionDestination & {
|
|
2977
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2978
|
+
endpointType: "WebHook";
|
|
2979
|
+
/** The URL that represents the endpoint of the destination of an event subscription. */
|
|
2980
|
+
endpointUrl?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* The base URL that represents the endpoint of the destination of an event subscription.
|
|
2983
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2984
|
+
*/
|
|
2985
|
+
readonly endpointBaseUrl?: string;
|
|
2986
|
+
/** Maximum number of events per batch. */
|
|
2987
|
+
maxEventsPerBatch?: number;
|
|
2988
|
+
/** Preferred batch size in Kilobytes. */
|
|
2989
|
+
preferredBatchSizeInKilobytes?: number;
|
|
2990
|
+
/** The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests. */
|
|
2991
|
+
azureActiveDirectoryTenantId?: string;
|
|
2992
|
+
/** The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests. */
|
|
2993
|
+
azureActiveDirectoryApplicationIdOrUri?: string;
|
|
2994
|
+
/** Delivery attribute details. */
|
|
2995
|
+
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
|
|
2996
|
+
};
|
|
2997
|
+
|
|
2998
|
+
export { }
|