@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.
Files changed (110) hide show
  1. package/CHANGELOG.md +23 -8
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +555 -262
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js +45 -0
  11. package/dist-esm/samples-dev/federatedIdentityCredentialsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js +40 -0
  15. package/dist-esm/samples-dev/federatedIdentityCredentialsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js +40 -0
  19. package/dist-esm/samples-dev/federatedIdentityCredentialsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/{userAssignedIdentitiesListAssociatedResourcesSample.js → federatedIdentityCredentialsListSample.js} +18 -20
  23. package/dist-esm/samples-dev/federatedIdentityCredentialsListSample.js.map +1 -0
  24. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  25. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  26. package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js +11 -3
  27. package/dist-esm/samples-dev/systemAssignedIdentitiesGetByScopeSample.js.map +1 -1
  28. package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js +11 -4
  29. package/dist-esm/samples-dev/userAssignedIdentitiesCreateOrUpdateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js +11 -4
  31. package/dist-esm/samples-dev/userAssignedIdentitiesDeleteSample.js.map +1 -1
  32. package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js +11 -4
  33. package/dist-esm/samples-dev/userAssignedIdentitiesGetSample.js.map +1 -1
  34. package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js +11 -4
  35. package/dist-esm/samples-dev/userAssignedIdentitiesListByResourceGroupSample.js.map +1 -1
  36. package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js +10 -3
  37. package/dist-esm/samples-dev/userAssignedIdentitiesListBySubscriptionSample.js.map +1 -1
  38. package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js +11 -4
  39. package/dist-esm/samples-dev/userAssignedIdentitiesUpdateSample.js.map +1 -1
  40. package/dist-esm/src/index.d.ts +1 -0
  41. package/dist-esm/src/index.d.ts.map +1 -1
  42. package/dist-esm/src/index.js +1 -0
  43. package/dist-esm/src/index.js.map +1 -1
  44. package/dist-esm/src/managedServiceIdentityClient.d.ts +4 -1
  45. package/dist-esm/src/managedServiceIdentityClient.d.ts.map +1 -1
  46. package/dist-esm/src/managedServiceIdentityClient.js +57 -8
  47. package/dist-esm/src/managedServiceIdentityClient.js.map +1 -1
  48. package/dist-esm/src/models/index.d.ts +89 -84
  49. package/dist-esm/src/models/index.d.ts.map +1 -1
  50. package/dist-esm/src/models/index.js +12 -1
  51. package/dist-esm/src/models/index.js.map +1 -1
  52. package/dist-esm/src/models/mappers.d.ts +3 -2
  53. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  54. package/dist-esm/src/models/mappers.js +81 -62
  55. package/dist-esm/src/models/mappers.js.map +1 -1
  56. package/dist-esm/src/models/parameters.d.ts +6 -6
  57. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  58. package/dist-esm/src/models/parameters.js +38 -37
  59. package/dist-esm/src/models/parameters.js.map +1 -1
  60. package/dist-esm/src/operations/federatedIdentityCredentials.d.ts +66 -0
  61. package/dist-esm/src/operations/federatedIdentityCredentials.d.ts.map +1 -0
  62. package/dist-esm/src/operations/federatedIdentityCredentials.js +272 -0
  63. package/dist-esm/src/operations/federatedIdentityCredentials.js.map +1 -0
  64. package/dist-esm/src/operations/index.d.ts +1 -0
  65. package/dist-esm/src/operations/index.d.ts.map +1 -1
  66. package/dist-esm/src/operations/index.js +1 -0
  67. package/dist-esm/src/operations/index.js.map +1 -1
  68. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  69. package/dist-esm/src/operations/operations.js +19 -8
  70. package/dist-esm/src/operations/operations.js.map +1 -1
  71. package/dist-esm/src/operations/userAssignedIdentities.d.ts +1 -26
  72. package/dist-esm/src/operations/userAssignedIdentities.d.ts.map +1 -1
  73. package/dist-esm/src/operations/userAssignedIdentities.js +37 -143
  74. package/dist-esm/src/operations/userAssignedIdentities.js.map +1 -1
  75. package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.d.ts +41 -0
  76. package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.d.ts.map +1 -0
  77. package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.js +9 -0
  78. package/dist-esm/src/operationsInterfaces/federatedIdentityCredentials.js.map +1 -0
  79. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  81. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  83. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts +1 -8
  84. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -1
  85. package/dist-esm/src/pagingHelper.d.ts +13 -0
  86. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  87. package/dist-esm/src/pagingHelper.js +32 -0
  88. package/dist-esm/src/pagingHelper.js.map +1 -0
  89. package/dist-esm/test/sampleTest.js +11 -13
  90. package/dist-esm/test/sampleTest.js.map +1 -1
  91. package/package.json +17 -12
  92. package/review/arm-msi.api.md +100 -59
  93. package/src/index.ts +1 -0
  94. package/src/managedServiceIdentityClient.ts +78 -8
  95. package/src/models/index.ts +99 -88
  96. package/src/models/mappers.ts +88 -63
  97. package/src/models/parameters.ts +42 -40
  98. package/src/operations/federatedIdentityCredentials.ts +355 -0
  99. package/src/operations/index.ts +1 -0
  100. package/src/operations/operations.ts +21 -9
  101. package/src/operations/userAssignedIdentities.ts +46 -190
  102. package/src/operationsInterfaces/federatedIdentityCredentials.ts +78 -0
  103. package/src/operationsInterfaces/index.ts +1 -0
  104. package/src/operationsInterfaces/userAssignedIdentities.ts +0 -13
  105. package/src/pagingHelper.ts +39 -0
  106. package/types/arm-msi.d.ts +161 -104
  107. package/types/tsdoc-metadata.json +1 -1
  108. package/dist-esm/samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.d.ts +0 -2
  109. package/dist-esm/samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.d.ts.map +0 -1
  110. package/dist-esm/samples-dev/userAssignedIdentitiesListAssociatedResourcesSample.js.map +0 -1
