@azure/arm-storage 17.0.1-alpha.20220208.1 → 17.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 (70) hide show
  1. package/CHANGELOG.md +42 -11
  2. package/LICENSE +1 -1
  3. package/dist/index.js +836 -452
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/models/index.d.ts +147 -21
  8. package/dist-esm/src/models/index.d.ts.map +1 -1
  9. package/dist-esm/src/models/index.js +12 -0
  10. package/dist-esm/src/models/index.js.map +1 -1
  11. package/dist-esm/src/models/mappers.d.ts +6 -2
  12. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  13. package/dist-esm/src/models/mappers.js +241 -53
  14. package/dist-esm/src/models/mappers.js.map +1 -1
  15. package/dist-esm/src/models/parameters.d.ts +2 -0
  16. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  17. package/dist-esm/src/models/parameters.js +20 -2
  18. package/dist-esm/src/models/parameters.js.map +1 -1
  19. package/dist-esm/src/operations/fileServices.js +3 -3
  20. package/dist-esm/src/operations/fileServices.js.map +1 -1
  21. package/dist-esm/src/operations/fileShares.js +8 -8
  22. package/dist-esm/src/operations/fileShares.js.map +1 -1
  23. package/dist-esm/src/operations/index.d.ts +1 -0
  24. package/dist-esm/src/operations/index.d.ts.map +1 -1
  25. package/dist-esm/src/operations/index.js +1 -0
  26. package/dist-esm/src/operations/index.js.map +1 -1
  27. package/dist-esm/src/operations/localUsersOperations.d.ts +97 -0
  28. package/dist-esm/src/operations/localUsersOperations.d.ts.map +1 -0
  29. package/dist-esm/src/operations/localUsersOperations.js +287 -0
  30. package/dist-esm/src/operations/localUsersOperations.js.map +1 -0
  31. package/dist-esm/src/operations/queue.js +6 -6
  32. package/dist-esm/src/operations/queue.js.map +1 -1
  33. package/dist-esm/src/operations/queueServices.js +3 -3
  34. package/dist-esm/src/operations/queueServices.js.map +1 -1
  35. package/dist-esm/src/operations/tableOperations.js +6 -6
  36. package/dist-esm/src/operations/tableOperations.js.map +1 -1
  37. package/dist-esm/src/operations/tableServices.js +3 -3
  38. package/dist-esm/src/operations/tableServices.js.map +1 -1
  39. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  40. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  41. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  42. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  43. package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts +77 -0
  44. package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts.map +1 -0
  45. package/dist-esm/src/operationsInterfaces/localUsersOperations.js +9 -0
  46. package/dist-esm/src/operationsInterfaces/localUsersOperations.js.map +1 -0
  47. package/dist-esm/src/storageManagementClient.d.ts +2 -1
  48. package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
  49. package/dist-esm/src/storageManagementClient.js +4 -3
  50. package/dist-esm/src/storageManagementClient.js.map +1 -1
  51. package/dist-esm/test/storage_examples.js +1 -1
  52. package/dist-esm/test/storage_examples.js.map +1 -1
  53. package/package.json +22 -8
  54. package/review/arm-storage.api.md +126 -13
  55. package/src/models/index.ts +168 -23
  56. package/src/models/mappers.ts +260 -55
  57. package/src/models/parameters.ts +22 -1
  58. package/src/operations/fileServices.ts +3 -3
  59. package/src/operations/fileShares.ts +8 -8
  60. package/src/operations/index.ts +1 -0
  61. package/src/operations/localUsersOperations.ts +371 -0
  62. package/src/operations/queue.ts +6 -6
  63. package/src/operations/queueServices.ts +3 -3
  64. package/src/operations/tableOperations.ts +6 -6
  65. package/src/operations/tableServices.ts +3 -3
  66. package/src/operationsInterfaces/index.ts +1 -0
  67. package/src/operationsInterfaces/localUsersOperations.ts +128 -0
  68. package/src/storageManagementClient.ts +6 -2
  69. package/tsconfig.json +18 -5
  70. package/types/arm-storage.d.ts +244 -23
