We recommend using Azure Native.
azure.storage.SyncCloudEndpoint
Explore with Pulumi AI
Manages a Storage Sync Cloud Endpoint.
NOTE: Please ensure Azure File Sync has access to the storage account in your subscription, which indicates that
Microsoft.StorageSync
is assigned roleReader and Data Access
( refer to details here).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleSync = new azure.storage.Sync("example", {
name: "example-ss",
resourceGroupName: example.name,
location: example.location,
});
const exampleSyncGroup = new azure.storage.SyncGroup("example", {
name: "example-ss-group",
storageSyncId: exampleSync.id,
});
const exampleAccount = new azure.storage.Account("example", {
name: "example",
resourceGroupName: example.name,
location: example.location,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleShare = new azure.storage.Share("example", {
name: "example-share",
storageAccountName: exampleAccount.name,
quota: 50,
acls: [{
id: "GhostedRecall",
accessPolicies: [{
permissions: "r",
}],
}],
});
const exampleSyncCloudEndpoint = new azure.storage.SyncCloudEndpoint("example", {
name: "example-ss-ce",
storageSyncGroupId: exampleSyncGroup.id,
fileShareName: exampleShare.name,
storageAccountId: exampleAccount.id,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_sync = azure.storage.Sync("example",
name="example-ss",
resource_group_name=example.name,
location=example.location)
example_sync_group = azure.storage.SyncGroup("example",
name="example-ss-group",
storage_sync_id=example_sync.id)
example_account = azure.storage.Account("example",
name="example",
resource_group_name=example.name,
location=example.location,
account_tier="Standard",
account_replication_type="LRS")
example_share = azure.storage.Share("example",
name="example-share",
storage_account_name=example_account.name,
quota=50,
acls=[azure.storage.ShareAclArgs(
id="GhostedRecall",
access_policies=[azure.storage.ShareAclAccessPolicyArgs(
permissions="r",
)],
)])
example_sync_cloud_endpoint = azure.storage.SyncCloudEndpoint("example",
name="example-ss-ce",
storage_sync_group_id=example_sync_group.id,
file_share_name=example_share.name,
storage_account_id=example_account.id)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleSync, err := storage.NewSync(ctx, "example", &storage.SyncArgs{
Name: pulumi.String("example-ss"),
ResourceGroupName: example.Name,
Location: example.Location,
})
if err != nil {
return err
}
exampleSyncGroup, err := storage.NewSyncGroup(ctx, "example", &storage.SyncGroupArgs{
Name: pulumi.String("example-ss-group"),
StorageSyncId: exampleSync.ID(),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
Name: pulumi.String("example"),
ResourceGroupName: example.Name,
Location: example.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
exampleShare, err := storage.NewShare(ctx, "example", &storage.ShareArgs{
Name: pulumi.String("example-share"),
StorageAccountName: exampleAccount.Name,
Quota: pulumi.Int(50),
Acls: storage.ShareAclArray{
&storage.ShareAclArgs{
Id: pulumi.String("GhostedRecall"),
AccessPolicies: storage.ShareAclAccessPolicyArray{
&storage.ShareAclAccessPolicyArgs{
Permissions: pulumi.String("r"),
},
},
},
},
})
if err != nil {
return err
}
_, err = storage.NewSyncCloudEndpoint(ctx, "example", &storage.SyncCloudEndpointArgs{
Name: pulumi.String("example-ss-ce"),
StorageSyncGroupId: exampleSyncGroup.ID(),
FileShareName: exampleShare.Name,
StorageAccountId: exampleAccount.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleSync = new Azure.Storage.Sync("example", new()
{
Name = "example-ss",
ResourceGroupName = example.Name,
Location = example.Location,
});
var exampleSyncGroup = new Azure.Storage.SyncGroup("example", new()
{
Name = "example-ss-group",
StorageSyncId = exampleSync.Id,
});
var exampleAccount = new Azure.Storage.Account("example", new()
{
Name = "example",
ResourceGroupName = example.Name,
Location = example.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleShare = new Azure.Storage.Share("example", new()
{
Name = "example-share",
StorageAccountName = exampleAccount.Name,
Quota = 50,
Acls = new[]
{
new Azure.Storage.Inputs.ShareAclArgs
{
Id = "GhostedRecall",
AccessPolicies = new[]
{
new Azure.Storage.Inputs.ShareAclAccessPolicyArgs
{
Permissions = "r",
},
},
},
},
});
var exampleSyncCloudEndpoint = new Azure.Storage.SyncCloudEndpoint("example", new()
{
Name = "example-ss-ce",
StorageSyncGroupId = exampleSyncGroup.Id,
FileShareName = exampleShare.Name,
StorageAccountId = exampleAccount.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Sync;
import com.pulumi.azure.storage.SyncArgs;
import com.pulumi.azure.storage.SyncGroup;
import com.pulumi.azure.storage.SyncGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.storage.Share;
import com.pulumi.azure.storage.ShareArgs;
import com.pulumi.azure.storage.inputs.ShareAclArgs;
import com.pulumi.azure.storage.SyncCloudEndpoint;
import com.pulumi.azure.storage.SyncCloudEndpointArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleSync = new Sync("exampleSync", SyncArgs.builder()
.name("example-ss")
.resourceGroupName(example.name())
.location(example.location())
.build());
var exampleSyncGroup = new SyncGroup("exampleSyncGroup", SyncGroupArgs.builder()
.name("example-ss-group")
.storageSyncId(exampleSync.id())
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("example")
.resourceGroupName(example.name())
.location(example.location())
.accountTier("Standard")
.accountReplicationType("LRS")
.build());
var exampleShare = new Share("exampleShare", ShareArgs.builder()
.name("example-share")
.storageAccountName(exampleAccount.name())
.quota(50)
.acls(ShareAclArgs.builder()
.id("GhostedRecall")
.accessPolicies(ShareAclAccessPolicyArgs.builder()
.permissions("r")
.build())
.build())
.build());
var exampleSyncCloudEndpoint = new SyncCloudEndpoint("exampleSyncCloudEndpoint", SyncCloudEndpointArgs.builder()
.name("example-ss-ce")
.storageSyncGroupId(exampleSyncGroup.id())
.fileShareName(exampleShare.name())
.storageAccountId(exampleAccount.id())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleSync:
type: azure:storage:Sync
name: example
properties:
name: example-ss
resourceGroupName: ${example.name}
location: ${example.location}
exampleSyncGroup:
type: azure:storage:SyncGroup
name: example
properties:
name: example-ss-group
storageSyncId: ${exampleSync.id}
exampleAccount:
type: azure:storage:Account
name: example
properties:
name: example
resourceGroupName: ${example.name}
location: ${example.location}
accountTier: Standard
accountReplicationType: LRS
exampleShare:
type: azure:storage:Share
name: example
properties:
name: example-share
storageAccountName: ${exampleAccount.name}
quota: 50
acls:
- id: GhostedRecall
accessPolicies:
- permissions: r
exampleSyncCloudEndpoint:
type: azure:storage:SyncCloudEndpoint
name: example
properties:
name: example-ss-ce
storageSyncGroupId: ${exampleSyncGroup.id}
fileShareName: ${exampleShare.name}
storageAccountId: ${exampleAccount.id}
Create SyncCloudEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SyncCloudEndpoint(name: string, args: SyncCloudEndpointArgs, opts?: CustomResourceOptions);
@overload
def SyncCloudEndpoint(resource_name: str,
args: SyncCloudEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SyncCloudEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_share_name: Optional[str] = None,
storage_account_id: Optional[str] = None,
storage_sync_group_id: Optional[str] = None,
name: Optional[str] = None,
storage_account_tenant_id: Optional[str] = None)
func NewSyncCloudEndpoint(ctx *Context, name string, args SyncCloudEndpointArgs, opts ...ResourceOption) (*SyncCloudEndpoint, error)
public SyncCloudEndpoint(string name, SyncCloudEndpointArgs args, CustomResourceOptions? opts = null)
public SyncCloudEndpoint(String name, SyncCloudEndpointArgs args)
public SyncCloudEndpoint(String name, SyncCloudEndpointArgs args, CustomResourceOptions options)
type: azure:storage:SyncCloudEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SyncCloudEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SyncCloudEndpointArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SyncCloudEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SyncCloudEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SyncCloudEndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var syncCloudEndpointResource = new Azure.Storage.SyncCloudEndpoint("syncCloudEndpointResource", new()
{
FileShareName = "string",
StorageAccountId = "string",
StorageSyncGroupId = "string",
Name = "string",
StorageAccountTenantId = "string",
});
example, err := storage.NewSyncCloudEndpoint(ctx, "syncCloudEndpointResource", &storage.SyncCloudEndpointArgs{
FileShareName: pulumi.String("string"),
StorageAccountId: pulumi.String("string"),
StorageSyncGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
StorageAccountTenantId: pulumi.String("string"),
})
var syncCloudEndpointResource = new SyncCloudEndpoint("syncCloudEndpointResource", SyncCloudEndpointArgs.builder()
.fileShareName("string")
.storageAccountId("string")
.storageSyncGroupId("string")
.name("string")
.storageAccountTenantId("string")
.build());
sync_cloud_endpoint_resource = azure.storage.SyncCloudEndpoint("syncCloudEndpointResource",
file_share_name="string",
storage_account_id="string",
storage_sync_group_id="string",
name="string",
storage_account_tenant_id="string")
const syncCloudEndpointResource = new azure.storage.SyncCloudEndpoint("syncCloudEndpointResource", {
fileShareName: "string",
storageAccountId: "string",
storageSyncGroupId: "string",
name: "string",
storageAccountTenantId: "string",
});
type: azure:storage:SyncCloudEndpoint
properties:
fileShareName: string
name: string
storageAccountId: string
storageAccountTenantId: string
storageSyncGroupId: string
SyncCloudEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SyncCloudEndpoint resource accepts the following input properties:
- string
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Sync stringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Name string
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- string
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Sync stringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Name string
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- String
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Sync StringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name String
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- string
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account stringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Sync stringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name string
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account stringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- str
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage_
account_ strid - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage_
sync_ strgroup_ id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name str
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage_
account_ strtenant_ id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- String
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Sync StringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name String
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
Outputs
All input properties are implicitly available as output properties. Additionally, the SyncCloudEndpoint resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SyncCloudEndpoint Resource
Get an existing SyncCloudEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SyncCloudEndpointState, opts?: CustomResourceOptions): SyncCloudEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
file_share_name: Optional[str] = None,
name: Optional[str] = None,
storage_account_id: Optional[str] = None,
storage_account_tenant_id: Optional[str] = None,
storage_sync_group_id: Optional[str] = None) -> SyncCloudEndpoint
func GetSyncCloudEndpoint(ctx *Context, name string, id IDInput, state *SyncCloudEndpointState, opts ...ResourceOption) (*SyncCloudEndpoint, error)
public static SyncCloudEndpoint Get(string name, Input<string> id, SyncCloudEndpointState? state, CustomResourceOptions? opts = null)
public static SyncCloudEndpoint get(String name, Output<String> id, SyncCloudEndpointState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- string
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Name string
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- Storage
Sync stringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- string
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Name string
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- Storage
Account stringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- Storage
Sync stringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- String
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name String
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- storage
Sync StringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- string
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name string
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account stringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account stringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- storage
Sync stringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- str
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name str
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage_
account_ strid - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage_
account_ strtenant_ id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- storage_
sync_ strgroup_ id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- String
- The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- name String
- The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringId - The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
- storage
Account StringTenant Id - The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
- storage
Sync StringGroup Id - The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
Import
Storage Sync Cloud Endpoints can be imported using the resource id
, e.g.
$ pulumi import azure:storage/syncCloudEndpoint:SyncCloudEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StorageSync/storageSyncServices/sync1/syncGroups/syncgroup1/cloudEndpoints/cloudEndpoint1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.