@@ -10,16 +10,18 @@ import { __asyncValues, __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { ManagedServiceIdentityClient } from "@azure/arm-msi";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Lists all the userAssignedIdentities available under the specified subscription.
15
17
  *
16
18
  * @summary Lists all the userAssignedIdentities available under the specified subscription.
17
- * x-ms-original-file: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2021-09-30-preview/examples/IdentityListBySubscription.json
19
+ * x-ms-original-file: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityListBySubscription.json
18
20
  */
19
21
  function identityListBySubscription() {
20
22
  var e_1, _a;
21
23
  return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "subid";
24
+ const subscriptionId = process.env["MSI_SUBSCRIPTION_ID"] || "subid";
23
25
  const credential = new DefaultAzureCredential();
24
26
  const client = new ManagedServiceIdentityClient(credential, subscriptionId);
25
27
  const resArray = new Array();
@@ -39,5 +41,10 @@ function identityListBySubscription() {
39
41
  console.log(resArray);
40
42
  });
41
43
  }
42
- identityListBySubscription().catch(console.error);
44
+ function main() {
45
+ return __awaiter(this, void 0, void 0, function* () {
46
+ identityListBySubscription();
47
+ });
48
+ }
49
+ main().catch(console.error);
43
50
  //# sourceMappingURL=userAssignedIdentitiesListBySubscriptionSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"userAssignedIdentitiesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/userAssignedIdentitiesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,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,kBAAkB,EAAE,CAAA,IAAA;gBAA9D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"userAssignedIdentitiesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/userAssignedIdentitiesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,IAAI,OAAO,CAAC;QACrE,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,kBAAkB,EAAE,CAAA,IAAA;gBAA9D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { ManagedServiceIdentityClient } from "@azure/arm-msi";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Update an identity in the specified subscription and resource group.
15
17
  *
16
18
  * @summary Update an identity in the specified subscription and resource group.
17
- * x-ms-original-file: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2021-09-30-preview/examples/IdentityUpdate.json
19
+ * x-ms-original-file: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityUpdate.json
18
20
  */
19
21
  function identityUpdate() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "subid";
22
- const resourceGroupName = "rgName";
23
+ const subscriptionId = process.env["MSI_SUBSCRIPTION_ID"] || "subid";
24
+ const resourceGroupName = process.env["MSI_RESOURCE_GROUP"] || "rgName";
23
25
  const resourceName = "resourceName";
24
26
  const parameters = {
25
27
  location: "eastus",
@@ -31,5 +33,10 @@ function identityUpdate() {
31
33
  console.log(result);
32
34
  });
