@azure/arm-notificationhubs 2.1.1-alpha.20240312.1 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +170 -9
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +3826 -1755
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +14 -6
- package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +15 -7
- package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +25 -10
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +13 -5
- package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesDeleteSample.js +14 -6
- package/dist-esm/samples-dev/namespacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +13 -5
- package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +39 -0
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesGetSample.js +15 -7
- package/dist-esm/samples-dev/namespacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListAllSample.js +14 -6
- package/dist-esm/samples-dev/namespacesListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +13 -5
- package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListKeysSample.js +15 -7
- package/dist-esm/samples-dev/namespacesListKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListSample.js +15 -7
- package/dist-esm/samples-dev/namespacesListSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +14 -6
- package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesUpdateSample.js +51 -0
- package/dist-esm/samples-dev/namespacesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +15 -7
- package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +16 -8
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +15 -9
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +16 -10
- package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +13 -5
- package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsDeleteSample.js +13 -5
- package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +13 -5
- package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +15 -7
- package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsGetSample.js +15 -7
- package/dist-esm/samples-dev/notificationHubsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +13 -5
- package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsListKeysSample.js +13 -5
- package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsListSample.js +13 -5
- package/dist-esm/samples-dev/notificationHubsListSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +14 -6
- package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/notificationHubsUpdateSample.js +47 -0
- package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +13 -5
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +42 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +42 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +42 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +57 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +57 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +48 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +1377 -455
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +136 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +44 -17
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1972 -738
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +10 -6
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +140 -80
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/notificationHubsManagementClient.d.ts +6 -6
- package/dist-esm/src/notificationHubsManagementClient.d.ts.map +1 -1
- package/dist-esm/src/notificationHubsManagementClient.js +13 -13
- package/dist-esm/src/notificationHubsManagementClient.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/namespaces.d.ts +82 -81
- package/dist-esm/src/operations/namespaces.d.ts.map +1 -1
- package/dist-esm/src/operations/namespaces.js +323 -224
- package/dist-esm/src/operations/namespaces.js.map +1 -1
- package/dist-esm/src/operations/notificationHubs.d.ts +73 -74
- package/dist-esm/src/operations/notificationHubs.d.ts.map +1 -1
- package/dist-esm/src/operations/notificationHubs.js +249 -185
- package/dist-esm/src/operations/notificationHubs.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.js +11 -12
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +114 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +466 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts +61 -58
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts +62 -63
- package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +84 -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/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/notificationhubs_examples.js +16 -4
- package/dist-esm/test/notificationhubs_examples.js.map +1 -1
- package/package.json +14 -13
- package/review/arm-notificationhubs.api.md +548 -121
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +1458 -467
- package/src/models/mappers.ts +2054 -789
- package/src/models/parameters.ts +152 -87
- package/src/notificationHubsManagementClient.ts +30 -26
- package/src/operations/index.ts +3 -2
- package/src/operations/namespaces.ts +444 -341
- package/src/operations/notificationHubs.ts +326 -275
- package/src/operations/operations.ts +18 -19
- package/src/operations/privateEndpointConnections.ts +629 -0
- package/src/operationsInterfaces/index.ts +3 -2
- package/src/operationsInterfaces/namespaces.ts +101 -88
- package/src/operationsInterfaces/notificationHubs.ts +88 -89
- package/src/operationsInterfaces/operations.ts +2 -2
- package/src/operationsInterfaces/privateEndpointConnections.ts +156 -0
- package/src/pagingHelper.ts +5 -5
- package/types/arm-notificationhubs.d.ts +1615 -549
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/namespacesPatchSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesPatchSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesPatchSample.js +0 -35
- package/dist-esm/samples-dev/namespacesPatchSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsPatchSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsPatchSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsPatchSample.js +0 -34
- package/dist-esm/samples-dev/notificationHubsPatchSample.js.map +0 -1
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
import * as coreAuth from '@azure/core-auth';
|
|
8
8
|
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { OperationState } from '@azure/core-lro';
|
|
9
10
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
import {
|
|
11
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
11
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
12
|
|
|
13
13
|
// @public
|
|
14
|
-
export type AccessRights =
|
|
14
|
+
export type AccessRights = string;
|
|
15
15
|
|
|
16
16
|
// @public
|
|
17
17
|
export interface AdmCredential {
|
|
18
|
-
authTokenUrl
|
|
19
|
-
clientId
|
|
20
|
-
clientSecret
|
|
18
|
+
authTokenUrl: string;
|
|
19
|
+
clientId: string;
|
|
20
|
+
clientSecret: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// @public
|
|
@@ -26,17 +26,30 @@ export interface ApnsCredential {
|
|
|
26
26
|
appId?: string;
|
|
27
27
|
appName?: string;
|
|
28
28
|
certificateKey?: string;
|
|
29
|
-
endpoint
|
|
29
|
+
endpoint: string;
|
|
30
30
|
keyId?: string;
|
|
31
31
|
thumbprint?: string;
|
|
32
32
|
token?: string;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
// @public
|
|
36
|
+
export interface Availability {
|
|
37
|
+
readonly blobDuration?: string;
|
|
38
|
+
readonly timeGrain?: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
35
41
|
// @public
|
|
36
42
|
export interface BaiduCredential {
|
|
37
|
-
baiduApiKey
|
|
38
|
-
baiduEndPoint
|
|
39
|
-
baiduSecretKey
|
|
43
|
+
baiduApiKey: string;
|
|
44
|
+
baiduEndPoint: string;
|
|
45
|
+
baiduSecretKey: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// @public
|
|
49
|
+
export interface BrowserCredential {
|
|
50
|
+
subject: string;
|
|
51
|
+
vapidPrivateKey: string;
|
|
52
|
+
vapidPublicKey: string;
|
|
40
53
|
}
|
|
41
54
|
|
|
42
55
|
// @public
|
|
@@ -53,32 +66,174 @@ export interface CheckAvailabilityParameters {
|
|
|
53
66
|
}
|
|
54
67
|
|
|
55
68
|
// @public
|
|
56
|
-
export interface CheckAvailabilityResult extends
|
|
69
|
+
export interface CheckAvailabilityResult extends ProxyResource {
|
|
57
70
|
isAvailiable?: boolean;
|
|
71
|
+
location?: string;
|
|
72
|
+
sku?: Sku;
|
|
73
|
+
tags?: {
|
|
74
|
+
[propertyName: string]: string;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// @public
|
|
79
|
+
export interface ConnectionDetails {
|
|
80
|
+
readonly groupId?: string;
|
|
81
|
+
readonly id?: string;
|
|
82
|
+
readonly linkIdentifier?: string;
|
|
83
|
+
readonly memberName?: string;
|
|
84
|
+
readonly privateIpAddress?: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// @public
|
|
88
|
+
export type CreatedByType = string;
|
|
89
|
+
|
|
90
|
+
// @public
|
|
91
|
+
export interface DebugSendResponse extends ProxyResource {
|
|
92
|
+
readonly failure?: number;
|
|
93
|
+
location?: string;
|
|
94
|
+
readonly results?: RegistrationResult[];
|
|
95
|
+
readonly success?: number;
|
|
96
|
+
tags?: {
|
|
97
|
+
[propertyName: string]: string;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// @public
|
|
102
|
+
export interface ErrorAdditionalInfo {
|
|
103
|
+
readonly info?: Record<string, unknown>;
|
|
104
|
+
readonly type?: string;
|
|
58
105
|
}
|
|
59
106
|
|
|
60
107
|
// @public
|
|
61
|
-
export interface
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
108
|
+
export interface ErrorDetail {
|
|
109
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
110
|
+
readonly code?: string;
|
|
111
|
+
readonly details?: ErrorDetail[];
|
|
112
|
+
readonly message?: string;
|
|
113
|
+
readonly target?: string;
|
|
65
114
|
}
|
|
66
115
|
|
|
67
116
|
// @public
|
|
68
117
|
export interface ErrorResponse {
|
|
69
|
-
|
|
70
|
-
|
|
118
|
+
error?: ErrorDetail;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// @public
|
|
122
|
+
export interface FcmV1Credential {
|
|
123
|
+
clientEmail: string;
|
|
124
|
+
privateKey: string;
|
|
125
|
+
projectId: string;
|
|
71
126
|
}
|
|
72
127
|
|
|
73
128
|
// @public
|
|
74
129
|
export interface GcmCredential {
|
|
75
130
|
gcmEndpoint?: string;
|
|
76
|
-
googleApiKey
|
|
131
|
+
googleApiKey: string;
|
|
77
132
|
}
|
|
78
133
|
|
|
79
134
|
// @public
|
|
80
135
|
export function getContinuationToken(page: unknown): string | undefined;
|
|
81
136
|
|
|
137
|
+
// @public
|
|
138
|
+
export interface GroupConnectivityInformation {
|
|
139
|
+
readonly customerVisibleFqdns?: string[];
|
|
140
|
+
readonly groupId?: string;
|
|
141
|
+
readonly internalFqdn?: string;
|
|
142
|
+
readonly memberName?: string;
|
|
143
|
+
readonly privateLinkServiceArmRegion?: string;
|
|
144
|
+
readonly redirectMapId?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// @public
|
|
148
|
+
export interface IpRule {
|
|
149
|
+
ipMask: string;
|
|
150
|
+
rights: AccessRights[];
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// @public
|
|
154
|
+
export enum KnownAccessRights {
|
|
155
|
+
Listen = "Listen",
|
|
156
|
+
Manage = "Manage",
|
|
157
|
+
Send = "Send"
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// @public
|
|
161
|
+
export enum KnownCreatedByType {
|
|
162
|
+
Application = "Application",
|
|
163
|
+
Key = "Key",
|
|
164
|
+
ManagedIdentity = "ManagedIdentity",
|
|
165
|
+
User = "User"
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// @public
|
|
169
|
+
export enum KnownNamespaceStatus {
|
|
170
|
+
Created = "Created",
|
|
171
|
+
Creating = "Creating",
|
|
172
|
+
Deleting = "Deleting",
|
|
173
|
+
Suspended = "Suspended"
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// @public
|
|
177
|
+
export enum KnownNamespaceType {
|
|
178
|
+
Messaging = "Messaging",
|
|
179
|
+
NotificationHub = "NotificationHub"
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// @public
|
|
183
|
+
export enum KnownOperationProvisioningState {
|
|
184
|
+
Canceled = "Canceled",
|
|
185
|
+
Disabled = "Disabled",
|
|
186
|
+
Failed = "Failed",
|
|
187
|
+
InProgress = "InProgress",
|
|
188
|
+
Pending = "Pending",
|
|
189
|
+
Succeeded = "Succeeded",
|
|
190
|
+
Unknown = "Unknown"
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// @public
|
|
194
|
+
export enum KnownPolicyKeyType {
|
|
195
|
+
PrimaryKey = "PrimaryKey",
|
|
196
|
+
SecondaryKey = "SecondaryKey"
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// @public
|
|
200
|
+
export enum KnownPrivateEndpointConnectionProvisioningState {
|
|
201
|
+
Creating = "Creating",
|
|
202
|
+
Deleted = "Deleted",
|
|
203
|
+
Deleting = "Deleting",
|
|
204
|
+
DeletingByProxy = "DeletingByProxy",
|
|
205
|
+
Succeeded = "Succeeded",
|
|
206
|
+
Unknown = "Unknown",
|
|
207
|
+
Updating = "Updating",
|
|
208
|
+
UpdatingByProxy = "UpdatingByProxy"
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// @public
|
|
212
|
+
export enum KnownPrivateLinkConnectionStatus {
|
|
213
|
+
Approved = "Approved",
|
|
214
|
+
Disconnected = "Disconnected",
|
|
215
|
+
Pending = "Pending",
|
|
216
|
+
Rejected = "Rejected"
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// @public
|
|
220
|
+
export enum KnownPublicNetworkAccess {
|
|
221
|
+
Disabled = "Disabled",
|
|
222
|
+
Enabled = "Enabled"
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// @public
|
|
226
|
+
export enum KnownReplicationRegion {
|
|
227
|
+
AustraliaEast = "AustraliaEast",
|
|
228
|
+
BrazilSouth = "BrazilSouth",
|
|
229
|
+
Default = "Default",
|
|
230
|
+
None = "None",
|
|
231
|
+
NorthEurope = "NorthEurope",
|
|
232
|
+
SouthAfricaNorth = "SouthAfricaNorth",
|
|
233
|
+
SouthEastAsia = "SouthEastAsia",
|
|
234
|
+
WestUs2 = "WestUs2"
|
|
235
|
+
}
|
|
236
|
+
|
|
82
237
|
// @public
|
|
83
238
|
export enum KnownSkuName {
|
|
84
239
|
Basic = "Basic",
|
|
@@ -87,38 +242,48 @@ export enum KnownSkuName {
|
|
|
87
242
|
}
|
|
88
243
|
|
|
89
244
|
// @public
|
|
90
|
-
export
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
thumbprint?: string;
|
|
245
|
+
export enum KnownZoneRedundancyPreference {
|
|
246
|
+
Disabled = "Disabled",
|
|
247
|
+
Enabled = "Enabled"
|
|
94
248
|
}
|
|
95
249
|
|
|
96
250
|
// @public
|
|
97
|
-
export interface
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
251
|
+
export interface LogSpecification {
|
|
252
|
+
readonly blobDuration?: string;
|
|
253
|
+
categoryGroups?: string[];
|
|
254
|
+
readonly displayName?: string;
|
|
255
|
+
readonly name?: string;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// @public
|
|
259
|
+
export interface MetricSpecification {
|
|
260
|
+
readonly aggregationType?: string;
|
|
261
|
+
readonly availabilities?: Availability[];
|
|
262
|
+
readonly displayDescription?: string;
|
|
263
|
+
readonly displayName?: string;
|
|
264
|
+
readonly fillGapWithZero?: boolean;
|
|
265
|
+
readonly metricFilterPattern?: string;
|
|
266
|
+
readonly name?: string;
|
|
267
|
+
readonly supportedTimeGrainTypes?: string[];
|
|
268
|
+
readonly unit?: string;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// @public
|
|
272
|
+
export interface MpnsCredential {
|
|
273
|
+
certificateKey: string;
|
|
274
|
+
mpnsCertificate: string;
|
|
275
|
+
thumbprint: string;
|
|
112
276
|
}
|
|
113
277
|
|
|
114
278
|
// @public
|
|
115
279
|
export interface NamespaceListResult {
|
|
116
|
-
nextLink?: string;
|
|
117
|
-
value?: NamespaceResource[];
|
|
280
|
+
readonly nextLink?: string;
|
|
281
|
+
readonly value?: NamespaceResource[];
|
|
118
282
|
}
|
|
119
283
|
|
|
120
284
|
// @public
|
|
121
285
|
export interface NamespacePatchParameters {
|
|
286
|
+
properties?: NamespaceProperties;
|
|
122
287
|
sku?: Sku;
|
|
123
288
|
tags?: {
|
|
124
289
|
[propertyName: string]: string;
|
|
@@ -126,39 +291,71 @@ export interface NamespacePatchParameters {
|
|
|
126
291
|
}
|
|
127
292
|
|
|
128
293
|
// @public
|
|
129
|
-
export interface
|
|
130
|
-
createdAt?: Date;
|
|
131
|
-
critical?: boolean;
|
|
294
|
+
export interface NamespaceProperties {
|
|
295
|
+
readonly createdAt?: Date;
|
|
296
|
+
readonly critical?: boolean;
|
|
132
297
|
dataCenter?: string;
|
|
133
|
-
enabled?: boolean;
|
|
298
|
+
readonly enabled?: boolean;
|
|
134
299
|
readonly metricId?: string;
|
|
135
|
-
|
|
300
|
+
readonly name?: string;
|
|
136
301
|
namespaceType?: NamespaceType;
|
|
137
|
-
|
|
138
|
-
|
|
302
|
+
networkAcls?: NetworkAcls;
|
|
303
|
+
pnsCredentials?: PnsCredentials;
|
|
304
|
+
readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
|
|
305
|
+
provisioningState?: OperationProvisioningState;
|
|
306
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
307
|
+
readonly region?: string;
|
|
308
|
+
replicationRegion?: ReplicationRegion;
|
|
139
309
|
scaleUnit?: string;
|
|
140
|
-
serviceBusEndpoint?: string;
|
|
141
|
-
status?:
|
|
142
|
-
subscriptionId?: string;
|
|
143
|
-
updatedAt?: Date;
|
|
310
|
+
readonly serviceBusEndpoint?: string;
|
|
311
|
+
status?: NamespaceStatus;
|
|
312
|
+
readonly subscriptionId?: string;
|
|
313
|
+
readonly updatedAt?: Date;
|
|
314
|
+
zoneRedundancy?: ZoneRedundancyPreference;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// @public
|
|
318
|
+
export interface NamespaceResource extends TrackedResource {
|
|
319
|
+
readonly createdAt?: Date;
|
|
320
|
+
readonly critical?: boolean;
|
|
321
|
+
dataCenter?: string;
|
|
322
|
+
readonly enabled?: boolean;
|
|
323
|
+
readonly metricId?: string;
|
|
324
|
+
readonly namePropertiesName?: string;
|
|
325
|
+
namespaceType?: NamespaceType;
|
|
326
|
+
networkAcls?: NetworkAcls;
|
|
327
|
+
pnsCredentials?: PnsCredentials;
|
|
328
|
+
readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
|
|
329
|
+
provisioningState?: OperationProvisioningState;
|
|
330
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
331
|
+
readonly region?: string;
|
|
332
|
+
replicationRegion?: ReplicationRegion;
|
|
333
|
+
scaleUnit?: string;
|
|
334
|
+
readonly serviceBusEndpoint?: string;
|
|
335
|
+
sku: Sku;
|
|
336
|
+
status?: NamespaceStatus;
|
|
337
|
+
readonly subscriptionId?: string;
|
|
338
|
+
readonly updatedAt?: Date;
|
|
339
|
+
zoneRedundancy?: ZoneRedundancyPreference;
|
|
144
340
|
}
|
|
145
341
|
|
|
146
342
|
// @public
|
|
147
343
|
export interface Namespaces {
|
|
148
|
-
|
|
149
|
-
|
|
344
|
+
beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NamespacesCreateOrUpdateResponse>, NamespacesCreateOrUpdateResponse>>;
|
|
345
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<NamespacesCreateOrUpdateResponse>;
|
|
150
346
|
checkAvailability(parameters: CheckAvailabilityParameters, options?: NamespacesCheckAvailabilityOptionalParams): Promise<NamespacesCheckAvailabilityResponse>;
|
|
151
|
-
|
|
152
|
-
|
|
347
|
+
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;
|
|
348
|
+
delete(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<void>;
|
|
153
349
|
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams): Promise<void>;
|
|
154
350
|
get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<NamespacesGetResponse>;
|
|
155
351
|
getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams): Promise<NamespacesGetAuthorizationRuleResponse>;
|
|
352
|
+
getPnsCredentials(resourceGroupName: string, namespaceName: string, options?: NamespacesGetPnsCredentialsOptionalParams): Promise<NamespacesGetPnsCredentialsResponse>;
|
|
156
353
|
list(resourceGroupName: string, options?: NamespacesListOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
|
|
157
354
|
listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
|
|
158
355
|
listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
|
|
159
356
|
listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams): Promise<NamespacesListKeysResponse>;
|
|
160
|
-
|
|
161
|
-
|
|
357
|
+
regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: PolicyKeyResource, options?: NamespacesRegenerateKeysOptionalParams): Promise<NamespacesRegenerateKeysResponse>;
|
|
358
|
+
update(resourceGroupName: string, namespaceName: string, parameters: NamespacePatchParameters, options?: NamespacesUpdateOptionalParams): Promise<NamespacesUpdateResponse>;
|
|
162
359
|
}
|
|
163
360
|
|
|
164
361
|
// @public
|
|
@@ -177,6 +374,8 @@ export type NamespacesCreateOrUpdateAuthorizationRuleResponse = SharedAccessAuth
|
|
|
177
374
|
|
|
178
375
|
// @public
|
|
179
376
|
export interface NamespacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
377
|
+
resumeFrom?: string;
|
|
378
|
+
updateIntervalInMs?: number;
|
|
180
379
|
}
|
|
181
380
|
|
|
182
381
|
// @public
|
|
@@ -188,8 +387,6 @@ export interface NamespacesDeleteAuthorizationRuleOptionalParams extends coreCli
|
|
|
188
387
|
|
|
189
388
|
// @public
|
|
190
389
|
export interface NamespacesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
191
|
-
resumeFrom?: string;
|
|
192
|
-
updateIntervalInMs?: number;
|
|
193
390
|
}
|
|
194
391
|
|
|
195
392
|
// @public
|
|
@@ -203,6 +400,13 @@ export type NamespacesGetAuthorizationRuleResponse = SharedAccessAuthorizationRu
|
|
|
203
400
|
export interface NamespacesGetOptionalParams extends coreClient.OperationOptions {
|
|
204
401
|
}
|
|
205
402
|
|
|
403
|
+
// @public
|
|
404
|
+
export interface NamespacesGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
// @public
|
|
408
|
+
export type NamespacesGetPnsCredentialsResponse = PnsCredentialsResource;
|
|
409
|
+
|
|
206
410
|
// @public
|
|
207
411
|
export type NamespacesGetResponse = NamespaceResource;
|
|
208
412
|
|
|
@@ -215,6 +419,8 @@ export type NamespacesListAllNextResponse = NamespaceListResult;
|
|
|
215
419
|
|
|
216
420
|
// @public
|
|
217
421
|
export interface NamespacesListAllOptionalParams extends coreClient.OperationOptions {
|
|
422
|
+
skipToken?: string;
|
|
423
|
+
top?: number;
|
|
218
424
|
}
|
|
219
425
|
|
|
220
426
|
// @public
|
|
@@ -250,78 +456,89 @@ export type NamespacesListNextResponse = NamespaceListResult;
|
|
|
250
456
|
|
|
251
457
|
// @public
|
|
252
458
|
export interface NamespacesListOptionalParams extends coreClient.OperationOptions {
|
|
459
|
+
skipToken?: string;
|
|
460
|
+
top?: number;
|
|
253
461
|
}
|
|
254
462
|
|
|
255
463
|
// @public
|
|
256
464
|
export type NamespacesListResponse = NamespaceListResult;
|
|
257
465
|
|
|
258
466
|
// @public
|
|
259
|
-
export interface
|
|
467
|
+
export interface NamespacesRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
|
260
468
|
}
|
|
261
469
|
|
|
262
470
|
// @public
|
|
263
|
-
export type
|
|
471
|
+
export type NamespacesRegenerateKeysResponse = ResourceListKeys;
|
|
264
472
|
|
|
265
473
|
// @public
|
|
266
|
-
export
|
|
474
|
+
export type NamespaceStatus = string;
|
|
475
|
+
|
|
476
|
+
// @public
|
|
477
|
+
export interface NamespacesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
267
478
|
}
|
|
268
479
|
|
|
269
480
|
// @public
|
|
270
|
-
export type
|
|
481
|
+
export type NamespacesUpdateResponse = NamespaceResource;
|
|
271
482
|
|
|
272
483
|
// @public
|
|
273
|
-
export type NamespaceType =
|
|
484
|
+
export type NamespaceType = string;
|
|
274
485
|
|
|
275
486
|
// @public
|
|
276
|
-
export interface
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
authorizationRules?: SharedAccessAuthorizationRuleProperties[];
|
|
280
|
-
baiduCredential?: BaiduCredential;
|
|
281
|
-
gcmCredential?: GcmCredential;
|
|
282
|
-
mpnsCredential?: MpnsCredential;
|
|
283
|
-
namePropertiesName?: string;
|
|
284
|
-
registrationTtl?: string;
|
|
285
|
-
wnsCredential?: WnsCredential;
|
|
487
|
+
export interface NetworkAcls {
|
|
488
|
+
ipRules?: IpRule[];
|
|
489
|
+
publicNetworkRule?: PublicInternetAuthorizationRule;
|
|
286
490
|
}
|
|
287
491
|
|
|
288
492
|
// @public
|
|
289
493
|
export interface NotificationHubListResult {
|
|
290
|
-
nextLink?: string;
|
|
291
|
-
value?: NotificationHubResource[];
|
|
494
|
+
readonly nextLink?: string;
|
|
495
|
+
readonly value?: NotificationHubResource[];
|
|
292
496
|
}
|
|
293
497
|
|
|
294
498
|
// @public
|
|
295
|
-
export interface NotificationHubPatchParameters
|
|
499
|
+
export interface NotificationHubPatchParameters {
|
|
296
500
|
admCredential?: AdmCredential;
|
|
297
501
|
apnsCredential?: ApnsCredential;
|
|
298
|
-
authorizationRules?: SharedAccessAuthorizationRuleProperties[];
|
|
502
|
+
readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
|
|
299
503
|
baiduCredential?: BaiduCredential;
|
|
504
|
+
browserCredential?: BrowserCredential;
|
|
505
|
+
readonly dailyMaxActiveDevices?: number;
|
|
506
|
+
fcmV1Credential?: FcmV1Credential;
|
|
300
507
|
gcmCredential?: GcmCredential;
|
|
301
508
|
mpnsCredential?: MpnsCredential;
|
|
302
|
-
|
|
509
|
+
name?: string;
|
|
303
510
|
registrationTtl?: string;
|
|
511
|
+
sku?: Sku;
|
|
512
|
+
tags?: {
|
|
513
|
+
[propertyName: string]: string;
|
|
514
|
+
};
|
|
304
515
|
wnsCredential?: WnsCredential;
|
|
516
|
+
xiaomiCredential?: XiaomiCredential;
|
|
305
517
|
}
|
|
306
518
|
|
|
307
519
|
// @public
|
|
308
|
-
export interface NotificationHubResource extends
|
|
520
|
+
export interface NotificationHubResource extends TrackedResource {
|
|
309
521
|
admCredential?: AdmCredential;
|
|
310
522
|
apnsCredential?: ApnsCredential;
|
|
311
|
-
authorizationRules?: SharedAccessAuthorizationRuleProperties[];
|
|
523
|
+
readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
|
|
312
524
|
baiduCredential?: BaiduCredential;
|
|
525
|
+
browserCredential?: BrowserCredential;
|
|
526
|
+
readonly dailyMaxActiveDevices?: number;
|
|
527
|
+
fcmV1Credential?: FcmV1Credential;
|
|
313
528
|
gcmCredential?: GcmCredential;
|
|
314
529
|
mpnsCredential?: MpnsCredential;
|
|
315
530
|
namePropertiesName?: string;
|
|
316
531
|
registrationTtl?: string;
|
|
532
|
+
sku?: Sku;
|
|
317
533
|
wnsCredential?: WnsCredential;
|
|
534
|
+
xiaomiCredential?: XiaomiCredential;
|
|
318
535
|
}
|
|
319
536
|
|
|
320
537
|
// @public
|
|
321
538
|
export interface NotificationHubs {
|
|
322
539
|
checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: CheckAvailabilityParameters, options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams): Promise<NotificationHubsCheckNotificationHubAvailabilityResponse>;
|
|
323
|
-
createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters:
|
|
324
|
-
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters:
|
|
540
|
+
createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubResource, options?: NotificationHubsCreateOrUpdateOptionalParams): Promise<NotificationHubsCreateOrUpdateResponse>;
|
|
541
|
+
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NotificationHubsCreateOrUpdateAuthorizationRuleResponse>;
|
|
325
542
|
debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDebugSendOptionalParams): Promise<NotificationHubsDebugSendResponse>;
|
|
326
543
|
delete(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDeleteOptionalParams): Promise<void>;
|
|
327
544
|
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsDeleteAuthorizationRuleOptionalParams): Promise<void>;
|
|
@@ -331,8 +548,8 @@ export interface NotificationHubs {
|
|
|
331
548
|
list(resourceGroupName: string, namespaceName: string, options?: NotificationHubsListOptionalParams): PagedAsyncIterableIterator<NotificationHubResource>;
|
|
332
549
|
listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
|
|
333
550
|
listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsListKeysOptionalParams): Promise<NotificationHubsListKeysResponse>;
|
|
334
|
-
|
|
335
|
-
|
|
551
|
+
regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: PolicyKeyResource, options?: NotificationHubsRegenerateKeysOptionalParams): Promise<NotificationHubsRegenerateKeysResponse>;
|
|
552
|
+
update(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubPatchParameters, options?: NotificationHubsUpdateOptionalParams): Promise<NotificationHubsUpdateResponse>;
|
|
336
553
|
}
|
|
337
554
|
|
|
338
555
|
// @public
|
|
@@ -358,7 +575,6 @@ export type NotificationHubsCreateOrUpdateResponse = NotificationHubResource;
|
|
|
358
575
|
|
|
359
576
|
// @public
|
|
360
577
|
export interface NotificationHubsDebugSendOptionalParams extends coreClient.OperationOptions {
|
|
361
|
-
parameters?: Record<string, unknown>;
|
|
362
578
|
}
|
|
363
579
|
|
|
364
580
|
// @public
|
|
@@ -423,6 +639,8 @@ export type NotificationHubsListNextResponse = NotificationHubListResult;
|
|
|
423
639
|
|
|
424
640
|
// @public
|
|
425
641
|
export interface NotificationHubsListOptionalParams extends coreClient.OperationOptions {
|
|
642
|
+
skipToken?: string;
|
|
643
|
+
top?: number;
|
|
426
644
|
}
|
|
427
645
|
|
|
428
646
|
// @public
|
|
@@ -442,6 +660,8 @@ export class NotificationHubsManagementClient extends coreClient.ServiceClient {
|
|
|
442
660
|
// (undocumented)
|
|
443
661
|
operations: Operations;
|
|
444
662
|
// (undocumented)
|
|
663
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
664
|
+
// (undocumented)
|
|
445
665
|
subscriptionId: string;
|
|
446
666
|
}
|
|
447
667
|
|
|
@@ -453,28 +673,30 @@ export interface NotificationHubsManagementClientOptionalParams extends coreClie
|
|
|
453
673
|
}
|
|
454
674
|
|
|
455
675
|
// @public
|
|
456
|
-
export interface
|
|
457
|
-
parameters?: NotificationHubPatchParameters;
|
|
676
|
+
export interface NotificationHubsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
|
458
677
|
}
|
|
459
678
|
|
|
460
679
|
// @public
|
|
461
|
-
export type
|
|
680
|
+
export type NotificationHubsRegenerateKeysResponse = ResourceListKeys;
|
|
462
681
|
|
|
463
682
|
// @public
|
|
464
|
-
export interface
|
|
683
|
+
export interface NotificationHubsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
465
684
|
}
|
|
466
685
|
|
|
467
686
|
// @public
|
|
468
|
-
export type
|
|
687
|
+
export type NotificationHubsUpdateResponse = NotificationHubResource;
|
|
469
688
|
|
|
470
689
|
// @public
|
|
471
690
|
export interface Operation {
|
|
472
691
|
display?: OperationDisplay;
|
|
692
|
+
readonly isDataAction?: boolean;
|
|
473
693
|
readonly name?: string;
|
|
694
|
+
properties?: OperationProperties;
|
|
474
695
|
}
|
|
475
696
|
|
|
476
697
|
// @public
|
|
477
698
|
export interface OperationDisplay {
|
|
699
|
+
readonly description?: string;
|
|
478
700
|
readonly operation?: string;
|
|
479
701
|
readonly provider?: string;
|
|
480
702
|
readonly resource?: string;
|
|
@@ -486,6 +708,14 @@ export interface OperationListResult {
|
|
|
486
708
|
readonly value?: Operation[];
|
|
487
709
|
}
|
|
488
710
|
|
|
711
|
+
// @public
|
|
712
|
+
export interface OperationProperties {
|
|
713
|
+
serviceSpecification?: ServiceSpecification;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
// @public
|
|
717
|
+
export type OperationProvisioningState = string;
|
|
718
|
+
|
|
489
719
|
// @public
|
|
490
720
|
export interface Operations {
|
|
491
721
|
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
@@ -506,76 +736,249 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
|
|
|
506
736
|
export type OperationsListResponse = OperationListResult;
|
|
507
737
|
|
|
508
738
|
// @public
|
|
509
|
-
export interface
|
|
739
|
+
export interface PnsCredentials {
|
|
510
740
|
admCredential?: AdmCredential;
|
|
511
741
|
apnsCredential?: ApnsCredential;
|
|
512
742
|
baiduCredential?: BaiduCredential;
|
|
743
|
+
browserCredential?: BrowserCredential;
|
|
744
|
+
fcmV1Credential?: FcmV1Credential;
|
|
513
745
|
gcmCredential?: GcmCredential;
|
|
514
746
|
mpnsCredential?: MpnsCredential;
|
|
515
747
|
wnsCredential?: WnsCredential;
|
|
748
|
+
xiaomiCredential?: XiaomiCredential;
|
|
516
749
|
}
|
|
517
750
|
|
|
518
751
|
// @public
|
|
519
|
-
export interface
|
|
520
|
-
|
|
752
|
+
export interface PnsCredentialsResource extends ProxyResource {
|
|
753
|
+
admCredential?: AdmCredential;
|
|
754
|
+
apnsCredential?: ApnsCredential;
|
|
755
|
+
baiduCredential?: BaiduCredential;
|
|
756
|
+
browserCredential?: BrowserCredential;
|
|
757
|
+
fcmV1Credential?: FcmV1Credential;
|
|
758
|
+
gcmCredential?: GcmCredential;
|
|
759
|
+
location?: string;
|
|
760
|
+
mpnsCredential?: MpnsCredential;
|
|
761
|
+
tags?: {
|
|
762
|
+
[propertyName: string]: string;
|
|
763
|
+
};
|
|
764
|
+
wnsCredential?: WnsCredential;
|
|
765
|
+
xiaomiCredential?: XiaomiCredential;
|
|
521
766
|
}
|
|
522
767
|
|
|
523
|
-
// @public
|
|
768
|
+
// @public
|
|
769
|
+
export interface PolicyKeyResource {
|
|
770
|
+
policyKey: PolicyKeyType;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
// @public
|
|
774
|
+
export type PolicyKeyType = string;
|
|
775
|
+
|
|
776
|
+
// @public
|
|
777
|
+
export interface PrivateEndpointConnectionProperties {
|
|
778
|
+
readonly groupIds?: string[];
|
|
779
|
+
privateEndpoint?: RemotePrivateEndpointConnection;
|
|
780
|
+
privateLinkServiceConnectionState?: RemotePrivateLinkServiceConnectionState;
|
|
781
|
+
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
// @public
|
|
785
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
786
|
+
|
|
787
|
+
// @public
|
|
788
|
+
export interface PrivateEndpointConnectionResource extends ProxyResource {
|
|
789
|
+
properties?: PrivateEndpointConnectionProperties;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
// @public
|
|
793
|
+
export interface PrivateEndpointConnectionResourceListResult {
|
|
794
|
+
readonly nextLink?: string;
|
|
795
|
+
readonly value?: PrivateEndpointConnectionResource[];
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
// @public
|
|
799
|
+
export interface PrivateEndpointConnections {
|
|
800
|
+
beginDelete(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>;
|
|
801
|
+
beginDeleteAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
|
|
802
|
+
beginUpdate(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>;
|
|
803
|
+
beginUpdateAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
|
|
804
|
+
get(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
805
|
+
getGroupId(resourceGroupName: string, namespaceName: string, subResourceName: string, options?: PrivateEndpointConnectionsGetGroupIdOptionalParams): Promise<PrivateEndpointConnectionsGetGroupIdResponse>;
|
|
806
|
+
list(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;
|
|
807
|
+
listGroupIds(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListGroupIdsOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
// @public
|
|
811
|
+
export interface PrivateEndpointConnectionsDeleteHeaders {
|
|
812
|
+
// (undocumented)
|
|
813
|
+
location?: string;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
// @public
|
|
817
|
+
export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
818
|
+
resumeFrom?: string;
|
|
819
|
+
updateIntervalInMs?: number;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
// @public
|
|
823
|
+
export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnectionsDeleteHeaders;
|
|
824
|
+
|
|
825
|
+
// @public
|
|
826
|
+
export interface PrivateEndpointConnectionsGetGroupIdOptionalParams extends coreClient.OperationOptions {
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
// @public
|
|
830
|
+
export type PrivateEndpointConnectionsGetGroupIdResponse = PrivateLinkResource;
|
|
831
|
+
|
|
832
|
+
// @public
|
|
833
|
+
export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
// @public
|
|
837
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionResource;
|
|
838
|
+
|
|
839
|
+
// @public
|
|
840
|
+
export interface PrivateEndpointConnectionsListGroupIdsOptionalParams extends coreClient.OperationOptions {
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
// @public
|
|
844
|
+
export type PrivateEndpointConnectionsListGroupIdsResponse = PrivateLinkResourceListResult;
|
|
845
|
+
|
|
846
|
+
// @public
|
|
847
|
+
export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
// @public
|
|
851
|
+
export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionResourceListResult;
|
|
852
|
+
|
|
853
|
+
// @public
|
|
854
|
+
export interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
855
|
+
resumeFrom?: string;
|
|
856
|
+
updateIntervalInMs?: number;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
// @public
|
|
860
|
+
export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnectionResource;
|
|
861
|
+
|
|
862
|
+
// @public
|
|
863
|
+
export type PrivateLinkConnectionStatus = string;
|
|
864
|
+
|
|
865
|
+
// @public
|
|
866
|
+
export interface PrivateLinkResource extends ProxyResource {
|
|
867
|
+
properties?: PrivateLinkResourceProperties;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
// @public
|
|
871
|
+
export interface PrivateLinkResourceListResult {
|
|
872
|
+
readonly nextLink?: string;
|
|
873
|
+
readonly value?: PrivateLinkResource[];
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
// @public
|
|
877
|
+
export interface PrivateLinkResourceProperties {
|
|
878
|
+
readonly groupId?: string;
|
|
879
|
+
readonly requiredMembers?: string[];
|
|
880
|
+
readonly requiredZoneNames?: string[];
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
// @public
|
|
884
|
+
export interface PrivateLinkServiceConnection {
|
|
885
|
+
groupIds?: string[];
|
|
886
|
+
name?: string;
|
|
887
|
+
requestMessage?: string;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
// @public
|
|
891
|
+
export interface ProxyResource extends Resource {
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
// @public
|
|
895
|
+
export interface PublicInternetAuthorizationRule {
|
|
896
|
+
rights: AccessRights[];
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
// @public
|
|
900
|
+
export type PublicNetworkAccess = string;
|
|
901
|
+
|
|
902
|
+
// @public
|
|
903
|
+
export interface RegistrationResult {
|
|
904
|
+
readonly applicationPlatform?: string;
|
|
905
|
+
readonly outcome?: string;
|
|
906
|
+
readonly pnsHandle?: string;
|
|
907
|
+
readonly registrationId?: string;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
// @public
|
|
911
|
+
export interface RemotePrivateEndpointConnection {
|
|
912
|
+
readonly id?: string;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
// @public
|
|
916
|
+
export interface RemotePrivateLinkServiceConnectionState {
|
|
917
|
+
readonly actionsRequired?: string;
|
|
918
|
+
readonly description?: string;
|
|
919
|
+
status?: PrivateLinkConnectionStatus;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
// @public
|
|
923
|
+
export type ReplicationRegion = string;
|
|
924
|
+
|
|
925
|
+
// @public
|
|
524
926
|
export interface Resource {
|
|
525
927
|
readonly id?: string;
|
|
526
|
-
location?: string;
|
|
527
928
|
readonly name?: string;
|
|
528
|
-
|
|
529
|
-
tags?: {
|
|
530
|
-
[propertyName: string]: string;
|
|
531
|
-
};
|
|
929
|
+
readonly systemData?: SystemData;
|
|
532
930
|
readonly type?: string;
|
|
533
931
|
}
|
|
534
932
|
|
|
535
933
|
// @public
|
|
536
934
|
export interface ResourceListKeys {
|
|
537
|
-
keyName?: string;
|
|
538
|
-
primaryConnectionString?: string;
|
|
539
|
-
primaryKey?: string;
|
|
540
|
-
secondaryConnectionString?: string;
|
|
541
|
-
secondaryKey?: string;
|
|
935
|
+
readonly keyName?: string;
|
|
936
|
+
readonly primaryConnectionString?: string;
|
|
937
|
+
readonly primaryKey?: string;
|
|
938
|
+
readonly secondaryConnectionString?: string;
|
|
939
|
+
readonly secondaryKey?: string;
|
|
542
940
|
}
|
|
543
941
|
|
|
544
942
|
// @public
|
|
545
|
-
export interface
|
|
546
|
-
|
|
943
|
+
export interface ServiceSpecification {
|
|
944
|
+
readonly logSpecifications?: LogSpecification[];
|
|
945
|
+
readonly metricSpecifications?: MetricSpecification[];
|
|
547
946
|
}
|
|
548
947
|
|
|
549
948
|
// @public
|
|
550
949
|
export interface SharedAccessAuthorizationRuleListResult {
|
|
551
|
-
nextLink?: string;
|
|
552
|
-
value?: SharedAccessAuthorizationRuleResource[];
|
|
950
|
+
readonly nextLink?: string;
|
|
951
|
+
readonly value?: SharedAccessAuthorizationRuleResource[];
|
|
553
952
|
}
|
|
554
953
|
|
|
555
954
|
// @public
|
|
556
955
|
export interface SharedAccessAuthorizationRuleProperties {
|
|
557
956
|
readonly claimType?: string;
|
|
558
957
|
readonly claimValue?: string;
|
|
559
|
-
readonly createdTime?:
|
|
958
|
+
readonly createdTime?: Date;
|
|
560
959
|
readonly keyName?: string;
|
|
561
|
-
readonly modifiedTime?:
|
|
562
|
-
|
|
960
|
+
readonly modifiedTime?: Date;
|
|
961
|
+
primaryKey?: string;
|
|
563
962
|
readonly revision?: number;
|
|
564
|
-
rights
|
|
565
|
-
|
|
963
|
+
rights: AccessRights[];
|
|
964
|
+
secondaryKey?: string;
|
|
566
965
|
}
|
|
567
966
|
|
|
568
967
|
// @public
|
|
569
|
-
export interface SharedAccessAuthorizationRuleResource extends
|
|
968
|
+
export interface SharedAccessAuthorizationRuleResource extends ProxyResource {
|
|
570
969
|
readonly claimType?: string;
|
|
571
970
|
readonly claimValue?: string;
|
|
572
|
-
readonly createdTime?:
|
|
971
|
+
readonly createdTime?: Date;
|
|
573
972
|
readonly keyName?: string;
|
|
574
|
-
|
|
575
|
-
readonly
|
|
973
|
+
location?: string;
|
|
974
|
+
readonly modifiedTime?: Date;
|
|
975
|
+
primaryKey?: string;
|
|
576
976
|
readonly revision?: number;
|
|
577
977
|
rights?: AccessRights[];
|
|
578
|
-
|
|
978
|
+
secondaryKey?: string;
|
|
979
|
+
tags?: {
|
|
980
|
+
[propertyName: string]: string;
|
|
981
|
+
};
|
|
579
982
|
}
|
|
580
983
|
|
|
581
984
|
// @public
|
|
@@ -590,18 +993,42 @@ export interface Sku {
|
|
|
590
993
|
// @public
|
|
591
994
|
export type SkuName = string;
|
|
592
995
|
|
|
593
|
-
// @public
|
|
594
|
-
export interface
|
|
595
|
-
|
|
996
|
+
// @public
|
|
997
|
+
export interface SystemData {
|
|
998
|
+
createdAt?: Date;
|
|
999
|
+
createdBy?: string;
|
|
1000
|
+
createdByType?: CreatedByType;
|
|
1001
|
+
lastModifiedAt?: Date;
|
|
1002
|
+
lastModifiedBy?: string;
|
|
1003
|
+
lastModifiedByType?: CreatedByType;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
// @public
|
|
1007
|
+
export interface TrackedResource extends Resource {
|
|
1008
|
+
location: string;
|
|
1009
|
+
tags?: {
|
|
1010
|
+
[propertyName: string]: string;
|
|
1011
|
+
};
|
|
596
1012
|
}
|
|
597
1013
|
|
|
598
1014
|
// @public
|
|
599
1015
|
export interface WnsCredential {
|
|
1016
|
+
certificateKey?: string;
|
|
600
1017
|
packageSid?: string;
|
|
601
1018
|
secretKey?: string;
|
|
602
1019
|
windowsLiveEndpoint?: string;
|
|
1020
|
+
wnsCertificate?: string;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
// @public
|
|
1024
|
+
export interface XiaomiCredential {
|
|
1025
|
+
appSecret?: string;
|
|
1026
|
+
endpoint?: string;
|
|
603
1027
|
}
|
|
604
1028
|
|
|
1029
|
+
// @public
|
|
1030
|
+
export type ZoneRedundancyPreference = string;
|
|
1031
|
+
|
|
605
1032
|
// (No @packageDocumentation comment for this package)
|
|
606
1033
|
|
|
607
1034
|
```
|