func NewSyncCloudEndpoint(ctx *pulumi.Context,
	name string, args *SyncCloudEndpointArgs, opts ...pulumi.ResourceOption) (*SyncCloudEndpoint, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.FileShareName == nil {
		return nil, errors.New("invalid value for required argument 'FileShareName'")
	}
	if args.StorageAccountId == nil {
		return nil, errors.New("invalid value for required argument 'StorageAccountId'")
	}
	if args.StorageSyncGroupId == nil {
		return nil, errors.New("invalid value for required argument 'StorageSyncGroupId'")
	}
	var resource SyncCloudEndpoint
	err := ctx.RegisterResource("azure:storage/syncCloudEndpoint:SyncCloudEndpoint", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewSyncCloudEndpoint registers a new resource with the given unique name, arguments, and options.
NewSyncCloudEndpoint registers a new resource with the given unique name, arguments, and options.
// NewSyncCloudEndpoint registers a new resource with the given unique name arguments and options .
func NewSyncCloudEndpoint(ctx *pulumi.Context,
	name string, args *SyncCloudEndpointArgs, opts ...pulumi.ResourceOption) (*SyncCloudEndpoint, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.FileShareName == nil {
		return nil, errors.New("invalid value for required argument 'FileShareName'")
	}
	if args.StorageAccountId == nil {
		return nil, errors.New("invalid value for required argument 'StorageAccountId'")
	}
	if args.StorageSyncGroupId == nil {
		return nil, errors.New("invalid value for required argument 'StorageSyncGroupId'")
	}
	var resource SyncCloudEndpoint
	err := ctx.RegisterResource("azure:storage/syncCloudEndpoint:SyncCloudEndpoint", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewSyncCloudEndpoint ( ctx * pulumi . Context , name string , args * SyncCloudEndpointArgs , opts ... pulumi . ResourceOption ) ( * SyncCloudEndpoint , error ) { if args == nil { return nil , errors . New ( " " ) } if args . FileShareName == nil { return nil , errors . New ( " " ) } if args . StorageAccountId == nil { return nil , errors . New ( " " ) } if args . StorageSyncGroupId == nil { return nil , errors . New ( " " ) } var resource SyncCloudEndpoint err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewSyncCloudEndpoint registers a new resource with the given unique name, arguments, and options.
NewSyncCloudEndpoint registers a new resource with the given unique name arguments and options .