@azure/arm-msi 2.1.0-beta.1 → 2.1.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 +23 -8
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +555 -262
- 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/federatedIdentityCredentialsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js +40 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{userAssignedIdentitiesListAssociatedResourcesSample.js → federatedIdentityCredentialsListSample.js} +18 -20
- package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js +11 -3
- package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js +11 -4
- package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js +10 -3
- package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/managedServiceIdentityClient.d.ts +4 -1
- package/dist-esm/src/managedServiceIdentityClient.d.ts.map +1 -1
- package/dist-esm/src/managedServiceIdentityClient.js +57 -8
- package/dist-esm/src/managedServiceIdentityClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +89 -84
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +81 -62
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -6
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +38 -37
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/federatedIdentityCredentials.d.ts +66 -0
- package/dist-esm/src/operations/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist-esm/src/operations/federatedIdentityCredentials.js +272 -0
- package/dist-esm/src/operations/federatedIdentityCredentials.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/userAssignedIdentities.d.ts +1 -26
- package/dist-esm/src/operations/userAssignedIdentities.d.ts.map +1 -1
- package/dist-esm/src/operations/userAssignedIdentities.js +37 -143
- package/dist-esm/src/operations/userAssignedIdentities.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.js +9 -0
- package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts +1 -8
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +17 -12
- package/review/arm-msi.api.md +100 -59
- package/src/index.ts +1 -0
- package/src/managedServiceIdentityClient.ts +78 -8
- package/src/models/index.ts +99 -88
- package/src/models/mappers.ts +88 -63
- package/src/models/parameters.ts +42 -40
- package/src/operations/federatedIdentityCredentials.ts +355 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/operations.ts +21 -9
- package/src/operations/userAssignedIdentities.ts +46 -190
- package/src/operationsInterfaces/federatedIdentityCredentials.ts +78 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/userAssignedIdentities.ts +0 -13
- package/src/pagingHelper.ts +39 -0
- package/types/arm-msi.d.ts +161 -104
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.d.ts +0 -2
- package/dist-esm/samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.js.map +0 -1
package/types/arm-msi.d.ts
CHANGED
@@ -2,59 +2,6 @@ import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
3
3
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
4
4
|
|
5
|
-
/** Azure resources returned by the resource action to get a list of assigned resources. */
|
6
|
-
export declare interface AssociatedResourcesListResult {
|
7
|
-
/**
|
8
|
-
* Total number of Azure resources assigned to the identity.
|
9
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
10
|
-
*/
|
11
|
-
readonly totalCount?: number;
|
12
|
-
/**
|
13
|
-
* The collection of Azure resources returned by the resource action to get a list of assigned resources.
|
14
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
15
|
-
*/
|
16
|
-
readonly value?: AzureResource[];
|
17
|
-
/**
|
18
|
-
* The url to get the next page of results, if any.
|
19
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
20
|
-
*/
|
21
|
-
readonly nextLink?: string;
|
22
|
-
}
|
23
|
-
|
24
|
-
/** Describes an Azure resource that is attached to an identity. */
|
25
|
-
export declare interface AzureResource {
|
26
|
-
/**
|
27
|
-
* The ID of this resource.
|
28
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
29
|
-
*/
|
30
|
-
readonly id?: string;
|
31
|
-
/**
|
32
|
-
* The name of this resource.
|
33
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
34
|
-
*/
|
35
|
-
readonly name?: string;
|
36
|
-
/**
|
37
|
-
* The type of this resource.
|
38
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
39
|
-
*/
|
40
|
-
readonly type?: string;
|
41
|
-
/**
|
42
|
-
* The name of the resource group this resource belongs to.
|
43
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
44
|
-
*/
|
45
|
-
readonly resourceGroup?: string;
|
46
|
-
/**
|
47
|
-
* The ID of the subscription this resource belongs to.
|
48
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
49
|
-
*/
|
50
|
-
readonly subscriptionId?: string;
|
51
|
-
/**
|
52
|
-
* The name of the subscription this resource belongs to.
|
53
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
54
|
-
*/
|
55
|
-
readonly subscriptionDisplayName?: string;
|
56
|
-
}
|
57
|
-
|
58
5
|
/** An error response from the ManagedServiceIdentity service. */
|
59
6
|
export declare interface CloudError {
|
60
7
|
/** A list of additional details about the error. */
|
@@ -73,8 +20,122 @@ export declare interface CloudErrorBody {
|
|
73
20
|
details?: CloudErrorBody[];
|
74
21
|
}
|
75
22
|
|
23
|
+
/**
|
24
|
+
* Defines values for CreatedByType. \
|
25
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
26
|
+
* this enum contains the known values that the service supports.
|
27
|
+
* ### Known values supported by the service
|
28
|
+
* **User** \
|
29
|
+
* **Application** \
|
30
|
+
* **ManagedIdentity** \
|
31
|
+
* **Key**
|
32
|
+
*/
|
33
|
+
export declare type CreatedByType = string;
|
34
|
+
|
35
|
+
/** Describes a federated identity credential. */
|
36
|
+
export declare interface FederatedIdentityCredential extends ProxyResource {
|
37
|
+
/** The URL of the issuer to be trusted. */
|
38
|
+
issuer?: string;
|
39
|
+
/** The identifier of the external identity. */
|
40
|
+
subject?: string;
|
41
|
+
/** The list of audiences that can appear in the issued token. */
|
42
|
+
audiences?: string[];
|
43
|
+
}
|
44
|
+
|
45
|
+
/** Interface representing a FederatedIdentityCredentials. */
|
46
|
+
export declare interface FederatedIdentityCredentials {
|
47
|
+
/**
|
48
|
+
* Lists all the federated identity credentials under the specified user assigned identity.
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
50
|
+
* @param resourceName The name of the identity resource.
|
51
|
+
* @param options The options parameters.
|
52
|
+
*/
|
53
|
+
list(resourceGroupName: string, resourceName: string, options?: FederatedIdentityCredentialsListOptionalParams): PagedAsyncIterableIterator<FederatedIdentityCredential>;
|
54
|
+
/**
|
55
|
+
* Create or update a federated identity credential under the specified user assigned identity.
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
57
|
+
* @param resourceName The name of the identity resource.
|
58
|
+
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
59
|
+
* resource.
|
60
|
+
* @param parameters Parameters to create or update the federated identity credential.
|
61
|
+
* @param options The options parameters.
|
62
|
+
*/
|
63
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, parameters: FederatedIdentityCredential, options?: FederatedIdentityCredentialsCreateOrUpdateOptionalParams): Promise<FederatedIdentityCredentialsCreateOrUpdateResponse>;
|
64
|
+
/**
|
65
|
+
* Gets the federated identity credential.
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
67
|
+
* @param resourceName The name of the identity resource.
|
68
|
+
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
69
|
+
* resource.
|
70
|
+
* @param options The options parameters.
|
71
|
+
*/
|
72
|
+
get(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, options?: FederatedIdentityCredentialsGetOptionalParams): Promise<FederatedIdentityCredentialsGetResponse>;
|
73
|
+
/**
|
74
|
+
* Deletes the federated identity credential.
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
76
|
+
* @param resourceName The name of the identity resource.
|
77
|
+
* @param federatedIdentityCredentialResourceName The name of the federated identity credential
|
78
|
+
* resource.
|
79
|
+
* @param options The options parameters.
|
80
|
+
*/
|
81
|
+
delete(resourceGroupName: string, resourceName: string, federatedIdentityCredentialResourceName: string, options?: FederatedIdentityCredentialsDeleteOptionalParams): Promise<void>;
|
82
|
+
}
|
83
|
+
|
84
|
+
/** Optional parameters. */
|
85
|
+
export declare interface FederatedIdentityCredentialsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
86
|
+
}
|
87
|
+
|
88
|
+
/** Contains response data for the createOrUpdate operation. */
|
89
|
+
export declare type FederatedIdentityCredentialsCreateOrUpdateResponse = FederatedIdentityCredential;
|
90
|
+
|
91
|
+
/** Optional parameters. */
|
92
|
+
export declare interface FederatedIdentityCredentialsDeleteOptionalParams extends coreClient.OperationOptions {
|
93
|
+
}
|
94
|
+
|
95
|
+
/** Optional parameters. */
|
96
|
+
export declare interface FederatedIdentityCredentialsGetOptionalParams extends coreClient.OperationOptions {
|
97
|
+
}
|
98
|
+
|
99
|
+
/** Contains response data for the get operation. */
|
100
|
+
export declare type FederatedIdentityCredentialsGetResponse = FederatedIdentityCredential;
|
101
|
+
|
102
|
+
/** Optional parameters. */
|
103
|
+
export declare interface FederatedIdentityCredentialsListNextOptionalParams extends coreClient.OperationOptions {
|
104
|
+
}
|
105
|
+
|
106
|
+
/** Contains response data for the listNext operation. */
|
107
|
+
export declare type FederatedIdentityCredentialsListNextResponse = FederatedIdentityCredentialsListResult;
|
108
|
+
|
109
|
+
/** Optional parameters. */
|
110
|
+
export declare interface FederatedIdentityCredentialsListOptionalParams extends coreClient.OperationOptions {
|
111
|
+
/** Number of records to return. */
|
112
|
+
top?: number;
|
113
|
+
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
114
|
+
skiptoken?: string;
|
115
|
+
}
|
116
|
+
|
117
|
+
/** Contains response data for the list operation. */
|
118
|
+
export declare type FederatedIdentityCredentialsListResponse = FederatedIdentityCredentialsListResult;
|
119
|
+
|
120
|
+
/** Values returned by the List operation for federated identity credentials. */
|
121
|
+
export declare interface FederatedIdentityCredentialsListResult {
|
122
|
+
/** The collection of federated identity credentials returned by the listing operation. */
|
123
|
+
value?: FederatedIdentityCredential[];
|
124
|
+
/** The url to get the next page of results, if any. */
|
125
|
+
nextLink?: string;
|
126
|
+
}
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
130
|
+
* returns a continuation token that can be used to begin paging from
|
131
|
+
* that point later.
|
132
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
133
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
134
|
+
*/
|
135
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
136
|
+
|
76
137
|
/** Describes an identity resource. */
|
77
|
-
export declare
|
138
|
+
export declare interface Identity extends TrackedResource {
|
78
139
|
/**
|
79
140
|
* The id of the tenant which the identity belongs to.
|
80
141
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -90,10 +151,10 @@ export declare type Identity = TrackedResource & {
|
|
90
151
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
91
152
|
*/
|
92
153
|
readonly clientId?: string;
|
93
|
-
}
|
154
|
+
}
|
94
155
|
|
95
156
|
/** Describes an identity resource. */
|
96
|
-
export declare
|
157
|
+
export declare interface IdentityUpdate extends Resource {
|
97
158
|
/** The geo-location where the resource lives */
|
98
159
|
location?: string;
|
99
160
|
/** Resource tags */
|
@@ -115,7 +176,19 @@ export declare type IdentityUpdate = Resource & {
|
|
115
176
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
116
177
|
*/
|
117
178
|
readonly clientId?: string;
|
118
|
-
}
|
179
|
+
}
|
180
|
+
|
181
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
182
|
+
export declare enum KnownCreatedByType {
|
183
|
+
/** User */
|
184
|
+
User = "User",
|
185
|
+
/** Application */
|
186
|
+
Application = "Application",
|
187
|
+
/** ManagedIdentity */
|
188
|
+
ManagedIdentity = "ManagedIdentity",
|
189
|
+
/** Key */
|
190
|
+
Key = "Key"
|
191
|
+
}
|
119
192
|
|
120
193
|
export declare class ManagedServiceIdentityClient extends coreClient.ServiceClient {
|
121
194
|
$host: string;
|
@@ -128,9 +201,12 @@ export declare class ManagedServiceIdentityClient extends coreClient.ServiceClie
|
|
128
201
|
* @param options The parameter options
|
129
202
|
*/
|
130
203
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ManagedServiceIdentityClientOptionalParams);
|
204
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
205
|
+
private addCustomApiVersionPolicy;
|
131
206
|
systemAssignedIdentities: SystemAssignedIdentities;
|
132
207
|
operations: Operations;
|
133
208
|
userAssignedIdentities: UserAssignedIdentities;
|
209
|
+
federatedIdentityCredentials: FederatedIdentityCredentials;
|
134
210
|
}
|
135
211
|
|
136
212
|
/** Optional parameters. */
|
@@ -195,12 +271,13 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
|
|
195
271
|
export declare type OperationsListResponse = OperationListResult;
|
196
272
|
|
197
273
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
198
|
-
export declare
|
274
|
+
export declare interface ProxyResource extends Resource {
|
275
|
+
}
|
199
276
|
|
200
277
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
201
278
|
export declare interface Resource {
|
202
279
|
/**
|
203
|
-
* Fully qualified resource ID for the resource.
|
280
|
+
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
204
281
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
205
282
|
*/
|
206
283
|
readonly id?: string;
|
@@ -214,6 +291,11 @@ export declare interface Resource {
|
|
214
291
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
215
292
|
*/
|
216
293
|
readonly type?: string;
|
294
|
+
/**
|
295
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
296
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
297
|
+
*/
|
298
|
+
readonly systemData?: SystemData;
|
217
299
|
}
|
218
300
|
|
219
301
|
/** Interface representing a SystemAssignedIdentities. */
|
@@ -235,7 +317,7 @@ export declare interface SystemAssignedIdentitiesGetByScopeOptionalParams extend
|
|
235
317
|
export declare type SystemAssignedIdentitiesGetByScopeResponse = SystemAssignedIdentity;
|
236
318
|
|
237
319
|
/** Describes a system assigned identity resource. */
|
238
|
-
export declare
|
320
|
+
export declare interface SystemAssignedIdentity extends ProxyResource {
|
239
321
|
/** The geo-location where the resource lives */
|
240
322
|
location: string;
|
241
323
|
/** Resource tags */
|
@@ -262,17 +344,33 @@ export declare type SystemAssignedIdentity = ProxyResource & {
|
|
262
344
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
263
345
|
*/
|
264
346
|
readonly clientSecretUrl?: string;
|
265
|
-
}
|
347
|
+
}
|
348
|
+
|
349
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
350
|
+
export declare interface SystemData {
|
351
|
+
/** The identity that created the resource. */
|
352
|
+
createdBy?: string;
|
353
|
+
/** The type of identity that created the resource. */
|
354
|
+
createdByType?: CreatedByType;
|
355
|
+
/** The timestamp of resource creation (UTC). */
|
356
|
+
createdAt?: Date;
|
357
|
+
/** The identity that last modified the resource. */
|
358
|
+
lastModifiedBy?: string;
|
359
|
+
/** The type of identity that last modified the resource. */
|
360
|
+
lastModifiedByType?: CreatedByType;
|
361
|
+
/** The timestamp of resource last modification (UTC) */
|
362
|
+
lastModifiedAt?: Date;
|
363
|
+
}
|
266
364
|
|
267
365
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
268
|
-
export declare
|
366
|
+
export declare interface TrackedResource extends Resource {
|
269
367
|
/** Resource tags. */
|
270
368
|
tags?: {
|
271
369
|
[propertyName: string]: string;
|
272
370
|
};
|
273
371
|
/** The geo-location where the resource lives */
|
274
372
|
location: string;
|
275
|
-
}
|
373
|
+
}
|
276
374
|
|
277
375
|
/** Interface representing a UserAssignedIdentities. */
|
278
376
|
export declare interface UserAssignedIdentities {
|
@@ -287,13 +385,6 @@ export declare interface UserAssignedIdentities {
|
|
287
385
|
* @param options The options parameters.
|
288
386
|
*/
|
289
387
|
listByResourceGroup(resourceGroupName: string, options?: UserAssignedIdentitiesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Identity>;
|
290
|
-
/**
|
291
|
-
* Lists the associated resources for this identity.
|
292
|
-
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
293
|
-
* @param resourceName The name of the identity resource.
|
294
|
-
* @param options The options parameters.
|
295
|
-
*/
|
296
|
-
listAssociatedResources(resourceGroupName: string, resourceName: string, options?: UserAssignedIdentitiesListAssociatedResourcesOptionalParams): PagedAsyncIterableIterator<AzureResource>;
|
297
388
|
/**
|
298
389
|
* Create or update an identity in the specified subscription and resource group.
|
299
390
|
* @param resourceGroupName The name of the Resource Group to which the identity belongs.
|
@@ -344,40 +435,6 @@ export declare interface UserAssignedIdentitiesGetOptionalParams extends coreCli
|
|
344
435
|
/** Contains response data for the get operation. */
|
345
436
|
export declare type UserAssignedIdentitiesGetResponse = Identity;
|
346
437
|
|
347
|
-
/** Optional parameters. */
|
348
|
-
export declare interface UserAssignedIdentitiesListAssociatedResourcesNextOptionalParams extends coreClient.OperationOptions {
|
349
|
-
/** OData filter expression to apply to the query. */
|
350
|
-
filter?: string;
|
351
|
-
/** OData orderBy expression to apply to the query. */
|
352
|
-
orderby?: string;
|
353
|
-
/** Number of records to return. */
|
354
|
-
top?: number;
|
355
|
-
/** Number of records to skip. */
|
356
|
-
skip?: number;
|
357
|
-
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
358
|
-
skiptoken?: string;
|
359
|
-
}
|
360
|
-
|
361
|
-
/** Contains response data for the listAssociatedResourcesNext operation. */
|
362
|
-
export declare type UserAssignedIdentitiesListAssociatedResourcesNextResponse = AssociatedResourcesListResult;
|
363
|
-
|
364
|
-
/** Optional parameters. */
|
365
|
-
export declare interface UserAssignedIdentitiesListAssociatedResourcesOptionalParams extends coreClient.OperationOptions {
|
366
|
-
/** OData filter expression to apply to the query. */
|
367
|
-
filter?: string;
|
368
|
-
/** OData orderBy expression to apply to the query. */
|
369
|
-
orderby?: string;
|
370
|
-
/** Number of records to return. */
|
371
|
-
top?: number;
|
372
|
-
/** Number of records to skip. */
|
373
|
-
skip?: number;
|
374
|
-
/** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */
|
375
|
-
skiptoken?: string;
|
376
|
-
}
|
377
|
-
|
378
|
-
/** Contains response data for the listAssociatedResources operation. */
|
379
|
-
export declare type UserAssignedIdentitiesListAssociatedResourcesResponse = AssociatedResourcesListResult;
|
380
|
-
|
381
438
|
/** Optional parameters. */
|
382
439
|
export declare interface UserAssignedIdentitiesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
383
440
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"userAssignedIdentitiesListAssociatedResourcesSample.d.ts","sourceRoot":"","sources":["../../samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"userAssignedIdentitiesListAssociatedResourcesSample.js","sourceRoot":"","sources":["../../samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,MAAM,GAAG,wBAAwB,CAAC;QACxC,MAAM,OAAO,GAAG,UAAU,CAAC;QAC3B,MAAM,GAAG,GAAG,EAAE,CAAC;QACf,MAAM,IAAI,GAAG,CAAC,CAAC;QACf,MAAM,OAAO,GAAgE;YAC3E,MAAM;YACN,OAAO;YACP,GAAG;YACH,IAAI;SACL,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,uBAAuB,CAC1E,iBAAiB,EACjB,YAAY,EACZ,OAAO,CACR,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|