Share

Manages a Data Share.

Create a Share Resource

new Share(name: string, args: ShareArgs, opts?: CustomResourceOptions);
def Share(resource_name, opts=None, account_id=None, description=None, kind=None, name=None, snapshot_schedule=None, terms=None, __props__=None);
func NewShare(ctx *Context, name string, args ShareArgs, opts ...ResourceOption) (*Share, error)
public Share(string name, ShareArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ShareArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ShareArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ShareArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Share Resource Properties

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

Inputs

The Share resource accepts the following input properties:

AccountId string

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

Kind string

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

Description string

The Data Share’s description.

Name string

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

SnapshotSchedule ShareSnapshotScheduleArgs

A snapshot_schedule block as defined below.

Terms string

The terms of the Data Share.

AccountId string

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

Kind string

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

Description string

The Data Share’s description.

Name string

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

SnapshotSchedule ShareSnapshotSchedule

A snapshot_schedule block as defined below.

Terms string

The terms of the Data Share.

accountId string

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

kind string

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

description string

The Data Share’s description.

name string

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

snapshotSchedule ShareSnapshotSchedule

A snapshot_schedule block as defined below.

terms string

The terms of the Data Share.

account_id str

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

kind str

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

description str

The Data Share’s description.

name str

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

snapshot_schedule Dict[ShareSnapshotSchedule]

A snapshot_schedule block as defined below.

terms str

The terms of the Data Share.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Share Resource

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

public static get(name: string, id: Input<ID>, state?: ShareState, opts?: CustomResourceOptions): Share
static get(resource_name, id, opts=None, account_id=None, description=None, kind=None, name=None, snapshot_schedule=None, terms=None, __props__=None);
func GetShare(ctx *Context, name string, id IDInput, state *ShareState, opts ...ResourceOption) (*Share, error)
public static Share Get(string name, Input<string> id, ShareState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccountId string

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

Description string

The Data Share’s description.

Kind string

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

Name string

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

SnapshotSchedule ShareSnapshotScheduleArgs

A snapshot_schedule block as defined below.

Terms string

The terms of the Data Share.

AccountId string

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

Description string

The Data Share’s description.

Kind string

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

Name string

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

SnapshotSchedule ShareSnapshotSchedule

A snapshot_schedule block as defined below.

Terms string

The terms of the Data Share.

accountId string

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

description string

The Data Share’s description.

kind string

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

name string

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

snapshotSchedule ShareSnapshotSchedule

A snapshot_schedule block as defined below.

terms string

The terms of the Data Share.

account_id str

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

description str

The Data Share’s description.

kind str

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

name str

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

snapshot_schedule Dict[ShareSnapshotSchedule]

A snapshot_schedule block as defined below.

terms str

The terms of the Data Share.

Supporting Types

ShareSnapshotSchedule

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The name of the snapshot schedule.

Recurrence string

The interval of the synchronization with the source data. Possible values are Hour and Day.

StartTime string

The synchronization with the source data’s start time.

Name string

The name of the snapshot schedule.

Recurrence string

The interval of the synchronization with the source data. Possible values are Hour and Day.

StartTime string

The synchronization with the source data’s start time.

name string

The name of the snapshot schedule.

recurrence string

The interval of the synchronization with the source data. Possible values are Hour and Day.

startTime string

The synchronization with the source data’s start time.

name str

The name of the snapshot schedule.

recurrence str

The interval of the synchronization with the source data. Possible values are Hour and Day.

start_time str

The synchronization with the source data’s start time.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.