Storage Sync Service
Storage Sync Service object. Uses Azure REST API version 2022-06-01. In version 1.x of the Azure Native provider, it used API version 2020-03-01. Other available API versions: 2022-09-01.
Example Usage
StorageSyncServices_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var storageSyncService = new AzureNative.StorageSync.StorageSyncService("storageSyncService", new()
{
IncomingTrafficPolicy = AzureNative.StorageSync.IncomingTrafficPolicy.AllowAllTraffic,
Location = "WestUS",
ResourceGroupName = "SampleResourceGroup_1",
StorageSyncServiceName = "SampleStorageSyncService_1",
Tags = null,
});
});
Content copied to clipboard
package main
import (
storagesync "github.com/pulumi/pulumi-azure-native-sdk/storagesync/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagesync.NewStorageSyncService(ctx, "storageSyncService", &storagesync.StorageSyncServiceArgs{
IncomingTrafficPolicy: pulumi.String(storagesync.IncomingTrafficPolicyAllowAllTraffic),
Location: pulumi.String("WestUS"),
ResourceGroupName: pulumi.String("SampleResourceGroup_1"),
StorageSyncServiceName: pulumi.String("SampleStorageSyncService_1"),
Tags: pulumi.StringMap{},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storagesync.StorageSyncService;
import com.pulumi.azurenative.storagesync.StorageSyncServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var storageSyncService = new StorageSyncService("storageSyncService", StorageSyncServiceArgs.builder()
.incomingTrafficPolicy("AllowAllTraffic")
.location("WestUS")
.resourceGroupName("SampleResourceGroup_1")
.storageSyncServiceName("SampleStorageSyncService_1")
.tags()
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storagesync:StorageSyncService SampleStorageSyncService_1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}
Content copied to clipboard
Properties
Link copied to clipboard
Incoming Traffic Policy
Link copied to clipboard
Resource Last Operation Name
Link copied to clipboard
StorageSyncService lastWorkflowId
Link copied to clipboard
List of private endpoint connection associated with the specified storage sync service
Link copied to clipboard
StorageSyncService Provisioning State
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Storage Sync service status.
Link copied to clipboard
Storage Sync service Uid
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.