33
35
  }
34
- identityUpdate().catch(console.error);
36
+ function main() {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ identityUpdate();
39
+ });
40
+ }
41
+ main().catch(console.error);
35
42
  //# sourceMappingURL=userAssignedIdentitiesUpdateSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"userAssignedIdentitiesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/userAssignedIdentitiesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAkB,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe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AmB;YACjC,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;SACzC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,MAAM,CACvD,iBAAiB,EACjB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  /// <reference lib="esnext.asynciterable" />
2
+ export { getContinuationToken } from "./pagingHelper";
2
3
  export * from "./models";
3
4
  export { ManagedServiceIdentityClient } from "./managedServiceIdentityClient";
4
5
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,cAAc,wBAAwB,CAAC"}
@@ -6,6 +6,7 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper";
9
10
  export * from "./models";
10
11
  export { ManagedServiceIdentityClient } from "./managedServiceIdentityClient";
11
12
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,cAAc,wBAAwB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { SystemAssignedIdentities, Operations, UserAssignedIdentities } from "./operationsInterfaces";
3
+ import { SystemAssignedIdentities, Operations, UserAssignedIdentities, FederatedIdentityCredentials } from "./operationsInterfaces";
4
4
  import { ManagedServiceIdentityClientOptionalParams } from "./models";
5
5
  export declare class ManagedServiceIdentityClient extends coreClient.ServiceClient {
6
6
  $host: string;
@@ -13,8 +13,11 @@ export declare class ManagedServiceIdentityClient extends coreClient.ServiceClie
13
13
  * @param options The parameter options
14
14
  */
15
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ManagedServiceIdentityClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
16
18
  systemAssignedIdentities: SystemAssignedIdentities;
17
19
  operations: Operations;
18
20
  userAssignedIdentities: UserAssignedIdentities;
21
+ federatedIdentityCredentials: FederatedIdentityCredentials;
19
22
  }
20
23
  //# sourceMappingURL=managedServiceIdentityClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"managedServiceIdentityClient.d.ts","sourceRoot":"","sources":["../../src/managedServiceIdentityClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EACL,wBAAwB,EACxB,UAAU,EACV,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,0CAA0C,EAAE,MAAM,UAAU,CAAC;AAEtE,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAgDtD,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,UAAU,EAAE,UAAU,CAAC;IACvB,sBAAsB,EAAE,sBAAsB,CAAC;CAChD"}
1
+ {"version":3,"file":"managedServiceIdentityClient.d.ts","sourceRoot":"","sources":["../../src/managedServiceIdentityClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,wBAAwB,EACxB,UAAU,EACV,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,0CAA0C,EAAE,MAAM,UAAU,CAAC;AAEtE,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAiFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,UAAU,EAAE,UAAU,CAAC;IACvB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D"}
@@ -5,8 +5,10 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
+ import { __awaiter } from "tslib";
8
9
  import * as coreClient from "@azure/core-client";
9
- import { SystemAssignedIdentitiesImpl, OperationsImpl, UserAssignedIdentitiesImpl } from "./operations";
10
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
+ import { SystemAssignedIdentitiesImpl, OperationsImpl, UserAssignedIdentitiesImpl, FederatedIdentityCredentialsImpl } from "./operations";
10
12
  export class ManagedServiceIdentityClient extends coreClient.ServiceClient {
11
13
  /**
12
14
  * Initializes a new instance of the ManagedServiceIdentityClient class.
@@ -15,7 +17,7 @@ export class ManagedServiceIdentityClient extends coreClient.ServiceClient {
15
17
  * @param options The parameter options
16
18
  */
17
19
  constructor(credentials, subscriptionId, options) {
18
- var _a, _b;
20
+ var _a, _b, _c;
19
21
  if (credentials === undefined) {
20
22
  throw new Error("'credentials' cannot be null");
21
23
  }
@@ -30,25 +32,72 @@ export class ManagedServiceIdentityClient extends coreClient.ServiceClient {
30
32
  requestContentType: "application/json; charset=utf-8",
31
33
  credential: credentials
32
34
  };
33
- const packageDetails = `azsdk-js-arm-msi/2.1.0-beta.1`;
35
+ const packageDetails = `azsdk-js-arm-msi/2.1.0`;
34
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
35
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
36
38
  : `${packageDetails}`;
37
- if (!options.credentialScopes) {
38
- options.credentialScopes = ["https://management.azure.com/.default"];
39
- }
40
39
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
41
40
  userAgentPrefix
42
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
43
42
  super(optionsWithDefaults);
43
+ let bearerTokenAuthenticationPolicyFound = false;
44
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
45
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
46
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
47
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
48
+ }
49
+ if (!options ||
50
+ !options.pipeline ||
51
+ options.pipeline.getOrderedPolicies().length == 0 ||
52
+ !bearerTokenAuthenticationPolicyFound) {
53
+ this.pipeline.removePolicy({
54
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
55
+ });
56
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
57
+ credential: credentials,
58
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
59
+ challengeCallbacks: {
60
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
61
+ }
62
+ }));
63
+ }
44
64
  // Parameter assignments
