@azure/arm-recoveryservicesbackup 12.0.1-alpha.20240118.1 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
36
36
  requestContentType: "application/json; charset=utf-8",
37
37
  credential: credentials
38
38
  };
39
- const packageDetails = `azsdk-js-arm-recoveryservicesbackup/12.0.1`;
39
+ const packageDetails = `azsdk-js-arm-recoveryservicesbackup/13.0.0`;
40
40
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
41
41
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
42
42
  : `${packageDetails}`;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for RecoveryServicesBackupClient.",
6
- "version": "12.0.1-alpha.20240118.1",
6
+ "version": "13.0.0",
7
7
  "engines": {
8
8
  "node": ">=18.0.0"
9
9
  },
@@ -34,7 +34,7 @@
34
34
  "uglify-js": "^3.4.9",
35
35
  "rimraf": "^5.0.0",
36
36
  "dotenv": "^16.0.0",
37
- "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
37
+ "@azure/dev-tool": "^1.0.0",
38
38
  "@azure/identity": "^3.3.0",
39
39
  "@azure-tools/test-recorder": "^3.0.0",
40
40
  "@azure-tools/test-credential": "^1.0.0",
@@ -3941,7 +3941,6 @@ export interface SnapshotBackupAdditionalDetails {
3941
3941
  instantRPDetails?: string;
3942
3942
  // (undocumented)
3943
3943
  instantRpRetentionRangeInDays?: number;
3944
- // (undocumented)
3945
3944
  userAssignedManagedIdentityDetails?: UserAssignedManagedIdentityDetails;
3946
3945
  }
3947
3946
 
