SyncGroup

class SyncGroup : KotlinCustomResource

Sync Group object. API Version: 2020-03-01.

Example Usage

SyncGroups_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var syncGroup = new AzureNative.StorageSync.SyncGroup("syncGroup", new()
{
ResourceGroupName = "SampleResourceGroup_1",
StorageSyncServiceName = "SampleStorageSyncService_1",
SyncGroupName = "SampleSyncGroup_1",
});
});
package main
import (
storagesync "github.com/pulumi/pulumi-azure-native-sdk/storagesync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagesync.NewSyncGroup(ctx, "syncGroup", &storagesync.SyncGroupArgs{
ResourceGroupName: pulumi.String("SampleResourceGroup_1"),
StorageSyncServiceName: pulumi.String("SampleStorageSyncService_1"),
SyncGroupName: pulumi.String("SampleSyncGroup_1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storagesync.SyncGroup;
import com.pulumi.azurenative.storagesync.SyncGroupArgs;
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 syncGroup = new SyncGroup("syncGroup", SyncGroupArgs.builder()
.resourceGroupName("SampleResourceGroup_1")
.storageSyncServiceName("SampleStorageSyncService_1")
.syncGroupName("SampleSyncGroup_1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storagesync:SyncGroup SampleSyncGroup_1 /subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val syncGroupStatus: Output<String>

Sync group status

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val uniqueId: Output<String>

Unique Id

Link copied to clipboard
val urn: Output<String>