@azure/arm-storagesync 9.1.1-alpha.20250123.1 → 9.1.1-alpha.20250124.1
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/dist-esm/samples-dev/cloudEndpointsCreate.js +1 -16
- package/dist-esm/samples-dev/cloudEndpointsCreate.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsCreateSample.js +1 -10
- package/dist-esm/samples-dev/cloudEndpointsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsDelete.js +1 -3
- package/dist-esm/samples-dev/cloudEndpointsDelete.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/cloudEndpointsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsGet.js +1 -3
- package/dist-esm/samples-dev/cloudEndpointsGet.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsGetSample.js +1 -3
- package/dist-esm/samples-dev/cloudEndpointsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js +2 -4
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroupSample.js +2 -4
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPostBackup.js +1 -16
- package/dist-esm/samples-dev/cloudEndpointsPostBackup.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPostBackupSample.js +1 -10
- package/dist-esm/samples-dev/cloudEndpointsPostBackupSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPostRestore.js +2 -17
- package/dist-esm/samples-dev/cloudEndpointsPostRestore.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPostRestoreSample.js +2 -11
- package/dist-esm/samples-dev/cloudEndpointsPostRestoreSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPreBackup.js +1 -16
- package/dist-esm/samples-dev/cloudEndpointsPreBackup.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPreBackupSample.js +1 -10
- package/dist-esm/samples-dev/cloudEndpointsPreBackupSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPreRestore.js +2 -17
- package/dist-esm/samples-dev/cloudEndpointsPreRestore.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsPreRestoreSample.js +2 -11
- package/dist-esm/samples-dev/cloudEndpointsPreRestoreSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js +1 -3
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeatSample.js +1 -3
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeatSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js +1 -16
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js.map +1 -1
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetectionSample.js +1 -10
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetectionSample.js.map +1 -1
- package/dist-esm/samples-dev/locationOperationStatusSample.js +1 -3
- package/dist-esm/samples-dev/locationOperationStatusSample.js.map +1 -1
- package/dist-esm/samples-dev/operationStatusGetSample.js +1 -3
- package/dist-esm/samples-dev/operationStatusGetSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsList.js +2 -4
- package/dist-esm/samples-dev/operationsList.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +2 -4
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js +2 -17
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +2 -11
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +1 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.js +1 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js +2 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncServiceSample.js +2 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesList.js +1 -3
- package/dist-esm/samples-dev/privateLinkResourcesList.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageSyncServiceSample.js +1 -3
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageSyncServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersCreate.js +1 -16
- package/dist-esm/samples-dev/registeredServersCreate.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersCreateSample.js +1 -10
- package/dist-esm/samples-dev/registeredServersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersDelete.js +1 -3
- package/dist-esm/samples-dev/registeredServersDelete.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersDeleteSample.js +1 -3
- package/dist-esm/samples-dev/registeredServersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersGet.js +1 -3
- package/dist-esm/samples-dev/registeredServersGet.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersGetSample.js +1 -3
- package/dist-esm/samples-dev/registeredServersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js +2 -4
- package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersListByStorageSyncServiceSample.js +2 -4
- package/dist-esm/samples-dev/registeredServersListByStorageSyncServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersTriggerRollover.js +1 -16
- package/dist-esm/samples-dev/registeredServersTriggerRollover.js.map +1 -1
- package/dist-esm/samples-dev/registeredServersTriggerRolloverSample.js +1 -10
- package/dist-esm/samples-dev/registeredServersTriggerRolloverSample.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsCreate.js +1 -16
- package/dist-esm/samples-dev/serverEndpointsCreate.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsCreateSample.js +1 -10
- package/dist-esm/samples-dev/serverEndpointsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsDelete.js +1 -3
- package/dist-esm/samples-dev/serverEndpointsDelete.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/serverEndpointsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsGet.js +1 -3
- package/dist-esm/samples-dev/serverEndpointsGet.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsGetSample.js +1 -3
- package/dist-esm/samples-dev/serverEndpointsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js +2 -4
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroupSample.js +2 -4
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsRecallAction.js +0 -15
- package/dist-esm/samples-dev/serverEndpointsRecallAction.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsRecallActionSample.js +0 -9
- package/dist-esm/samples-dev/serverEndpointsRecallActionSample.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsUpdate.js +1 -16
- package/dist-esm/samples-dev/serverEndpointsUpdate.js.map +1 -1
- package/dist-esm/samples-dev/serverEndpointsUpdateSample.js +1 -10
- package/dist-esm/samples-dev/serverEndpointsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js +1 -16
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js +1 -16
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesCheckNameAvailabilitySample.js +2 -11
- package/dist-esm/samples-dev/storageSyncServicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesCreate.js +1 -16
- package/dist-esm/samples-dev/storageSyncServicesCreate.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesCreateSample.js +1 -10
- package/dist-esm/samples-dev/storageSyncServicesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesDelete.js +1 -3
- package/dist-esm/samples-dev/storageSyncServicesDelete.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesDeleteSample.js +1 -3
- package/dist-esm/samples-dev/storageSyncServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesGet.js +1 -3
- package/dist-esm/samples-dev/storageSyncServicesGet.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesGetSample.js +1 -3
- package/dist-esm/samples-dev/storageSyncServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js +2 -4
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroupSample.js +2 -4
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js +2 -4
- package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesListBySubscriptionSample.js +2 -4
- package/dist-esm/samples-dev/storageSyncServicesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesUpdate.js +1 -16
- package/dist-esm/samples-dev/storageSyncServicesUpdate.js.map +1 -1
- package/dist-esm/samples-dev/storageSyncServicesUpdateSample.js +1 -10
- package/dist-esm/samples-dev/storageSyncServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsCreate.js +0 -15
- package/dist-esm/samples-dev/syncGroupsCreate.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsCreateSample.js +0 -9
- package/dist-esm/samples-dev/syncGroupsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsDelete.js +1 -3
- package/dist-esm/samples-dev/syncGroupsDelete.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/syncGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsGet.js +1 -3
- package/dist-esm/samples-dev/syncGroupsGet.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsGetSample.js +1 -3
- package/dist-esm/samples-dev/syncGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js +2 -4
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js.map +1 -1
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncServiceSample.js +2 -4
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/workflowsAbort.js +1 -3
- package/dist-esm/samples-dev/workflowsAbort.js.map +1 -1
- package/dist-esm/samples-dev/workflowsAbortSample.js +1 -3
- package/dist-esm/samples-dev/workflowsAbortSample.js.map +1 -1
- package/dist-esm/samples-dev/workflowsGet.js +1 -3
- package/dist-esm/samples-dev/workflowsGet.js.map +1 -1
- package/dist-esm/samples-dev/workflowsGetSample.js +1 -3
- package/dist-esm/samples-dev/workflowsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workflowsListByStorageSyncService.js +2 -4
- package/dist-esm/samples-dev/workflowsListByStorageSyncService.js.map +1 -1
- package/dist-esm/samples-dev/workflowsListByStorageSyncServiceSample.js +2 -4
- package/dist-esm/samples-dev/workflowsListByStorageSyncServiceSample.js.map +1 -1
- package/package.json +1 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { __asyncValues, __awaiter } from "tslib";
|
1
2
|
/*
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
3
4
|
* Licensed under the MIT License.
|
@@ -5,9 +6,6 @@
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
9
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
11
|
/**
|
@@ -29,7 +27,7 @@ function registeredServersListByStorageSyncService() {
|
|
29
27
|
for (var _d = true, _e = __asyncValues(client.registeredServers.listByStorageSyncService(resourceGroupName, storageSyncServiceName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
30
28
|
_c = _f.value;
|
31
29
|
_d = false;
|
32
|
-
|
30
|
+
const item = _c;
|
33
31
|
resArray.push(item);
|
34
32
|
}
|
35
33
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"registeredServersListByStorageSyncServiceSample.js","sourceRoot":"","sources":["../../samples-dev/registeredServersListByStorageSyncServiceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"registeredServersListByStorageSyncServiceSample.js","sourceRoot":"","sources":["../../samples-dev/registeredServersListByStorageSyncServiceSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,iBAAiB,CAAC,wBAAwB,CACxE,iBAAiB,EACjB,sBAAsB,CACvB,CAAA,IAAA,sDAAE,CAAC;gBAHqB,cAGxB;gBAHwB,WAGxB;gBAHU,MAAM,IAAI,KAAA,CAAA;gBAInB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,yCAAyC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,19 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Triggers Server certificate rollover.
|
13
|
-
*
|
14
|
-
* @summary Triggers Server certificate rollover.
|
15
|
-
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_TriggerRollover.json
|
16
|
-
*/
|
17
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
4
|
function registeredServersTriggerRollover() {
|
@@ -23,7 +8,7 @@ function registeredServersTriggerRollover() {
|
|
23
8
|
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
9
|
const serverId = "d166ca76-dad2-49df-b409-12345642d730";
|
25
10
|
const parameters = {
|
26
|
-
serverCertificate: '"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM="'
|
11
|
+
serverCertificate: '"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM="',
|
27
12
|
};
|
28
13
|
const credential = new DefaultAzureCredential();
|
29
14
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"registeredServersTriggerRollover.js","sourceRoot":"","sources":["../../samples-dev/registeredServersTriggerRollover.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"registeredServersTriggerRollover.js","sourceRoot":"","sources":["../../samples-dev/registeredServersTriggerRollover.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,QAAQ,GAAG,sCAAsC,CAAC;QACxD,MAAM,UAAU,GAA2B;YACzC,iBAAiB,EACf,wiCAAwiC;SAC3iC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,2BAA2B,CACvE,iBAAiB,EACjB,sBAAsB,EACtB,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gCAAgC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,13 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
4
|
/**
|
@@ -23,7 +14,7 @@ function registeredServersTriggerRollover() {
|
|
23
14
|
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
15
|
const serverId = "d166ca76-dad2-49df-b409-12345642d730";
|
25
16
|
const parameters = {
|
26
|
-
serverCertificate: '"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM="'
|
17
|
+
serverCertificate: '"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM="',
|
27
18
|
};
|
28
19
|
const credential = new DefaultAzureCredential();
|
29
20
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"registeredServersTriggerRolloverSample.js","sourceRoot":"","sources":["../../samples-dev/registeredServersTriggerRolloverSample.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"registeredServersTriggerRolloverSample.js","sourceRoot":"","sources":["../../samples-dev/registeredServersTriggerRolloverSample.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,QAAQ,GAAG,sCAAsC,CAAC;QACxD,MAAM,UAAU,GAA2B;YACzC,iBAAiB,EACf,wiCAAwiC;SAC3iC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,2BAA2B,CACvE,iBAAiB,EACjB,sBAAsB,EACtB,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gCAAgC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,19 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Create a new ServerEndpoint.
|
13
|
-
*
|
14
|
-
* @summary Create a new ServerEndpoint.
|
15
|
-
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Create.json
|
16
|
-
*/
|
17
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
4
|
function serverEndpointsCreate() {
|
@@ -33,7 +18,7 @@ function serverEndpointsCreate() {
|
|
33
18
|
serverLocalPath: "D:SampleServerEndpoint_1",
|
34
19
|
serverResourceId: "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a",
|
35
20
|
tierFilesOlderThanDays: 0,
|
36
|
-
volumeFreeSpacePercent: 100
|
21
|
+
volumeFreeSpacePercent: 100,
|
37
22
|
};
|
38
23
|
const credential = new DefaultAzureCredential();
|
39
24
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsCreate.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsCreate.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"serverEndpointsCreate.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsCreate.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAmC;YACjD,YAAY,EAAE,KAAK;YACnB,qBAAqB,EAAE,4BAA4B;YACnD,mBAAmB,EAAE,qBAAqB;YAC1C,cAAc,EAAE,0BAA0B;YAC1C,mBAAmB,EAAE,IAAI;YACzB,4BAA4B,EAAE,aAAa;YAC3C,eAAe,EAAE,0BAA0B;YAC3C,gBAAgB,EACd,gOAAgO;YAClO,sBAAsB,EAAE,CAAC;YACzB,sBAAsB,EAAE,GAAG;SAC5B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,13 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
4
|
/**
|
@@ -33,7 +24,7 @@ function serverEndpointsCreate() {
|
|
33
24
|
serverLocalPath: "D:\\SampleServerEndpoint_1",
|
34
25
|
serverResourceId: "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a",
|
35
26
|
tierFilesOlderThanDays: 0,
|
36
|
-
volumeFreeSpacePercent: 100
|
27
|
+
volumeFreeSpacePercent: 100,
|
37
28
|
};
|
38
29
|
const credential = new DefaultAzureCredential();
|
39
30
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsCreateSample.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"serverEndpointsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsCreateSample.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAmC;YACjD,YAAY,EAAE,KAAK;YACnB,qBAAqB,EAAE,4BAA4B;YACnD,mBAAmB,EAAE,qBAAqB;YAC1C,cAAc,EAAE,0BAA0B;YAC1C,mBAAmB,EAAE,IAAI;YACzB,4BAA4B,EAAE,aAAa;YAC3C,eAAe,EAAE,4BAA4B;YAC7C,gBAAgB,EACd,gOAAgO;YAClO,sBAAsB,EAAE,CAAC;YACzB,sBAAsB,EAAE,GAAG;SAC5B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { __awaiter } from "tslib";
|
1
2
|
/*
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
3
4
|
* Licensed under the MIT License.
|
@@ -5,9 +6,6 @@
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
9
|
/**
|
12
10
|
* This sample demonstrates how to Delete a given ServerEndpoint.
|
13
11
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsDelete.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"serverEndpointsDelete.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsDelete.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { __awaiter } from "tslib";
|
1
2
|
/*
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
3
4
|
* Licensed under the MIT License.
|
@@ -5,9 +6,6 @@
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
9
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
11
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"serverEndpointsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsDeleteSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { __awaiter } from "tslib";
|
1
2
|
/*
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
3
4
|
* Licensed under the MIT License.
|
@@ -5,9 +6,6 @@
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
9
|
/**
|
12
10
|
* This sample demonstrates how to Get a ServerEndpoint.
|
13
11
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsGet.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"serverEndpointsGet.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsGet.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAC7C,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { __awaiter } from "tslib";
|
1
2
|
/*
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
3
4
|
* Licensed under the MIT License.
|
@@ -5,9 +6,6 @@
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
9
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
11
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsGetSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"serverEndpointsGetSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsGetSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAC7C,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { __asyncValues, __awaiter } from "tslib";
|
1
2
|
/*
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
3
4
|
* Licensed under the MIT License.
|
@@ -5,9 +6,6 @@
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
9
|
/**
|
12
10
|
* This sample demonstrates how to Get a ServerEndpoint list.
|
13
11
|
*
|
@@ -30,7 +28,7 @@ function serverEndpointsListBySyncGroup() {
|
|
30
28
|
for (var _d = true, _e = __asyncValues(client.serverEndpoints.listBySyncGroup(resourceGroupName, storageSyncServiceName, syncGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
31
29
|
_c = _f.value;
|
32
30
|
_d = false;
|
33
|
-
|
31
|
+
const item = _c;
|
34
32
|
resArray.push(item);
|
35
33
|
}
|
36
34
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsListBySyncGroup.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsListBySyncGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"serverEndpointsListBySyncGroup.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsListBySyncGroup.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,eAAe,CAAC,eAAe,CAC7D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,CACd,CAAA,IAAA,sDAAE,CAAC;gBAJqB,cAIxB;gBAJwB,WAIxB;gBAJU,MAAM,IAAI,KAAA,CAAA;gBAKnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { __asyncValues, __awaiter } from "tslib";
|
1
2
|
/*
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
3
4
|
* Licensed under the MIT License.
|
@@ -5,9 +6,6 @@
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
8
|
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
9
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
10
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
11
|
/**
|
@@ -30,7 +28,7 @@ function serverEndpointsListBySyncGroup() {
|
|
30
28
|
for (var _d = true, _e = __asyncValues(client.serverEndpoints.listBySyncGroup(resourceGroupName, storageSyncServiceName, syncGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
31
29
|
_c = _f.value;
|
32
30
|
_d = false;
|
33
|
-
|
31
|
+
const item = _c;
|
34
32
|
resArray.push(item);
|
35
33
|
}
|
36
34
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsListBySyncGroupSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsListBySyncGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"serverEndpointsListBySyncGroupSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsListBySyncGroupSample.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,eAAe,CAAC,eAAe,CAC7D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,CACd,CAAA,IAAA,sDAAE,CAAC;gBAJqB,cAIxB;gBAJwB,WAIxB;gBAJU,MAAM,IAAI,KAAA,CAAA;gBAKnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,19 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Recall a server endpoint.
|
13
|
-
*
|
14
|
-
* @summary Recall a server endpoint.
|
15
|
-
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Recall.json
|
16
|
-
*/
|
17
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
4
|
function serverEndpointsRecallAction() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsRecallAction.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallAction.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"serverEndpointsRecallAction.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallAction.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAA2B,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,wBAAwB,CAClE,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,13 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
4
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsRecallActionSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallActionSample.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"serverEndpointsRecallActionSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallActionSample.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAA2B,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,wBAAwB,CAClE,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,19 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Patch a given ServerEndpoint.
|
13
|
-
*
|
14
|
-
* @summary Patch a given ServerEndpoint.
|
15
|
-
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Update.json
|
16
|
-
*/
|
17
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
4
|
function serverEndpointsUpdate() {
|
@@ -28,7 +13,7 @@ function serverEndpointsUpdate() {
|
|
28
13
|
localCacheMode: "UpdateLocallyCachedFiles",
|
29
14
|
offlineDataTransfer: "off",
|
30
15
|
tierFilesOlderThanDays: 0,
|
31
|
-
volumeFreeSpacePercent: 100
|
16
|
+
volumeFreeSpacePercent: 100,
|
32
17
|
};
|
33
18
|
const options = { parameters: parameters };
|
34
19
|
const credential = new DefaultAzureCredential();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsUpdate.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdate.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"serverEndpointsUpdate.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdate.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAmC;YACjD,YAAY,EAAE,KAAK;YACnB,cAAc,EAAE,0BAA0B;YAC1C,mBAAmB,EAAE,KAAK;YAC1B,sBAAsB,EAAE,CAAC;YACzB,sBAAsB,EAAE,GAAG;SAC5B,CAAC;QACF,MAAM,OAAO,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,13 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
4
|
/**
|
@@ -28,7 +19,7 @@ function serverEndpointsUpdate() {
|
|
28
19
|
localCacheMode: "UpdateLocallyCachedFiles",
|
29
20
|
offlineDataTransfer: "off",
|
30
21
|
tierFilesOlderThanDays: 0,
|
31
|
-
volumeFreeSpacePercent: 100
|
22
|
+
volumeFreeSpacePercent: 100,
|
32
23
|
};
|
33
24
|
const options = { parameters };
|
34
25
|
const credential = new DefaultAzureCredential();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpointsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdateSample.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"serverEndpointsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdateSample.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAmC;YACjD,YAAY,EAAE,KAAK;YACnB,cAAc,EAAE,0BAA0B;YAC1C,mBAAmB,EAAE,KAAK;YAC1B,sBAAsB,EAAE,CAAC;YACzB,sBAAsB,EAAE,GAAG;SAC5B,CAAC;QACF,MAAM,OAAO,GAAwC,EAAE,UAAU,EAAE,CAAC;QACpE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,19 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Check the give namespace name availability.
|
13
|
-
*
|
14
|
-
* @summary Check the give namespace name availability.
|
15
|
-
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json
|
16
|
-
*/
|
17
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
4
|
function storageSyncServiceCheckNameAvailabilityAlreadyExists() {
|
@@ -22,7 +7,7 @@ function storageSyncServiceCheckNameAvailabilityAlreadyExists() {
|
|
22
7
|
const locationName = "westus";
|
23
8
|
const parameters = {
|
24
9
|
name: "newstoragesyncservicename",
|
25
|
-
type: "Microsoft.StorageSync/storageSyncServices"
|
10
|
+
type: "Microsoft.StorageSync/storageSyncServices",
|
26
11
|
};
|
27
12
|
const credential = new DefaultAzureCredential();
|
28
13
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAlreadyExists.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAlreadyExists.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,oDAAoD;;QACjE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QAChG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oDAAoD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,19 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Check the give namespace name availability.
|
13
|
-
*
|
14
|
-
* @summary Check the give namespace name availability.
|
15
|
-
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json
|
16
|
-
*/
|
17
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
4
|
function storageSyncServiceCheckNameAvailabilityAvailable() {
|
@@ -22,7 +7,7 @@ function storageSyncServiceCheckNameAvailabilityAvailable() {
|
|
22
7
|
const locationName = "westus";
|
23
8
|
const parameters = {
|
24
9
|
name: "newstoragesyncservicename",
|
25
|
-
type: "Microsoft.StorageSync/storageSyncServices"
|
10
|
+
type: "Microsoft.StorageSync/storageSyncServices",
|
26
11
|
};
|
27
12
|
const credential = new DefaultAzureCredential();
|
28
13
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAvailable.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAvailable.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gDAAgD;;QAC7D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QAChG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gDAAgD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,13 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
12
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
13
4
|
/**
|
@@ -22,7 +13,7 @@ function storageSyncServiceCheckNameAvailabilityAlreadyExists() {
|
|
22
13
|
const locationName = "westus";
|
23
14
|
const parameters = {
|
24
15
|
name: "newstoragesyncservicename",
|
25
|
-
type: "Microsoft.StorageSync/storageSyncServices"
|
16
|
+
type: "Microsoft.StorageSync/storageSyncServices",
|
26
17
|
};
|
27
18
|
const credential = new DefaultAzureCredential();
|
28
19
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -43,7 +34,7 @@ function storageSyncServiceCheckNameAvailabilityAvailable() {
|
|
43
34
|
const locationName = "westus";
|
44
35
|
const parameters = {
|
45
36
|
name: "newstoragesyncservicename",
|
46
|
-
type: "Microsoft.StorageSync/storageSyncServices"
|
37
|
+
type: "Microsoft.StorageSync/storageSyncServices",
|
47
38
|
};
|
48
39
|
const credential = new DefaultAzureCredential();
|
49
40
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"storageSyncServicesCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCheckNameAvailabilitySample.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"storageSyncServicesCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCheckNameAvailabilitySample.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oDAAoD;;QACjE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QAChG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oDAAoD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAE5E;;;;;GAKG;AACH,SAAe,gDAAgD;;QAC7D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QAChG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gDAAgD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1,19 +1,4 @@
|
|
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
1
|
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Create a new StorageSyncService.
|
13
|
-
*
|
14
|
-
* @summary Create a new StorageSyncService.
|
15
|
-
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Create.json
|
16
|
-
*/
|
17
2
|
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
3
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
4
|
function storageSyncServicesCreate() {
|
@@ -24,7 +9,7 @@ function storageSyncServicesCreate() {
|
|
24
9
|
const parameters = {
|
25
10
|
incomingTrafficPolicy: "AllowAllTraffic",
|
26
11
|
location: "WestUS",
|
27
|
-
tags: {}
|
12
|
+
tags: {},
|
28
13
|
};
|
29
14
|
const credential = new DefaultAzureCredential();
|
30
15
|
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"storageSyncServicesCreate.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCreate.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"storageSyncServicesCreate.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCreate.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAuC;YACrD,qBAAqB,EAAE,iBAAiB;YACxC,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAChE,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|