@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
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.
|
|
17
17
|
*
|
|
18
18
|
* @summary Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersClearLegalHold.json
|
|
20
20
|
*/
|
|
21
21
|
function clearLegalHoldContainers() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { StorageManagementClient } from "@azure/arm-storage";
|
|
11
|
+
import { StorageManagementClient, } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutImmutabilityPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function createOrUpdateImmutabilityPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -26,11 +26,9 @@ function createOrUpdateImmutabilityPolicy() {
|
|
|
26
26
|
const containerName = "container6397";
|
|
27
27
|
const parameters = {
|
|
28
28
|
allowProtectedAppendWrites: true,
|
|
29
|
-
immutabilityPeriodSinceCreationInDays: 3
|
|
30
|
-
};
|
|
31
|
-
const options = {
|
|
32
|
-
parameters
|
|
29
|
+
immutabilityPeriodSinceCreationInDays: 3,
|
|
33
30
|
};
|
|
31
|
+
const options = { parameters };
|
|
34
32
|
const credential = new DefaultAzureCredential();
|
|
35
33
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
36
34
|
const result = yield client.blobContainers.createOrUpdateImmutabilityPolicy(resourceGroupName, accountName, containerName, options);
|
|
@@ -41,7 +39,7 @@ function createOrUpdateImmutabilityPolicy() {
|
|
|
41
39
|
* This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
42
40
|
*
|
|
43
41
|
* @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
44
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
42
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json
|
|
45
43
|
*/
|
|
46
44
|
function createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll() {
|
|
47
45
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -51,11 +49,9 @@ function createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll() {
|
|
|
51
49
|
const containerName = "container6397";
|
|
52
50
|
const parameters = {
|
|
53
51
|
allowProtectedAppendWritesAll: true,
|
|
54
|
-
immutabilityPeriodSinceCreationInDays: 3
|
|
55
|
-
};
|
|
56
|
-
const options = {
|
|
57
|
-
parameters
|
|
52
|
+
immutabilityPeriodSinceCreationInDays: 3,
|
|
58
53
|
};
|
|
54
|
+
const options = { parameters };
|
|
59
55
|
const credential = new DefaultAzureCredential();
|
|
60
56
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
61
57
|
const result = yield client.blobContainers.createOrUpdateImmutabilityPolicy(resourceGroupName, accountName, containerName, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blobContainersCreateOrUpdateImmutabilityPolicySample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"blobContainersCreateOrUpdateImmutabilityPolicySample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAAu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;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutDefaultEncryptionScope.json
|
|
20
20
|
*/
|
|
21
21
|
function putContainerWithDefaultEncryptionScope() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -26,7 +26,7 @@ function putContainerWithDefaultEncryptionScope() {
|
|
|
26
26
|
const containerName = "container6185";
|
|
27
27
|
const blobContainer = {
|
|
28
28
|
defaultEncryptionScope: "encryptionscope185",
|
|
29
|
-
denyEncryptionScopeOverride: true
|
|
29
|
+
denyEncryptionScopeOverride: true,
|
|
30
30
|
};
|
|
31
31
|
const credential = new DefaultAzureCredential();
|
|
32
32
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -38,7 +38,7 @@ function putContainerWithDefaultEncryptionScope() {
|
|
|
38
38
|
* This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
39
39
|
*
|
|
40
40
|
* @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
41
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
41
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutObjectLevelWorm.json
|
|
42
42
|
*/
|
|
43
43
|
function putContainerWithObjectLevelWorm() {
|
|
44
44
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -47,7 +47,7 @@ function putContainerWithObjectLevelWorm() {
|
|
|
47
47
|
const accountName = "sto328";
|
|
48
48
|
const containerName = "container6185";
|
|
49
49
|
const blobContainer = {
|
|
50
|
-
immutableStorageWithVersioning: { enabled: true }
|
|
50
|
+
immutableStorageWithVersioning: { enabled: true },
|
|
51
51
|
};
|
|
52
52
|
const credential = new DefaultAzureCredential();
|
|
53
53
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -59,7 +59,7 @@ function putContainerWithObjectLevelWorm() {
|
|
|
59
59
|
* This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
60
60
|
*
|
|
61
61
|
* @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
62
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
62
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPut.json
|
|
63
63
|
*/
|
|
64
64
|
function putContainers() {
|
|
65
65
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.
|
|
17
17
|
*
|
|
18
18
|
* @summary Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteImmutabilityPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes specified container under its account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes specified container under its account.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteContainers() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { StorageManagementClient } from "@azure/arm-storage";
|
|
11
|
+
import { StorageManagementClient, } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersExtendImmutabilityPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function extendImmutabilityPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -26,10 +26,10 @@ function extendImmutabilityPolicy() {
|
|
|
26
26
|
const containerName = "container5023";
|
|
27
27
|
const ifMatch = "8d59f830d0c3bf9";
|
|
28
28
|
const parameters = {
|
|
29
|
-
immutabilityPeriodSinceCreationInDays: 100
|
|
29
|
+
immutabilityPeriodSinceCreationInDays: 100,
|
|
30
30
|
};
|
|
31
31
|
const options = {
|
|
32
|
-
parameters
|
|
32
|
+
parameters,
|
|
33
33
|
};
|
|
34
34
|
const credential = new DefaultAzureCredential();
|
|
35
35
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blobContainersExtendImmutabilityPolicySample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersExtendImmutabilityPolicySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"blobContainersExtendImmutabilityPolicySample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersExtendImmutabilityPolicySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,OAAO,GAAG,iBAAiB,CAAC;QAClC,MAAM,UAAU,GAAuB;YACrC,qCAAqC,EAAE,GAAG;SAC3C,CAAC;QACF,MAAM,OAAO,GAAyD;YACpE,UAAU;SACX,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,wBAAwB,CACjE,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,OAAO,EACP,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the existing immutability policy along with the corresponding ETag in response headers and body.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the existing immutability policy along with the corresponding ETag in response headers and body.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGetImmutabilityPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function getImmutabilityPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets properties of a specified container.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets properties of a specified container.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json
|
|
20
20
|
*/
|
|
21
21
|
function getBlobContainersGetWithAllowProtectedAppendWritesAll() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function getBlobContainersGetWithAllowProtectedAppendWritesAll() {
|
|
|
34
34
|
* This sample demonstrates how to Gets properties of a specified container.
|
|
35
35
|
*
|
|
36
36
|
* @summary Gets properties of a specified container.
|
|
37
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
37
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGet.json
|
|
38
38
|
*/
|
|
39
39
|
function getContainers() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { StorageManagementClient } from "@azure/arm-storage";
|
|
11
|
+
import { StorageManagementClient, } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
17
17
|
*
|
|
18
18
|
* @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersLease_Acquire.json
|
|
20
20
|
*/
|
|
21
21
|
function acquireALeaseOnAContainer() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -29,7 +29,7 @@ function acquireALeaseOnAContainer() {
|
|
|
29
29
|
breakPeriod: undefined,
|
|
30
30
|
leaseDuration: -1,
|
|
31
31
|
leaseId: undefined,
|
|
32
|
-
proposedLeaseId: undefined
|
|
32
|
+
proposedLeaseId: undefined,
|
|
33
33
|
};
|
|
34
34
|
const options = { parameters };
|
|
35
35
|
const credential = new DefaultAzureCredential();
|
|
@@ -42,7 +42,7 @@ function acquireALeaseOnAContainer() {
|
|
|
42
42
|
* This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
43
43
|
*
|
|
44
44
|
* @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
45
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
45
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersLease_Break.json
|
|
46
46
|
*/
|
|
47
47
|
function breakALeaseOnAContainer() {
|
|
48
48
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -55,7 +55,7 @@ function breakALeaseOnAContainer() {
|
|
|
55
55
|
breakPeriod: undefined,
|
|
56
56
|
leaseDuration: undefined,
|
|
57
57
|
leaseId: "8698f513-fa75-44a1-b8eb-30ba336af27d",
|
|
58
|
-
proposedLeaseId: undefined
|
|
58
|
+
proposedLeaseId: undefined,
|
|
59
59
|
};
|
|
60
60
|
const options = { parameters };
|
|
61
61
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blobContainersLeaseSample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersLeaseSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"blobContainersLeaseSample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersLeaseSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAA0B;YACxC,MAAM,EAAE,SAAS;YACjB,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,CAAC,CAAC;YACjB,OAAO,EAAE,SAAS;YAClB,eAAe,EAAE,SAAS;SAC3B,CAAC;QACF,MAAM,OAAO,GAAsC,EAAE,UAAU,EAAE,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,CAC9C,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,UAAU,GAA0B;YACxC,MAAM,EAAE,OAAO;YACf,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,OAAO,EAAE,sCAAsC;YAC/C,eAAe,EAAE,SAAS;SAC3B,CAAC;QACF,MAAM,OAAO,GAAsC,EAAE,UAAU,EAAE,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,CAC9C,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,yBAAyB,EAAE,CAAC;QAC5B,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __asyncValues, __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { StorageManagementClient } from "@azure/arm-storage";
|
|
11
|
+
import { StorageManagementClient, } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersList.json
|
|
20
20
|
*/
|
|
21
21
|
function listContainers() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -49,7 +49,7 @@ function listContainers() {
|
|
|
49
49
|
* This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
50
50
|
*
|
|
51
51
|
* @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
52
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
52
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedBlobContainersList.json
|
|
53
53
|
*/
|
|
54
54
|
function listDeletedContainers() {
|
|
55
55
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blobContainersListSample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"blobContainersListSample.js","sourceRoot":"","sources":["../../samples-dev/blobContainersListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;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CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,cAAc,CAAC,IAAI,CAC/C,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAJmB,cAItB;gBAJsB,WAItB;gBAJU,IAAI,IAAI,KAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersLockImmutabilityPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function lockImmutabilityPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.
|
|
17
17
|
*
|
|
18
18
|
* @summary This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/ObjectLevelWormContainerMigration.json
|
|
20
20
|
*/
|
|
21
21
|
function versionLevelWormContainerMigration() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
17
17
|
*
|
|
18
18
|
* @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersSetLegalHold.json
|
|
20
20
|
*/
|
|
21
21
|
function setLegalHoldContainers() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -35,7 +35,7 @@ function setLegalHoldContainers() {
|
|
|
35
35
|
* This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
36
36
|
*
|
|
37
37
|
* @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
38
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
38
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json
|
|
39
39
|
*/
|
|
40
40
|
function setLegalHoldContainersWithAllowProtectedAppendWritesAll() {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -45,7 +45,7 @@ function setLegalHoldContainersWithAllowProtectedAppendWritesAll() {
|
|
|
45
45
|
const containerName = "container8723";
|
|
46
46
|
const legalHold = {
|
|
47
47
|
allowProtectedAppendWritesAll: true,
|
|
48
|
-
tags: ["tag1", "tag2", "tag3"]
|
|
48
|
+
tags: ["tag1", "tag2", "tag3"],
|
|
49
49
|
};
|
|
50
50
|
const credential = new DefaultAzureCredential();
|
|
51
51
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPatch.json
|
|
20
20
|
*/
|
|
21
21
|
function updateContainers() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -26,7 +26,7 @@ function updateContainers() {
|
|
|
26
26
|
const containerName = "container6185";
|
|
27
27
|
const blobContainer = {
|
|
28
28
|
metadata: { metadata: "true" },
|
|
29
|
-
publicAccess: "Container"
|
|
29
|
+
publicAccess: "Container",
|
|
30
30
|
};
|
|
31
31
|
const credential = new DefaultAzureCredential();
|
|
32
32
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { StorageManagementClient } from "@azure/arm-storage";
|
|
11
|
+
import { StorageManagementClient, } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Sets the blob inventory policy to the specified storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Sets the blob inventory policy to the specified storage account.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetBlobInventoryPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountSetBlobInventoryPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -38,7 +38,7 @@ function storageAccountSetBlobInventoryPolicy() {
|
|
|
38
38
|
creationTime: { lastNDays: 1000 },
|
|
39
39
|
includeBlobVersions: true,
|
|
40
40
|
includeSnapshots: true,
|
|
41
|
-
prefixMatch: ["inventoryprefix1", "inventoryprefix2"]
|
|
41
|
+
prefixMatch: ["inventoryprefix1", "inventoryprefix2"],
|
|
42
42
|
},
|
|
43
43
|
objectType: "Blob",
|
|
44
44
|
schedule: "Daily",
|
|
@@ -54,11 +54,11 @@ function storageAccountSetBlobInventoryPolicy() {
|
|
|
54
54
|
"Snapshot",
|
|
55
55
|
"VersionId",
|
|
56
56
|
"IsCurrentVersion",
|
|
57
|
-
"Metadata"
|
|
58
|
-
]
|
|
57
|
+
"Metadata",
|
|
58
|
+
],
|
|
59
59
|
},
|
|
60
60
|
destination: "container1",
|
|
61
|
-
enabled: true
|
|
61
|
+
enabled: true,
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
name: "inventoryPolicyRule2",
|
|
@@ -75,14 +75,14 @@ function storageAccountSetBlobInventoryPolicy() {
|
|
|
75
75
|
"LeaseDuration",
|
|
76
76
|
"PublicAccess",
|
|
77
77
|
"HasImmutabilityPolicy",
|
|
78
|
-
"HasLegalHold"
|
|
79
|
-
]
|
|
78
|
+
"HasLegalHold",
|
|
79
|
+
],
|
|
80
80
|
},
|
|
81
81
|
destination: "container2",
|
|
82
|
-
enabled: true
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
82
|
+
enabled: true,
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
86
|
};
|
|
87
87
|
const credential = new DefaultAzureCredential();
|
|
88
88
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -94,7 +94,7 @@ function storageAccountSetBlobInventoryPolicy() {
|
|
|
94
94
|
* This sample demonstrates how to Sets the blob inventory policy to the specified storage account.
|
|
95
95
|
*
|
|
96
96
|
* @summary Sets the blob inventory policy to the specified storage account.
|
|
97
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
97
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json
|
|
98
98
|
*/
|
|
99
99
|
function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount() {
|
|
100
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -117,7 +117,7 @@ function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAcco
|
|
|
117
117
|
includeBlobVersions: true,
|
|
118
118
|
includeDeleted: true,
|
|
119
119
|
includeSnapshots: true,
|
|
120
|
-
prefixMatch: ["inventoryprefix1", "inventoryprefix2"]
|
|
120
|
+
prefixMatch: ["inventoryprefix1", "inventoryprefix2"],
|
|
121
121
|
},
|
|
122
122
|
objectType: "Blob",
|
|
123
123
|
schedule: "Daily",
|
|
@@ -142,11 +142,11 @@ function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAcco
|
|
|
142
142
|
"DeletionId",
|
|
143
143
|
"Deleted",
|
|
144
144
|
"DeletedTime",
|
|
145
|
-
"RemainingRetentionDays"
|
|
146
|
-
]
|
|
145
|
+
"RemainingRetentionDays",
|
|
146
|
+
],
|
|
147
147
|
},
|
|
148
148
|
destination: "container1",
|
|
149
|
-
enabled: true
|
|
149
|
+
enabled: true,
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
name: "inventoryPolicyRule2",
|
|
@@ -171,14 +171,14 @@ function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAcco
|
|
|
171
171
|
"Deleted",
|
|
172
172
|
"Version",
|
|
173
173
|
"DeletedTime",
|
|
174
|
-
"RemainingRetentionDays"
|
|
175
|
-
]
|
|
174
|
+
"RemainingRetentionDays",
|
|
175
|
+
],
|
|
176
176
|
},
|
|
177
177
|
destination: "container2",
|
|
178
|
-
enabled: true
|
|
179
|
-
}
|
|
180
|
-
]
|
|
181
|
-
}
|
|
178
|
+
enabled: true,
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
182
|
};
|
|
183
183
|
const credential = new DefaultAzureCredential();
|
|
184
184
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -190,7 +190,7 @@ function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAcco
|
|
|
190
190
|
* This sample demonstrates how to Sets the blob inventory policy to the specified storage account.
|
|
191
191
|
*
|
|
192
192
|
* @summary Sets the blob inventory policy to the specified storage account.
|
|
193
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
193
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json
|
|
194
194
|
*/
|
|
195
195
|
function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount() {
|
|
196
196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -213,7 +213,7 @@ function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsA
|
|
|
213
213
|
includeBlobVersions: true,
|
|
214
214
|
includeDeleted: true,
|
|
215
215
|
includeSnapshots: true,
|
|
216
|
-
prefixMatch: ["inventoryprefix1", "inventoryprefix2"]
|
|
216
|
+
prefixMatch: ["inventoryprefix1", "inventoryprefix2"],
|
|
217
217
|
},
|
|
218
218
|
objectType: "Blob",
|
|
219
219
|
schedule: "Daily",
|
|
@@ -237,11 +237,11 @@ function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsA
|
|
|
237
237
|
"CacheControl",
|
|
238
238
|
"Metadata",
|
|
239
239
|
"Deleted",
|
|
240
|
-
"RemainingRetentionDays"
|
|
241
|
-
]
|
|
240
|
+
"RemainingRetentionDays",
|
|
241
|
+
],
|
|
242
242
|
},
|
|
243
243
|
destination: "container1",
|
|
244
|
-
enabled: true
|
|
244
|
+
enabled: true,
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
name: "inventoryPolicyRule2",
|
|
@@ -266,14 +266,14 @@ function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsA
|
|
|
266
266
|
"Deleted",
|
|
267
267
|
"Version",
|
|
268
268
|
"DeletedTime",
|
|
269
|
-
"RemainingRetentionDays"
|
|
270
|
-
]
|
|
269
|
+
"RemainingRetentionDays",
|
|
270
|
+
],
|
|
271
271
|
},
|
|
272
272
|
destination: "container2",
|
|
273
|
-
enabled: true
|
|
274
|
-
}
|
|
275
|
-
]
|
|
276
|
-
}
|
|
273
|
+
enabled: true,
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
},
|
|
277
277
|
};
|
|
278
278
|
const credential = new DefaultAzureCredential();
|
|
279
279
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blobInventoryPoliciesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/blobInventoryPoliciesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"blobInventoryPoliciesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/blobInventoryPoliciesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oCAAoC;;QACjD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,uBAAuB,GAAG,SAAS,CAAC;QAC1C,MAAM,UAAU,GAAwB;YACtC,MAAM,EAAE;gBACN,IAAI,EAAE,WAAW;gBACjB,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,sBAAsB;wBAC5B,UAAU,EAAE;4BACV,MAAM,EAAE,KAAK;4BACb,OAAO,EAAE;gCACP,SAAS,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,UAAU,CAAC;gCAClD,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;gCACjC,mBAAmB,EAAE,IAAI;gCACzB,gBAAgB,EAAE,IAAI;gCACtB,WAAW,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;6BACtD;4BACD,UAAU,EAAE,MAAM;4BAClB,QAAQ,EAAE,OAAO;4BACjB,YAAY,EAAE;gCACZ,MAAM;g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
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes the blob inventory policy associated with the specified storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes the blob inventory policy associated with the specified storage account.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountDeleteBlobInventoryPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the blob inventory policy associated with the specified storage account.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetBlobInventoryPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountGetBlobInventoryPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the blob inventory policy associated with the specified storage account.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListBlobInventoryPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountGetBlobInventoryPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
19
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getBlobServices() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|