azure-native-v2.datashare.ScheduledSynchronizationSetting
Explore with Pulumi AI
A type of synchronization setting based on schedule Azure REST API version: 2021-08-01. Prior API version in Azure Native 1.x: 2020-09-01.
Create ScheduledSynchronizationSetting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledSynchronizationSetting(name: string, args: ScheduledSynchronizationSettingArgs, opts?: CustomResourceOptions);
@overload
def ScheduledSynchronizationSetting(resource_name: str,
args: ScheduledSynchronizationSettingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduledSynchronizationSetting(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
recurrence_interval: Optional[Union[str, RecurrenceInterval]] = None,
resource_group_name: Optional[str] = None,
share_name: Optional[str] = None,
synchronization_time: Optional[str] = None,
synchronization_setting_name: Optional[str] = None)
func NewScheduledSynchronizationSetting(ctx *Context, name string, args ScheduledSynchronizationSettingArgs, opts ...ResourceOption) (*ScheduledSynchronizationSetting, error)
public ScheduledSynchronizationSetting(string name, ScheduledSynchronizationSettingArgs args, CustomResourceOptions? opts = null)
public ScheduledSynchronizationSetting(String name, ScheduledSynchronizationSettingArgs args)
public ScheduledSynchronizationSetting(String name, ScheduledSynchronizationSettingArgs args, CustomResourceOptions options)
type: azure-native:datashare:ScheduledSynchronizationSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ScheduledSynchronizationSettingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ScheduledSynchronizationSettingArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ScheduledSynchronizationSettingArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ScheduledSynchronizationSettingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ScheduledSynchronizationSettingArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scheduledSynchronizationSettingResource = new AzureNative.Datashare.ScheduledSynchronizationSetting("scheduledSynchronizationSettingResource", new()
{
AccountName = "string",
Kind = "string",
RecurrenceInterval = "string",
ResourceGroupName = "string",
ShareName = "string",
SynchronizationTime = "string",
SynchronizationSettingName = "string",
});
example, err := datashare.NewScheduledSynchronizationSetting(ctx, "scheduledSynchronizationSettingResource", &datashare.ScheduledSynchronizationSettingArgs{
AccountName: "string",
Kind: "string",
RecurrenceInterval: "string",
ResourceGroupName: "string",
ShareName: "string",
SynchronizationTime: "string",
SynchronizationSettingName: "string",
})
var scheduledSynchronizationSettingResource = new ScheduledSynchronizationSetting("scheduledSynchronizationSettingResource", ScheduledSynchronizationSettingArgs.builder()
.accountName("string")
.kind("string")
.recurrenceInterval("string")
.resourceGroupName("string")
.shareName("string")
.synchronizationTime("string")
.synchronizationSettingName("string")
.build());
scheduled_synchronization_setting_resource = azure_native.datashare.ScheduledSynchronizationSetting("scheduledSynchronizationSettingResource",
account_name=string,
kind=string,
recurrence_interval=string,
resource_group_name=string,
share_name=string,
synchronization_time=string,
synchronization_setting_name=string)
const scheduledSynchronizationSettingResource = new azure_native.datashare.ScheduledSynchronizationSetting("scheduledSynchronizationSettingResource", {
accountName: "string",
kind: "string",
recurrenceInterval: "string",
resourceGroupName: "string",
shareName: "string",
synchronizationTime: "string",
synchronizationSettingName: "string",
});
type: azure-native:datashare:ScheduledSynchronizationSetting
properties:
accountName: string
kind: string
recurrenceInterval: string
resourceGroupName: string
shareName: string
synchronizationSettingName: string
synchronizationTime: string
ScheduledSynchronizationSetting Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScheduledSynchronizationSetting resource accepts the following input properties:
- Account
Name This property is required. Changes to this property will trigger replacement.
- The name of the share account.
- Recurrence
Interval This property is required. string | Pulumi.Azure Native. Data Share. Recurrence Interval - Recurrence Interval
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name.
This property is required. Changes to this property will trigger replacement.
- The name of the share to add the synchronization setting to.
- Synchronization
Time This property is required. string - Synchronization time
- Synchronization
Setting Name Changes to this property will trigger replacement.
- The name of the synchronizationSetting.
- Account
Name This property is required. Changes to this property will trigger replacement.
- The name of the share account.
- Recurrence
Interval This property is required. string | RecurrenceInterval - Recurrence Interval
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name.
This property is required. Changes to this property will trigger replacement.
- The name of the share to add the synchronization setting to.
- Synchronization
Time This property is required. string - Synchronization time
- Synchronization
Setting Name Changes to this property will trigger replacement.
- The name of the synchronizationSetting.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the share account.
- recurrence
Interval This property is required. String | RecurrenceInterval - Recurrence Interval
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name.
This property is required. Changes to this property will trigger replacement.
- The name of the share to add the synchronization setting to.
- synchronization
Time This property is required. String - Synchronization time
- synchronization
Setting Name Changes to this property will trigger replacement.
- The name of the synchronizationSetting.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the share account.
- recurrence
Interval This property is required. string | RecurrenceInterval - Recurrence Interval
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name.
This property is required. Changes to this property will trigger replacement.
- The name of the share to add the synchronization setting to.
- synchronization
Time This property is required. string - Synchronization time
- synchronization
Setting Name Changes to this property will trigger replacement.
- The name of the synchronizationSetting.
- account_
name This property is required. Changes to this property will trigger replacement.
- The name of the share account.
- recurrence_
interval This property is required. str | RecurrenceInterval - Recurrence Interval
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The resource group name.
This property is required. Changes to this property will trigger replacement.
- The name of the share to add the synchronization setting to.
- synchronization_
time This property is required. str - Synchronization time
- synchronization_
setting_ name Changes to this property will trigger replacement.
- The name of the synchronizationSetting.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the share account.
- recurrence
Interval This property is required. String | "Hour" | "Day" - Recurrence Interval
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name.
This property is required. Changes to this property will trigger replacement.
- The name of the share to add the synchronization setting to.
- synchronization
Time This property is required. String - Synchronization time
- synchronization
Setting Name Changes to this property will trigger replacement.
- The name of the synchronizationSetting.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledSynchronizationSetting resource produces the following output properties:
- Created
At string - Time at which the synchronization setting was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the azure resource
- Provisioning
State string - Gets or sets the provisioning state
- System
Data Pulumi.Azure Native. Data Share. Outputs. System Data Response - System Data of the Azure resource.
- Type string
- Type of the azure resource
- User
Name string - Name of the user who created the synchronization setting.
- Created
At string - Time at which the synchronization setting was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the azure resource
- Provisioning
State string - Gets or sets the provisioning state
- System
Data SystemData Response - System Data of the Azure resource.
- Type string
- Type of the azure resource
- User
Name string - Name of the user who created the synchronization setting.
- created
At String - Time at which the synchronization setting was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the azure resource
- provisioning
State String - Gets or sets the provisioning state
- system
Data SystemData Response - System Data of the Azure resource.
- type String
- Type of the azure resource
- user
Name String - Name of the user who created the synchronization setting.
- created
At string - Time at which the synchronization setting was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the azure resource
- provisioning
State string - Gets or sets the provisioning state
- system
Data SystemData Response - System Data of the Azure resource.
- type string
- Type of the azure resource
- user
Name string - Name of the user who created the synchronization setting.
- created_
at str - Time at which the synchronization setting was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the azure resource
- provisioning_
state str - Gets or sets the provisioning state
- system_
data SystemData Response - System Data of the Azure resource.
- type str
- Type of the azure resource
- user_
name str - Name of the user who created the synchronization setting.
- created
At String - Time at which the synchronization setting was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the azure resource
- provisioning
State String - Gets or sets the provisioning state
- system
Data Property Map - System Data of the Azure resource.
- type String
- Type of the azure resource
- user
Name String - Name of the user who created the synchronization setting.
Supporting Types
RecurrenceInterval, RecurrenceIntervalArgs
- Hour
- Hour
- Day
- Day
- Recurrence
Interval Hour - Hour
- Recurrence
Interval Day - Day
- Hour
- Hour
- Day
- Day
- Hour
- Hour
- Day
- Day
- HOUR
- Hour
- DAY
- Day
- "Hour"
- Hour
- "Day"
- Day
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:datashare:ScheduledSynchronizationSetting SynchronizationSetting1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings/{synchronizationSettingName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0