1. Packages
  2. Snowflake Provider
  3. API Docs
  4. FailoverGroup
Snowflake v0.61.1 published on Thursday, Nov 14, 2024 by Pulumi

snowflake.FailoverGroup

Explore with Pulumi AI

snowflake logo
Snowflake v0.61.1 published on Thursday, Nov 14, 2024 by Pulumi

    Import

    $ pulumi import snowflake:index/failoverGroup:FailoverGroup example 'fg1'
    

    Create FailoverGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FailoverGroup(name: string, args?: FailoverGroupArgs, opts?: CustomResourceOptions);
    @overload
    def FailoverGroup(resource_name: str,
                      args: Optional[FailoverGroupArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def FailoverGroup(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      allowed_accounts: Optional[Sequence[str]] = None,
                      allowed_databases: Optional[Sequence[str]] = None,
                      allowed_integration_types: Optional[Sequence[str]] = None,
                      allowed_shares: Optional[Sequence[str]] = None,
                      from_replica: Optional[FailoverGroupFromReplicaArgs] = None,
                      ignore_edition_check: Optional[bool] = None,
                      name: Optional[str] = None,
                      object_types: Optional[Sequence[str]] = None,
                      replication_schedule: Optional[FailoverGroupReplicationScheduleArgs] = None)
    func NewFailoverGroup(ctx *Context, name string, args *FailoverGroupArgs, opts ...ResourceOption) (*FailoverGroup, error)
    public FailoverGroup(string name, FailoverGroupArgs? args = null, CustomResourceOptions? opts = null)
    public FailoverGroup(String name, FailoverGroupArgs args)
    public FailoverGroup(String name, FailoverGroupArgs args, CustomResourceOptions options)
    
    type: snowflake:FailoverGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FailoverGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FailoverGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FailoverGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FailoverGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FailoverGroupArgs
    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 failoverGroupResource = new Snowflake.FailoverGroup("failoverGroupResource", new()
    {
        AllowedAccounts = new[]
        {
            "string",
        },
        AllowedDatabases = new[]
        {
            "string",
        },
        AllowedIntegrationTypes = new[]
        {
            "string",
        },
        AllowedShares = new[]
        {
            "string",
        },
        FromReplica = new Snowflake.Inputs.FailoverGroupFromReplicaArgs
        {
            Name = "string",
            OrganizationName = "string",
            SourceAccountName = "string",
        },
        IgnoreEditionCheck = false,
        Name = "string",
        ObjectTypes = new[]
        {
            "string",
        },
        ReplicationSchedule = new Snowflake.Inputs.FailoverGroupReplicationScheduleArgs
        {
            Cron = new Snowflake.Inputs.FailoverGroupReplicationScheduleCronArgs
            {
                Expression = "string",
                TimeZone = "string",
            },
            Interval = 0,
        },
    });
    
    example, err := snowflake.NewFailoverGroup(ctx, "failoverGroupResource", &snowflake.FailoverGroupArgs{
    	AllowedAccounts: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllowedDatabases: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllowedIntegrationTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllowedShares: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	FromReplica: &snowflake.FailoverGroupFromReplicaArgs{
    		Name:              pulumi.String("string"),
    		OrganizationName:  pulumi.String("string"),
    		SourceAccountName: pulumi.String("string"),
    	},
    	IgnoreEditionCheck: pulumi.Bool(false),
    	Name:               pulumi.String("string"),
    	ObjectTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ReplicationSchedule: &snowflake.FailoverGroupReplicationScheduleArgs{
    		Cron: &snowflake.FailoverGroupReplicationScheduleCronArgs{
    			Expression: pulumi.String("string"),
    			TimeZone:   pulumi.String("string"),
    		},
    		Interval: pulumi.Int(0),
    	},
    })
    
    var failoverGroupResource = new FailoverGroup("failoverGroupResource", FailoverGroupArgs.builder()
        .allowedAccounts("string")
        .allowedDatabases("string")
        .allowedIntegrationTypes("string")
        .allowedShares("string")
        .fromReplica(FailoverGroupFromReplicaArgs.builder()
            .name("string")
            .organizationName("string")
            .sourceAccountName("string")
            .build())
        .ignoreEditionCheck(false)
        .name("string")
        .objectTypes("string")
        .replicationSchedule(FailoverGroupReplicationScheduleArgs.builder()
            .cron(FailoverGroupReplicationScheduleCronArgs.builder()
                .expression("string")
                .timeZone("string")
                .build())
            .interval(0)
            .build())
        .build());
    
    failover_group_resource = snowflake.FailoverGroup("failoverGroupResource",
        allowed_accounts=["string"],
        allowed_databases=["string"],
        allowed_integration_types=["string"],
        allowed_shares=["string"],
        from_replica={
            "name": "string",
            "organization_name": "string",
            "source_account_name": "string",
        },
        ignore_edition_check=False,
        name="string",
        object_types=["string"],
        replication_schedule={
            "cron": {
                "expression": "string",
                "time_zone": "string",
            },
            "interval": 0,
        })
    
    const failoverGroupResource = new snowflake.FailoverGroup("failoverGroupResource", {
        allowedAccounts: ["string"],
        allowedDatabases: ["string"],
        allowedIntegrationTypes: ["string"],
        allowedShares: ["string"],
        fromReplica: {
            name: "string",
            organizationName: "string",
            sourceAccountName: "string",
        },
        ignoreEditionCheck: false,
        name: "string",
        objectTypes: ["string"],
        replicationSchedule: {
            cron: {
                expression: "string",
                timeZone: "string",
            },
            interval: 0,
        },
    });
    
    type: snowflake:FailoverGroup
    properties:
        allowedAccounts:
            - string
        allowedDatabases:
            - string
        allowedIntegrationTypes:
            - string
        allowedShares:
            - string
        fromReplica:
            name: string
            organizationName: string
            sourceAccountName: string
        ignoreEditionCheck: false
        name: string
        objectTypes:
            - string
        replicationSchedule:
            cron:
                expression: string
                timeZone: string
            interval: 0
    

    FailoverGroup 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 FailoverGroup resource accepts the following input properties:

    AllowedAccounts List<string>
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    AllowedDatabases List<string>
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    AllowedIntegrationTypes List<string>
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    AllowedShares List<string>
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    FromReplica FailoverGroupFromReplica
    Specifies the name of the replica to use as the source for the failover group.
    IgnoreEditionCheck bool
    Allows replicating objects to accounts on lower editions.
    Name string
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    ObjectTypes List<string>
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    ReplicationSchedule FailoverGroupReplicationSchedule
    Specifies the schedule for refreshing secondary failover groups.
    AllowedAccounts []string
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    AllowedDatabases []string
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    AllowedIntegrationTypes []string
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    AllowedShares []string
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    FromReplica FailoverGroupFromReplicaArgs
    Specifies the name of the replica to use as the source for the failover group.
    IgnoreEditionCheck bool
    Allows replicating objects to accounts on lower editions.
    Name string
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    ObjectTypes []string
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    ReplicationSchedule FailoverGroupReplicationScheduleArgs
    Specifies the schedule for refreshing secondary failover groups.
    allowedAccounts List<String>
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowedDatabases List<String>
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowedIntegrationTypes List<String>
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowedShares List<String>
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    fromReplica FailoverGroupFromReplica
    Specifies the name of the replica to use as the source for the failover group.
    ignoreEditionCheck Boolean
    Allows replicating objects to accounts on lower editions.
    name String
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    objectTypes List<String>
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replicationSchedule FailoverGroupReplicationSchedule
    Specifies the schedule for refreshing secondary failover groups.
    allowedAccounts string[]
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowedDatabases string[]
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowedIntegrationTypes string[]
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowedShares string[]
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    fromReplica FailoverGroupFromReplica
    Specifies the name of the replica to use as the source for the failover group.
    ignoreEditionCheck boolean
    Allows replicating objects to accounts on lower editions.
    name string
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    objectTypes string[]
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replicationSchedule FailoverGroupReplicationSchedule
    Specifies the schedule for refreshing secondary failover groups.
    allowed_accounts Sequence[str]
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowed_databases Sequence[str]
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowed_integration_types Sequence[str]
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowed_shares Sequence[str]
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    from_replica FailoverGroupFromReplicaArgs
    Specifies the name of the replica to use as the source for the failover group.
    ignore_edition_check bool
    Allows replicating objects to accounts on lower editions.
    name str
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    object_types Sequence[str]
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replication_schedule FailoverGroupReplicationScheduleArgs
    Specifies the schedule for refreshing secondary failover groups.
    allowedAccounts List<String>
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowedDatabases List<String>
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowedIntegrationTypes List<String>
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowedShares List<String>
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    fromReplica Property Map
    Specifies the name of the replica to use as the source for the failover group.
    ignoreEditionCheck Boolean
    Allows replicating objects to accounts on lower editions.
    name String
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    objectTypes List<String>
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replicationSchedule Property Map
    Specifies the schedule for refreshing secondary failover groups.

    Outputs

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

    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    id str
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FailoverGroup Resource

    Get an existing FailoverGroup 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?: FailoverGroupState, opts?: CustomResourceOptions): FailoverGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_accounts: Optional[Sequence[str]] = None,
            allowed_databases: Optional[Sequence[str]] = None,
            allowed_integration_types: Optional[Sequence[str]] = None,
            allowed_shares: Optional[Sequence[str]] = None,
            from_replica: Optional[FailoverGroupFromReplicaArgs] = None,
            fully_qualified_name: Optional[str] = None,
            ignore_edition_check: Optional[bool] = None,
            name: Optional[str] = None,
            object_types: Optional[Sequence[str]] = None,
            replication_schedule: Optional[FailoverGroupReplicationScheduleArgs] = None) -> FailoverGroup
    func GetFailoverGroup(ctx *Context, name string, id IDInput, state *FailoverGroupState, opts ...ResourceOption) (*FailoverGroup, error)
    public static FailoverGroup Get(string name, Input<string> id, FailoverGroupState? state, CustomResourceOptions? opts = null)
    public static FailoverGroup get(String name, Output<String> id, FailoverGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    AllowedAccounts List<string>
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    AllowedDatabases List<string>
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    AllowedIntegrationTypes List<string>
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    AllowedShares List<string>
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    FromReplica FailoverGroupFromReplica
    Specifies the name of the replica to use as the source for the failover group.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    IgnoreEditionCheck bool
    Allows replicating objects to accounts on lower editions.
    Name string
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    ObjectTypes List<string>
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    ReplicationSchedule FailoverGroupReplicationSchedule
    Specifies the schedule for refreshing secondary failover groups.
    AllowedAccounts []string
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    AllowedDatabases []string
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    AllowedIntegrationTypes []string
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    AllowedShares []string
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    FromReplica FailoverGroupFromReplicaArgs
    Specifies the name of the replica to use as the source for the failover group.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    IgnoreEditionCheck bool
    Allows replicating objects to accounts on lower editions.
    Name string
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    ObjectTypes []string
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    ReplicationSchedule FailoverGroupReplicationScheduleArgs
    Specifies the schedule for refreshing secondary failover groups.
    allowedAccounts List<String>
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowedDatabases List<String>
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowedIntegrationTypes List<String>
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowedShares List<String>
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    fromReplica FailoverGroupFromReplica
    Specifies the name of the replica to use as the source for the failover group.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    ignoreEditionCheck Boolean
    Allows replicating objects to accounts on lower editions.
    name String
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    objectTypes List<String>
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replicationSchedule FailoverGroupReplicationSchedule
    Specifies the schedule for refreshing secondary failover groups.
    allowedAccounts string[]
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowedDatabases string[]
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowedIntegrationTypes string[]
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowedShares string[]
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    fromReplica FailoverGroupFromReplica
    Specifies the name of the replica to use as the source for the failover group.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    ignoreEditionCheck boolean
    Allows replicating objects to accounts on lower editions.
    name string
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    objectTypes string[]
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replicationSchedule FailoverGroupReplicationSchedule
    Specifies the schedule for refreshing secondary failover groups.
    allowed_accounts Sequence[str]
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowed_databases Sequence[str]
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowed_integration_types Sequence[str]
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowed_shares Sequence[str]
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    from_replica FailoverGroupFromReplicaArgs
    Specifies the name of the replica to use as the source for the failover group.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    ignore_edition_check bool
    Allows replicating objects to accounts on lower editions.
    name str
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    object_types Sequence[str]
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replication_schedule FailoverGroupReplicationScheduleArgs
    Specifies the schedule for refreshing secondary failover groups.
    allowedAccounts List<String>
    Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \n\n.\n\n
    allowedDatabases List<String>
    Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
    allowedIntegrationTypes List<String>
    Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
    allowedShares List<String>
    Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
    fromReplica Property Map
    Specifies the name of the replica to use as the source for the failover group.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    ignoreEditionCheck Boolean
    Allows replicating objects to accounts on lower editions.
    name String
    Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
    objectTypes List<String>
    Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
    replicationSchedule Property Map
    Specifies the schedule for refreshing secondary failover groups.

    Supporting Types

    FailoverGroupFromReplica, FailoverGroupFromReplicaArgs

    Name string
    Identifier for the primary failover group in the source account.
    OrganizationName string
    Name of your Snowflake organization.
    SourceAccountName string
    Source account from which you are enabling replication and failover of the specified objects.
    Name string
    Identifier for the primary failover group in the source account.
    OrganizationName string
    Name of your Snowflake organization.
    SourceAccountName string
    Source account from which you are enabling replication and failover of the specified objects.
    name String
    Identifier for the primary failover group in the source account.
    organizationName String
    Name of your Snowflake organization.
    sourceAccountName String
    Source account from which you are enabling replication and failover of the specified objects.
    name string
    Identifier for the primary failover group in the source account.
    organizationName string
    Name of your Snowflake organization.
    sourceAccountName string
    Source account from which you are enabling replication and failover of the specified objects.
    name str
    Identifier for the primary failover group in the source account.
    organization_name str
    Name of your Snowflake organization.
    source_account_name str
    Source account from which you are enabling replication and failover of the specified objects.
    name String
    Identifier for the primary failover group in the source account.
    organizationName String
    Name of your Snowflake organization.
    sourceAccountName String
    Source account from which you are enabling replication and failover of the specified objects.

    FailoverGroupReplicationSchedule, FailoverGroupReplicationScheduleArgs

    Cron FailoverGroupReplicationScheduleCron
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    Interval int
    Specifies the interval in minutes for the replication schedule. The interval must be greater than 0 and less than 1440 (24 hours).
    Cron FailoverGroupReplicationScheduleCron
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    Interval int
    Specifies the interval in minutes for the replication schedule. The interval must be greater than 0 and less than 1440 (24 hours).
    cron FailoverGroupReplicationScheduleCron
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    interval Integer
    Specifies the interval in minutes for the replication schedule. The interval must be greater than 0 and less than 1440 (24 hours).
    cron FailoverGroupReplicationScheduleCron
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    interval number
    Specifies the interval in minutes for the replication schedule. The interval must be greater than 0 and less than 1440 (24 hours).
    cron FailoverGroupReplicationScheduleCron
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    interval int
    Specifies the interval in minutes for the replication schedule. The interval must be greater than 0 and less than 1440 (24 hours).
    cron Property Map
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    interval Number
    Specifies the interval in minutes for the replication schedule. The interval must be greater than 0 and less than 1440 (24 hours).

    FailoverGroupReplicationScheduleCron, FailoverGroupReplicationScheduleCronArgs

    Expression string
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    TimeZone string
    Specifies the time zone for secondary group refresh.
    Expression string
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    TimeZone string
    Specifies the time zone for secondary group refresh.
    expression String
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    timeZone String
    Specifies the time zone for secondary group refresh.
    expression string
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    timeZone string
    Specifies the time zone for secondary group refresh.
    expression str
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    time_zone str
    Specifies the time zone for secondary group refresh.
    expression String
    Specifies the cron expression for the replication schedule. The cron expression must be in the following format: "minute hour day-of-month month day-of-week". The following values are supported: minute: 0-59 hour: 0-23 day-of-month: 1-31 month: 1-12 day-of-week: 0-6 (0 is Sunday)
    timeZone String
    Specifies the time zone for secondary group refresh.

    Package Details

    Repository
    Snowflake pulumi/pulumi-snowflake
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the snowflake Terraform Provider.
    snowflake logo
    Snowflake v0.61.1 published on Thursday, Nov 14, 2024 by Pulumi