@azure/arm-recoveryservicesbackup 12.0.1-alpha.20240109.1 → 13.0.0-alpha.20240125.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 +9 -8
- package/dist/index.js +11 -13
- 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/src/models/index.d.ts +13 -15
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +9 -11
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +1 -1
- package/package.json +1 -1
- package/review/arm-recoveryservicesbackup.api.md +5 -8
- package/src/models/index.ts +12 -14
- package/src/models/mappers.ts +9 -11
- package/src/recoveryServicesBackupClient.ts +1 -1
- package/types/arm-recoveryservicesbackup.d.ts +12 -14
- package/types/tsdoc-metadata.json +1 -1
|
@@ -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/
|
|
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
|
@@ -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
|
|
4104
|
-
|
|
4105
|
-
|
|
4102
|
+
export interface UserAssignedIdentityProperties {
|
|
4103
|
+
clientId?: string;
|
|
4104
|
+
principalId?: string;
|
|
4106
4105
|
}
|
|
4107
4106
|
|
|
4108
|
-
// @public
|
|
4107
|
+
// @public
|
|
4109
4108
|
export interface UserAssignedManagedIdentityDetails {
|
|
4110
|
-
// (undocumented)
|
|
4111
4109
|
identityArmId?: string;
|
|
4112
|
-
// (undocumented)
|
|
4113
4110
|
identityName?: string;
|
|
4114
|
-
userAssignedIdentityProperties?:
|
|
4111
|
+
userAssignedIdentityProperties?: UserAssignedIdentityProperties;
|
|
4115
4112
|
}
|
|
4116
4113
|
|
|
4117
4114
|
// @public
|
package/src/models/index.ts
CHANGED
|
@@ -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?:
|
|
1267
|
+
/** User assigned managed identity properties */
|
|
1268
|
+
userAssignedIdentityProperties?: UserAssignedIdentityProperties;
|
|
1265
1269
|
}
|
|
1266
1270
|
|
|
1267
|
-
/** User assigned identity properties */
|
|
1268
|
-
export interface
|
|
1269
|
-
/**
|
|
1270
|
-
|
|
1271
|
-
|
|
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 */
|
package/src/models/mappers.ts
CHANGED
|
@@ -2743,30 +2743,28 @@ export const UserAssignedManagedIdentityDetails: coreClient.CompositeMapper = {
|
|
|
2743
2743
|
serializedName: "userAssignedIdentityProperties",
|
|
2744
2744
|
type: {
|
|
2745
2745
|
name: "Composite",
|
|
2746
|
-
className: "
|
|
2746
|
+
className: "UserAssignedIdentityProperties"
|
|
2747
2747
|
}
|
|
2748
2748
|
}
|
|
2749
2749
|
}
|
|
2750
2750
|
}
|
|
2751
2751
|
};
|
|
2752
2752
|
|
|
2753
|
-
export const
|
|
2753
|
+
export const UserAssignedIdentityProperties: coreClient.CompositeMapper = {
|
|
2754
2754
|
type: {
|
|
2755
2755
|
name: "Composite",
|
|
2756
|
-
className: "
|
|
2756
|
+
className: "UserAssignedIdentityProperties",
|
|
2757
2757
|
modelProperties: {
|
|
2758
|
-
|
|
2759
|
-
serializedName: "
|
|
2760
|
-
readOnly: true,
|
|
2758
|
+
clientId: {
|
|
2759
|
+
serializedName: "clientId",
|
|
2761
2760
|
type: {
|
|
2762
|
-
name: "
|
|
2761
|
+
name: "String"
|
|
2763
2762
|
}
|
|
2764
2763
|
},
|
|
2765
|
-
|
|
2766
|
-
serializedName: "
|
|
2767
|
-
readOnly: true,
|
|
2764
|
+
principalId: {
|
|
2765
|
+
serializedName: "principalId",
|
|
2768
2766
|
type: {
|
|
2769
|
-
name: "
|
|
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/
|
|
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
|
|
6934
|
-
/**
|
|
6935
|
-
|
|
6936
|
-
|
|
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?:
|
|
6947
|
+
/** User assigned managed identity properties */
|
|
6948
|
+
userAssignedIdentityProperties?: UserAssignedIdentityProperties;
|
|
6951
6949
|
}
|
|
6952
6950
|
|
|
6953
6951
|
/** AzureRestoreValidation request. */
|