Show / Hide Table of Contents

Class Share

Manages a Data Share.

Inheritance
System.Object
Resource
CustomResource
Share
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.DataShare
Assembly: Pulumi.Azure.dll
Syntax
public class Share : CustomResource

Constructors

View Source

Share(String, ShareArgs, CustomResourceOptions)

Create a Share resource with the given unique name, arguments, and options.

Declaration
public Share(string name, ShareArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ShareArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccountId

The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.

Declaration
public Output<string> AccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

The Data Share's description.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Kind

The kind of the Data Share. Possible values are CopyBased and InPlace. Changing this forces a new Data Share to be created.

Declaration
public Output<string> Kind { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name which should be used for this Data Share. Changing this forces a new Data Share to be created.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

SnapshotSchedule

A snapshot_schedule block as defined below.

Declaration
public Output<ShareSnapshotSchedule> SnapshotSchedule { get; }
Property Value
Type Description
Output<ShareSnapshotSchedule>
View Source

Terms

The terms of the Data Share.

Declaration
public Output<string> Terms { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ShareState, CustomResourceOptions)

Get an existing Share resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Share Get(string name, Input<string> id, ShareState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ShareState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Share
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.