45
65
  this.subscriptionId = subscriptionId;
46
66
  // Assigning values to Constant parameters
47
67
  this.$host = options.$host || "https://management.azure.com";
48
- this.apiVersion = options.apiVersion || "2021-09-30-preview";
68
+ this.apiVersion = options.apiVersion || "2023-01-31";
49
69
  this.systemAssignedIdentities = new SystemAssignedIdentitiesImpl(this);
50
70
  this.operations = new OperationsImpl(this);
51
71
  this.userAssignedIdentities = new UserAssignedIdentitiesImpl(this);
72
+ this.federatedIdentityCredentials = new FederatedIdentityCredentialsImpl(this);
73
+ this.addCustomApiVersionPolicy(options.apiVersion);
74
+ }
75
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
76
+ addCustomApiVersionPolicy(apiVersion) {
77
+ if (!apiVersion) {
78
+ return;
79
+ }
80
+ const apiVersionPolicy = {
81
+ name: "CustomApiVersionPolicy",
82
+ sendRequest(request, next) {
83
+ return __awaiter(this, void 0, void 0, function* () {
84
+ const param = request.url.split("?");
85
+ if (param.length > 1) {
86
+ const newParams = param[1].split("&").map((item) => {
87
+ if (item.indexOf("api-version") > -1) {
88
+ return "api-version=" + apiVersion;
89
+ }
90
+ else {
91
+ return item;
92
+ }
93
+ });
94
+ request.url = param[0] + "?" + newParams.join("&");
95
+ }
96
+ return next(request);
97
+ });
98
+ }
99
+ };
100
+ this.pipeline.addPolicy(apiVersionPolicy);
52
101
  }
53
102
  }
54
103
  //# sourceMappingURL=managedServiceIdentityClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"managedServiceIdentityClient.js","sourceRoot":"","sources":["../../src/managedServiceIdentityClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,4BAA4B,EAC5B,cAAc,EACd,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAQtB,MAAM,OAAO,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IAKxE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAoD;;QAEpD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;Y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AI,CAAC,CAAC;QACnE,IAAI,CAAC,4BAA4B,GAAG,IAAI,gCAAgC,CACtE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE;YACf,OAAO;SACR;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YACxB,WAAW,CACf,OAAwB,EACxB,IAAiB;;oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;wBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;6BACpC;iCAAM;gCACL,OAAO,IAAI,CAAC;6BACb;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAMF"}