@@ -19,6 +19,7 @@ import {
19
19
  PrivateEndpointConnectionsImpl,
20
20
  PrivateLinkResourcesImpl,
21
21
  ObjectReplicationPoliciesOperationsImpl,
22
+ LocalUsersOperationsImpl,
22
23
  EncryptionScopesImpl,
23
24
  BlobServicesImpl,
24
25
  BlobContainersImpl,
@@ -40,6 +41,7 @@ import {
40
41
  PrivateEndpointConnections,
41
42
  PrivateLinkResources,
42
43
  ObjectReplicationPoliciesOperations,
44
+ LocalUsersOperations,
43
45
  EncryptionScopes,
44
46
  BlobServices,
45
47
  BlobContainers,
@@ -84,7 +86,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
84
86
  credential: credentials
85
87
  };
86
88
 
87
- const packageDetails = `azsdk-js-arm-storage/17.0.0`;
89
+ const packageDetails = `azsdk-js-arm-storage/17.1.0`;
88
90
  const userAgentPrefix =
89
91
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
90
92
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -107,7 +109,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
107
109
 
108
110
  // Assigning values to Constant parameters
109
111
  this.$host = options.$host || "https://management.azure.com";
110
- this.apiVersion = options.apiVersion || "2021-06-01";
112
+ this.apiVersion = options.apiVersion || "2021-08-01";
111
113
  this.operations = new OperationsImpl(this);
112
114
  this.skus = new SkusImpl(this);
113
115
  this.storageAccounts = new StorageAccountsImpl(this);
@@ -120,6 +122,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
120
122
  this.objectReplicationPoliciesOperations = new ObjectReplicationPoliciesOperationsImpl(
121
123
  this
122
124
  );
125
+ this.localUsersOperations = new LocalUsersOperationsImpl(this);
123
126
  this.encryptionScopes = new EncryptionScopesImpl(this);
124
127
  this.blobServices = new BlobServicesImpl(this);
125
128
  this.blobContainers = new BlobContainersImpl(this);
@@ -141,6 +144,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
141
144
  privateEndpointConnections: PrivateEndpointConnections;
142
145
  privateLinkResources: PrivateLinkResources;
143
146
  objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;
147
+ localUsersOperations: LocalUsersOperations;
144
148
  encryptionScopes: EncryptionScopes;
145
149
  blobServices: BlobServices;
146
150
  blobContainers: BlobContainers;
package/tsconfig.json CHANGED
@@ -9,11 +9,24 @@
9
9
  "esModuleInterop": true,
10
10
  "allowSyntheticDefaultImports": true,
11
11
  "forceConsistentCasingInFileNames": true,
12
- "lib": ["es6", "dom"],
12
+ "lib": [
13
+ "es6",
14
+ "dom"
15
+ ],
13
16
  "declaration": true,
14
17
  "outDir": "./dist-esm",
15
- "importHelpers": true
18
+ "importHelpers": true,
19
+ "paths": {
20
+ "@azure/arm-storage": [
21
+ "./src/index"
22
+ ]
23
+ }
16
24
  },
17
- "include": ["./src/**/*.ts", "./test/**/*.ts"],
18
- "exclude": ["node_modules"]
19
- }
25
+ "include": [
26
+ "./src/**/*.ts",
27
+ "./test/**/*.ts"
28
+ ],
29
+ "exclude": [
30
+ "node_modules"
31
+ ]
32
+ }
@@ -74,8 +74,32 @@ export declare interface ActiveDirectoryProperties {
74
74
  domainSid: string;
75
75
  /** Specifies the security identifier (SID) for Azure Storage. */
76
76
  azureStorageSid: string;
77
+ /** Specifies the Active Directory SAMAccountName for Azure Storage. */
78
+ samAccountName?: string;
79
+ /** Specifies the Active Directory account type for Azure Storage. */
80
+ accountType?: ActiveDirectoryPropertiesAccountType;
77
81
  }
78
82
 
83
+ /**
84
+ * Defines values for ActiveDirectoryPropertiesAccountType. \
85
+ * {@link KnownActiveDirectoryPropertiesAccountType} can be used interchangeably with ActiveDirectoryPropertiesAccountType,
86
+ * this enum contains the known values that the service supports.
87
+ * ### Known values supported by the service
88
+ * **User** \
89
+ * **Computer**
90
+ */
91
+ export declare type ActiveDirectoryPropertiesAccountType = string;
92
+
93
+ /**
94
+ * Defines values for AllowedCopyScope. \
95
+ * {@link KnownAllowedCopyScope} can be used interchangeably with AllowedCopyScope,
96
+ * this enum contains the known values that the service supports.
97
+ * ### Known values supported by the service
98
+ * **PrivateLink** \
99
+ * **AAD**
100
+ */
101
+ export declare type AllowedCopyScope = string;
102
+
79
103
  /** The resource model definition for an Azure Resource Manager resource with an etag. */