@@ -4100,18 +4099,16 @@ export interface UnlockDeleteResponse {
4100
4099
  export type UsagesUnit = string;
4101
4100
 
4102
4101
  // @public
4103
- export interface UserAssignedIdentity {
4104
- readonly clientId?: string;
4105
- readonly principalId?: string;
4102
+ export interface UserAssignedIdentityProperties {
4103
+ clientId?: string;
4104
+ principalId?: string;
4106
4105
  }
4107
4106
 
4108
- // @public (undocumented)
4107
+ // @public
4109
4108
  export interface UserAssignedManagedIdentityDetails {
4110
- // (undocumented)
4111
4109
  identityArmId?: string;
4112
- // (undocumented)
4113
4110
  identityName?: string;
4114
- userAssignedIdentityProperties?: UserAssignedIdentity;
4111
+ userAssignedIdentityProperties?: UserAssignedIdentityProperties;
4115
4112
  }
4116
4113
 
4117
4114
  // @public
@@ -1254,28 +1254,26 @@ export interface TieringPolicy {
1254
1254
  export interface SnapshotBackupAdditionalDetails {
1255
1255
  instantRpRetentionRangeInDays?: number;
1256
1256
  instantRPDetails?: string;
1257
+ /** User assigned managed identity details */
1257
1258
  userAssignedManagedIdentityDetails?: UserAssignedManagedIdentityDetails;
1258
1259
  }
1259
1260
 
1261
+ /** User assigned managed identity details */
1260
1262
  export interface UserAssignedManagedIdentityDetails {
1263
+ /** The ARM id of the assigned identity. */
1261
1264
  identityArmId?: string;
1265
+ /** The name of the assigned identity. */
1262
1266
  identityName?: string;
1263
- /** User assigned identity properties */
1264
- userAssignedIdentityProperties?: UserAssignedIdentity;
1267
+ /** User assigned managed identity properties */
1268
+ userAssignedIdentityProperties?: UserAssignedIdentityProperties;
1265
1269
  }
1266
1270
 
1267
- /** User assigned identity properties */
1268
- export interface UserAssignedIdentity {
1269
- /**
1270
- * The principal ID of the assigned identity.
1271
- * NOTE: This property will not be serialized. It can only be populated by the server.
1272
- */
1273
- readonly principalId?: string;
1274
- /**
1275
- * The client ID of the assigned identity.
1276
- * NOTE: This property will not be serialized. It can only be populated by the server.
1277
- */
1278
- readonly clientId?: string;
1271
+ /** User assigned managed identity properties */
1272
+ export interface UserAssignedIdentityProperties {
1273
+ /** The client ID of the assigned identity. */
1274
+ clientId?: string;
1275
+ /** The principal ID of the assigned identity. */
1276
+ principalId?: string;
1279
1277
  }
1280
1278
 
1281
1279
  /** Vault retention policy for AzureFileShare */
@@ -2743,30 +2743,28 @@ export const UserAssignedManagedIdentityDetails: coreClient.CompositeMapper = {
2743
2743
  serializedName: "userAssignedIdentityProperties",
2744
2744
  type: {
2745
2745
  name: "Composite",
2746
- className: "UserAssignedIdentity"
2746
+ className: "UserAssignedIdentityProperties"
2747
2747
  }
2748
2748
  }
2749
2749
  }
2750
2750
  }
2751
2751
  };
2752
2752
 
2753
- export const UserAssignedIdentity: coreClient.CompositeMapper = {
2753
+ export const UserAssignedIdentityProperties: coreClient.CompositeMapper = {
2754
2754
  type: {
2755
2755
  name: "Composite",
2756
- className: "UserAssignedIdentity",
2756
+ className: "UserAssignedIdentityProperties",
2757
2757
  modelProperties: {
2758
- principalId: {
2759
- serializedName: "principalId",
2760
- readOnly: true,
2758
+ clientId: {
2759
+ serializedName: "clientId",
2761
2760
  type: {
2762
- name: "Uuid"
2761
+ name: "String"
2763
2762
  }
2764
2763
  },
2765
- clientId: {
2766
- serializedName: "clientId",
2767
- readOnly: true,
2764
+ principalId: {
2765
+ serializedName: "principalId",
2768
2766
  type: {
2769
- name: "Uuid"
2767
+ name: "String"
2770
2768
  }
2771
2769
  }
2772
2770
  }
@@ -174,7 +174,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
174
174
  credential: credentials
175
175
  };
176
176
 
177
- const packageDetails = `azsdk-js-arm-recoveryservicesbackup/12.0.1`;
177
+ const packageDetails = `azsdk-js-arm-recoveryservicesbackup/13.0.0`;
178
178
  const userAgentPrefix =
179
179
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
180
180
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -6636,6 +6636,7 @@ export declare interface SimpleSchedulePolicyV2 extends SchedulePolicy {
6636
6636
  export declare interface SnapshotBackupAdditionalDetails {
6637
6637
  instantRpRetentionRangeInDays?: number;
6638
6638
  instantRPDetails?: string;
6639
+ /** User assigned managed identity details */
6639
6640
  userAssignedManagedIdentityDetails?: UserAssignedManagedIdentityDetails;
6640
6641
  }
6641
6642
 
@@ -6929,25 +6930,22 @@ export declare interface UnlockDeleteResponse {
6929
6930
  */
6930
6931
  export declare type UsagesUnit = string;
6931
6932
 
6932
- /** User assigned identity properties */
6933
- export declare interface UserAssignedIdentity {
6934
- /**
6935
- * The principal ID of the assigned identity.
6936
- * NOTE: This property will not be serialized. It can only be populated by the server.
6937
- */
6938
- readonly principalId?: string;
6939
- /**
6940
- * The client ID of the assigned identity.
6941
- * NOTE: This property will not be serialized. It can only be populated by the server.
6942
- */
6943
- readonly clientId?: string;
6933
+ /** User assigned managed identity properties */
6934
+ export declare interface UserAssignedIdentityProperties {
6935
+ /** The client ID of the assigned identity. */
6936
+ clientId?: string;
6937
+ /** The principal ID of the assigned identity. */
6938
+ principalId?: string;
6944
6939
  }
6945
6940
 
6941
+ /** User assigned managed identity details */
6946
6942
  export declare interface UserAssignedManagedIdentityDetails {
6943
+ /** The ARM id of the assigned identity. */
6947
6944
  identityArmId?: string;
6945
+ /** The name of the assigned identity. */
6948
6946
  identityName?: string;
6949
- /** User assigned identity properties */
6950
- userAssignedIdentityProperties?: UserAssignedIdentity;
6947
+ /** User assigned managed identity properties */
6948
+ userAssignedIdentityProperties?: UserAssignedIdentityProperties;
6951
6949
  }
6952
6950
 
6953
6951
  /** AzureRestoreValidation request. */