azure-native.storagesync.CloudEndpoint
Explore with Pulumi AI
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
The CloudEndpoint resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Sync stringService Name - Name of Storage Sync Service resource.
- Sync
Group stringName - Name of Sync Group resource.
- string
- Azure file share name
- Cloud
Endpoint stringName - Name of Cloud Endpoint object.
- Friendly
Name string - Friendly Name
- Storage
Account stringResource Id - Storage Account Resource Id
- Storage
Account stringTenant Id - Storage Account Tenant Id
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Sync stringService Name - Name of Storage Sync Service resource.
- Sync
Group stringName - Name of Sync Group resource.
- string
- Azure file share name
- Cloud
Endpoint stringName - Name of Cloud Endpoint object.
- Friendly
Name string - Friendly Name
- Storage
Account stringResource Id - Storage Account Resource Id
- Storage
Account stringTenant Id - Storage Account Tenant Id
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Sync StringService Name - Name of Storage Sync Service resource.
- sync
Group StringName - Name of Sync Group resource.
- String
- Azure file share name
- cloud
Endpoint StringName - Name of Cloud Endpoint object.
- friendly
Name String - Friendly Name
- storage
Account StringResource Id - Storage Account Resource Id
- storage
Account StringTenant Id - Storage Account Tenant Id
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- storage
Sync stringService Name - Name of Storage Sync Service resource.
- sync
Group stringName - Name of Sync Group resource.
- string
- Azure file share name
- cloud
Endpoint stringName - Name of Cloud Endpoint object.
- friendly
Name string - Friendly Name
- storage
Account stringResource Id - Storage Account Resource Id
- storage
Account stringTenant Id - Storage Account Tenant Id
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- storage_
sync_ strservice_ name - Name of Storage Sync Service resource.
- sync_
group_ strname - Name of Sync Group resource.
- str
- Azure file share name
- cloud_
endpoint_ strname - Name of Cloud Endpoint object.
- friendly_
name str - Friendly Name
- storage_
account_ strresource_ id - Storage Account Resource Id
- storage_
account_ strtenant_ id - Storage Account Tenant Id
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Sync StringService Name - Name of Storage Sync Service resource.
- sync
Group StringName - Name of Sync Group resource.
- String
- Azure file share name
- cloud
Endpoint StringName - Name of Cloud Endpoint object.
- friendly
Name String - Friendly Name
- storage
Account StringResource Id - Storage Account Resource Id
- storage
Account StringTenant Id - Storage Account Tenant Id
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudEndpoint resource produces the following output properties:
- Backup
Enabled 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"
- Last
Operation stringName - Resource Last Operation Name
- Last
Workflow stringId - CloudEndpoint lastWorkflowId
- Partnership
Id string - Partnership Id
- Provisioning
State string - CloudEndpoint Provisioning State
- Backup
Enabled 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"
- Last
Operation stringName - Resource Last Operation Name
- Last
Workflow stringId - CloudEndpoint lastWorkflowId
- Partnership
Id string - Partnership Id
- Provisioning
State string - CloudEndpoint Provisioning State
- backup
Enabled 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"
- last
Operation StringName - Resource Last Operation Name
- last
Workflow StringId - CloudEndpoint lastWorkflowId
- partnership
Id String - Partnership Id
- provisioning
State String - CloudEndpoint Provisioning State
- backup
Enabled 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"
- last
Operation stringName - Resource Last Operation Name
- last
Workflow stringId - CloudEndpoint lastWorkflowId
- partnership
Id string - Partnership Id
- provisioning
State 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_ strname - Resource Last Operation Name
- last_
workflow_ strid - CloudEndpoint lastWorkflowId
- partnership_
id str - Partnership Id
- provisioning_
state str - CloudEndpoint Provisioning State
- backup
Enabled 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"
- last
Operation StringName - Resource Last Operation Name
- last
Workflow StringId - CloudEndpoint lastWorkflowId
- partnership
Id String - Partnership Id
- provisioning
State 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