@azure/arm-storage 18.2.1-alpha.20240422.1 → 18.3.0-alpha.20240627.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +107 -17
- package/LICENSE +1 -1
- package/dist/index.js +9905 -7599
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersClearLegalHoldSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js +7 -11
- package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersCreateSample.js +5 -5
- package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js +4 -4
- package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersGetSample.js +2 -2
- package/dist-esm/samples-dev/blobContainersLeaseSample.js +5 -5
- package/dist-esm/samples-dev/blobContainersLeaseSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersListSample.js +3 -3
- package/dist-esm/samples-dev/blobContainersListSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js +3 -3
- package/dist-esm/samples-dev/blobContainersUpdateSample.js +2 -2
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +34 -34
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesListSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js +17 -17
- package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/deletedAccountsGetSample.js +1 -1
- package/dist-esm/samples-dev/deletedAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesGetSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesListSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesPatchSample.js +3 -3
- package/dist-esm/samples-dev/encryptionScopesPutSample.js +3 -3
- package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/fileServicesListSample.js +1 -1
- package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js +17 -17
- package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesCreateSample.js +3 -3
- package/dist-esm/samples-dev/fileSharesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/fileSharesGetSample.js +3 -3
- package/dist-esm/samples-dev/fileSharesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesLeaseSample.js +5 -5
- package/dist-esm/samples-dev/fileSharesLeaseSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesListSample.js +4 -4
- package/dist-esm/samples-dev/fileSharesListSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesRestoreSample.js +2 -2
- package/dist-esm/samples-dev/fileSharesUpdateSample.js +6 -6
- package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js +39 -10
- package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/localUsersGetSample.js +1 -1
- package/dist-esm/samples-dev/localUsersListKeysSample.js +1 -1
- package/dist-esm/samples-dev/localUsersListSample.js +38 -2
- package/dist-esm/samples-dev/localUsersListSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js +1 -1
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +85 -85
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managementPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +55 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +19 -19
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +1 -1
- package/dist-esm/samples-dev/queueCreateSample.js +3 -3
- package/dist-esm/samples-dev/queueDeleteSample.js +1 -1
- package/dist-esm/samples-dev/queueGetSample.js +1 -1
- package/dist-esm/samples-dev/queueListSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesListSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +11 -11
- package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/queueUpdateSample.js +1 -1
- package/dist-esm/samples-dev/skusListSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCreateSample.js +66 -65
- package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js +2 -2
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js +2 -2
- package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.js +2 -2
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +7 -7
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +3 -3
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +3 -3
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +5 -5
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +4 -4
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js +55 -54
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.js +56 -0
- package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.js +89 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.js +40 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.js +55 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.js +55 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsListSample.js.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.js +54 -0
- package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/tableCreateSample.js +9 -9
- package/dist-esm/samples-dev/tableCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/tableDeleteSample.js +1 -1
- package/dist-esm/samples-dev/tableGetSample.js +1 -1
- package/dist-esm/samples-dev/tableListSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesListSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +11 -11
- package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/tableUpdateSample.js +9 -9
- package/dist-esm/samples-dev/tableUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.js +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +2634 -1975
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +225 -149
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +75 -42
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +5262 -4221
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +43 -37
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +389 -335
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/blobContainers.d.ts.map +1 -1
- package/dist-esm/src/operations/blobContainers.js +101 -101
- package/dist-esm/src/operations/blobContainers.js.map +1 -1
- package/dist-esm/src/operations/blobInventoryPolicies.js +28 -28
- package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -1
- package/dist-esm/src/operations/blobServices.js +19 -19
- package/dist-esm/src/operations/blobServices.js.map +1 -1
- package/dist-esm/src/operations/deletedAccounts.js +15 -15
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
- package/dist-esm/src/operations/encryptionScopes.js +38 -38
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
- package/dist-esm/src/operations/fileServices.js +21 -21
- package/dist-esm/src/operations/fileServices.js.map +1 -1
- package/dist-esm/src/operations/fileShares.js +62 -62
- package/dist-esm/src/operations/fileShares.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +10 -6
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +10 -6
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/localUsersOperations.d.ts +2 -1
- package/dist-esm/src/operations/localUsersOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/localUsersOperations.js +49 -43
- package/dist-esm/src/operations/localUsersOperations.js.map +1 -1
- package/dist-esm/src/operations/managementPolicies.js +17 -17
- package/dist-esm/src/operations/managementPolicies.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +73 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +256 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +28 -28
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -1
- package/dist-esm/src/operations/operations.js +4 -4
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -29
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +5 -5
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/queue.js +42 -42
- package/dist-esm/src/operations/queue.js.map +1 -1
- package/dist-esm/src/operations/queueServices.js +21 -21
- package/dist-esm/src/operations/queueServices.js.map +1 -1
- package/dist-esm/src/operations/skus.js +4 -4
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/storageAccounts.js +132 -132
- package/dist-esm/src/operations/storageAccounts.js.map +1 -1
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.d.ts +53 -0
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.js +177 -0
- package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.js.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignments.d.ts +141 -0
- package/dist-esm/src/operations/storageTaskAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignments.js +518 -0
- package/dist-esm/src/operations/storageTaskAssignments.js.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.d.ts +44 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.js +160 -0
- package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.js.map +1 -0
- package/dist-esm/src/operations/tableOperations.js +41 -41
- package/dist-esm/src/operations/tableOperations.js.map +1 -1
- package/dist-esm/src/operations/tableServices.js +20 -20
- package/dist-esm/src/operations/tableServices.js.map +1 -1
- package/dist-esm/src/operations/usages.js +5 -5
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -6
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +10 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts +2 -1
- package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.d.ts +112 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.js.map +1 -0
- package/dist-esm/src/storageManagementClient.d.ts +11 -7
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageManagementClient.js +24 -16
- package/dist-esm/src/storageManagementClient.js.map +1 -1
- package/dist-esm/test/storage_examples.d.ts.map +1 -1
- package/dist-esm/test/storage_examples.js +6 -5
- package/dist-esm/test/storage_examples.js.map +1 -1
- package/package.json +10 -10
- package/review/arm-storage.api.md +470 -4
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +3163 -2397
- package/src/models/mappers.ts +4188 -3072
- package/src/models/parameters.ts +437 -374
- package/src/operations/blobContainers.ts +179 -193
- package/src/operations/blobInventoryPolicies.ts +46 -50
- package/src/operations/blobServices.ts +34 -37
- package/src/operations/deletedAccounts.ts +26 -28
- package/src/operations/encryptionScopes.ts +59 -63
- package/src/operations/fileServices.ts +31 -34
- package/src/operations/fileShares.ts +92 -99
- package/src/operations/index.ts +10 -6
- package/src/operations/localUsersOperations.ts +73 -73
- package/src/operations/managementPolicies.ts +27 -30
- package/src/operations/networkSecurityPerimeterConfigurations.ts +343 -0
- package/src/operations/objectReplicationPoliciesOperations.ts +48 -51
- package/src/operations/operations.ts +9 -9
- package/src/operations/privateEndpointConnections.ts +49 -52
- package/src/operations/privateLinkResources.ts +9 -10
- package/src/operations/queue.ts +66 -71
- package/src/operations/queueServices.ts +31 -34
- package/src/operations/skus.ts +8 -8
- package/src/operations/storageAccounts.ts +249 -272
- package/src/operations/storageTaskAssignmentInstancesReport.ts +240 -0
- package/src/operations/storageTaskAssignments.ts +700 -0
- package/src/operations/storageTaskAssignmentsInstancesReport.ts +205 -0
- package/src/operations/tableOperations.ts +65 -70
- package/src/operations/tableServices.ts +30 -33
- package/src/operations/usages.ts +12 -13
- package/src/operationsInterfaces/blobContainers.ts +16 -16
- package/src/operationsInterfaces/blobInventoryPolicies.ts +5 -5
- package/src/operationsInterfaces/blobServices.ts +4 -4
- package/src/operationsInterfaces/deletedAccounts.ts +3 -3
- package/src/operationsInterfaces/encryptionScopes.ts +5 -5
- package/src/operationsInterfaces/fileServices.ts +4 -4
- package/src/operationsInterfaces/fileShares.ts +8 -8
- package/src/operationsInterfaces/index.ts +10 -6
- package/src/operationsInterfaces/localUsersOperations.ts +9 -8
- package/src/operationsInterfaces/managementPolicies.ts +4 -4
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +93 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +5 -5
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +5 -5
- package/src/operationsInterfaces/privateLinkResources.ts +2 -2
- package/src/operationsInterfaces/queue.ts +6 -6
- package/src/operationsInterfaces/queueServices.ts +4 -4
- package/src/operationsInterfaces/skus.ts +1 -1
- package/src/operationsInterfaces/storageAccounts.ts +25 -25
- package/src/operationsInterfaces/storageTaskAssignmentInstancesReport.ts +35 -0
- package/src/operationsInterfaces/storageTaskAssignments.ts +191 -0
- package/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.ts +31 -0
- package/src/operationsInterfaces/tableOperations.ts +6 -6
- package/src/operationsInterfaces/tableServices.ts +4 -4
- package/src/operationsInterfaces/usages.ts +1 -1
- package/src/pagingHelper.ts +1 -1
- package/src/storageManagementClient.ts +63 -44
- package/types/arm-storage.d.ts +958 -30
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,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 Gets effective NetworkSecurityPerimeterConfiguration for association
|
|
17
|
+
*
|
|
18
|
+
* @summary Gets effective NetworkSecurityPerimeterConfiguration for association
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationGet.json
|
|
20
|
+
*/
|
|
21
|
+
function networkSecurityPerimeterConfigurationGet() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"00000000-1111-2222-3333-444444444444";
|
|
25
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4410";
|
|
26
|
+
const accountName = "sto8607";
|
|
27
|
+
const networkSecurityPerimeterConfigurationName = "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.networkSecurityPerimeterConfigurations.get(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
networkSecurityPerimeterConfigurationGet();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=networkSecurityPerimeterConfigurationsGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterConfigurationsGetSample.js","sourceRoot":"","sources":["../../samples-dev/networkSecurityPerimeterConfigurationsGetSample.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,wCAAwC;;QACrD,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,yCAAyC,GAC7C,2DAA2D,CAAC;QAC9D,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,sCAAsC,CAAC,GAAG,CACpE,iBAAiB,EACjB,WAAW,EACX,yCAAyC,CAC1C,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wCAAwC,EAAE,CAAC;IAC7C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterConfigurationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/networkSecurityPerimeterConfigurationsListSample.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 Gets list of effective NetworkSecurityPerimeterConfiguration for storage account
|
|
17
|
+
*
|
|
18
|
+
* @summary Gets list of effective NetworkSecurityPerimeterConfiguration for storage account
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationList.json
|
|
20
|
+
*/
|
|
21
|
+
function networkSecurityPerimeterConfigurationList() {
|
|
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
|
+
"00000000-1111-2222-3333-444444444444";
|
|
26
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4410";
|
|
27
|
+
const accountName = "sto8607";
|
|
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.networkSecurityPerimeterConfigurations.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
|
+
networkSecurityPerimeterConfigurationList();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
main().catch(console.error);
|
|
55
|
+
//# sourceMappingURL=networkSecurityPerimeterConfigurationsListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterConfigurationsListSample.js","sourceRoot":"","sources":["../../samples-dev/networkSecurityPerimeterConfigurationsListSample.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,yCAAyC;;;QACtD,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,sCAAsC,CAAC,IAAI,CACvE,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,yCAAyC,EAAE,CAAC;IAC9C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterConfigurationsReconcileSample.d.ts","sourceRoot":"","sources":["../../samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.ts"],"names":[],"mappings":""}
|
|
@@ -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 Refreshes any information about the association.
|
|
17
|
+
*
|
|
18
|
+
* @summary Refreshes any information about the association.
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json
|
|
20
|
+
*/
|
|
21
|
+
function networkSecurityPerimeterConfigurationReconcile() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"00000000-1111-2222-3333-444444444444";
|
|
25
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4410";
|
|
26
|
+
const accountName = "sto8607";
|
|
27
|
+
const networkSecurityPerimeterConfigurationName = "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.networkSecurityPerimeterConfigurations.beginReconcileAndWait(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
networkSecurityPerimeterConfigurationReconcile();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=networkSecurityPerimeterConfigurationsReconcileSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterConfigurationsReconcileSample.js","sourceRoot":"","sources":["../../samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.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,8CAA8C;;QAC3D,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,yCAAyC,GAC7C,2DAA2D,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,sCAAsC,CAAC,qBAAqB,CACvE,iBAAiB,EACjB,WAAW,EACX,yCAAyC,CAC1C,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,8CAA8C,EAAE,CAAC;IACnD,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 Create or update the object replication policy of the storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update the object replication policy of 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/StorageAccountCreateObjectReplicationPolicyOnDestination.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountCreateObjectReplicationPolicyOnDestination() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -30,10 +30,10 @@ function storageAccountCreateObjectReplicationPolicyOnDestination() {
|
|
|
30
30
|
{
|
|
31
31
|
destinationContainer: "dcont139",
|
|
32
32
|
filters: { prefixMatch: ["blobA", "blobB"] },
|
|
33
|
-
sourceContainer: "scont139"
|
|
34
|
-
}
|
|
33
|
+
sourceContainer: "scont139",
|
|
34
|
+
},
|
|
35
35
|
],
|
|
36
|
-
sourceAccount: "src1122"
|
|
36
|
+
sourceAccount: "src1122",
|
|
37
37
|
};
|
|
38
38
|
const credential = new DefaultAzureCredential();
|
|
39
39
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -45,7 +45,7 @@ function storageAccountCreateObjectReplicationPolicyOnDestination() {
|
|
|
45
45
|
* This sample demonstrates how to Create or update the object replication policy of the storage account.
|
|
46
46
|
*
|
|
47
47
|
* @summary Create or update the object replication policy of the storage account.
|
|
48
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
48
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json
|
|
49
49
|
*/
|
|
50
50
|
function storageAccountCreateObjectReplicationPolicyOnSource() {
|
|
51
51
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -60,13 +60,13 @@ function storageAccountCreateObjectReplicationPolicyOnSource() {
|
|
|
60
60
|
destinationContainer: "dcont139",
|
|
61
61
|
filters: {
|
|
62
62
|
minCreationTime: "2020-02-19T16:05:00Z",
|
|
63
|
-
prefixMatch: ["blobA", "blobB"]
|
|
63
|
+
prefixMatch: ["blobA", "blobB"],
|
|
64
64
|
},
|
|
65
65
|
ruleId: "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
|
|
66
|
-
sourceContainer: "scont139"
|
|
67
|
-
}
|
|
66
|
+
sourceContainer: "scont139",
|
|
67
|
+
},
|
|
68
68
|
],
|
|
69
|
-
sourceAccount: "src1122"
|
|
69
|
+
sourceAccount: "src1122",
|
|
70
70
|
};
|
|
71
71
|
const credential = new DefaultAzureCredential();
|
|
72
72
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -78,7 +78,7 @@ function storageAccountCreateObjectReplicationPolicyOnSource() {
|
|
|
78
78
|
* This sample demonstrates how to Create or update the object replication policy of the storage account.
|
|
79
79
|
*
|
|
80
80
|
* @summary Create or update the object replication policy of the storage account.
|
|
81
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
81
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json
|
|
82
82
|
*/
|
|
83
83
|
function storageAccountUpdateObjectReplicationPolicyOnDestination() {
|
|
84
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -93,11 +93,11 @@ function storageAccountUpdateObjectReplicationPolicyOnDestination() {
|
|
|
93
93
|
destinationContainer: "dcont139",
|
|
94
94
|
filters: { prefixMatch: ["blobA", "blobB"] },
|
|
95
95
|
ruleId: "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
|
|
96
|
-
sourceContainer: "scont139"
|
|
96
|
+
sourceContainer: "scont139",
|
|
97
97
|
},
|
|
98
|
-
{ destinationContainer: "dcont179", sourceContainer: "scont179" }
|
|
98
|
+
{ destinationContainer: "dcont179", sourceContainer: "scont179" },
|
|
99
99
|
],
|
|
100
|
-
sourceAccount: "src1122"
|
|
100
|
+
sourceAccount: "src1122",
|
|
101
101
|
};
|
|
102
102
|
const credential = new DefaultAzureCredential();
|
|
103
103
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -109,7 +109,7 @@ function storageAccountUpdateObjectReplicationPolicyOnDestination() {
|
|
|
109
109
|
* This sample demonstrates how to Create or update the object replication policy of the storage account.
|
|
110
110
|
*
|
|
111
111
|
* @summary Create or update the object replication policy of the storage account.
|
|
112
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-
|
|
112
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json
|
|
113
113
|
*/
|
|
114
114
|
function storageAccountUpdateObjectReplicationPolicyOnSource() {
|
|
115
115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -124,15 +124,15 @@ function storageAccountUpdateObjectReplicationPolicyOnSource() {
|
|
|
124
124
|
destinationContainer: "dcont139",
|
|
125
125
|
filters: { prefixMatch: ["blobA", "blobB"] },
|
|
126
126
|
ruleId: "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
|
|
127
|
-
sourceContainer: "scont139"
|
|
127
|
+
sourceContainer: "scont139",
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
destinationContainer: "dcont179",
|
|
131
131
|
ruleId: "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2",
|
|
132
|
-
sourceContainer: "scont179"
|
|
133
|
-
}
|
|
132
|
+
sourceContainer: "scont179",
|
|
133
|
+
},
|
|
134
134
|
],
|
|
135
|
-
sourceAccount: "src1122"
|
|
135
|
+
sourceAccount: "src1122",
|
|
136
136
|
};
|
|
137
137
|
const credential = new DefaultAzureCredential();
|
|
138
138
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectReplicationPoliciesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/objectReplicationPoliciesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"objectReplicationPoliciesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/objectReplicationPoliciesCreateOrUpdateSample.ts"],"names":[],"mappings":"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"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes the object replication policy associated with the specified storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes the object replication 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/StorageAccountDeleteObjectReplicationPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountDeleteObjectReplicationPolicies() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the object replication policy of the storage account by policy ID.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the object replication policy of the storage account by policy ID.
|
|
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/StorageAccountGetObjectReplicationPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountGetObjectReplicationPolicies() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List the object replication policies associated with the storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary List the object replication policies associated with 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/StorageAccountListObjectReplicationPolicies.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountListObjectReplicationPolicies() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all of the available Storage Rest API operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all of the available Storage Rest API operations.
|
|
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/OperationsList.json
|
|
20
20
|
*/
|
|
21
21
|
function operationsList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes the specified private endpoint connection associated with the storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes the specified private endpoint connection associated with 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/StorageAccountDeletePrivateEndpointConnection.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountDeletePrivateEndpointConnection() {
|
|
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 specified private endpoint connection associated with the storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the specified private endpoint connection associated with 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/StorageAccountGetPrivateEndpointConnection.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountGetPrivateEndpointConnection() {
|
|
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 the private endpoint connections associated with the storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the private endpoint connections associated with 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/StorageAccountListPrivateEndpointConnections.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountListPrivateEndpointConnections() {
|
|
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 Update the state of specified private endpoint connection associated with the storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update the state of specified private endpoint connection associated with 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/StorageAccountPutPrivateEndpointConnection.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountPutPrivateEndpointConnection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -27,8 +27,8 @@ function storageAccountPutPrivateEndpointConnection() {
|
|
|
27
27
|
const properties = {
|
|
28
28
|
privateLinkServiceConnectionState: {
|
|
29
29
|
description: "Auto-Approved",
|
|
30
|
-
status: "Approved"
|
|
31
|
-
}
|
|
30
|
+
status: "Approved",
|
|
31
|
+
},
|
|
32
32
|
};
|
|
33
33
|
const credential = new DefaultAzureCredential();
|
|
34
34
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsPutSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsPutSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsPutSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsPutSample.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,0CAA0C;;QACvD,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,6BAA6B,GAAG,iCAAiC,CAAC;QACxE,MAAM,UAAU,GAA8B;YAC5C,iCAAiC,EAAE;gBACjC,WAAW,EAAE,eAAe;gBAC5B,MAAM,EAAE,UAAU;aACnB;SACF,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,0BAA0B,CAAC,GAAG,CACxD,iBAAiB,EACjB,WAAW,EACX,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;IAC/C,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 private link resources that need to be created for a storage account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the private link resources that need to be created for a 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/StorageAccountListPrivateLinkResources.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountListPrivateLinkResources() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new queue with the specified queue 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/QueueOperationPut.json
|
|
20
20
|
*/
|
|
21
21
|
function queueOperationPut() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -35,7 +35,7 @@ function queueOperationPut() {
|
|
|
35
35
|
* This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
|
|
36
36
|
*
|
|
37
37
|
* @summary Creates a new queue with the specified queue name, under the specified account.
|
|
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/QueueOperationPutWithMetadata.json
|
|
39
39
|
*/
|
|
40
40
|
function queueOperationPutWithMetadata() {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -44,7 +44,7 @@ function queueOperationPutWithMetadata() {
|
|
|
44
44
|
const accountName = "sto328";
|
|
45
45
|
const queueName = "queue6185";
|
|
46
46
|
const queue = {
|
|
47
|
-
metadata: { sample1: "meta1", sample2: "meta2" }
|
|
47
|
+
metadata: { sample1: "meta1", sample2: "meta2" },
|
|
48
48
|
};
|
|
49
49
|
const credential = new DefaultAzureCredential();
|
|
50
50
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes the queue with the specified queue name, under the specified account if it exists.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes the queue with the specified queue 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/QueueOperationDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function queueOperationDelete() {
|
|
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 queue with the specified queue name, under the specified account if it exists.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the queue with the specified queue 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/QueueOperationGet.json
|
|
20
20
|
*/
|
|
21
21
|
function queueOperationGet() {
|
|
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 queues under the specified storage account
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a list of all the queues 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/QueueOperationList.json
|
|
20
20
|
*/
|
|
21
21
|
function queueOperationList() {
|
|
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 Queue 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 Queue 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/QueueServicesGet.json
|
|
20
20
|
*/
|
|
21
21
|
function queueServicesGet() {
|
|
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 queue services for the storage account
|
|
17
17
|
*
|
|
18
18
|
* @summary List all queue 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/QueueServicesList.json
|
|
20
20
|
*/
|
|
21
21
|
function queueServicesList() {
|
|
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 Queue 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 Queue 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/QueueServicesPut.json
|
|
20
20
|
*/
|
|
21
21
|
function queueServicesPut() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -30,36 +30,36 @@ function queueServicesPut() {
|
|
|
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":"queueServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/queueServicesSetServicePropertiesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"queueServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/queueServicesSetServicePropertiesSample.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,gBAAgB;;QAC7B,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,UAAU,GAA2B;YACzC,IAAI,EAAE;gBACJ,SAAS,EAAE;oBACT;wBACE,cAAc,EAAE;4BACd,eAAe;4BACf,iBAAiB;4BACjB,mBAAmB;yBACpB;wBACD,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC;wBAClE,cAAc,EAAE,CAAC,wBAAwB,EAAE,yBAAyB,CAAC;wBACrE,cAAc,EAAE,CAAC,aAAa,CAAC;wBAC/B,eAAe,EAAE,GAAG;qBACrB;oBACD;wBACE,cAAc,EAAE,CAAC,GAAG,CAAC;wBACrB,cAAc,EAAE,CAAC,KAAK,CAAC;wBACvB,cAAc,EAAE,CAAC,GAAG,CAAC;wBACrB,cAAc,EAAE,CAAC,GAAG,CAAC;wBACrB,eAAe,EAAE,CAAC;qBACnB;oBACD;wBACE,cAAc,EAAE,CAAC,2BAA2B,CAAC;wBAC7C,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;wBAC9B,cAAc,EAAE;4BACd,sBAAsB;4BACtB,4BAA4B;yBAC7B;wBACD,cAAc,EAAE;4BACd,eAAe;4BACf,iBAAiB;4BACjB,mBAAmB;yBACpB;wBACD,eAAe,EAAE,IAAI;qBACtB;iBACF;aACF;SACF,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,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"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new queue with the specified queue 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/QueueOperationPatch.json
|
|
20
20
|
*/
|
|
21
21
|
function queueOperationPatch() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the available SKUs supported by Microsoft.Storage for given 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/SKUList.json
|
|
20
20
|
*/
|
|
21
21
|
function skuList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Abort live Migration of storage account to enable Hns
|
|
17
17
|
*
|
|
18
18
|
* @summary Abort live Migration of storage account to enable Hns
|
|
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/StorageAccountAbortHierarchicalNamespaceMigration.json
|
|
20
20
|
*/
|
|
21
21
|
function storageAccountAbortHierarchicalNamespaceMigration() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageAccountsAbortHierarchicalNamespaceMigrationSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.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,iDAAiD;;QAC9D,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,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"storageAccountsAbortHierarchicalNamespaceMigrationSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.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,iDAAiD;;QAC9D,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,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,eAAe,CAAC,+CAA+C,CAC1E,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iDAAiD,EAAE,CAAC;IACtD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|