1. Packages
  2. Azure Native v1
  3. API Docs
  4. storagesync
  5. CloudEndpoint
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.storagesync.CloudEndpoint

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Cloud Endpoint object. API Version: 2020-03-01.

    Example Usage

    CloudEndpoints_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudEndpoint = new AzureNative.StorageSync.CloudEndpoint("cloudEndpoint", new()
        {
            AzureFileShareName = "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4",
            CloudEndpointName = "SampleCloudEndpoint_1",
            FriendlyName = "ankushbsubscriptionmgmtmab",
            ResourceGroupName = "SampleResourceGroup_1",
            StorageAccountResourceId = "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage",
            StorageAccountTenantId = "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"",
            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.NewCloudEndpoint(ctx, "cloudEndpoint", &storagesync.CloudEndpointArgs{
    			AzureFileShareName:       pulumi.String("cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4"),
    			CloudEndpointName:        pulumi.String("SampleCloudEndpoint_1"),
    			FriendlyName:             pulumi.String("ankushbsubscriptionmgmtmab"),
    			ResourceGroupName:        pulumi.String("SampleResourceGroup_1"),
    			StorageAccountResourceId: pulumi.String("/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage"),
    			StorageAccountTenantId:   pulumi.String("\"72f988bf-86f1-41af-91ab-2d7cd011db47\""),
    			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.CloudEndpoint;
    import com.pulumi.azurenative.storagesync.CloudEndpointArgs;
    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 cloudEndpoint = new CloudEndpoint("cloudEndpoint", CloudEndpointArgs.builder()        
                .azureFileShareName("cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4")
                .cloudEndpointName("SampleCloudEndpoint_1")
                .friendlyName("ankushbsubscriptionmgmtmab")
                .resourceGroupName("SampleResourceGroup_1")
                .storageAccountResourceId("/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage")
                .storageAccountTenantId("\"72f988bf-86f1-41af-91ab-2d7cd011db47\"")
                .storageSyncServiceName("SampleStorageSyncService_1")
                .syncGroupName("SampleSyncGroup_1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud_endpoint = azure_native.storagesync.CloudEndpoint("cloudEndpoint",
        azure_file_share_name="cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4",
        cloud_endpoint_name="SampleCloudEndpoint_1",
        friendly_name="ankushbsubscriptionmgmtmab",
        resource_group_name="SampleResourceGroup_1",
        storage_account_resource_id="/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage",
        storage_account_tenant_id="\"72f988bf-86f1-41af-91ab-2d7cd011db47\"",
        storage_sync_service_name="SampleStorageSyncService_1",
        sync_group_name="SampleSyncGroup_1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cloudEndpoint = new azure_native.storagesync.CloudEndpoint("cloudEndpoint", {
        azureFileShareName: "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4",
        cloudEndpointName: "SampleCloudEndpoint_1",
        friendlyName: "ankushbsubscriptionmgmtmab",
        resourceGroupName: "SampleResourceGroup_1",
        storageAccountResourceId: "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage",
        storageAccountTenantId: "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"",
        storageSyncServiceName: "SampleStorageSyncService_1",
        syncGroupName: "SampleSyncGroup_1",
    });
    
    resources:
      cloudEndpoint:
        type: azure-native:storagesync:CloudEndpoint
        properties:
          azureFileShareName: cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4
          cloudEndpointName: SampleCloudEndpoint_1
          friendlyName: ankushbsubscriptionmgmtmab
          resourceGroupName: SampleResourceGroup_1
          storageAccountResourceId: /subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage
          storageAccountTenantId: '"72f988bf-86f1-41af-91ab-2d7cd011db47"'
          storageSyncServiceName: SampleStorageSyncService_1
          syncGroupName: SampleSyncGroup_1
    

    Create CloudEndpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudEndpoint(name: string, args: CloudEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def CloudEndpoint(resource_name: str,
                      args: CloudEndpointArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudEndpoint(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      resource_group_name: Optional[str] = None,
                      storage_sync_service_name: Optional[str] = None,
                      sync_group_name: Optional[str] = None,
                      azure_file_share_name: Optional[str] = None,
                      cloud_endpoint_name: Optional[str] = None,
                      friendly_name: Optional[str] = None,
                      storage_account_resource_id: Optional[str] = None,
                      storage_account_tenant_id: Optional[str] = None)
    func NewCloudEndpoint(ctx *Context, name string, args CloudEndpointArgs, opts ...ResourceOption) (*CloudEndpoint, error)
    public CloudEndpoint(string name, CloudEndpointArgs args, CustomResourceOptions? opts = null)
    public CloudEndpoint(String name, CloudEndpointArgs args)
    public CloudEndpoint(String name, CloudEndpointArgs args, CustomResourceOptions options)
    
    type: azure-native:storagesync:CloudEndpoint
    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 CloudEndpointArgs
    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 CloudEndpointArgs
    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 CloudEndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudEndpointArgs
    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 cloudEndpointResource = new AzureNative.Storagesync.CloudEndpoint("cloudEndpointResource", new()
    {
        ResourceGroupName = "string",
        StorageSyncServiceName = "string",
        SyncGroupName = "string",
        AzureFileShareName = "string",
        CloudEndpointName = "string",
        FriendlyName = "string",
        StorageAccountResourceId = "string",
        StorageAccountTenantId = "string",
    });
    
    example, err := storagesync.NewCloudEndpoint(ctx, "cloudEndpointResource", &storagesync.CloudEndpointArgs{
    	ResourceGroupName:        "string",
    	StorageSyncServiceName:   "string",
    	SyncGroupName:            "string",
    	AzureFileShareName:       "string",
    	CloudEndpointName:        "string",
    	FriendlyName:             "string",
    	StorageAccountResourceId: "string",
    	StorageAccountTenantId:   "string",
    })
    
    var cloudEndpointResource = new CloudEndpoint("cloudEndpointResource", CloudEndpointArgs.builder()
        .resourceGroupName("string")
        .storageSyncServiceName("string")
        .syncGroupName("string")
        .azureFileShareName("string")
        .cloudEndpointName("string")
        .friendlyName("string")
        .storageAccountResourceId("string")
        .storageAccountTenantId("string")
        .build());
    
    cloud_endpoint_resource = azure_native.storagesync.CloudEndpoint("cloudEndpointResource",
        resource_group_name=string,
        storage_sync_service_name=string,
        sync_group_name=string,
        azure_file_share_name=string,
        cloud_endpoint_name=string,
        friendly_name=string,
        storage_account_resource_id=string,
        storage_account_tenant_id=string)
    
    const cloudEndpointResource = new azure_native.storagesync.CloudEndpoint("cloudEndpointResource", {
        resourceGroupName: "string",
        storageSyncServiceName: "string",
        syncGroupName: "string",
        azureFileShareName: "string",
        cloudEndpointName: "string",
        friendlyName: "string",
        storageAccountResourceId: "string",
        storageAccountTenantId: "string",
    });
    
    type: azure-native:storagesync:CloudEndpoint
    properties:
        azureFileShareName: string
        cloudEndpointName: string
        friendlyName: string
        resourceGroupName: string
        storageAccountResourceId: string
        storageAccountTenantId: string
        storageSyncServiceName: string
        syncGroupName: string
    

    CloudEndpoint Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudEndpoint resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageSyncServiceName string
    Name of Storage Sync Service resource.
    SyncGroupName string
    Name of Sync Group resource.
    AzureFileShareName string
    Azure file share name
    CloudEndpointName string
    Name of Cloud Endpoint object.
    FriendlyName string
    Friendly Name
    StorageAccountResourceId string
    Storage Account Resource Id
    StorageAccountTenantId string
    Storage Account Tenant Id
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageSyncServiceName string
    Name of Storage Sync Service resource.
    SyncGroupName string
    Name of Sync Group resource.
    AzureFileShareName string
    Azure file share name
    CloudEndpointName string
    Name of Cloud Endpoint object.
    FriendlyName string
    Friendly Name
    StorageAccountResourceId string
    Storage Account Resource Id
    StorageAccountTenantId string
    Storage Account Tenant Id
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageSyncServiceName String
    Name of Storage Sync Service resource.
    syncGroupName String
    Name of Sync Group resource.
    azureFileShareName String
    Azure file share name
    cloudEndpointName String
    Name of Cloud Endpoint object.
    friendlyName String
    Friendly Name
    storageAccountResourceId String
    Storage Account Resource Id
    storageAccountTenantId String
    Storage Account Tenant Id
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    storageSyncServiceName string
    Name of Storage Sync Service resource.
    syncGroupName string
    Name of Sync Group resource.
    azureFileShareName string
    Azure file share name
    cloudEndpointName string
    Name of Cloud Endpoint object.
    friendlyName string
    Friendly Name
    storageAccountResourceId string
    Storage Account Resource Id
    storageAccountTenantId string
    Storage Account Tenant Id
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    storage_sync_service_name str
    Name of Storage Sync Service resource.
    sync_group_name str
    Name of Sync Group resource.
    azure_file_share_name str
    Azure file share name
    cloud_endpoint_name str
    Name of Cloud Endpoint object.
    friendly_name str
    Friendly Name
    storage_account_resource_id str
    Storage Account Resource Id
    storage_account_tenant_id str
    Storage Account Tenant Id
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageSyncServiceName String
    Name of Storage Sync Service resource.
    syncGroupName String
    Name of Sync Group resource.
    azureFileShareName String
    Azure file share name
    cloudEndpointName String
    Name of Cloud Endpoint object.
    friendlyName String
    Friendly Name
    storageAccountResourceId String
    Storage Account Resource Id
    storageAccountTenantId String
    Storage Account Tenant Id

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudEndpoint resource produces the following output properties:

    BackupEnabled string
    Backup Enabled
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    LastOperationName string
    Resource Last Operation Name
    LastWorkflowId string
    CloudEndpoint lastWorkflowId
    PartnershipId string
    Partnership Id
    ProvisioningState string
    CloudEndpoint Provisioning State
    BackupEnabled string
    Backup Enabled
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    LastOperationName string
    Resource Last Operation Name
    LastWorkflowId string
    CloudEndpoint lastWorkflowId
    PartnershipId string
    Partnership Id
    ProvisioningState string
    CloudEndpoint Provisioning State
    backupEnabled String
    Backup Enabled
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    lastOperationName String
    Resource Last Operation Name
    lastWorkflowId String
    CloudEndpoint lastWorkflowId
    partnershipId String
    Partnership Id
    provisioningState String
    CloudEndpoint Provisioning State
    backupEnabled string
    Backup Enabled
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    lastOperationName string
    Resource Last Operation Name
    lastWorkflowId string
    CloudEndpoint lastWorkflowId
    partnershipId string
    Partnership Id
    provisioningState string
    CloudEndpoint Provisioning State
    backup_enabled str
    Backup Enabled
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    last_operation_name str
    Resource Last Operation Name
    last_workflow_id str
    CloudEndpoint lastWorkflowId
    partnership_id str
    Partnership Id
    provisioning_state str
    CloudEndpoint Provisioning State
    backupEnabled String
    Backup Enabled
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    lastOperationName String
    Resource Last Operation Name
    lastWorkflowId String
    CloudEndpoint lastWorkflowId
    partnershipId String
    Partnership Id
    provisioningState String
    CloudEndpoint Provisioning State

    Import

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

    $ pulumi import azure-native:storagesync:CloudEndpoint SampleCloudEndpoint_1 /subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi