@azure/arm-storagesync 10.0.0-beta.1 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser/api/cloudEndpoints/index.d.ts +2 -2
- package/dist/browser/api/cloudEndpoints/index.js +1 -1
- package/dist/browser/api/cloudEndpoints/index.js.map +1 -1
- package/dist/browser/api/cloudEndpoints/operations.d.ts +6 -2
- package/dist/browser/api/cloudEndpoints/operations.js +59 -20
- package/dist/browser/api/cloudEndpoints/operations.js.map +1 -1
- package/dist/browser/api/cloudEndpoints/options.d.ts +5 -0
- package/dist/browser/api/cloudEndpoints/options.js.map +1 -1
- package/dist/browser/api/microsoftStorageSyncContext.js +4 -3
- package/dist/browser/api/microsoftStorageSyncContext.js.map +1 -1
- package/dist/browser/api/operationStatusOperations/operations.js +1 -1
- package/dist/browser/api/operationStatusOperations/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +2 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/operations.js +1 -1
- package/dist/browser/api/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.js +7 -7
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +1 -1
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/registeredServers/operations.js +11 -11
- package/dist/browser/api/registeredServers/operations.js.map +1 -1
- package/dist/browser/api/serverEndpoints/operations.js +11 -11
- package/dist/browser/api/serverEndpoints/operations.js.map +1 -1
- package/dist/browser/api/storageSyncServices/operations.js +12 -12
- package/dist/browser/api/storageSyncServices/operations.js.map +1 -1
- package/dist/browser/api/syncGroups/operations.js +5 -5
- package/dist/browser/api/syncGroups/operations.js.map +1 -1
- package/dist/browser/api/workflows/operations.js +4 -4
- package/dist/browser/api/workflows/operations.js.map +1 -1
- package/dist/browser/classic/cloudEndpoints/index.d.ts +8 -2
- package/dist/browser/classic/cloudEndpoints/index.js +10 -1
- package/dist/browser/classic/cloudEndpoints/index.js.map +1 -1
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/microsoftStorageSync.js +1 -8
- package/dist/browser/microsoftStorageSync.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +62 -5
- package/dist/browser/models/models.js +44 -2
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +2 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/cloudEndpoints/index.d.ts +2 -2
- package/dist/commonjs/api/cloudEndpoints/index.js +4 -2
- package/dist/commonjs/api/cloudEndpoints/index.js.map +2 -2
- package/dist/commonjs/api/cloudEndpoints/operations.d.ts +6 -2
- package/dist/commonjs/api/cloudEndpoints/operations.js +77 -21
- package/dist/commonjs/api/cloudEndpoints/operations.js.map +2 -2
- package/dist/commonjs/api/cloudEndpoints/options.d.ts +5 -0
- package/dist/commonjs/api/cloudEndpoints/options.js.map +1 -1
- package/dist/commonjs/api/microsoftStorageSyncContext.js +13 -2
- package/dist/commonjs/api/microsoftStorageSyncContext.js.map +3 -3
- package/dist/commonjs/api/operationStatusOperations/operations.js +1 -1
- package/dist/commonjs/api/operationStatusOperations/operations.js.map +1 -1
- package/dist/commonjs/api/operations/operations.js +2 -2
- package/dist/commonjs/api/operations/operations.js.map +1 -1
- package/dist/commonjs/api/operations.js +1 -1
- package/dist/commonjs/api/operations.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.js +7 -7
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.js +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.js.map +1 -1
- package/dist/commonjs/api/registeredServers/operations.js +11 -11
- package/dist/commonjs/api/registeredServers/operations.js.map +1 -1
- package/dist/commonjs/api/serverEndpoints/operations.js +11 -11
- package/dist/commonjs/api/serverEndpoints/operations.js.map +1 -1
- package/dist/commonjs/api/storageSyncServices/operations.js +12 -12
- package/dist/commonjs/api/storageSyncServices/operations.js.map +1 -1
- package/dist/commonjs/api/syncGroups/operations.js +5 -5
- package/dist/commonjs/api/syncGroups/operations.js.map +1 -1
- package/dist/commonjs/api/workflows/operations.js +4 -4
- package/dist/commonjs/api/workflows/operations.js.map +1 -1
- package/dist/commonjs/classic/cloudEndpoints/index.d.ts +8 -2
- package/dist/commonjs/classic/cloudEndpoints/index.js +33 -0
- package/dist/commonjs/classic/cloudEndpoints/index.js.map +2 -2
- package/dist/commonjs/index.d.ts +3 -3
- package/dist/commonjs/index.js +2 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/microsoftStorageSync.js +1 -6
- package/dist/commonjs/microsoftStorageSync.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +62 -5
- package/dist/commonjs/models/models.js +44 -8
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/restorePollerHelpers.js +1 -0
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/cloudEndpoints/index.d.ts +2 -2
- package/dist/esm/api/cloudEndpoints/index.js +1 -1
- package/dist/esm/api/cloudEndpoints/index.js.map +1 -1
- package/dist/esm/api/cloudEndpoints/operations.d.ts +6 -2
- package/dist/esm/api/cloudEndpoints/operations.js +59 -20
- package/dist/esm/api/cloudEndpoints/operations.js.map +1 -1
- package/dist/esm/api/cloudEndpoints/options.d.ts +5 -0
- package/dist/esm/api/cloudEndpoints/options.js.map +1 -1
- package/dist/esm/api/microsoftStorageSyncContext.js +4 -3
- package/dist/esm/api/microsoftStorageSyncContext.js.map +1 -1
- package/dist/esm/api/operationStatusOperations/operations.js +1 -1
- package/dist/esm/api/operationStatusOperations/operations.js.map +1 -1
- package/dist/esm/api/operations/operations.js +2 -2
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/operations.js +1 -1
- package/dist/esm/api/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.js +7 -7
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateLinkResources/operations.js +1 -1
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/registeredServers/operations.js +11 -11
- package/dist/esm/api/registeredServers/operations.js.map +1 -1
- package/dist/esm/api/serverEndpoints/operations.js +11 -11
- package/dist/esm/api/serverEndpoints/operations.js.map +1 -1
- package/dist/esm/api/storageSyncServices/operations.js +12 -12
- package/dist/esm/api/storageSyncServices/operations.js.map +1 -1
- package/dist/esm/api/syncGroups/operations.js +5 -5
- package/dist/esm/api/syncGroups/operations.js.map +1 -1
- package/dist/esm/api/workflows/operations.js +4 -4
- package/dist/esm/api/workflows/operations.js.map +1 -1
- package/dist/esm/classic/cloudEndpoints/index.d.ts +8 -2
- package/dist/esm/classic/cloudEndpoints/index.js +10 -1
- package/dist/esm/classic/cloudEndpoints/index.js.map +1 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/microsoftStorageSync.js +1 -8
- package/dist/esm/microsoftStorageSync.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +62 -5
- package/dist/esm/models/models.js +44 -2
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +2 -1
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -1
- package/package.json +10 -10
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAOtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAOtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAqH1D,OAAO,EACL,0BAA0B,EAC1B,2CAA2C,EAC3C,+CAA+C,EAC/C,+BAA+B,EAC/B,kBAAkB,EAClB,gDAAgD,EAChD,mDAAmD,EACnD,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,EAC9B,oCAAoC,EACpC,2BAA2B,EAC3B,yCAAyC,EACzC,2CAA2C,EAC3C,iCAAiC,EACjC,0BAA0B,EAC1B,mBAAmB,EACnB,wBAAwB,EACxB,6BAA6B,EAC7B,uCAAuC,EACvC,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,GACd,MAAM,mBAAmB,CAAC;AA6E3B,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport { AzureClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport type {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { MicrosoftStorageSync } from \"./microsoftStorageSync.js\";\nexport type { SimplePollerLike } from \"./static-helpers/simplePollerHelpers.js\";\nexport type { RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport { restorePoller } from \"./restorePollerHelpers.js\";\nexport type {\n LocationOperationStatus,\n StorageSyncApiError,\n StorageSyncErrorDetails,\n StorageSyncInnerErrorDetails,\n StorageSyncError,\n OperationEntity,\n OperationDisplayInfo,\n OperationProperties,\n OperationResourceServiceSpecification,\n OperationResourceMetricSpecification,\n OperationResourceMetricSpecificationDimension,\n StorageSyncService,\n StorageSyncServiceProperties,\n IncomingTrafficPolicy,\n PrivateEndpointConnection,\n PrivateEndpointConnectionProperties,\n PrivateEndpoint,\n PrivateLinkServiceConnectionState,\n PrivateEndpointServiceConnectionStatus,\n PrivateEndpointConnectionProvisioningState,\n ManagedServiceIdentity,\n ManagedServiceIdentityType,\n UserAssignedIdentity,\n Resource,\n SystemData,\n CreatedByType,\n TrackedResource,\n StorageSyncServiceCreateParameters,\n StorageSyncServiceCreateParametersProperties,\n ErrorDetail,\n ErrorAdditionalInfo,\n StorageSyncServiceUpdateParameters,\n StorageSyncServiceUpdateProperties,\n CheckNameAvailabilityParameters,\n Type,\n CheckNameAvailabilityResult,\n NameAvailabilityReason,\n SyncGroup,\n SyncGroupProperties,\n ProxyResource,\n SyncGroupCreateParameters,\n CloudEndpoint,\n CloudEndpointProperties,\n CloudEndpointChangeEnumerationStatus,\n CloudEndpointLastChangeEnumerationStatus,\n CloudEndpointChangeEnumerationActivity,\n CloudEndpointChangeEnumerationActivityState,\n CloudEndpointChangeEnumerationTotalCountsState,\n CloudEndpointCreateParameters,\n CloudEndpointCreateParametersProperties,\n CloudEndpointUpdateParameters,\n CloudEndpointUpdateProperties,\n BackupRequest,\n PostBackupResponse,\n PostBackupResponseProperties,\n PreRestoreRequest,\n RestoreFileSpec,\n PostRestoreRequest,\n TriggerChangeDetectionParameters,\n ChangeDetectionMode,\n CloudEndpointAfsShareMetadataCertificatePublicKeys,\n ServerEndpoint,\n ServerEndpointProperties,\n FeatureStatus,\n ServerEndpointSyncStatus,\n ServerEndpointHealthState,\n ServerEndpointSyncActivityState,\n ServerEndpointSyncSessionStatus,\n ServerEndpointFilesNotSyncingError,\n ServerEndpointSyncMode,\n ServerEndpointSyncActivityStatus,\n ServerEndpointSyncSessionWarningType,\n ServerEndpointOfflineDataTransferState,\n ServerEndpointBackgroundDataDownloadActivity,\n ServerEndpointCloudTieringStatus,\n CloudTieringSpaceSavings,\n CloudTieringCachePerformance,\n CloudTieringFilesNotTiering,\n FilesNotTieringError,\n CloudTieringVolumeFreeSpacePolicyStatus,\n CloudTieringDatePolicyStatus,\n CloudTieringLowDiskMode,\n CloudTieringLowDiskModeState,\n ServerEndpointRecallStatus,\n ServerEndpointRecallError,\n InitialDownloadPolicy,\n LocalCacheMode,\n InitialUploadPolicy,\n ServerEndpointProvisioningStatus,\n ServerProvisioningStatus,\n ServerEndpointProvisioningStepStatus,\n ServerEndpointCreateParameters,\n ServerEndpointCreateParametersProperties,\n ServerEndpointUpdateParameters,\n ServerEndpointUpdateProperties,\n RecallActionParameters,\n RegisteredServer,\n RegisteredServerProperties,\n RegisteredServerAgentVersionStatus,\n ServerAuthType,\n RegisteredServerCreateParameters,\n RegisteredServerCreateParametersProperties,\n RegisteredServerUpdateParameters,\n RegisteredServerUpdateProperties,\n ErrorResponse,\n TriggerRolloverRequest,\n Workflow,\n WorkflowProperties,\n WorkflowStatus,\n OperationDirection,\n PrivateLinkResourceListResult,\n PrivateLinkResource,\n PrivateLinkResourceProperties,\n OperationStatus,\n} from \"./models/index.js\";\nexport {\n KnownIncomingTrafficPolicy,\n KnownPrivateEndpointServiceConnectionStatus,\n KnownPrivateEndpointConnectionProvisioningState,\n KnownManagedServiceIdentityType,\n KnownCreatedByType,\n KnownCloudEndpointChangeEnumerationActivityState,\n KnownCloudEndpointChangeEnumerationTotalCountsState,\n KnownChangeDetectionMode,\n KnownFeatureStatus,\n KnownServerEndpointHealthState,\n KnownServerEndpointSyncActivityState,\n KnownServerEndpointSyncMode,\n KnownServerEndpointSyncSessionWarningType,\n KnownServerEndpointOfflineDataTransferState,\n KnownCloudTieringLowDiskModeState,\n KnownInitialDownloadPolicy,\n KnownLocalCacheMode,\n KnownInitialUploadPolicy,\n KnownServerProvisioningStatus,\n KnownRegisteredServerAgentVersionStatus,\n KnownServerAuthType,\n KnownWorkflowStatus,\n KnownOperationDirection,\n KnownVersions,\n} from \"./models/index.js\";\nexport type {\n MicrosoftStorageSyncOptionalParams,\n LocationOperationStatusOptionalParams,\n} from \"./api/index.js\";\nexport type {\n CloudEndpointsAfsShareMetadataCertificatePublicKeysOptionalParams,\n CloudEndpointsTriggerChangeDetectionOptionalParams,\n CloudEndpointsPostRestoreOptionalParams,\n CloudEndpointsRestoreheartbeatOptionalParams,\n CloudEndpointsPreRestoreOptionalParams,\n CloudEndpointsPostBackupOptionalParams,\n CloudEndpointsPreBackupOptionalParams,\n CloudEndpointsListBySyncGroupOptionalParams,\n CloudEndpointsDeleteOptionalParams,\n CloudEndpointsUpdateOptionalParams,\n CloudEndpointsCreateOptionalParams,\n CloudEndpointsGetOptionalParams,\n} from \"./api/cloudEndpoints/index.js\";\nexport type { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport type { OperationStatusOperationsGetOptionalParams } from \"./api/operationStatusOperations/index.js\";\nexport type {\n PrivateEndpointConnectionsListByStorageSyncServiceOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsGetOptionalParams,\n} from \"./api/privateEndpointConnections/index.js\";\nexport type { PrivateLinkResourcesListByStorageSyncServiceOptionalParams } from \"./api/privateLinkResources/index.js\";\nexport type {\n RegisteredServersTriggerRolloverOptionalParams,\n RegisteredServersListByStorageSyncServiceOptionalParams,\n RegisteredServersDeleteOptionalParams,\n RegisteredServersUpdateOptionalParams,\n RegisteredServersCreateOptionalParams,\n RegisteredServersGetOptionalParams,\n} from \"./api/registeredServers/index.js\";\nexport type {\n ServerEndpointsRecallActionOptionalParams,\n ServerEndpointsListBySyncGroupOptionalParams,\n ServerEndpointsDeleteOptionalParams,\n ServerEndpointsUpdateOptionalParams,\n ServerEndpointsCreateOptionalParams,\n ServerEndpointsGetOptionalParams,\n} from \"./api/serverEndpoints/index.js\";\nexport type {\n StorageSyncServicesCheckNameAvailabilityOptionalParams,\n StorageSyncServicesListBySubscriptionOptionalParams,\n StorageSyncServicesListByResourceGroupOptionalParams,\n StorageSyncServicesDeleteOptionalParams,\n StorageSyncServicesUpdateOptionalParams,\n StorageSyncServicesCreateOptionalParams,\n StorageSyncServicesGetOptionalParams,\n} from \"./api/storageSyncServices/index.js\";\nexport type {\n SyncGroupsListByStorageSyncServiceOptionalParams,\n SyncGroupsDeleteOptionalParams,\n SyncGroupsCreateOptionalParams,\n SyncGroupsGetOptionalParams,\n} from \"./api/syncGroups/index.js\";\nexport type {\n WorkflowsAbortOptionalParams,\n WorkflowsListByStorageSyncServiceOptionalParams,\n WorkflowsGetOptionalParams,\n} from \"./api/workflows/index.js\";\nexport type {\n CloudEndpointsOperations,\n OperationsOperations,\n OperationStatusOperationsOperations,\n PrivateEndpointConnectionsOperations,\n PrivateLinkResourcesOperations,\n RegisteredServersOperations,\n ServerEndpointsOperations,\n StorageSyncServicesOperations,\n SyncGroupsOperations,\n WorkflowsOperations,\n} from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"]}
|
|
@@ -26,14 +26,7 @@ export class MicrosoftStorageSync {
|
|
|
26
26
|
options = subscriptionIdOrOptions;
|
|
27
27
|
}
|
|
28
28
|
options = options ?? {};
|
|
29
|
-
|
|
30
|
-
const userAgentPrefix = prefixFromOptions
|
|
31
|
-
? `${prefixFromOptions} azsdk-js-client`
|
|
32
|
-
: `azsdk-js-client`;
|
|
33
|
-
this._client = createMicrosoftStorageSync(credential, subscriptionId ?? "", {
|
|
34
|
-
...options,
|
|
35
|
-
userAgentOptions: { userAgentPrefix },
|
|
36
|
-
});
|
|
29
|
+
this._client = createMicrosoftStorageSync(credential, subscriptionId ?? "", options);
|
|
37
30
|
this.pipeline = this._client.pipeline;
|
|
38
31
|
this.operationStatusOperations = _getOperationStatusOperationsOperations(this._client);
|
|
39
32
|
this.privateLinkResources = _getPrivateLinkResourcesOperations(this._client);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"microsoftStorageSync.js","sourceRoot":"","sources":["../../src/microsoftStorageSync.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAG9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC;AAEvG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AAEzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAE7F,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAOvE,MAAM,OAAO,oBAAoB;IACvB,OAAO,CAA8B;IAC7C,wDAAwD;IACxC,QAAQ,CAAW;IAQnC,kGAAkG;IAClG,YACE,UAA2B,EAC3B,uBAAqE,EACrE,OAA4C;QAE5C,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;QACxB,
|
|
1
|
+
{"version":3,"file":"microsoftStorageSync.js","sourceRoot":"","sources":["../../src/microsoftStorageSync.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAG9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC;AAEvG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AAEzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAE7F,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAOvE,MAAM,OAAO,oBAAoB;IACvB,OAAO,CAA8B;IAC7C,wDAAwD;IACxC,QAAQ,CAAW;IAQnC,kGAAkG;IAClG,YACE,UAA2B,EAC3B,uBAAqE,EACrE,OAA4C;QAE5C,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,OAAO,GAAG,0BAA0B,CAAC,UAAU,EAAE,cAAc,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;QACrF,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,yBAAyB,GAAG,uCAAuC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,IAAI,CAAC,oBAAoB,GAAG,kCAAkC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,IAAI,CAAC,SAAS,GAAG,uBAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvD,IAAI,CAAC,iBAAiB,GAAG,+BAA+B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvE,IAAI,CAAC,eAAe,GAAG,6BAA6B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,IAAI,CAAC,cAAc,GAAG,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjE,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,IAAI,CAAC,0BAA0B,GAAG,wCAAwC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzF,IAAI,CAAC,mBAAmB,GAAG,iCAAiC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3E,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,2BAA2B;IAC3B,uBAAuB,CACrB,YAAoB,EACpB,WAAmB,EACnB,UAAiD,EAAE,cAAc,EAAE,EAAE,EAAE;QAEvE,OAAO,uBAAuB,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED,yDAAyD;IACzC,yBAAyB,CAAsC;IAC/E,oDAAoD;IACpC,oBAAoB,CAAiC;IACrE,yCAAyC;IACzB,SAAS,CAAsB;IAC/C,iDAAiD;IACjC,iBAAiB,CAA8B;IAC/D,+CAA+C;IAC/B,eAAe,CAA4B;IAC3D,8CAA8C;IAC9B,cAAc,CAA2B;IACzD,0CAA0C;IAC1B,UAAU,CAAuB;IACjD,0DAA0D;IAC1C,0BAA0B,CAAuC;IACjF,mDAAmD;IACnC,mBAAmB,CAAgC;IACnE,0CAA0C;IAC1B,UAAU,CAAuB;CAClD","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n MicrosoftStorageSyncContext,\n MicrosoftStorageSyncOptionalParams,\n} from \"./api/index.js\";\nimport { createMicrosoftStorageSync } from \"./api/index.js\";\nimport { locationOperationStatus } from \"./api/operations.js\";\nimport type { LocationOperationStatusOptionalParams } from \"./api/options.js\";\nimport type { CloudEndpointsOperations } from \"./classic/cloudEndpoints/index.js\";\nimport { _getCloudEndpointsOperations } from \"./classic/cloudEndpoints/index.js\";\nimport type { OperationStatusOperationsOperations } from \"./classic/operationStatusOperations/index.js\";\nimport { _getOperationStatusOperationsOperations } from \"./classic/operationStatusOperations/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { PrivateEndpointConnectionsOperations } from \"./classic/privateEndpointConnections/index.js\";\nimport { _getPrivateEndpointConnectionsOperations } from \"./classic/privateEndpointConnections/index.js\";\nimport type { PrivateLinkResourcesOperations } from \"./classic/privateLinkResources/index.js\";\nimport { _getPrivateLinkResourcesOperations } from \"./classic/privateLinkResources/index.js\";\nimport type { RegisteredServersOperations } from \"./classic/registeredServers/index.js\";\nimport { _getRegisteredServersOperations } from \"./classic/registeredServers/index.js\";\nimport type { ServerEndpointsOperations } from \"./classic/serverEndpoints/index.js\";\nimport { _getServerEndpointsOperations } from \"./classic/serverEndpoints/index.js\";\nimport type { StorageSyncServicesOperations } from \"./classic/storageSyncServices/index.js\";\nimport { _getStorageSyncServicesOperations } from \"./classic/storageSyncServices/index.js\";\nimport type { SyncGroupsOperations } from \"./classic/syncGroups/index.js\";\nimport { _getSyncGroupsOperations } from \"./classic/syncGroups/index.js\";\nimport type { WorkflowsOperations } from \"./classic/workflows/index.js\";\nimport { _getWorkflowsOperations } from \"./classic/workflows/index.js\";\nimport type { LocationOperationStatus } from \"./models/models.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { MicrosoftStorageSyncOptionalParams } from \"./api/microsoftStorageSyncContext.js\";\n\nexport class MicrosoftStorageSync {\n private _client: MicrosoftStorageSyncContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(credential: TokenCredential, options?: MicrosoftStorageSyncOptionalParams);\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options?: MicrosoftStorageSyncOptionalParams,\n );\n /** Microsoft Storage Sync Service API. This belongs to Microsoft.StorageSync Resource Provider */\n constructor(\n credential: TokenCredential,\n subscriptionIdOrOptions?: string | MicrosoftStorageSyncOptionalParams,\n options?: MicrosoftStorageSyncOptionalParams,\n ) {\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n options = options ?? {};\n this._client = createMicrosoftStorageSync(credential, subscriptionId ?? \"\", options);\n this.pipeline = this._client.pipeline;\n this.operationStatusOperations = _getOperationStatusOperationsOperations(this._client);\n this.privateLinkResources = _getPrivateLinkResourcesOperations(this._client);\n this.workflows = _getWorkflowsOperations(this._client);\n this.registeredServers = _getRegisteredServersOperations(this._client);\n this.serverEndpoints = _getServerEndpointsOperations(this._client);\n this.cloudEndpoints = _getCloudEndpointsOperations(this._client);\n this.syncGroups = _getSyncGroupsOperations(this._client);\n this.privateEndpointConnections = _getPrivateEndpointConnectionsOperations(this._client);\n this.storageSyncServices = _getStorageSyncServicesOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** Get Operation status */\n locationOperationStatus(\n locationName: string,\n operationId: string,\n options: LocationOperationStatusOptionalParams = { requestOptions: {} },\n ): Promise<LocationOperationStatus> {\n return locationOperationStatus(this._client, locationName, operationId, options);\n }\n\n /** The operation groups for operationStatusOperations */\n public readonly operationStatusOperations: OperationStatusOperationsOperations;\n /** The operation groups for privateLinkResources */\n public readonly privateLinkResources: PrivateLinkResourcesOperations;\n /** The operation groups for workflows */\n public readonly workflows: WorkflowsOperations;\n /** The operation groups for registeredServers */\n public readonly registeredServers: RegisteredServersOperations;\n /** The operation groups for serverEndpoints */\n public readonly serverEndpoints: ServerEndpointsOperations;\n /** The operation groups for cloudEndpoints */\n public readonly cloudEndpoints: CloudEndpointsOperations;\n /** The operation groups for syncGroups */\n public readonly syncGroups: SyncGroupsOperations;\n /** The operation groups for privateEndpointConnections */\n public readonly privateEndpointConnections: PrivateEndpointConnectionsOperations;\n /** The operation groups for storageSyncServices */\n public readonly storageSyncServices: StorageSyncServicesOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { LocationOperationStatus, StorageSyncApiError, StorageSyncErrorDetails, StorageSyncInnerErrorDetails, StorageSyncError, OperationEntity, OperationDisplayInfo, OperationProperties, OperationResourceServiceSpecification, OperationResourceMetricSpecification, OperationResourceMetricSpecificationDimension, StorageSyncService, StorageSyncServiceProperties, IncomingTrafficPolicy, PrivateEndpointConnection, PrivateEndpointConnectionProperties, PrivateEndpoint, PrivateLinkServiceConnectionState, PrivateEndpointServiceConnectionStatus, PrivateEndpointConnectionProvisioningState, ManagedServiceIdentity, ManagedServiceIdentityType, UserAssignedIdentity, Resource, SystemData, CreatedByType, TrackedResource, StorageSyncServiceCreateParameters, StorageSyncServiceCreateParametersProperties, ErrorDetail, ErrorAdditionalInfo, StorageSyncServiceUpdateParameters, StorageSyncServiceUpdateProperties, CheckNameAvailabilityParameters, Type, CheckNameAvailabilityResult, NameAvailabilityReason, SyncGroup, SyncGroupProperties, ProxyResource, SyncGroupCreateParameters, CloudEndpoint, CloudEndpointProperties, CloudEndpointChangeEnumerationStatus, CloudEndpointLastChangeEnumerationStatus, CloudEndpointChangeEnumerationActivity, CloudEndpointChangeEnumerationActivityState, CloudEndpointChangeEnumerationTotalCountsState, CloudEndpointCreateParameters, CloudEndpointCreateParametersProperties, BackupRequest, PostBackupResponse, PostBackupResponseProperties, PreRestoreRequest, RestoreFileSpec, PostRestoreRequest, TriggerChangeDetectionParameters, ChangeDetectionMode, CloudEndpointAfsShareMetadataCertificatePublicKeys, ServerEndpoint, ServerEndpointProperties, FeatureStatus, ServerEndpointSyncStatus, ServerEndpointHealthState, ServerEndpointSyncActivityState, ServerEndpointSyncSessionStatus, ServerEndpointFilesNotSyncingError, ServerEndpointSyncMode, ServerEndpointSyncActivityStatus, ServerEndpointOfflineDataTransferState, ServerEndpointBackgroundDataDownloadActivity, ServerEndpointCloudTieringStatus, CloudTieringSpaceSavings, CloudTieringCachePerformance, CloudTieringFilesNotTiering, FilesNotTieringError, CloudTieringVolumeFreeSpacePolicyStatus, CloudTieringDatePolicyStatus, CloudTieringLowDiskMode, CloudTieringLowDiskModeState, ServerEndpointRecallStatus, ServerEndpointRecallError, InitialDownloadPolicy, LocalCacheMode, InitialUploadPolicy, ServerEndpointProvisioningStatus, ServerProvisioningStatus, ServerEndpointProvisioningStepStatus, ServerEndpointCreateParameters, ServerEndpointCreateParametersProperties, ServerEndpointUpdateParameters, ServerEndpointUpdateProperties, RecallActionParameters, RegisteredServer, RegisteredServerProperties, RegisteredServerAgentVersionStatus, ServerAuthType, RegisteredServerCreateParameters, RegisteredServerCreateParametersProperties, RegisteredServerUpdateParameters, RegisteredServerUpdateProperties, ErrorResponse, TriggerRolloverRequest, Workflow, WorkflowProperties, WorkflowStatus, OperationDirection, PrivateLinkResourceListResult, PrivateLinkResource, PrivateLinkResourceProperties, OperationStatus, } from "./models.js";
|
|
2
|
-
export { KnownIncomingTrafficPolicy, KnownPrivateEndpointServiceConnectionStatus, KnownPrivateEndpointConnectionProvisioningState, KnownManagedServiceIdentityType, KnownCreatedByType, KnownCloudEndpointChangeEnumerationActivityState, KnownCloudEndpointChangeEnumerationTotalCountsState, KnownChangeDetectionMode, KnownFeatureStatus, KnownServerEndpointHealthState, KnownServerEndpointSyncActivityState, KnownServerEndpointSyncMode, KnownServerEndpointOfflineDataTransferState, KnownCloudTieringLowDiskModeState, KnownInitialDownloadPolicy, KnownLocalCacheMode, KnownInitialUploadPolicy, KnownServerProvisioningStatus, KnownRegisteredServerAgentVersionStatus, KnownServerAuthType, KnownWorkflowStatus, KnownOperationDirection, KnownVersions, } from "./models.js";
|
|
1
|
+
export type { LocationOperationStatus, StorageSyncApiError, StorageSyncErrorDetails, StorageSyncInnerErrorDetails, StorageSyncError, OperationEntity, OperationDisplayInfo, OperationProperties, OperationResourceServiceSpecification, OperationResourceMetricSpecification, OperationResourceMetricSpecificationDimension, StorageSyncService, StorageSyncServiceProperties, IncomingTrafficPolicy, PrivateEndpointConnection, PrivateEndpointConnectionProperties, PrivateEndpoint, PrivateLinkServiceConnectionState, PrivateEndpointServiceConnectionStatus, PrivateEndpointConnectionProvisioningState, ManagedServiceIdentity, ManagedServiceIdentityType, UserAssignedIdentity, Resource, SystemData, CreatedByType, TrackedResource, StorageSyncServiceCreateParameters, StorageSyncServiceCreateParametersProperties, ErrorDetail, ErrorAdditionalInfo, StorageSyncServiceUpdateParameters, StorageSyncServiceUpdateProperties, CheckNameAvailabilityParameters, Type, CheckNameAvailabilityResult, NameAvailabilityReason, SyncGroup, SyncGroupProperties, ProxyResource, SyncGroupCreateParameters, CloudEndpoint, CloudEndpointProperties, CloudEndpointChangeEnumerationStatus, CloudEndpointLastChangeEnumerationStatus, CloudEndpointChangeEnumerationActivity, CloudEndpointChangeEnumerationActivityState, CloudEndpointChangeEnumerationTotalCountsState, CloudEndpointCreateParameters, CloudEndpointCreateParametersProperties, CloudEndpointUpdateParameters, CloudEndpointUpdateProperties, BackupRequest, PostBackupResponse, PostBackupResponseProperties, PreRestoreRequest, RestoreFileSpec, PostRestoreRequest, TriggerChangeDetectionParameters, ChangeDetectionMode, CloudEndpointAfsShareMetadataCertificatePublicKeys, ServerEndpoint, ServerEndpointProperties, FeatureStatus, ServerEndpointSyncStatus, ServerEndpointHealthState, ServerEndpointSyncActivityState, ServerEndpointSyncSessionStatus, ServerEndpointFilesNotSyncingError, ServerEndpointSyncMode, ServerEndpointSyncActivityStatus, ServerEndpointSyncSessionWarningType, ServerEndpointOfflineDataTransferState, ServerEndpointBackgroundDataDownloadActivity, ServerEndpointCloudTieringStatus, CloudTieringSpaceSavings, CloudTieringCachePerformance, CloudTieringFilesNotTiering, FilesNotTieringError, CloudTieringVolumeFreeSpacePolicyStatus, CloudTieringDatePolicyStatus, CloudTieringLowDiskMode, CloudTieringLowDiskModeState, ServerEndpointRecallStatus, ServerEndpointRecallError, InitialDownloadPolicy, LocalCacheMode, InitialUploadPolicy, ServerEndpointProvisioningStatus, ServerProvisioningStatus, ServerEndpointProvisioningStepStatus, ServerEndpointCreateParameters, ServerEndpointCreateParametersProperties, ServerEndpointUpdateParameters, ServerEndpointUpdateProperties, RecallActionParameters, RegisteredServer, RegisteredServerProperties, RegisteredServerAgentVersionStatus, ServerAuthType, RegisteredServerCreateParameters, RegisteredServerCreateParametersProperties, RegisteredServerUpdateParameters, RegisteredServerUpdateProperties, ErrorResponse, TriggerRolloverRequest, Workflow, WorkflowProperties, WorkflowStatus, OperationDirection, PrivateLinkResourceListResult, PrivateLinkResource, PrivateLinkResourceProperties, OperationStatus, } from "./models.js";
|
|
2
|
+
export { KnownIncomingTrafficPolicy, KnownPrivateEndpointServiceConnectionStatus, KnownPrivateEndpointConnectionProvisioningState, KnownManagedServiceIdentityType, KnownCreatedByType, KnownCloudEndpointChangeEnumerationActivityState, KnownCloudEndpointChangeEnumerationTotalCountsState, KnownChangeDetectionMode, KnownFeatureStatus, KnownServerEndpointHealthState, KnownServerEndpointSyncActivityState, KnownServerEndpointSyncMode, KnownServerEndpointSyncSessionWarningType, KnownServerEndpointOfflineDataTransferState, KnownCloudTieringLowDiskModeState, KnownInitialDownloadPolicy, KnownLocalCacheMode, KnownInitialUploadPolicy, KnownServerProvisioningStatus, KnownRegisteredServerAgentVersionStatus, KnownServerAuthType, KnownWorkflowStatus, KnownOperationDirection, KnownVersions, } from "./models.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
export { KnownIncomingTrafficPolicy, KnownPrivateEndpointServiceConnectionStatus, KnownPrivateEndpointConnectionProvisioningState, KnownManagedServiceIdentityType, KnownCreatedByType, KnownCloudEndpointChangeEnumerationActivityState, KnownCloudEndpointChangeEnumerationTotalCountsState, KnownChangeDetectionMode, KnownFeatureStatus, KnownServerEndpointHealthState, KnownServerEndpointSyncActivityState, KnownServerEndpointSyncMode, KnownServerEndpointOfflineDataTransferState, KnownCloudTieringLowDiskModeState, KnownInitialDownloadPolicy, KnownLocalCacheMode, KnownInitialUploadPolicy, KnownServerProvisioningStatus, KnownRegisteredServerAgentVersionStatus, KnownServerAuthType, KnownWorkflowStatus, KnownOperationDirection, KnownVersions, } from "./models.js";
|
|
3
|
+
export { KnownIncomingTrafficPolicy, KnownPrivateEndpointServiceConnectionStatus, KnownPrivateEndpointConnectionProvisioningState, KnownManagedServiceIdentityType, KnownCreatedByType, KnownCloudEndpointChangeEnumerationActivityState, KnownCloudEndpointChangeEnumerationTotalCountsState, KnownChangeDetectionMode, KnownFeatureStatus, KnownServerEndpointHealthState, KnownServerEndpointSyncActivityState, KnownServerEndpointSyncMode, KnownServerEndpointSyncSessionWarningType, KnownServerEndpointOfflineDataTransferState, KnownCloudTieringLowDiskModeState, KnownInitialDownloadPolicy, KnownLocalCacheMode, KnownInitialUploadPolicy, KnownServerProvisioningStatus, KnownRegisteredServerAgentVersionStatus, KnownServerAuthType, KnownWorkflowStatus, KnownOperationDirection, KnownVersions, } from "./models.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAsHlC,OAAO,EACL,0BAA0B,EAC1B,2CAA2C,EAC3C,+CAA+C,EAC/C,+BAA+B,EAC/B,kBAAkB,EAClB,gDAAgD,EAChD,mDAAmD,EACnD,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,EAC9B,oCAAoC,EACpC,2BAA2B,EAC3B,yCAAyC,EACzC,2CAA2C,EAC3C,iCAAiC,EACjC,0BAA0B,EAC1B,mBAAmB,EACnB,wBAAwB,EACxB,6BAA6B,EAC7B,uCAAuC,EACvC,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n LocationOperationStatus,\n StorageSyncApiError,\n StorageSyncErrorDetails,\n StorageSyncInnerErrorDetails,\n StorageSyncError,\n OperationEntity,\n OperationDisplayInfo,\n OperationProperties,\n OperationResourceServiceSpecification,\n OperationResourceMetricSpecification,\n OperationResourceMetricSpecificationDimension,\n StorageSyncService,\n StorageSyncServiceProperties,\n IncomingTrafficPolicy,\n PrivateEndpointConnection,\n PrivateEndpointConnectionProperties,\n PrivateEndpoint,\n PrivateLinkServiceConnectionState,\n PrivateEndpointServiceConnectionStatus,\n PrivateEndpointConnectionProvisioningState,\n ManagedServiceIdentity,\n ManagedServiceIdentityType,\n UserAssignedIdentity,\n Resource,\n SystemData,\n CreatedByType,\n TrackedResource,\n StorageSyncServiceCreateParameters,\n StorageSyncServiceCreateParametersProperties,\n ErrorDetail,\n ErrorAdditionalInfo,\n StorageSyncServiceUpdateParameters,\n StorageSyncServiceUpdateProperties,\n CheckNameAvailabilityParameters,\n Type,\n CheckNameAvailabilityResult,\n NameAvailabilityReason,\n SyncGroup,\n SyncGroupProperties,\n ProxyResource,\n SyncGroupCreateParameters,\n CloudEndpoint,\n CloudEndpointProperties,\n CloudEndpointChangeEnumerationStatus,\n CloudEndpointLastChangeEnumerationStatus,\n CloudEndpointChangeEnumerationActivity,\n CloudEndpointChangeEnumerationActivityState,\n CloudEndpointChangeEnumerationTotalCountsState,\n CloudEndpointCreateParameters,\n CloudEndpointCreateParametersProperties,\n CloudEndpointUpdateParameters,\n CloudEndpointUpdateProperties,\n BackupRequest,\n PostBackupResponse,\n PostBackupResponseProperties,\n PreRestoreRequest,\n RestoreFileSpec,\n PostRestoreRequest,\n TriggerChangeDetectionParameters,\n ChangeDetectionMode,\n CloudEndpointAfsShareMetadataCertificatePublicKeys,\n ServerEndpoint,\n ServerEndpointProperties,\n FeatureStatus,\n ServerEndpointSyncStatus,\n ServerEndpointHealthState,\n ServerEndpointSyncActivityState,\n ServerEndpointSyncSessionStatus,\n ServerEndpointFilesNotSyncingError,\n ServerEndpointSyncMode,\n ServerEndpointSyncActivityStatus,\n ServerEndpointSyncSessionWarningType,\n ServerEndpointOfflineDataTransferState,\n ServerEndpointBackgroundDataDownloadActivity,\n ServerEndpointCloudTieringStatus,\n CloudTieringSpaceSavings,\n CloudTieringCachePerformance,\n CloudTieringFilesNotTiering,\n FilesNotTieringError,\n CloudTieringVolumeFreeSpacePolicyStatus,\n CloudTieringDatePolicyStatus,\n CloudTieringLowDiskMode,\n CloudTieringLowDiskModeState,\n ServerEndpointRecallStatus,\n ServerEndpointRecallError,\n InitialDownloadPolicy,\n LocalCacheMode,\n InitialUploadPolicy,\n ServerEndpointProvisioningStatus,\n ServerProvisioningStatus,\n ServerEndpointProvisioningStepStatus,\n ServerEndpointCreateParameters,\n ServerEndpointCreateParametersProperties,\n ServerEndpointUpdateParameters,\n ServerEndpointUpdateProperties,\n RecallActionParameters,\n RegisteredServer,\n RegisteredServerProperties,\n RegisteredServerAgentVersionStatus,\n ServerAuthType,\n RegisteredServerCreateParameters,\n RegisteredServerCreateParametersProperties,\n RegisteredServerUpdateParameters,\n RegisteredServerUpdateProperties,\n ErrorResponse,\n TriggerRolloverRequest,\n Workflow,\n WorkflowProperties,\n WorkflowStatus,\n OperationDirection,\n PrivateLinkResourceListResult,\n PrivateLinkResource,\n PrivateLinkResourceProperties,\n OperationStatus,\n} from \"./models.js\";\nexport {\n KnownIncomingTrafficPolicy,\n KnownPrivateEndpointServiceConnectionStatus,\n KnownPrivateEndpointConnectionProvisioningState,\n KnownManagedServiceIdentityType,\n KnownCreatedByType,\n KnownCloudEndpointChangeEnumerationActivityState,\n KnownCloudEndpointChangeEnumerationTotalCountsState,\n KnownChangeDetectionMode,\n KnownFeatureStatus,\n KnownServerEndpointHealthState,\n KnownServerEndpointSyncActivityState,\n KnownServerEndpointSyncMode,\n KnownServerEndpointSyncSessionWarningType,\n KnownServerEndpointOfflineDataTransferState,\n KnownCloudTieringLowDiskModeState,\n KnownInitialDownloadPolicy,\n KnownLocalCacheMode,\n KnownInitialUploadPolicy,\n KnownServerProvisioningStatus,\n KnownRegisteredServerAgentVersionStatus,\n KnownServerAuthType,\n KnownWorkflowStatus,\n KnownOperationDirection,\n KnownVersions,\n} from \"./models.js\";\n"]}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file contains only generated model types and their (de)serializers.
|
|
3
|
-
* Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
|
|
4
|
-
*/
|
|
5
1
|
/** Operation status object */
|
|
6
2
|
export interface LocationOperationStatus {
|
|
7
3
|
/** Operation resource Id */
|
|
@@ -561,6 +557,8 @@ export interface CloudEndpoint extends ProxyResource {
|
|
|
561
557
|
lastOperationName?: string;
|
|
562
558
|
/** Cloud endpoint change enumeration status */
|
|
563
559
|
readonly changeEnumerationStatus?: CloudEndpointChangeEnumerationStatus;
|
|
560
|
+
/** The interval for enumerating changes on the cloud endpoint. */
|
|
561
|
+
changeEnumerationIntervalDays?: number;
|
|
564
562
|
}
|
|
565
563
|
export declare function cloudEndpointDeserializer(item: any): CloudEndpoint;
|
|
566
564
|
/** CloudEndpoint Properties object. */
|
|
@@ -585,6 +583,8 @@ export interface CloudEndpointProperties {
|
|
|
585
583
|
lastOperationName?: string;
|
|
586
584
|
/** Cloud endpoint change enumeration status */
|
|
587
585
|
readonly changeEnumerationStatus?: CloudEndpointChangeEnumerationStatus;
|
|
586
|
+
/** The interval for enumerating changes on the cloud endpoint. */
|
|
587
|
+
changeEnumerationIntervalDays?: number;
|
|
588
588
|
}
|
|
589
589
|
export declare function cloudEndpointPropertiesDeserializer(item: any): CloudEndpointProperties;
|
|
590
590
|
/** Cloud endpoint change enumeration status object */
|
|
@@ -685,6 +685,8 @@ export interface CloudEndpointCreateParameters extends ProxyResource {
|
|
|
685
685
|
storageAccountTenantId?: string;
|
|
686
686
|
/** Friendly Name */
|
|
687
687
|
friendlyName?: string;
|
|
688
|
+
/** The interval for enumerating changes on the cloud endpoint. */
|
|
689
|
+
changeEnumerationIntervalDays?: number;
|
|
688
690
|
}
|
|
689
691
|
export declare function cloudEndpointCreateParametersSerializer(item: CloudEndpointCreateParameters): any;
|
|
690
692
|
/** CloudEndpoint Properties object. */
|
|
@@ -697,8 +699,22 @@ export interface CloudEndpointCreateParametersProperties {
|
|
|
697
699
|
storageAccountTenantId?: string;
|
|
698
700
|
/** Friendly Name */
|
|
699
701
|
friendlyName?: string;
|
|
702
|
+
/** The interval for enumerating changes on the cloud endpoint. */
|
|
703
|
+
changeEnumerationIntervalDays?: number;
|
|
700
704
|
}
|
|
701
705
|
export declare function cloudEndpointCreateParametersPropertiesSerializer(item: CloudEndpointCreateParametersProperties): any;
|
|
706
|
+
/** The parameters used when updating a cloud endpoint. */
|
|
707
|
+
export interface CloudEndpointUpdateParameters {
|
|
708
|
+
/** The properties of the cloud endpoint. */
|
|
709
|
+
properties?: CloudEndpointUpdateProperties;
|
|
710
|
+
}
|
|
711
|
+
export declare function cloudEndpointUpdateParametersSerializer(item: CloudEndpointUpdateParameters): any;
|
|
712
|
+
/** CloudEndpoint Update Properties object. */
|
|
713
|
+
export interface CloudEndpointUpdateProperties {
|
|
714
|
+
/** The interval for enumerating changes on the cloud endpoint. */
|
|
715
|
+
changeEnumerationIntervalDays?: number;
|
|
716
|
+
}
|
|
717
|
+
export declare function cloudEndpointUpdatePropertiesSerializer(item: CloudEndpointUpdateProperties): any;
|
|
702
718
|
/** Array of CloudEndpoint */
|
|
703
719
|
export interface _CloudEndpointArray {
|
|
704
720
|
/** Collection of CloudEndpoint. */
|
|
@@ -1059,8 +1075,46 @@ export interface ServerEndpointSyncActivityStatus {
|
|
|
1059
1075
|
readonly syncMode?: ServerEndpointSyncMode;
|
|
1060
1076
|
/** Session minutes remaining (if available) */
|
|
1061
1077
|
readonly sessionMinutesRemaining?: number;
|
|
1078
|
+
/** Remaining file count (if totals are final) */
|
|
1079
|
+
readonly remainingFileCount?: number;
|
|
1080
|
+
/** Remaining directory count (if totals are final) */
|
|
1081
|
+
readonly remainingDirectoryCount?: number;
|
|
1082
|
+
/** Remaining delete count (if totals are final) */
|
|
1083
|
+
readonly remainingDeleteCount?: number;
|
|
1084
|
+
/** Remaining logical size in bytes (if totals are final) */
|
|
1085
|
+
readonly remainingLogicalSizeBytes?: number;
|
|
1086
|
+
/** Whether the remaining counts are final */
|
|
1087
|
+
readonly isRemainingFinal?: boolean;
|
|
1088
|
+
/** Recent throughput in items per second */
|
|
1089
|
+
readonly recentItemsPerSecond?: number;
|
|
1090
|
+
/** Recent throughput in megabytes per second */
|
|
1091
|
+
readonly recentMegabytesPerSecond?: number;
|
|
1092
|
+
/** Path of large file currently in progress */
|
|
1093
|
+
readonly inProgressLargeFilePath?: string;
|
|
1094
|
+
/** Size in bytes of large file currently in progress */
|
|
1095
|
+
readonly inProgressLargeFileSizeBytes?: number;
|
|
1096
|
+
/** Percent complete (0-100) of large file currently in progress */
|
|
1097
|
+
readonly inProgressLargeFilePercentComplete?: number;
|
|
1098
|
+
/** Warning type (if any) */
|
|
1099
|
+
readonly warning?: ServerEndpointSyncSessionWarningType;
|
|
1062
1100
|
}
|
|
1063
1101
|
export declare function serverEndpointSyncActivityStatusDeserializer(item: any): ServerEndpointSyncActivityStatus;
|
|
1102
|
+
/** Warning types for sync sessions. */
|
|
1103
|
+
export declare enum KnownServerEndpointSyncSessionWarningType {
|
|
1104
|
+
/** No warning */
|
|
1105
|
+
NoWarning = "NoWarning",
|
|
1106
|
+
/** Sync is blocked by a large file */
|
|
1107
|
+
BlockedByLargeFile = "BlockedByLargeFile"
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* Warning types for sync sessions. \
|
|
1111
|
+
* {@link KnownServerEndpointSyncSessionWarningType} can be used interchangeably with ServerEndpointSyncSessionWarningType,
|
|
1112
|
+
* this enum contains the known values that the service supports.
|
|
1113
|
+
* ### Known values supported by the service
|
|
1114
|
+
* **NoWarning**: No warning \
|
|
1115
|
+
* **BlockedByLargeFile**: Sync is blocked by a large file
|
|
1116
|
+
*/
|
|
1117
|
+
export type ServerEndpointSyncSessionWarningType = string;
|
|
1064
1118
|
/** Type of the Health state */
|
|
1065
1119
|
export declare enum KnownServerEndpointOfflineDataTransferState {
|
|
1066
1120
|
/** InProgress */
|
|
@@ -1825,7 +1879,9 @@ export declare function operationStatusDeserializer(item: any): OperationStatus;
|
|
|
1825
1879
|
/** The available API versions. */
|
|
1826
1880
|
export declare enum KnownVersions {
|
|
1827
1881
|
/** The 2022-09-01 API version. */
|
|
1828
|
-
V20220901 = "2022-09-01"
|
|
1882
|
+
V20220901 = "2022-09-01",
|
|
1883
|
+
/** The 2025-12-01 API version. */
|
|
1884
|
+
V20251201 = "2025-12-01"
|
|
1829
1885
|
}
|
|
1830
1886
|
export declare function _privateEndpointConnectionPropertiesSerializer(item: PrivateEndpointConnection): any;
|
|
1831
1887
|
export declare function _privateEndpointConnectionPropertiesDeserializer(item: any): {
|
|
@@ -1861,6 +1917,7 @@ export declare function _cloudEndpointPropertiesDeserializer(item: any): {
|
|
|
1861
1917
|
lastWorkflowId: any;
|
|
1862
1918
|
lastOperationName: any;
|
|
1863
1919
|
changeEnumerationStatus: any;
|
|
1920
|
+
changeEnumerationIntervalDays: any;
|
|
1864
1921
|
};
|
|
1865
1922
|
export declare function _cloudEndpointCreateParametersPropertiesSerializer(item: CloudEndpointCreateParameters): any;
|
|
1866
1923
|
export declare function _postBackupResponseBackupMetadataDeserializer(item: any): {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
+
/*
|
|
4
|
+
* This file contains only generated model types and their (de)serializers.
|
|
5
|
+
* Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
|
|
6
|
+
*/
|
|
7
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
8
|
+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
3
9
|
import { areAllPropsUndefined } from "../static-helpers/serialization/check-prop-undefined.js";
|
|
4
10
|
export function locationOperationStatusDeserializer(item) {
|
|
5
11
|
return {
|
|
@@ -519,6 +525,7 @@ export function cloudEndpointPropertiesDeserializer(item) {
|
|
|
519
525
|
changeEnumerationStatus: !item["changeEnumerationStatus"]
|
|
520
526
|
? item["changeEnumerationStatus"]
|
|
521
527
|
: cloudEndpointChangeEnumerationStatusDeserializer(item["changeEnumerationStatus"]),
|
|
528
|
+
changeEnumerationIntervalDays: item["changeEnumerationIntervalDays"],
|
|
522
529
|
};
|
|
523
530
|
}
|
|
524
531
|
export function cloudEndpointChangeEnumerationStatusDeserializer(item) {
|
|
@@ -594,6 +601,7 @@ export function cloudEndpointCreateParametersSerializer(item) {
|
|
|
594
601
|
"azureFileShareName",
|
|
595
602
|
"storageAccountTenantId",
|
|
596
603
|
"friendlyName",
|
|
604
|
+
"changeEnumerationIntervalDays",
|
|
597
605
|
])
|
|
598
606
|
? undefined
|
|
599
607
|
: _cloudEndpointCreateParametersPropertiesSerializer(item),
|
|
@@ -605,8 +613,19 @@ export function cloudEndpointCreateParametersPropertiesSerializer(item) {
|
|
|
605
613
|
azureFileShareName: item["azureFileShareName"],
|
|
606
614
|
storageAccountTenantId: item["storageAccountTenantId"],
|
|
607
615
|
friendlyName: item["friendlyName"],
|
|
616
|
+
changeEnumerationIntervalDays: item["changeEnumerationIntervalDays"],
|
|
608
617
|
};
|
|
609
618
|
}
|
|
619
|
+
export function cloudEndpointUpdateParametersSerializer(item) {
|
|
620
|
+
return {
|
|
621
|
+
properties: !item["properties"]
|
|
622
|
+
? item["properties"]
|
|
623
|
+
: cloudEndpointUpdatePropertiesSerializer(item["properties"]),
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
export function cloudEndpointUpdatePropertiesSerializer(item) {
|
|
627
|
+
return { changeEnumerationIntervalDays: item["changeEnumerationIntervalDays"] };
|
|
628
|
+
}
|
|
610
629
|
export function _cloudEndpointArrayDeserializer(item) {
|
|
611
630
|
return {
|
|
612
631
|
value: !item["value"] ? item["value"] : cloudEndpointArrayDeserializer(item["value"]),
|
|
@@ -851,8 +870,27 @@ export function serverEndpointSyncActivityStatusDeserializer(item) {
|
|
|
851
870
|
totalBytes: item["totalBytes"],
|
|
852
871
|
syncMode: item["syncMode"],
|
|
853
872
|
sessionMinutesRemaining: item["sessionMinutesRemaining"],
|
|
854
|
-
|
|
855
|
-
|
|
873
|
+
remainingFileCount: item["remainingFileCount"],
|
|
874
|
+
remainingDirectoryCount: item["remainingDirectoryCount"],
|
|
875
|
+
remainingDeleteCount: item["remainingDeleteCount"],
|
|
876
|
+
remainingLogicalSizeBytes: item["remainingLogicalSizeBytes"],
|
|
877
|
+
isRemainingFinal: item["isRemainingFinal"],
|
|
878
|
+
recentItemsPerSecond: item["recentItemsPerSecond"],
|
|
879
|
+
recentMegabytesPerSecond: item["recentMegabytesPerSecond"],
|
|
880
|
+
inProgressLargeFilePath: item["inProgressLargeFilePath"],
|
|
881
|
+
inProgressLargeFileSizeBytes: item["inProgressLargeFileSizeBytes"],
|
|
882
|
+
inProgressLargeFilePercentComplete: item["inProgressLargeFilePercentComplete"],
|
|
883
|
+
warning: item["warning"],
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
/** Warning types for sync sessions. */
|
|
887
|
+
export var KnownServerEndpointSyncSessionWarningType;
|
|
888
|
+
(function (KnownServerEndpointSyncSessionWarningType) {
|
|
889
|
+
/** No warning */
|
|
890
|
+
KnownServerEndpointSyncSessionWarningType["NoWarning"] = "NoWarning";
|
|
891
|
+
/** Sync is blocked by a large file */
|
|
892
|
+
KnownServerEndpointSyncSessionWarningType["BlockedByLargeFile"] = "BlockedByLargeFile";
|
|
893
|
+
})(KnownServerEndpointSyncSessionWarningType || (KnownServerEndpointSyncSessionWarningType = {}));
|
|
856
894
|
/** Type of the Health state */
|
|
857
895
|
export var KnownServerEndpointOfflineDataTransferState;
|
|
858
896
|
(function (KnownServerEndpointOfflineDataTransferState) {
|
|
@@ -1394,6 +1432,8 @@ export var KnownVersions;
|
|
|
1394
1432
|
(function (KnownVersions) {
|
|
1395
1433
|
/** The 2022-09-01 API version. */
|
|
1396
1434
|
KnownVersions["V20220901"] = "2022-09-01";
|
|
1435
|
+
/** The 2025-12-01 API version. */
|
|
1436
|
+
KnownVersions["V20251201"] = "2025-12-01";
|
|
1397
1437
|
})(KnownVersions || (KnownVersions = {}));
|
|
1398
1438
|
export function _privateEndpointConnectionPropertiesSerializer(item) {
|
|
1399
1439
|
return {
|
|
@@ -1461,6 +1501,7 @@ export function _cloudEndpointPropertiesDeserializer(item) {
|
|
|
1461
1501
|
changeEnumerationStatus: !item["changeEnumerationStatus"]
|
|
1462
1502
|
? item["changeEnumerationStatus"]
|
|
1463
1503
|
: cloudEndpointChangeEnumerationStatusDeserializer(item["changeEnumerationStatus"]),
|
|
1504
|
+
changeEnumerationIntervalDays: item["changeEnumerationIntervalDays"],
|
|
1464
1505
|
};
|
|
1465
1506
|
}
|
|
1466
1507
|
export function _cloudEndpointCreateParametersPropertiesSerializer(item) {
|
|
@@ -1469,6 +1510,7 @@ export function _cloudEndpointCreateParametersPropertiesSerializer(item) {
|
|
|
1469
1510
|
azureFileShareName: item["azureFileShareName"],
|
|
1470
1511
|
storageAccountTenantId: item["storageAccountTenantId"],
|
|
1471
1512
|
friendlyName: item["friendlyName"],
|
|
1513
|
+
changeEnumerationIntervalDays: item["changeEnumerationIntervalDays"],
|
|
1472
1514
|
};
|
|
1473
1515
|
}
|
|
1474
1516
|
export function _postBackupResponseBackupMetadataDeserializer(item) {
|