@@ -2,7 +2,7 @@ import * as coreClient from "@azure/core-client";
2
2
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
3
3
  export interface Resource {
4
4
  /**
5
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
6
6
  * NOTE: This property will not be serialized. It can only be populated by the server.
7
7
  */
8
8
  readonly id?: string;
@@ -16,6 +16,26 @@ export interface Resource {
16
16
  * NOTE: This property will not be serialized. It can only be populated by the server.
17
17
  */
18
18
  readonly type?: string;
19
+ /**
20
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
21
+ * NOTE: This property will not be serialized. It can only be populated by the server.
22
+ */
23
+ readonly systemData?: SystemData;
24
+ }
25
+ /** Metadata pertaining to creation and last modification of the resource. */
26
+ export interface SystemData {
27
+ /** The identity that created the resource. */
28
+ createdBy?: string;
29
+ /** The type of identity that created the resource. */
30
+ createdByType?: CreatedByType;
31
+ /** The timestamp of resource creation (UTC). */
32
+ createdAt?: Date;
33
+ /** The identity that last modified the resource. */
34
+ lastModifiedBy?: string;
35
+ /** The type of identity that last modified the resource. */
36
+ lastModifiedByType?: CreatedByType;
37
+ /** The timestamp of resource last modification (UTC) */
38
+ lastModifiedAt?: Date;
19
39
  }
20
40
  /** An error response from the ManagedServiceIdentity service. */
21
41
  export interface CloudError {
@@ -65,70 +85,27 @@ export interface UserAssignedIdentitiesListResult {
65
85
  /** The url to get the next page of results, if any. */
66
86
  nextLink?: string;
67
87
  }
68
- /** Azure resources returned by the resource action to get a list of assigned resources. */
69
- export interface AssociatedResourcesListResult {
70
- /**
71
- * Total number of Azure resources assigned to the identity.
72
- * NOTE: This property will not be serialized. It can only be populated by the server.
73
- */
74
- readonly totalCount?: number;
75
- /**
76
- * The collection of Azure resources returned by the resource action to get a list of assigned resources.
77
- * NOTE: This property will not be serialized. It can only be populated by the server.
78
- */
79
- readonly value?: AzureResource[];
80
- /**
81
- * The url to get the next page of results, if any.
82
- * NOTE: This property will not be serialized. It can only be populated by the server.
83
- */
84
- readonly nextLink?: string;
85
- }
86
- /** Describes an Azure resource that is attached to an identity. */
87
- export interface AzureResource {
88
- /**
89
- * The ID of this resource.
90
- * NOTE: This property will not be serialized. It can only be populated by the server.
91
- */
92
- readonly id?: string;
93
- /**
94
- * The name of this resource.
95
- * NOTE: This property will not be serialized. It can only be populated by the server.
96
- */
97
- readonly name?: string;
98
- /**
99
- * The type of this resource.
100
- * NOTE: This property will not be serialized. It can only be populated by the server.
101
- */
102
- readonly type?: string;
103
- /**
104
- * The name of the resource group this resource belongs to.
105
- * NOTE: This property will not be serialized. It can only be populated by the server.
106
- */
107
- readonly resourceGroup?: string;
108
- /**
109
- * The ID of the subscription this resource belongs to.
110
- * NOTE: This property will not be serialized. It can only be populated by the server.
111
- */
112
- readonly subscriptionId?: string;
113
- /**
114
- * The name of the subscription this resource belongs to.
115
- * NOTE: This property will not be serialized. It can only be populated by the server.
116
- */
117
- readonly subscriptionDisplayName?: string;
88
+ /** Values returned by the List operation for federated identity credentials. */
89
+ export interface FederatedIdentityCredentialsListResult {
90
+ /** The collection of federated identity credentials returned by the listing operation. */
91
+ value?: FederatedIdentityCredential[];
92
+ /** The url to get the next page of results, if any. */
93
+ nextLink?: string;
118
94
  }
119
95
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
120
- export declare type ProxyResource = Resource & {};
96
+ export interface ProxyResource extends Resource {
97
+ }
121
98
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
122
- export declare type TrackedResource = Resource & {
99
+ export interface TrackedResource extends Resource {
123
100
  /** Resource tags. */
124
101
  tags?: {
125
102
  [propertyName: string]: string;
126
103
  };
127
104
  /** The geo-location where the resource lives */
128
105
  location: string;
129
- };
106
+ }
130
107
  /** Describes an identity resource. */
131
- export declare type IdentityUpdate = Resource & {
108
+ export interface IdentityUpdate extends Resource {
132
109
  /** The geo-location where the resource lives */
133
110
  location?: string;
134
111
  /** Resource tags */
@@ -150,9 +127,9 @@ export declare type IdentityUpdate = Resource & {
150
127
  * NOTE: This property will not be serialized. It can only be populated by the server.
151
128
  */
152
129
  readonly clientId?: string;
153
- };
130
+ }
154
131
  /** Describes a system assigned identity resource. */
155
- export declare type SystemAssignedIdentity = ProxyResource & {
132
+ export interface SystemAssignedIdentity extends ProxyResource {
156
133
  /** The geo-location where the resource lives */
157
134
  location: string;
158
135
  /** Resource tags */
@@ -179,9 +156,18 @@ export declare type SystemAssignedIdentity = ProxyResource & {
179
156
  * NOTE: This property will not be serialized. It can only be populated by the server.
180
157
  */
181
158
  readonly clientSecretUrl?: string;
182
- };
159
+ }
160
+ /** Describes a federated identity credential. */
161
+ export interface FederatedIdentityCredential extends ProxyResource {
162
+ /** The URL of the issuer to be trusted. */
163
+ issuer?: string;
164
+ /** The identifier of the external identity. */
165
+ subject?: string;
166
+ /** The list of audiences that can appear in the issued token. */
167
+ audiences?: string[];
168
+ }
183
169
  /** Describes an identity resource. */
184
- export declare type Identity = TrackedResource & {
170
+ export interface Identity extends TrackedResource {
185
171
  /**
186
172
  * The id of the tenant which the identity belongs to.
187
173
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -197,7 +183,29 @@ export declare type Identity = TrackedResource & {
197
183
  * NOTE: This property will not be serialized. It can only be populated by the server.
198
184
  */
199
185
  readonly clientId?: string;
200
- };
186
+ }
187
+ /** Known values of {@link CreatedByType} that the service accepts. */
188
+ export declare enum KnownCreatedByType {
189
+ /** User */
190
+ User = "User",
191
+ /** Application */
192
+ Application = "Application",
193
+ /** ManagedIdentity */
194
+ ManagedIdentity = "ManagedIdentity",
195
+ /** Key */
196
+ Key = "Key"
197
+ }
198
+ /**
199
+ * Defines values for CreatedByType. \
200
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
201
+ * this enum contains the known values that the service supports.
202
+ * ### Known values supported by the service
203
+ * **User** \
204
+ * **Application** \
205
+ * **ManagedIdentity** \
206
+ * **Key**
207
+ */
208
+ export declare type CreatedByType = string;
201
209
  /** Optional parameters. */
202
210
  export interface SystemAssignedIdentitiesGetByScopeOptionalParams extends coreClient.OperationOptions {
203
211
  }
@@ -224,21 +232,6 @@ export interface UserAssignedIdentitiesListByResourceGroupOptionalParams extends
224
232
  /** Contains response data for the listByResourceGroup operation. */
225
233
  export declare type UserAssignedIdentitiesListByResourceGroupResponse = UserAssignedIdentitiesListResult;
226
234
  /** Optional parameters. */
227
- export interface UserAssignedIdentitiesListAssociatedResourcesOptionalParams extends coreClient.OperationOptions {
228
- /** OData filter expression to apply to the query. */
229
- filter?: string;
230
- /** OData orderBy expression to apply to the query. */
231
- orderby?: string;
232
- /** Number of records to return. */
233
- top?: number;
234
- /** Number of records to skip. */
235
- skip?: number;
236
- /** 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. */
237
- skiptoken?: string;
238
- }
239
- /** Contains response data for the listAssociatedResources operation. */
240
- export declare type UserAssignedIdentitiesListAssociatedResourcesResponse = AssociatedResourcesListResult;
241
- /** Optional parameters. */
242
235
  export interface UserAssignedIdentitiesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
243
236
  }
244
237
  /** Contains response data for the createOrUpdate operation. */
@@ -267,20 +260,32 @@ export interface UserAssignedIdentitiesListByResourceGroupNextOptionalParams ext
267
260
  /** Contains response data for the listByResourceGroupNext operation. */
268
261
  export declare type UserAssignedIdentitiesListByResourceGroupNextResponse = UserAssignedIdentitiesListResult;
269
262
  /** Optional parameters. */
270
- export interface UserAssignedIdentitiesListAssociatedResourcesNextOptionalParams extends coreClient.OperationOptions {
271
- /** OData filter expression to apply to the query. */
272
- filter?: string;
273
- /** OData orderBy expression to apply to the query. */
274
- orderby?: string;
263
+ export interface FederatedIdentityCredentialsListOptionalParams extends coreClient.OperationOptions {
275
264
  /** Number of records to return. */
276
265
  top?: number;
277
- /** Number of records to skip. */
278
- skip?: number;
279
266
  /** 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. */
280
267
  skiptoken?: string;
281
268
  }
282
- /** Contains response data for the listAssociatedResourcesNext operation. */
283
- export declare type UserAssignedIdentitiesListAssociatedResourcesNextResponse = AssociatedResourcesListResult;
269
+ /** Contains response data for the list operation. */
270
+ export declare type FederatedIdentityCredentialsListResponse = FederatedIdentityCredentialsListResult;
271
+ /** Optional parameters. */
272
+ export interface FederatedIdentityCredentialsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
273
+ }
274
+ /** Contains response data for the createOrUpdate operation. */
275
+ export declare type FederatedIdentityCredentialsCreateOrUpdateResponse = FederatedIdentityCredential;
276
+ /** Optional parameters. */
277
+ export interface FederatedIdentityCredentialsGetOptionalParams extends coreClient.OperationOptions {
278
+ }
279
+ /** Contains response data for the get operation. */
280
+ export declare type FederatedIdentityCredentialsGetResponse = FederatedIdentityCredential;
281
+ /** Optional parameters. */
282
+ export interface FederatedIdentityCredentialsDeleteOptionalParams extends coreClient.OperationOptions {
283
+ }
284
+ /** Optional parameters. */
285
+ export interface FederatedIdentityCredentialsListNextOptionalParams extends coreClient.OperationOptions {
286
+ }
287
+ /** Contains response data for the listNext operation. */
288
+ export declare type FederatedIdentityCredentialsListNextResponse = FederatedIdentityCredentialsListResult;
284
289
  /** Optional parameters. */
285
290
  export interface ManagedServiceIdentityClientOptionalParams extends coreClient.ServiceClientOptions {
286
291
  /** server parameter */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,+FAA+F;AAC/F,MAAM,WAAW,QAAQ;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AA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F,2BAA2B;AAC3B,MAAM,WAAW,6CACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,oDAAoD;AACpD,oBAAY,uCAAuC,GAAG,2BAA2B,CAAC;AAElF,2BAA2B;AAC3B,MAAM,WAAW,gDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,2BAA2B;AAC3B,MAAM,WAAW,kDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,yDAAyD;AACzD,oBAAY,4CAA4C,GAAG,sCAAsC,CAAC;AAElG,2BAA2B;AAC3B,MAAM,WAAW,0CACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -5,5 +5,16 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export {};
8
+ /** Known values of {@link CreatedByType} that the service accepts. */
9
+ export var KnownCreatedByType;
10
+ (function (KnownCreatedByType) {
11
+ /** User */
12
+ KnownCreatedByType["User"] = "User";
13
+ /** Application */
14
+ KnownCreatedByType["Application"] = "Application";
15
+ /** ManagedIdentity */
16
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
17
+ /** Key */
18
+ KnownCreatedByType["Key"] = "Key";
19
+ })(KnownCreatedByType || (KnownCreatedByType = {}));
9
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAqMH,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B"}
@@ -1,16 +1,17 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  export declare const Resource: coreClient.CompositeMapper;
3
+ export declare const SystemData: coreClient.CompositeMapper;
3
4
  export declare const CloudError: coreClient.CompositeMapper;
4
5
  export declare const CloudErrorBody: coreClient.CompositeMapper;
5
6
  export declare const OperationListResult: coreClient.CompositeMapper;
6
7
  export declare const Operation: coreClient.CompositeMapper;
7
8
  export declare const OperationDisplay: coreClient.CompositeMapper;
8
9
  export declare const UserAssignedIdentitiesListResult: coreClient.CompositeMapper;
9
- export declare const AssociatedResourcesListResult: coreClient.CompositeMapper;
10
- export declare const AzureResource: coreClient.CompositeMapper;
10
+ export declare const FederatedIdentityCredentialsListResult: coreClient.CompositeMapper;
11
11
  export declare const ProxyResource: coreClient.CompositeMapper;
12
12
  export declare const TrackedResource: coreClient.CompositeMapper;
13
13
  export declare const IdentityUpdate: coreClient.CompositeMapper;
14
14
  export declare const SystemAssignedIdentity: coreClient.CompositeMapper;
15
+ export declare const FederatedIdentityCredential: coreClient.CompositeMapper;
15
16
  export declare const Identity: coreClient.CompositeMapper;
16
17
  //# sourceMappingURL=mappers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,eA4BjC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAcnC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,eAqCvC,CAAC;AAEF,eAAO,MAAM,mB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