Class Share
Manages a Data Share.
Inherited Members
Namespace: Pulumi.Azure.DataShare
Assembly: Pulumi.Azure.dll
Syntax
public class Share : CustomResource
Constructors
View SourceShare(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 SourceAccountId
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> |
Description
The Data Share's description.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
SnapshotSchedule
A snapshot_schedule block as defined below.
Declaration
public Output<ShareSnapshotSchedule> SnapshotSchedule { get; }
Property Value
| Type | Description |
|---|---|
| Output<ShareSnapshotSchedule> |
Terms
The terms of the Data Share.
Declaration
public Output<string> Terms { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |