@azure/arm-storage 18.2.1-alpha.20240419.1 → 18.3.0-alpha.20240627.2
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 +107 -17
- package/LICENSE +1 -1
- package/dist/index.js +9905 -7599
- 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/blobContainersClearLegalHoldSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js +7 -11
- package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersCreateSample.js +5 -5
- package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js +4 -4
- package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersGetSample.js +2 -2
- package/dist-esm/samples-dev/blobContainersLeaseSample.js +5 -5
- package/dist-esm/samples-dev/blobContainersLeaseSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersListSample.js +3 -3
- package/dist-esm/samples-dev/blobContainersListSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js +3 -3
- package/dist-esm/samples-dev/blobContainersUpdateSample.js +2 -2
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +34 -34
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesListSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js +17 -17
- package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/deletedAccountsGetSample.js +1 -1
- package/dist-esm/samples-dev/deletedAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesGetSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesListSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesPatchSample.js +3 -3
- package/dist-esm/samples-dev/encryptionScopesPutSample.js +3 -3
- package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/fileServicesListSample.js +1 -1
- package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js +17 -17
- package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesCreateSample.js +3 -3
- package/dist-esm/samples-dev/fileSharesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/fileSharesGetSample.js +3 -3
- package/dist-esm/samples-dev/fileSharesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesLeaseSample.js +5 -5
- package/dist-esm/samples-dev/fileSharesLeaseSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesListSample.js +4 -4
- package/dist-esm/samples-dev/fileSharesListSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesRestoreSample.js +2 -2
- package/dist-esm/samples-dev/fileSharesUpdateSample.js +6 -6
- package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js +39 -10
- package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/localUsersGetSample.js +1 -1
- package/dist-esm/samples-dev/localUsersListKeysSample.js +1 -1
- package/dist-esm/samples-dev/localUsersListSample.js +38 -2
- package/dist-esm/samples-dev/localUsersListSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js +1 -1
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +85 -85
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managementPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +55 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +19 -19
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +1 -1
- package/dist-esm/samples-dev/queueCreateSample.js +3 -3
- package/dist-esm/samples-dev/queueDeleteSample.js +1 -1
- package/dist-esm/samples-dev/queueGetSample.js +1 -1
- package/dist-esm/samples-dev/queueListSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesListSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +11 -11
- package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/queueUpdateSample.js +1 -1
- package/dist-esm/samples-dev/skusListSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCreateSample.js +66 -65
- package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js +2 -2
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js +2 -2
- package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.js +2 -2
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +7 -7
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +3 -3
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +3 -3
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +5 -5
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +4 -4
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js +55 -54
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.js +56 -0
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.js +89 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.js +40 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.js +55 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.js +55 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.js +54 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/tableCreateSample.js +9 -9
- package/dist-esm/samples-dev/tableCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/tableDeleteSample.js +1 -1
- package/dist-esm/samples-dev/tableGetSample.js +1 -1
- package/dist-esm/samples-dev/tableListSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesListSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +11 -11
- package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/tableUpdateSample.js +9 -9
- package/dist-esm/samples-dev/tableUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.js +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +2634 -1975
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +225 -149
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +75 -42
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +5262 -4221
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +43 -37
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +389 -335
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/blobContainers.d.ts.map +1 -1
- package/dist-esm/src/operations/blobContainers.js +101 -101
- package/dist-esm/src/operations/blobContainers.js.map +1 -1
- package/dist-esm/src/operations/blobInventoryPolicies.js +28 -28
- package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -1
- package/dist-esm/src/operations/blobServices.js +19 -19
- package/dist-esm/src/operations/blobServices.js.map +1 -1
- package/dist-esm/src/operations/deletedAccounts.js +15 -15
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
- package/dist-esm/src/operations/encryptionScopes.js +38 -38
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
- package/dist-esm/src/operations/fileServices.js +21 -21
- package/dist-esm/src/operations/fileServices.js.map +1 -1
- package/dist-esm/src/operations/fileShares.js +62 -62
- package/dist-esm/src/operations/fileShares.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +10 -6
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +10 -6
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/localUsersOperations.d.ts +2 -1
- package/dist-esm/src/operations/localUsersOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/localUsersOperations.js +49 -43
- package/dist-esm/src/operations/localUsersOperations.js.map +1 -1
- package/dist-esm/src/operations/managementPolicies.js +17 -17
- package/dist-esm/src/operations/managementPolicies.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +73 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +256 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +28 -28
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -1
- package/dist-esm/src/operations/operations.js +4 -4
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -29
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +5 -5
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/queue.js +42 -42
- package/dist-esm/src/operations/queue.js.map +1 -1
- package/dist-esm/src/operations/queueServices.js +21 -21
- package/dist-esm/src/operations/queueServices.js.map +1 -1
- package/dist-esm/src/operations/skus.js +4 -4
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/storageAccounts.js +132 -132
- package/dist-esm/src/operations/storageAccounts.js.map +1 -1
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.d.ts +53 -0
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.js +177 -0
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.js.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignments.d.ts +141 -0
- package/dist-esm/src/operations/storageTaskAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignments.js +518 -0
- package/dist-esm/src/operations/storageTaskAssignments.js.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.d.ts +44 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.js +160 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.js.map +1 -0
- package/dist-esm/src/operations/tableOperations.js +41 -41
- package/dist-esm/src/operations/tableOperations.js.map +1 -1
- package/dist-esm/src/operations/tableServices.js +20 -20
- package/dist-esm/src/operations/tableServices.js.map +1 -1
- package/dist-esm/src/operations/usages.js +5 -5
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -6
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +10 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts +2 -1
- package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.d.ts +112 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.js.map +1 -0
- package/dist-esm/src/storageManagementClient.d.ts +11 -7
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageManagementClient.js +24 -16
- package/dist-esm/src/storageManagementClient.js.map +1 -1
- package/dist-esm/test/storage_examples.d.ts.map +1 -1
- package/dist-esm/test/storage_examples.js +6 -5
- package/dist-esm/test/storage_examples.js.map +1 -1
- package/package.json +10 -10
- package/review/arm-storage.api.md +470 -4
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +3163 -2397
- package/src/models/mappers.ts +4188 -3072
- package/src/models/parameters.ts +437 -374
- package/src/operations/blobContainers.ts +179 -193
- package/src/operations/blobInventoryPolicies.ts +46 -50
- package/src/operations/blobServices.ts +34 -37
- package/src/operations/deletedAccounts.ts +26 -28
- package/src/operations/encryptionScopes.ts +59 -63
- package/src/operations/fileServices.ts +31 -34
- package/src/operations/fileShares.ts +92 -99
- package/src/operations/index.ts +10 -6
- package/src/operations/localUsersOperations.ts +73 -73
- package/src/operations/managementPolicies.ts +27 -30
- package/src/operations/networkSecurityPerimeterConfigurations.ts +343 -0
- package/src/operations/objectReplicationPoliciesOperations.ts +48 -51
- package/src/operations/operations.ts +9 -9
- package/src/operations/privateEndpointConnections.ts +49 -52
- package/src/operations/privateLinkResources.ts +9 -10
- package/src/operations/queue.ts +66 -71
- package/src/operations/queueServices.ts +31 -34
- package/src/operations/skus.ts +8 -8
- package/src/operations/storageAccounts.ts +249 -272
- package/src/operations/storageTaskAssignmentInstancesReport.ts +240 -0
- package/src/operations/storageTaskAssignments.ts +700 -0
- package/src/operations/storageTaskAssignmentsInstancesReport.ts +205 -0
- package/src/operations/tableOperations.ts +65 -70
- package/src/operations/tableServices.ts +30 -33
- package/src/operations/usages.ts +12 -13
- package/src/operationsInterfaces/blobContainers.ts +16 -16
- package/src/operationsInterfaces/blobInventoryPolicies.ts +5 -5
- package/src/operationsInterfaces/blobServices.ts +4 -4
- package/src/operationsInterfaces/deletedAccounts.ts +3 -3
- package/src/operationsInterfaces/encryptionScopes.ts +5 -5
- package/src/operationsInterfaces/fileServices.ts +4 -4
- package/src/operationsInterfaces/fileShares.ts +8 -8
- package/src/operationsInterfaces/index.ts +10 -6
- package/src/operationsInterfaces/localUsersOperations.ts +9 -8
- package/src/operationsInterfaces/managementPolicies.ts +4 -4
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +93 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +5 -5
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +5 -5
- package/src/operationsInterfaces/privateLinkResources.ts +2 -2
- package/src/operationsInterfaces/queue.ts +6 -6
- package/src/operationsInterfaces/queueServices.ts +4 -4
- package/src/operationsInterfaces/skus.ts +1 -1
- package/src/operationsInterfaces/storageAccounts.ts +25 -25
- package/src/operationsInterfaces/storageTaskAssignmentInstancesReport.ts +35 -0
- package/src/operationsInterfaces/storageTaskAssignments.ts +191 -0
- package/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.ts +31 -0
- package/src/operationsInterfaces/tableOperations.ts +6 -6
- package/src/operationsInterfaces/tableServices.ts +4 -4
- package/src/operationsInterfaces/usages.ts +1 -1
- package/src/pagingHelper.ts +1 -1
- package/src/storageManagementClient.ts +63 -44
- package/types/arm-storage.d.ts +958 -30
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
StorageTaskAssignment,
|
|
13
|
+
StorageTaskAssignmentsListOptionalParams,
|
|
14
|
+
StorageTaskAssignmentsCreateOptionalParams,
|
|
15
|
+
StorageTaskAssignmentsCreateResponse,
|
|
16
|
+
StorageTaskAssignmentUpdateParameters,
|
|
17
|
+
StorageTaskAssignmentsUpdateOptionalParams,
|
|
18
|
+
StorageTaskAssignmentsUpdateResponse,
|
|
19
|
+
StorageTaskAssignmentsGetOptionalParams,
|
|
20
|
+
StorageTaskAssignmentsGetResponse,
|
|
21
|
+
StorageTaskAssignmentsDeleteOptionalParams,
|
|
22
|
+
StorageTaskAssignmentsDeleteResponse,
|
|
23
|
+
} from "../models";
|
|
24
|
+
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Interface representing a StorageTaskAssignments. */
|
|
27
|
+
export interface StorageTaskAssignments {
|
|
28
|
+
/**
|
|
29
|
+
* List all the storage task assignments in an account
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
32
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
33
|
+
* only.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
list(
|
|
37
|
+
resourceGroupName: string,
|
|
38
|
+
accountName: string,
|
|
39
|
+
options?: StorageTaskAssignmentsListOptionalParams,
|
|
40
|
+
): PagedAsyncIterableIterator<StorageTaskAssignment>;
|
|
41
|
+
/**
|
|
42
|
+
* Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If
|
|
43
|
+
* a storage task assignment is already created and a subsequent create request is issued with
|
|
44
|
+
* different properties, the storage task assignment properties will be updated. If a storage task
|
|
45
|
+
* assignment is already created and a subsequent create or update request is issued with the exact
|
|
46
|
+
* same set of properties, the request will succeed.
|
|
47
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
48
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
49
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
50
|
+
* only.
|
|
51
|
+
* @param storageTaskAssignmentName The name of the storage task assignment within the specified
|
|
52
|
+
* resource group. Storage task assignment names must be between 3 and 24 characters in length and use
|
|
53
|
+
* numbers and lower-case letters only.
|
|
54
|
+
* @param parameters The parameters to create a Storage Task Assignment.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
beginCreate(
|
|
58
|
+
resourceGroupName: string,
|
|
59
|
+
accountName: string,
|
|
60
|
+
storageTaskAssignmentName: string,
|
|
61
|
+
parameters: StorageTaskAssignment,
|
|
62
|
+
options?: StorageTaskAssignmentsCreateOptionalParams,
|
|
63
|
+
): Promise<
|
|
64
|
+
SimplePollerLike<
|
|
65
|
+
OperationState<StorageTaskAssignmentsCreateResponse>,
|
|
66
|
+
StorageTaskAssignmentsCreateResponse
|
|
67
|
+
>
|
|
68
|
+
>;
|
|
69
|
+
/**
|
|
70
|
+
* Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If
|
|
71
|
+
* a storage task assignment is already created and a subsequent create request is issued with
|
|
72
|
+
* different properties, the storage task assignment properties will be updated. If a storage task
|
|
73
|
+
* assignment is already created and a subsequent create or update request is issued with the exact
|
|
74
|
+
* same set of properties, the request will succeed.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
77
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
78
|
+
* only.
|
|
79
|
+
* @param storageTaskAssignmentName The name of the storage task assignment within the specified
|
|
80
|
+
* resource group. Storage task assignment names must be between 3 and 24 characters in length and use
|
|
81
|
+
* numbers and lower-case letters only.
|
|
82
|
+
* @param parameters The parameters to create a Storage Task Assignment.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
beginCreateAndWait(
|
|
86
|
+
resourceGroupName: string,
|
|
87
|
+
accountName: string,
|
|
88
|
+
storageTaskAssignmentName: string,
|
|
89
|
+
parameters: StorageTaskAssignment,
|
|
90
|
+
options?: StorageTaskAssignmentsCreateOptionalParams,
|
|
91
|
+
): Promise<StorageTaskAssignmentsCreateResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Update storage task assignment properties
|
|
94
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
95
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
96
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
97
|
+
* only.
|
|
98
|
+
* @param storageTaskAssignmentName The name of the storage task assignment within the specified
|
|
99
|
+
* resource group. Storage task assignment names must be between 3 and 24 characters in length and use
|
|
100
|
+
* numbers and lower-case letters only.
|
|
101
|
+
* @param parameters The parameters to update a Storage Task Assignment.
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
beginUpdate(
|
|
105
|
+
resourceGroupName: string,
|
|
106
|
+
accountName: string,
|
|
107
|
+
storageTaskAssignmentName: string,
|
|
108
|
+
parameters: StorageTaskAssignmentUpdateParameters,
|
|
109
|
+
options?: StorageTaskAssignmentsUpdateOptionalParams,
|
|
110
|
+
): Promise<
|
|
111
|
+
SimplePollerLike<
|
|
112
|
+
OperationState<StorageTaskAssignmentsUpdateResponse>,
|
|
113
|
+
StorageTaskAssignmentsUpdateResponse
|
|
114
|
+
>
|
|
115
|
+
>;
|
|
116
|
+
/**
|
|
117
|
+
* Update storage task assignment properties
|
|
118
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
119
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
120
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
121
|
+
* only.
|
|
122
|
+
* @param storageTaskAssignmentName The name of the storage task assignment within the specified
|
|
123
|
+
* resource group. Storage task assignment names must be between 3 and 24 characters in length and use
|
|
124
|
+
* numbers and lower-case letters only.
|
|
125
|
+
* @param parameters The parameters to update a Storage Task Assignment.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
beginUpdateAndWait(
|
|
129
|
+
resourceGroupName: string,
|
|
130
|
+
accountName: string,
|
|
131
|
+
storageTaskAssignmentName: string,
|
|
132
|
+
parameters: StorageTaskAssignmentUpdateParameters,
|
|
133
|
+
options?: StorageTaskAssignmentsUpdateOptionalParams,
|
|
134
|
+
): Promise<StorageTaskAssignmentsUpdateResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Get the storage task assignment properties
|
|
137
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
139
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
140
|
+
* only.
|
|
141
|
+
* @param storageTaskAssignmentName The name of the storage task assignment within the specified
|
|
142
|
+
* resource group. Storage task assignment names must be between 3 and 24 characters in length and use
|
|
143
|
+
* numbers and lower-case letters only.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
get(
|
|
147
|
+
resourceGroupName: string,
|
|
148
|
+
accountName: string,
|
|
149
|
+
storageTaskAssignmentName: string,
|
|
150
|
+
options?: StorageTaskAssignmentsGetOptionalParams,
|
|
151
|
+
): Promise<StorageTaskAssignmentsGetResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Delete the storage task assignment sub-resource
|
|
154
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
155
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
156
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
157
|
+
* only.
|
|
158
|
+
* @param storageTaskAssignmentName The name of the storage task assignment within the specified
|
|
159
|
+
* resource group. Storage task assignment names must be between 3 and 24 characters in length and use
|
|
160
|
+
* numbers and lower-case letters only.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
beginDelete(
|
|
164
|
+
resourceGroupName: string,
|
|
165
|
+
accountName: string,
|
|
166
|
+
storageTaskAssignmentName: string,
|
|
167
|
+
options?: StorageTaskAssignmentsDeleteOptionalParams,
|
|
168
|
+
): Promise<
|
|
169
|
+
SimplePollerLike<
|
|
170
|
+
OperationState<StorageTaskAssignmentsDeleteResponse>,
|
|
171
|
+
StorageTaskAssignmentsDeleteResponse
|
|
172
|
+
>
|
|
173
|
+
>;
|
|
174
|
+
/**
|
|
175
|
+
* Delete the storage task assignment sub-resource
|
|
176
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
177
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
178
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
179
|
+
* only.
|
|
180
|
+
* @param storageTaskAssignmentName The name of the storage task assignment within the specified
|
|
181
|
+
* resource group. Storage task assignment names must be between 3 and 24 characters in length and use
|
|
182
|
+
* numbers and lower-case letters only.
|
|
183
|
+
* @param options The options parameters.
|
|
184
|
+
*/
|
|
185
|
+
beginDeleteAndWait(
|
|
186
|
+
resourceGroupName: string,
|
|
187
|
+
accountName: string,
|
|
188
|
+
storageTaskAssignmentName: string,
|
|
189
|
+
options?: StorageTaskAssignmentsDeleteOptionalParams,
|
|
190
|
+
): Promise<StorageTaskAssignmentsDeleteResponse>;
|
|
191
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
StorageTaskReportInstance,
|
|
12
|
+
StorageTaskAssignmentsInstancesReportListOptionalParams,
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Interface representing a StorageTaskAssignmentsInstancesReport. */
|
|
17
|
+
export interface StorageTaskAssignmentsInstancesReport {
|
|
18
|
+
/**
|
|
19
|
+
* Fetch the report summary of all the storage task assignments and instances in an account
|
|
20
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
21
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
22
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
23
|
+
* only.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
accountName: string,
|
|
29
|
+
options?: StorageTaskAssignmentsInstancesReportListOptionalParams,
|
|
30
|
+
): PagedAsyncIterableIterator<StorageTaskReportInstance>;
|
|
31
|
+
}
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
TableUpdateResponse,
|
|
17
17
|
TableGetOptionalParams,
|
|
18
18
|
TableGetResponse,
|
|
19
|
-
TableDeleteOptionalParams
|
|
19
|
+
TableDeleteOptionalParams,
|
|
20
20
|
} from "../models";
|
|
21
21
|
|
|
22
22
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -34,7 +34,7 @@ export interface TableOperations {
|
|
|
34
34
|
list(
|
|
35
35
|
resourceGroupName: string,
|
|
36
36
|
accountName: string,
|
|
37
|
-
options?: TableListOptionalParams
|
|
37
|
+
options?: TableListOptionalParams,
|
|
38
38
|
): PagedAsyncIterableIterator<Table>;
|
|
39
39
|
/**
|
|
40
40
|
* Creates a new table with the specified table name, under the specified account.
|
|
@@ -52,7 +52,7 @@ export interface TableOperations {
|
|
|
52
52
|
resourceGroupName: string,
|
|
53
53
|
accountName: string,
|
|
54
54
|
tableName: string,
|
|
55
|
-
options?: TableCreateOptionalParams
|
|
55
|
+
options?: TableCreateOptionalParams,
|
|
56
56
|
): Promise<TableCreateResponse>;
|
|
57
57
|
/**
|
|
58
58
|
* Creates a new table with the specified table name, under the specified account.
|
|
@@ -70,7 +70,7 @@ export interface TableOperations {
|
|
|
70
70
|
resourceGroupName: string,
|
|
71
71
|
accountName: string,
|
|
72
72
|
tableName: string,
|
|
73
|
-
options?: TableUpdateOptionalParams
|
|
73
|
+
options?: TableUpdateOptionalParams,
|
|
74
74
|
): Promise<TableUpdateResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* Gets the table with the specified table name, under the specified account if it exists.
|
|
@@ -88,7 +88,7 @@ export interface TableOperations {
|
|
|
88
88
|
resourceGroupName: string,
|
|
89
89
|
accountName: string,
|
|
90
90
|
tableName: string,
|
|
91
|
-
options?: TableGetOptionalParams
|
|
91
|
+
options?: TableGetOptionalParams,
|
|
92
92
|
): Promise<TableGetResponse>;
|
|
93
93
|
/**
|
|
94
94
|
* Deletes the table with the specified table name, under the specified account if it exists.
|
|
@@ -106,6 +106,6 @@ export interface TableOperations {
|
|
|
106
106
|
resourceGroupName: string,
|
|
107
107
|
accountName: string,
|
|
108
108
|
tableName: string,
|
|
109
|
-
options?: TableDeleteOptionalParams
|
|
109
|
+
options?: TableDeleteOptionalParams,
|
|
110
110
|
): Promise<void>;
|
|
111
111
|
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
TableServicesSetServicePropertiesOptionalParams,
|
|
14
14
|
TableServicesSetServicePropertiesResponse,
|
|
15
15
|
TableServicesGetServicePropertiesOptionalParams,
|
|
16
|
-
TableServicesGetServicePropertiesResponse
|
|
16
|
+
TableServicesGetServicePropertiesResponse,
|
|
17
17
|
} from "../models";
|
|
18
18
|
|
|
19
19
|
/** Interface representing a TableServices. */
|
|
@@ -30,7 +30,7 @@ export interface TableServices {
|
|
|
30
30
|
list(
|
|
31
31
|
resourceGroupName: string,
|
|
32
32
|
accountName: string,
|
|
33
|
-
options?: TableServicesListOptionalParams
|
|
33
|
+
options?: TableServicesListOptionalParams,
|
|
34
34
|
): Promise<TableServicesListResponse>;
|
|
35
35
|
/**
|
|
36
36
|
* Sets the properties of a storage account’s Table service, including properties for Storage Analytics
|
|
@@ -48,7 +48,7 @@ export interface TableServices {
|
|
|
48
48
|
resourceGroupName: string,
|
|
49
49
|
accountName: string,
|
|
50
50
|
parameters: TableServiceProperties,
|
|
51
|
-
options?: TableServicesSetServicePropertiesOptionalParams
|
|
51
|
+
options?: TableServicesSetServicePropertiesOptionalParams,
|
|
52
52
|
): Promise<TableServicesSetServicePropertiesResponse>;
|
|
53
53
|
/**
|
|
54
54
|
* Gets the properties of a storage account’s Table service, including properties for Storage Analytics
|
|
@@ -63,6 +63,6 @@ export interface TableServices {
|
|
|
63
63
|
getServiceProperties(
|
|
64
64
|
resourceGroupName: string,
|
|
65
65
|
accountName: string,
|
|
66
|
-
options?: TableServicesGetServicePropertiesOptionalParams
|
|
66
|
+
options?: TableServicesGetServicePropertiesOptionalParams,
|
|
67
67
|
): Promise<TableServicesGetServicePropertiesResponse>;
|
|
68
68
|
}
|
package/src/pagingHelper.ts
CHANGED
|
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
|
|
|
28
28
|
|
|
29
29
|
export function setContinuationToken(
|
|
30
30
|
page: unknown,
|
|
31
|
-
continuationToken: string | undefined
|
|
31
|
+
continuationToken: string | undefined,
|
|
32
32
|
): void {
|
|
33
33
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
34
|
return;
|
|
@@ -11,10 +11,16 @@ import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
|
11
11
|
import {
|
|
12
12
|
PipelineRequest,
|
|
13
13
|
PipelineResponse,
|
|
14
|
-
SendRequest
|
|
14
|
+
SendRequest,
|
|
15
15
|
} from "@azure/core-rest-pipeline";
|
|
16
16
|
import * as coreAuth from "@azure/core-auth";
|
|
17
17
|
import {
|
|
18
|
+
BlobServicesImpl,
|
|
19
|
+
BlobContainersImpl,
|
|
20
|
+
FileServicesImpl,
|
|
21
|
+
FileSharesImpl,
|
|
22
|
+
QueueServicesImpl,
|
|
23
|
+
QueueImpl,
|
|
18
24
|
OperationsImpl,
|
|
19
25
|
SkusImpl,
|
|
20
26
|
StorageAccountsImpl,
|
|
@@ -27,16 +33,20 @@ import {
|
|
|
27
33
|
ObjectReplicationPoliciesOperationsImpl,
|
|
28
34
|
LocalUsersOperationsImpl,
|
|
29
35
|
EncryptionScopesImpl,
|
|
30
|
-
BlobServicesImpl,
|
|
31
|
-
BlobContainersImpl,
|
|
32
|
-
FileServicesImpl,
|
|
33
|
-
FileSharesImpl,
|
|
34
|
-
QueueServicesImpl,
|
|
35
|
-
QueueImpl,
|
|
36
36
|
TableServicesImpl,
|
|
37
|
-
TableOperationsImpl
|
|
37
|
+
TableOperationsImpl,
|
|
38
|
+
NetworkSecurityPerimeterConfigurationsImpl,
|
|
39
|
+
StorageTaskAssignmentsImpl,
|
|
40
|
+
StorageTaskAssignmentsInstancesReportImpl,
|
|
41
|
+
StorageTaskAssignmentInstancesReportImpl,
|
|
38
42
|
} from "./operations";
|
|
39
43
|
import {
|
|
44
|
+
BlobServices,
|
|
45
|
+
BlobContainers,
|
|
46
|
+
FileServices,
|
|
47
|
+
FileShares,
|
|
48
|
+
QueueServices,
|
|
49
|
+
Queue,
|
|
40
50
|
Operations,
|
|
41
51
|
Skus,
|
|
42
52
|
StorageAccounts,
|
|
@@ -49,14 +59,12 @@ import {
|
|
|
49
59
|
ObjectReplicationPoliciesOperations,
|
|
50
60
|
LocalUsersOperations,
|
|
51
61
|
EncryptionScopes,
|
|
52
|
-
BlobServices,
|
|
53
|
-
BlobContainers,
|
|
54
|
-
FileServices,
|
|
55
|
-
FileShares,
|
|
56
|
-
QueueServices,
|
|
57
|
-
Queue,
|
|
58
62
|
TableServices,
|
|
59
|
-
TableOperations
|
|
63
|
+
TableOperations,
|
|
64
|
+
NetworkSecurityPerimeterConfigurations,
|
|
65
|
+
StorageTaskAssignments,
|
|
66
|
+
StorageTaskAssignmentsInstancesReport,
|
|
67
|
+
StorageTaskAssignmentInstancesReport,
|
|
60
68
|
} from "./operationsInterfaces";
|
|
61
69
|
import { StorageManagementClientOptionalParams } from "./models";
|
|
62
70
|
|
|
@@ -74,7 +82,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
74
82
|
constructor(
|
|
75
83
|
credentials: coreAuth.TokenCredential,
|
|
76
84
|
subscriptionId: string,
|
|
77
|
-
options?: StorageManagementClientOptionalParams
|
|
85
|
+
options?: StorageManagementClientOptionalParams,
|
|
78
86
|
) {
|
|
79
87
|
if (credentials === undefined) {
|
|
80
88
|
throw new Error("'credentials' cannot be null");
|
|
@@ -89,10 +97,10 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
89
97
|
}
|
|
90
98
|
const defaults: StorageManagementClientOptionalParams = {
|
|
91
99
|
requestContentType: "application/json; charset=utf-8",
|
|
92
|
-
credential: credentials
|
|
100
|
+
credential: credentials,
|
|
93
101
|
};
|
|
94
102
|
|
|
95
|
-
const packageDetails = `azsdk-js-arm-storage/18.
|
|
103
|
+
const packageDetails = `azsdk-js-arm-storage/18.3.0`;
|
|
96
104
|
const userAgentPrefix =
|
|
97
105
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
98
106
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -102,20 +110,21 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
102
110
|
...defaults,
|
|
103
111
|
...options,
|
|
104
112
|
userAgentOptions: {
|
|
105
|
-
userAgentPrefix
|
|
113
|
+
userAgentPrefix,
|
|
106
114
|
},
|
|
107
115
|
endpoint:
|
|
108
|
-
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
116
|
+
options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
109
117
|
};
|
|
110
118
|
super(optionsWithDefaults);
|
|
111
119
|
|
|
112
120
|
let bearerTokenAuthenticationPolicyFound: boolean = false;
|
|
113
121
|
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
114
|
-
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
|
|
122
|
+
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
|
|
123
|
+
options.pipeline.getOrderedPolicies();
|
|
115
124
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
|
116
125
|
(pipelinePolicy) =>
|
|
117
126
|
pipelinePolicy.name ===
|
|
118
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
127
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
119
128
|
);
|
|
120
129
|
}
|
|
121
130
|
if (
|
|
@@ -125,7 +134,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
125
134
|
!bearerTokenAuthenticationPolicyFound
|
|
126
135
|
) {
|
|
127
136
|
this.pipeline.removePolicy({
|
|
128
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
137
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
129
138
|
});
|
|
130
139
|
this.pipeline.addPolicy(
|
|
131
140
|
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
@@ -135,9 +144,9 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
135
144
|
`${optionsWithDefaults.endpoint}/.default`,
|
|
136
145
|
challengeCallbacks: {
|
|
137
146
|
authorizeRequestOnChallenge:
|
|
138
|
-
coreClient.authorizeRequestOnClaimChallenge
|
|
139
|
-
}
|
|
140
|
-
})
|
|
147
|
+
coreClient.authorizeRequestOnClaimChallenge,
|
|
148
|
+
},
|
|
149
|
+
}),
|
|
141
150
|
);
|
|
142
151
|
}
|
|
143
152
|
// Parameter assignments
|
|
@@ -145,7 +154,13 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
145
154
|
|
|
146
155
|
// Assigning values to Constant parameters
|
|
147
156
|
this.$host = options.$host || "https://management.azure.com";
|
|
148
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
157
|
+
this.apiVersion = options.apiVersion || "2023-05-01";
|
|
158
|
+
this.blobServices = new BlobServicesImpl(this);
|
|
159
|
+
this.blobContainers = new BlobContainersImpl(this);
|
|
160
|
+
this.fileServices = new FileServicesImpl(this);
|
|
161
|
+
this.fileShares = new FileSharesImpl(this);
|
|
162
|
+
this.queueServices = new QueueServicesImpl(this);
|
|
163
|
+
this.queue = new QueueImpl(this);
|
|
149
164
|
this.operations = new OperationsImpl(this);
|
|
150
165
|
this.skus = new SkusImpl(this);
|
|
151
166
|
this.storageAccounts = new StorageAccountsImpl(this);
|
|
@@ -155,19 +170,19 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
155
170
|
this.blobInventoryPolicies = new BlobInventoryPoliciesImpl(this);
|
|
156
171
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
157
172
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
158
|
-
this.objectReplicationPoliciesOperations =
|
|
159
|
-
this
|
|
160
|
-
);
|
|
173
|
+
this.objectReplicationPoliciesOperations =
|
|
174
|
+
new ObjectReplicationPoliciesOperationsImpl(this);
|
|
161
175
|
this.localUsersOperations = new LocalUsersOperationsImpl(this);
|
|
162
176
|
this.encryptionScopes = new EncryptionScopesImpl(this);
|
|
163
|
-
this.blobServices = new BlobServicesImpl(this);
|
|
164
|
-
this.blobContainers = new BlobContainersImpl(this);
|
|
165
|
-
this.fileServices = new FileServicesImpl(this);
|
|
166
|
-
this.fileShares = new FileSharesImpl(this);
|
|
167
|
-
this.queueServices = new QueueServicesImpl(this);
|
|
168
|
-
this.queue = new QueueImpl(this);
|
|
169
177
|
this.tableServices = new TableServicesImpl(this);
|
|
170
178
|
this.tableOperations = new TableOperationsImpl(this);
|
|
179
|
+
this.networkSecurityPerimeterConfigurations =
|
|
180
|
+
new NetworkSecurityPerimeterConfigurationsImpl(this);
|
|
181
|
+
this.storageTaskAssignments = new StorageTaskAssignmentsImpl(this);
|
|
182
|
+
this.storageTaskAssignmentsInstancesReport =
|
|
183
|
+
new StorageTaskAssignmentsInstancesReportImpl(this);
|
|
184
|
+
this.storageTaskAssignmentInstancesReport =
|
|
185
|
+
new StorageTaskAssignmentInstancesReportImpl(this);
|
|
171
186
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
172
187
|
}
|
|
173
188
|
|
|
@@ -180,7 +195,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
180
195
|
name: "CustomApiVersionPolicy",
|
|
181
196
|
async sendRequest(
|
|
182
197
|
request: PipelineRequest,
|
|
183
|
-
next: SendRequest
|
|
198
|
+
next: SendRequest,
|
|
184
199
|
): Promise<PipelineResponse> {
|
|
185
200
|
const param = request.url.split("?");
|
|
186
201
|
if (param.length > 1) {
|
|
@@ -194,11 +209,17 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
194
209
|
request.url = param[0] + "?" + newParams.join("&");
|
|
195
210
|
}
|
|
196
211
|
return next(request);
|
|
197
|
-
}
|
|
212
|
+
},
|
|
198
213
|
};
|
|
199
214
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
200
215
|
}
|
|
201
216
|
|
|
217
|
+
blobServices: BlobServices;
|
|
218
|
+
blobContainers: BlobContainers;
|
|
219
|
+
fileServices: FileServices;
|
|
220
|
+
fileShares: FileShares;
|
|
221
|
+
queueServices: QueueServices;
|
|
222
|
+
queue: Queue;
|
|
202
223
|
operations: Operations;
|
|
203
224
|
skus: Skus;
|
|
204
225
|
storageAccounts: StorageAccounts;
|
|
@@ -211,12 +232,10 @@ export class StorageManagementClient extends coreClient.ServiceClient {
|
|
|
211
232
|
objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;
|
|
212
233
|
localUsersOperations: LocalUsersOperations;
|
|
213
234
|
encryptionScopes: EncryptionScopes;
|
|
214
|
-
blobServices: BlobServices;
|
|
215
|
-
blobContainers: BlobContainers;
|
|
216
|
-
fileServices: FileServices;
|
|
217
|
-
fileShares: FileShares;
|
|
218
|
-
queueServices: QueueServices;
|
|
219
|
-
queue: Queue;
|
|
220
235
|
tableServices: TableServices;
|
|
221
236
|
tableOperations: TableOperations;
|
|
237
|
+
networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;
|
|
238
|
+
storageTaskAssignments: StorageTaskAssignments;
|
|
239
|
+
storageTaskAssignmentsInstancesReport: StorageTaskAssignmentsInstancesReport;
|
|
240
|
+
storageTaskAssignmentInstancesReport: StorageTaskAssignmentInstancesReport;
|
|
222
241
|
}
|