@azure/arm-storage 18.2.1-alpha.20240422.1 → 18.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +11 -11
- 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,40 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Get the storage task assignment properties
|
|
17
|
+
*
|
|
18
|
+
* @summary Get the storage task assignment properties
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json
|
|
20
|
+
*/
|
|
21
|
+
function getStorageTaskAssignment() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"1f31ba14-ce16-4281-b9b4-3e78da6e1616";
|
|
25
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
26
|
+
const accountName = "sto4445";
|
|
27
|
+
const storageTaskAssignmentName = "myassignment1";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.storageTaskAssignments.get(resourceGroupName, accountName, storageTaskAssignmentName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
getStorageTaskAssignment();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=storageTaskAssignmentsGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsGetSample.js","sourceRoot":"","sources":["../../samples-dev/storageTaskAssignmentsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,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;YACtC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,yBAAyB,GAAG,eAAe,CAAC;QAClD,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,sBAAsB,CAAC,GAAG,CACpD,iBAAiB,EACjB,WAAW,EACX,yBAAyB,CAC1B,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsInstancesReportListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/storageTaskAssignmentsInstancesReportListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Fetch the report summary of all the storage task assignments and instances in an account
|
|
17
|
+
*
|
|
18
|
+
* @summary Fetch the report summary of all the storage task assignments and instances in an account
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json
|
|
20
|
+
*/
|
|
21
|
+
function listStorageTaskAssignmentsInstancesReportSummary() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] ||
|
|
25
|
+
"1f31ba14-ce16-4281-b9b4-3e78da6e1616";
|
|
26
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
27
|
+
const accountName = "sto4445";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
30
|
+
const resArray = new Array();
|
|
31
|
+
try {
|
|
32
|
+
for (var _d = true, _e = __asyncValues(client.storageTaskAssignmentsInstancesReport.list(resourceGroupName, accountName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
33
|
+
_c = _f.value;
|
|
34
|
+
_d = false;
|
|
35
|
+
let item = _c;
|
|
36
|
+
resArray.push(item);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
40
|
+
finally {
|
|
41
|
+
try {
|
|
42
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
43
|
+
}
|
|
44
|
+
finally { if (e_1) throw e_1.error; }
|
|
45
|
+
}
|
|
46
|
+
console.log(resArray);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function main() {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
listStorageTaskAssignmentsInstancesReportSummary();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
main().catch(console.error);
|
|
55
|
+
//# sourceMappingURL=storageTaskAssignmentsInstancesReportListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsInstancesReportListSample.js","sourceRoot":"","sources":["../../samples-dev/storageTaskAssignmentsInstancesReportListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gDAAgD;;;QAC7D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC;YACtC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,qCAAqC,CAAC,IAAI,CACtE,iBAAiB,EACjB,WAAW,CACZ,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gDAAgD,EAAE,CAAC;IACrD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/storageTaskAssignmentsListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to List all the storage task assignments in an account
|
|
17
|
+
*
|
|
18
|
+
* @summary List all the storage task assignments in an account
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json
|
|
20
|
+
*/
|
|
21
|
+
function listStorageTaskAssignmentsForAccount() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] ||
|
|
25
|
+
"1f31ba14-ce16-4281-b9b4-3e78da6e1616";
|
|
26
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
27
|
+
const accountName = "sto4445";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
30
|
+
const resArray = new Array();
|
|
31
|
+
try {
|
|
32
|
+
for (var _d = true, _e = __asyncValues(client.storageTaskAssignments.list(resourceGroupName, accountName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
33
|
+
_c = _f.value;
|
|
34
|
+
_d = false;
|
|
35
|
+
let item = _c;
|
|
36
|
+
resArray.push(item);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
40
|
+
finally {
|
|
41
|
+
try {
|
|
42
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
43
|
+
}
|
|
44
|
+
finally { if (e_1) throw e_1.error; }
|
|
45
|
+
}
|
|
46
|
+
console.log(resArray);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function main() {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
listStorageTaskAssignmentsForAccount();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
main().catch(console.error);
|
|
55
|
+
//# sourceMappingURL=storageTaskAssignmentsListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsListSample.js","sourceRoot":"","sources":["../../samples-dev/storageTaskAssignmentsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,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;YACtC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,IAAI,CACvD,iBAAiB,EACjB,WAAW,CACZ,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oCAAoC,EAAE,CAAC;IACzC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/storageTaskAssignmentsUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { StorageManagementClient, } from "@azure/arm-storage";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Update storage task assignment properties
|
|
17
|
+
*
|
|
18
|
+
* @summary Update storage task assignment properties
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json
|
|
20
|
+
*/
|
|
21
|
+
function patchStorageTaskAssignment() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"1f31ba14-ce16-4281-b9b4-3e78da6e1616";
|
|
25
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
26
|
+
const accountName = "sto4445";
|
|
27
|
+
const storageTaskAssignmentName = "myassignment1";
|
|
28
|
+
const parameters = {
|
|
29
|
+
properties: {
|
|
30
|
+
description: "My Storage task assignment",
|
|
31
|
+
enabled: true,
|
|
32
|
+
executionContext: {
|
|
33
|
+
target: { excludePrefix: [], prefix: ["prefix1", "prefix2"] },
|
|
34
|
+
trigger: {
|
|
35
|
+
type: "RunOnce",
|
|
36
|
+
parameters: { startOn: new Date("2022-11-15T21:52:47.8145095Z") },
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
report: { prefix: "container1" },
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const credential = new DefaultAzureCredential();
|
|
43
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
44
|
+
const result = yield client.storageTaskAssignments.beginUpdateAndWait(resourceGroupName, accountName, storageTaskAssignmentName, parameters);
|
|
45
|
+
console.log(result);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function main() {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
patchStorageTaskAssignment();
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
main().catch(console.error);
|
|
54
|
+
//# sourceMappingURL=storageTaskAssignmentsUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/storageTaskAssignmentsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,s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,KAAK,CAAC,CAAC"}
|
|
@@ -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 a new table with the specified table name, under the specified account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new table with the specified table name, under the specified 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/TableOperationPut.json
|
|
20
20
|
*/
|
|
21
21
|
function tableOperationPut() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function tableOperationPut() {
|
|
|
34
34
|
* This sample demonstrates how to Creates a new table with the specified table name, under the specified account.
|
|
35
35
|
*
|
|
36
36
|
* @summary Creates a new table with the specified table name, under the specified account.
|
|
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/TableOperationPutOrPatchAcls.json
|
|
38
38
|
*/
|
|
39
39
|
function tableOperationPutOrPatchAcls() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -48,19 +48,19 @@ function tableOperationPutOrPatchAcls() {
|
|
|
48
48
|
accessPolicy: {
|
|
49
49
|
expiryTime: new Date("2022-03-20T08:49:37.0000000Z"),
|
|
50
50
|
permission: "raud",
|
|
51
|
-
startTime: new Date("2022-03-17T08:49:37.0000000Z")
|
|
51
|
+
startTime: new Date("2022-03-17T08:49:37.0000000Z"),
|
|
52
52
|
},
|
|
53
|
-
id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"
|
|
53
|
+
id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
accessPolicy: {
|
|
57
57
|
expiryTime: new Date("2022-03-20T08:49:37.0000000Z"),
|
|
58
58
|
permission: "rad",
|
|
59
|
-
startTime: new Date("2022-03-17T08:49:37.0000000Z")
|
|
59
|
+
startTime: new Date("2022-03-17T08:49:37.0000000Z"),
|
|
60
60
|
},
|
|
61
|
-
id: "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
61
|
+
id: "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
64
|
};
|
|
65
65
|
const options = { parameters };
|
|
66
66
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableCreateSample.js","sourceRoot":"","sources":["../../samples-dev/tableCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"tableCreateSample.js","sourceRoot":"","sources":["../../samples-dev/tableCreateSample.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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8BAA8B,CAAC;qBACpD;oBACD,EAAE,EAAE,6CAA6C;iBAClD;aACF;SACF,CAAC;QACF,MAAM,OAAO,GAA8B,EAAE,UAAU,EAAE,CAAC;QAC1D,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,eAAe,CAAC,MAAM,CAChD,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;QACpB,4BAA4B,EAAE,CAAC;IACjC,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 Deletes the table with the specified table name, under the specified account if it exists.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes the table with the specified table name, under the specified account if it exists.
|
|
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/TableOperationDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function tableOperationDelete() {
|
|
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 table with the specified table name, under the specified account if it exists.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the table with the specified table name, under the specified account if it exists.
|
|
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/TableOperationGet.json
|
|
20
20
|
*/
|
|
21
21
|
function tableOperationGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a list of all the tables under the specified storage account
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a list of all the tables under 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/TableOperationList.json
|
|
20
20
|
*/
|
|
21
21
|
function tableOperationList() {
|
|
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 Table 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 Table 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/TableServicesGet.json
|
|
20
20
|
*/
|
|
21
21
|
function tableServicesGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all table services for the storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all table services for the 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/TableServicesList.json
|
|
20
20
|
*/
|
|
21
21
|
function tableServicesList() {
|
|
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 Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
17
17
|
*
|
|
18
18
|
* @summary Sets the properties of a storage account’s Table 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/TableServicesPut.json
|
|
20
20
|
*/
|
|
21
21
|
function tableServicesPut() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -30,36 +30,36 @@ function tableServicesPut() {
|
|
|
30
30
|
allowedHeaders: [
|
|
31
31
|
"x-ms-meta-abc",
|
|
32
32
|
"x-ms-meta-data*",
|
|
33
|
-
"x-ms-meta-target*"
|
|
33
|
+
"x-ms-meta-target*",
|
|
34
34
|
],
|
|
35
35
|
allowedMethods: ["GET", "HEAD", "POST", "OPTIONS", "MERGE", "PUT"],
|
|
36
36
|
allowedOrigins: ["http://www.contoso.com", "http://www.fabrikam.com"],
|
|
37
37
|
exposedHeaders: ["x-ms-meta-*"],
|
|
38
|
-
maxAgeInSeconds: 100
|
|
38
|
+
maxAgeInSeconds: 100,
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
allowedHeaders: ["*"],
|
|
42
42
|
allowedMethods: ["GET"],
|
|
43
43
|
allowedOrigins: ["*"],
|
|
44
44
|
exposedHeaders: ["*"],
|
|
45
|
-
maxAgeInSeconds: 2
|
|
45
|
+
maxAgeInSeconds: 2,
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
allowedHeaders: ["x-ms-meta-12345675754564*"],
|
|
49
49
|
allowedMethods: ["GET", "PUT"],
|
|
50
50
|
allowedOrigins: [
|
|
51
51
|
"http://www.abc23.com",
|
|
52
|
-
"https://www.fabrikam.com/*"
|
|
52
|
+
"https://www.fabrikam.com/*",
|
|
53
53
|
],
|
|
54
54
|
exposedHeaders: [
|
|
55
55
|
"x-ms-meta-abc",
|
|
56
56
|
"x-ms-meta-data*",
|
|
57
|
-
"x-ms-meta-target*"
|
|
57
|
+
"x-ms-meta-target*",
|
|
58
58
|
],
|
|
59
|
-
maxAgeInSeconds: 2000
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
59
|
+
maxAgeInSeconds: 2000,
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
63
|
};
|
|
64
64
|
const credential = new DefaultAzureCredential();
|
|
65
65
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/tableServicesSetServicePropertiesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"tableServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/tableServicesSetServicePropertiesSample.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,CAA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AAM,MAAM,CAAC,aAAa,CAAC,oBAAoB,CAC5D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -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 a new table with the specified table name, under the specified account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new table with the specified table name, under the specified 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/TableOperationPatch.json
|
|
20
20
|
*/
|
|
21
21
|
function tableOperationPatch() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function tableOperationPatch() {
|
|
|
34
34
|
* This sample demonstrates how to Creates a new table with the specified table name, under the specified account.
|
|
35
35
|
*
|
|
36
36
|
* @summary Creates a new table with the specified table name, under the specified account.
|
|
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/TableOperationPutOrPatchAcls.json
|
|
38
38
|
*/
|
|
39
39
|
function tableOperationPutOrPatchAcls() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -48,19 +48,19 @@ function tableOperationPutOrPatchAcls() {
|
|
|
48
48
|
accessPolicy: {
|
|
49
49
|
expiryTime: new Date("2022-03-20T08:49:37.0000000Z"),
|
|
50
50
|
permission: "raud",
|
|
51
|
-
startTime: new Date("2022-03-17T08:49:37.0000000Z")
|
|
51
|
+
startTime: new Date("2022-03-17T08:49:37.0000000Z"),
|
|
52
52
|
},
|
|
53
|
-
id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"
|
|
53
|
+
id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
accessPolicy: {
|
|
57
57
|
expiryTime: new Date("2022-03-20T08:49:37.0000000Z"),
|
|
58
58
|
permission: "rad",
|
|
59
|
-
startTime: new Date("2022-03-17T08:49:37.0000000Z")
|
|
59
|
+
startTime: new Date("2022-03-17T08:49:37.0000000Z"),
|
|
60
60
|
},
|
|
61
|
-
id: "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
61
|
+
id: "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
64
|
};
|
|
65
65
|
const options = { parameters };
|
|
66
66
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/tableUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"tableUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/table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A8B,CAAC;wBACpD,UAAU,EAAE,MAAM;wBAClB,SAAS,EAAE,IAAI,IAAI,CAAC,8BAA8B,CAAC;qBACpD;oBACD,EAAE,EAAE,6CAA6C;iBAClD;gBACD;oBACE,YAAY,EAAE;wBACZ,UAAU,EAAE,IAAI,IAAI,CAAC,8BAA8B,CAAC;wBACpD,UAAU,EAAE,KAAK;wBACjB,SAAS,EAAE,IAAI,IAAI,CAAC,8BAA8B,CAAC;qBACpD;oBACD,EAAE,EAAE,6CAA6C;iBAClD;aACF;SACF,CAAC;QACF,MAAM,OAAO,GAA8B,EAAE,UAAU,EAAE,CAAC;QAC1D,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,eAAe,CAAC,MAAM,CAChD,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;QACtB,4BAA4B,EAAE,CAAC;IACjC,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 current usage count and the limit for the resources of the location under the subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the current usage count and the limit for the resources of the location under the subscription.
|
|
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/StorageAccountListLocationUsage.json
|
|
20
20
|
*/
|
|
21
21
|
function usageList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/src/lroImpl.js
CHANGED
|
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
|
|
|
15
15
|
sendPollRequest: (path, options) => {
|
|
16
16
|
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
17
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=lroImpl.js.map
|