80
104
  export declare type AzureEntityResource = Resource & {
81
105
  /**
@@ -912,12 +936,6 @@ export declare interface CloudError {
912
936
  error?: CloudErrorBody;
913
937
  }
914
938
 
915
- /** An error response from the Storage service. */
916
- export declare interface CloudErrorAutoGenerated {
917
- /** An error response from the Storage service. */
918
- error?: CloudErrorBodyAutoGenerated;
919
- }
920
-
921
939
  /** An error response from the Storage service. */
922
940
  export declare interface CloudErrorBody {
923
941
  /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
@@ -930,18 +948,6 @@ export declare interface CloudErrorBody {
930
948
  details?: CloudErrorBody[];
931
949
  }
932
950
 
933
- /** An error response from the Storage service. */
934
- export declare interface CloudErrorBodyAutoGenerated {
935
- /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
936
- code?: string;
937
- /** A message describing the error, intended to be suitable for display in a user interface. */
938
- message?: string;
939
- /** The target of the particular error. For example, the name of the property in error. */
940
- target?: string;
941
- /** A list of additional details about the error. */
942
- details?: CloudErrorBodyAutoGenerated[];
943
- }
944
-
945
951
  /** Specifies a CORS rule for the Blob service. */
946
952
  export declare interface CorsRule {
947
953
  /** Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains */
@@ -1169,6 +1175,8 @@ export declare interface Encryption {
1169
1175
  export declare interface EncryptionIdentity {
1170
1176
  /** Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account. */
1171
1177
  encryptionUserAssignedIdentity?: string;
1178
+ /** ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account. */
1179
+ encryptionFederatedIdentityClientId?: string;
1172
1180
  }
1173
1181
 
1174
1182
  /** The Encryption Scope resource. */
@@ -1341,10 +1349,10 @@ export declare type EncryptionScopeState = string;
1341
1349
 
1342
1350
  /** A service that allows server-side encryption to be used. */
1343
1351
  export declare interface EncryptionService {
1344
- /** A boolean indicating whether or not the service encrypts the data as it is stored. */
1352
+ /** A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled. */
1345
1353
  enabled?: boolean;
1346
1354
  /**
1347
- * Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate.
1355
+ * Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled.
1348
1356
  * NOTE: This property will not be serialized. It can only be populated by the server.
1349
1357
  */
1350
1358
  readonly lastEnabledTime?: Date;
@@ -2128,6 +2136,18 @@ export declare enum KnownAccountImmutabilityPolicyState {
2128
2136
  Disabled = "Disabled"
2129
2137
  }
2130
2138
 
2139
+ /** Known values of {@link ActiveDirectoryPropertiesAccountType} that the service accepts. */
2140
+ export declare enum KnownActiveDirectoryPropertiesAccountType {
2141
+ User = "User",
2142
+ Computer = "Computer"
2143
+ }
2144
+
2145
+ /** Known values of {@link AllowedCopyScope} that the service accepts. */
2146
+ export declare enum KnownAllowedCopyScope {
2147
+ PrivateLink = "PrivateLink",
2148
+ AAD = "AAD"
2149
+ }
2150
+
2131
2151
  /** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
2132
2152
  export declare enum KnownBlobInventoryPolicyName {
2133
2153
  Default = "default"
@@ -2796,6 +2816,172 @@ export declare interface ListTableServices {
2796
2816
  readonly value?: TableServiceProperties[];
2797
2817
  }
2798
2818
 
2819
+ /** The local user associated with the storage accounts. */
2820
+ export declare type LocalUser = Resource & {
2821
+ /**
2822
+ * Metadata pertaining to creation and last modification of the resource.
2823
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2824
+ */
2825
+ readonly systemData?: SystemData;
2826
+ /** The permission scopes of the local user. */
2827
+ permissionScopes?: PermissionScope[];
2828
+ /** Optional, local user home directory. */
2829
+ homeDirectory?: string;
2830
+ /** Optional, local user ssh authorized keys for SFTP. */
2831
+ sshAuthorizedKeys?: SshPublicKey[];
2832
+ /**
2833
+ * A unique Security Identifier that is generated by the server.
2834
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2835
+ */
2836
+ readonly sid?: string;
2837
+ /** Indicates whether shared key exists. Set it to false to remove existing shared key. */
2838
+ hasSharedKey?: boolean;
2839
+ /** Indicates whether ssh key exists. Set it to false to remove existing SSH key. */
2840
+ hasSshKey?: boolean;
2841
+ /** Indicates whether ssh password exists. Set it to false to remove existing SSH password. */
2842
+ hasSshPassword?: boolean;
2843
+ };
2844
+
2845
+ /** The Storage Account Local User keys. */
2846
+ export declare interface LocalUserKeys {
2847
+ /** Optional, local user ssh authorized keys for SFTP. */
2848
+ sshAuthorizedKeys?: SshPublicKey[];
2849
+ /**
2850
+ * Auto generated by the server for SMB authentication.
2851
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2852
+ */
2853
+ readonly sharedKey?: string;
2854
+ }
2855
+
2856
+ /** The secrets of Storage Account Local User. */
2857
+ export declare interface LocalUserRegeneratePasswordResult {
2858
+ /**
2859
+ * Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user.
2860
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2861
+ */
2862
+ readonly sshPassword?: string;
2863
+ }
2864
+
2865
+ /** List storage account local users. */
2866
+ export declare interface LocalUsers {
2867
+ /** The local users associated with the storage account. */
2868
+ value?: LocalUser[];
2869
+ }
2870
+
2871
+ /** Optional parameters. */
2872
+ export declare interface LocalUsersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2873
+ }
2874
+
2875
+ /** Contains response data for the createOrUpdate operation. */
2876
+ export declare type LocalUsersCreateOrUpdateResponse = LocalUser;
2877
+
2878
+ /** Optional parameters. */
2879
+ export declare interface LocalUsersDeleteOptionalParams extends coreClient.OperationOptions {
2880
+ }
2881
+
2882
+ /** Optional parameters. */
2883
+ export declare interface LocalUsersGetOptionalParams extends coreClient.OperationOptions {
2884
+ }
2885
+
2886
+ /** Contains response data for the get operation. */
2887
+ export declare type LocalUsersGetResponse = LocalUser;
2888
+
2889
+ /** Optional parameters. */
2890
+ export declare interface LocalUsersListKeysOptionalParams extends coreClient.OperationOptions {
2891
+ }
2892
+
2893
+ /** Contains response data for the listKeys operation. */
2894
+ export declare type LocalUsersListKeysResponse = LocalUserKeys;
2895
+
2896
+ /** Optional parameters. */
2897
+ export declare interface LocalUsersListOptionalParams extends coreClient.OperationOptions {
2898
+ }
2899
+
2900
+ /** Contains response data for the list operation. */
2901
+ export declare type LocalUsersListResponse = LocalUsers;
2902
+
2903
+ /** Interface representing a LocalUsersOperations. */
2904
+ export declare interface LocalUsersOperations {
2905
+ /**
2906
+ * List the local users associated with the storage account.
2907
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2908
+ * case insensitive.
2909
+ * @param accountName The name of the storage account within the specified resource group. Storage
2910
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2911
+ * only.
2912
+ * @param options The options parameters.
2913
+ */
2914
+ list(resourceGroupName: string, accountName: string, options?: LocalUsersListOptionalParams): PagedAsyncIterableIterator<LocalUser>;
2915
+ /**
2916
+ * Get the local user of the storage account by username.
2917
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2918
+ * case insensitive.
2919
+ * @param accountName The name of the storage account within the specified resource group. Storage
2920
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2921
+ * only.
2922
+ * @param username The name of local user. The username must contain lowercase letters and numbers
2923
+ * only. It must be unique only within the storage account.
2924
+ * @param options The options parameters.
2925
+ */
2926
+ get(resourceGroupName: string, accountName: string, username: string, options?: LocalUsersGetOptionalParams): Promise<LocalUsersGetResponse>;
2927
+ /**
2928
+ * Create or update the properties of a local user associated with the storage account
2929
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2930
+ * case insensitive.
2931
+ * @param accountName The name of the storage account within the specified resource group. Storage
2932
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2933
+ * only.
2934
+ * @param username The name of local user. The username must contain lowercase letters and numbers
2935
+ * only. It must be unique only within the storage account.
2936
+ * @param properties The local user associated with a storage account.
2937
+ * @param options The options parameters.
2938
+ */
2939
+ createOrUpdate(resourceGroupName: string, accountName: string, username: string, properties: LocalUser, options?: LocalUsersCreateOrUpdateOptionalParams): Promise<LocalUsersCreateOrUpdateResponse>;
2940
+ /**
2941
+ * Deletes the local user associated with the specified storage account.
2942
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2943
+ * case insensitive.
2944
+ * @param accountName The name of the storage account within the specified resource group. Storage
2945
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2946
+ * only.
2947
+ * @param username The name of local user. The username must contain lowercase letters and numbers
2948
+ * only. It must be unique only within the storage account.
2949
+ * @param options The options parameters.
2950
+ */
2951
+ delete(resourceGroupName: string, accountName: string, username: string, options?: LocalUsersDeleteOptionalParams): Promise<void>;
2952
+ /**
2953
+ * List SSH authorized keys and shared key of the local user.
2954
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2955
+ * case insensitive.
2956
+ * @param accountName The name of the storage account within the specified resource group. Storage
2957
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2958
+ * only.
2959
+ * @param username The name of local user. The username must contain lowercase letters and numbers
2960
+ * only. It must be unique only within the storage account.
2961
+ * @param options The options parameters.
2962
+ */
2963
+ listKeys(resourceGroupName: string, accountName: string, username: string, options?: LocalUsersListKeysOptionalParams): Promise<LocalUsersListKeysResponse>;
2964
+ /**
2965
+ * Regenerate the local user SSH password.
2966
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2967
+ * case insensitive.
2968
+ * @param accountName The name of the storage account within the specified resource group. Storage
2969
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2970
+ * only.
2971
+ * @param username The name of local user. The username must contain lowercase letters and numbers
2972
+ * only. It must be unique only within the storage account.
2973
+ * @param options The options parameters.
2974
+ */
2975
+ regeneratePassword(resourceGroupName: string, accountName: string, username: string, options?: LocalUsersRegeneratePasswordOptionalParams): Promise<LocalUsersRegeneratePasswordResponse>;
2976
+ }
2977
+
2978
+ /** Optional parameters. */
2979
+ export declare interface LocalUsersRegeneratePasswordOptionalParams extends coreClient.OperationOptions {
2980
+ }
2981
+
2982
+ /** Contains response data for the regeneratePassword operation. */
2983
+ export declare type LocalUsersRegeneratePasswordResponse = LocalUserRegeneratePasswordResult;
2984
+
2799
2985
  /** Interface representing a ManagementPolicies. */
2800
2986
  export declare interface ManagementPolicies {
2801
2987
  /**
@@ -3227,6 +3413,15 @@ export declare type OperationsListResponse = OperationListResult;
3227
3413
  declare type Permissions_2 = string;
3228
3414
  export { Permissions_2 as Permissions }
3229
3415
 
3416
+ export declare interface PermissionScope {
3417
+ /** The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c). */
3418
+ permissions: string;
3419
+ /** The service used by the local user, e.g. blob, file. */
3420
+ service: string;
3421
+ /** The name of resource, normally the container name or the file share name, used by the local user. */
3422
+ resourceName: string;
3423
+ }
3424
+
3230
3425
  /** The Private Endpoint resource. */
3231
3426
  export declare interface PrivateEndpoint {
3232
3427
  /**
@@ -3962,6 +4157,13 @@ export declare interface SmbSetting {
3962
4157
  channelEncryption?: string;
3963
4158
  }
3964
4159
 
4160
+ export declare interface SshPublicKey {
4161
+ /** Optional. It is used to store the function/usage of the key */
4162
+ description?: string;
4163
+ /** Ssh public key base64 encoded. The format should be: '<keyType> <keyData>', e.g. ssh-rsa AAAABBBB */
4164
+ key?: string;
4165
+ }
4166
+
3965
4167
  /**
3966
4168
  * Defines values for State. \
3967
4169
  * {@link KnownState} can be used interchangeably with State,
@@ -4057,7 +4259,7 @@ export declare type StorageAccount = TrackedResource & {
4057
4259
  */
4058
4260
  readonly secondaryEndpoints?: Endpoints;
4059
4261
  /**
4060
- * Gets the encryption settings on the account. If unspecified, the account is unencrypted.
4262
+ * Encryption settings to be used for server-side encryption for the storage account.
4061
4263
  * NOTE: This property will not be serialized. It can only be populated by the server.
4062
4264
  */
4063
4265
  readonly encryption?: Encryption;
@@ -4075,6 +4277,10 @@ export declare type StorageAccount = TrackedResource & {
4075
4277
  * NOTE: This property will not be serialized. It can only be populated by the server.
4076
4278
  */
4077
4279
  readonly networkRuleSet?: NetworkRuleSet;
4280
+ /** Enables Secure File Transfer Protocol, if set to true */
4281
+ isSftpEnabled?: boolean;
4282
+ /** Enables local users feature, if set to true */
4283
+ isLocalUserEnabled?: boolean;
4078
4284
  /** Account HierarchicalNamespace enabled if sets to true. */
4079
4285
  isHnsEnabled?: boolean;
4080
4286
  /**
@@ -4117,6 +4323,8 @@ export declare type StorageAccount = TrackedResource & {
4117
4323
  publicNetworkAccess?: PublicNetworkAccess;
4118
4324
  /** The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default. */
4119
4325
  immutableStorageWithVersioning?: ImmutableStorageAccount;
4326
+ /** Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. */
4327
+ allowedCopyScope?: AllowedCopyScope;
4120
4328
  };
4121
4329
 
4122
4330
  /** The parameters used to check the availability of the storage account name. */
@@ -4143,6 +4351,8 @@ export declare interface StorageAccountCreateParameters {
4143
4351
  };
4144
4352
  /** The identity of the resource. */
4145
4353
  identity?: Identity;
4354
+ /** Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. */
4355
+ allowedCopyScope?: AllowedCopyScope;
4146
4356
  /** Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. */
4147
4357
  publicNetworkAccess?: PublicNetworkAccess;
4148
4358
  /** SasPolicy assigned to the storage account. */
@@ -4151,7 +4361,7 @@ export declare interface StorageAccountCreateParameters {
4151
4361
  keyPolicy?: KeyPolicy;
4152
4362
  /** User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
4153
4363
  customDomain?: CustomDomain;
4154
- /** Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled. */
4364
+ /** Encryption settings to be used for server-side encryption for the storage account. */
4155
4365
  encryption?: Encryption;
4156
4366
  /** Network rule set */
4157
4367
  networkRuleSet?: NetworkRuleSet;
@@ -4161,6 +4371,10 @@ export declare interface StorageAccountCreateParameters {
4161
4371
  azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
4162
4372
  /** Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. */
4163
4373
  enableHttpsTrafficOnly?: boolean;
4374
+ /** Enables Secure File Transfer Protocol, if set to true */
4375
+ isSftpEnabled?: boolean;
4376
+ /** Enables local users feature, if set to true */
4377
+ isLocalUserEnabled?: boolean;
4164
4378
  /** Account HierarchicalNamespace enabled if sets to true. */
4165
4379
  isHnsEnabled?: boolean;
4166
4380
  /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
@@ -4685,7 +4899,7 @@ export declare interface StorageAccountUpdateParameters {
4685
4899
  kind?: Kind;
4686
4900
  /** Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
4687
4901
  customDomain?: CustomDomain;
4688
- /** Provides the encryption settings on the account. The default setting is unencrypted. */
4902
+ /** Not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled. */
4689
4903
  encryption?: Encryption;
4690
4904
  /** SasPolicy assigned to the storage account. */
4691
4905
  sasPolicy?: SasPolicy;
@@ -4697,6 +4911,10 @@ export declare interface StorageAccountUpdateParameters {
4697
4911
  azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
4698
4912
  /** Allows https traffic only to storage service if sets to true. */
4699
4913
  enableHttpsTrafficOnly?: boolean;
4914
+ /** Enables Secure File Transfer Protocol, if set to true */
4915
+ isSftpEnabled?: boolean;
4916
+ /** Enables local users feature, if set to true */
4917
+ isLocalUserEnabled?: boolean;
4700
4918
  /** Network rule set */
4701
4919
  networkRuleSet?: NetworkRuleSet;
4702
4920
  /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
@@ -4717,6 +4935,8 @@ export declare interface StorageAccountUpdateParameters {
4717
4935
  publicNetworkAccess?: PublicNetworkAccess;
4718
4936
  /** The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default. */
4719
4937
  immutableStorageWithVersioning?: ImmutableStorageAccount;
4938
+ /** Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. */
4939
+ allowedCopyScope?: AllowedCopyScope;
4720
4940
  }
4721
4941
 
4722
4942
  export declare class StorageManagementClient extends coreClient.ServiceClient {
@@ -4740,6 +4960,7 @@ export declare class StorageManagementClient extends coreClient.ServiceClient {
4740
4960
  privateEndpointConnections: PrivateEndpointConnections;
4741
4961
  privateLinkResources: PrivateLinkResources;
4742
4962
  objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;
4963
+ localUsersOperations: LocalUsersOperations;
4743
4964
  encryptionScopes: EncryptionScopes;
4744
4965
  blobServices: BlobServices;
4745
4966
  blobContainers: BlobContainers;