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);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:
- Account
Id 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
CopyBasedandInPlace. 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.
- Snapshot
Schedule ShareSnapshot Schedule Args A
snapshot_scheduleblock as defined below.- Terms string
The terms of the Data Share.
- Account
Id 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
CopyBasedandInPlace. 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.
- Snapshot
Schedule ShareSnapshot Schedule A
snapshot_scheduleblock as defined below.- Terms string
The terms of the Data Share.
- account
Id 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
CopyBasedandInPlace. 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.
- snapshot
Schedule ShareSnapshot Schedule A
snapshot_scheduleblock 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
CopyBasedandInPlace. 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[ShareSnapshot Schedule] A
snapshot_scheduleblock 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:
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): Sharestatic 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:
- Account
Id 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
CopyBasedandInPlace. 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.
- Snapshot
Schedule ShareSnapshot Schedule Args A
snapshot_scheduleblock as defined below.- Terms string
The terms of the Data Share.
- Account
Id 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
CopyBasedandInPlace. 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.
- Snapshot
Schedule ShareSnapshot Schedule A
snapshot_scheduleblock as defined below.- Terms string
The terms of the Data Share.
- account
Id 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
CopyBasedandInPlace. 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.
- snapshot
Schedule ShareSnapshot Schedule A
snapshot_scheduleblock 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
CopyBasedandInPlace. 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[ShareSnapshot Schedule] A
snapshot_scheduleblock as defined below.- terms str
The terms of the Data Share.
Supporting Types
ShareSnapshotSchedule
- name str
The name of the snapshot schedule.
- recurrence str
The interval of the synchronization with the source data. Possible values are
HourandDay.- 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
azurermTerraform Provider.