1. Packages
  2. Vcd Provider
  3. API Docs
  4. MultisiteSiteAssociation
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.MultisiteSiteAssociation

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Create MultisiteSiteAssociation Resource

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

    Constructor syntax

    new MultisiteSiteAssociation(name: string, args?: MultisiteSiteAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def MultisiteSiteAssociation(resource_name: str,
                                 args: Optional[MultisiteSiteAssociationArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def MultisiteSiteAssociation(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 association_data: Optional[str] = None,
                                 association_data_file: Optional[str] = None,
                                 connection_timeout_mins: Optional[float] = None,
                                 multisite_site_association_id: Optional[str] = None)
    func NewMultisiteSiteAssociation(ctx *Context, name string, args *MultisiteSiteAssociationArgs, opts ...ResourceOption) (*MultisiteSiteAssociation, error)
    public MultisiteSiteAssociation(string name, MultisiteSiteAssociationArgs? args = null, CustomResourceOptions? opts = null)
    public MultisiteSiteAssociation(String name, MultisiteSiteAssociationArgs args)
    public MultisiteSiteAssociation(String name, MultisiteSiteAssociationArgs args, CustomResourceOptions options)
    
    type: vcd:MultisiteSiteAssociation
    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 MultisiteSiteAssociationArgs
    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 MultisiteSiteAssociationArgs
    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 MultisiteSiteAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MultisiteSiteAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MultisiteSiteAssociationArgs
    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 multisiteSiteAssociationResource = new Vcd.MultisiteSiteAssociation("multisiteSiteAssociationResource", new()
    {
        AssociationData = "string",
        AssociationDataFile = "string",
        ConnectionTimeoutMins = 0,
        MultisiteSiteAssociationId = "string",
    });
    
    example, err := vcd.NewMultisiteSiteAssociation(ctx, "multisiteSiteAssociationResource", &vcd.MultisiteSiteAssociationArgs{
    	AssociationData:            pulumi.String("string"),
    	AssociationDataFile:        pulumi.String("string"),
    	ConnectionTimeoutMins:      pulumi.Float64(0),
    	MultisiteSiteAssociationId: pulumi.String("string"),
    })
    
    var multisiteSiteAssociationResource = new MultisiteSiteAssociation("multisiteSiteAssociationResource", MultisiteSiteAssociationArgs.builder()
        .associationData("string")
        .associationDataFile("string")
        .connectionTimeoutMins(0)
        .multisiteSiteAssociationId("string")
        .build());
    
    multisite_site_association_resource = vcd.MultisiteSiteAssociation("multisiteSiteAssociationResource",
        association_data="string",
        association_data_file="string",
        connection_timeout_mins=0,
        multisite_site_association_id="string")
    
    const multisiteSiteAssociationResource = new vcd.MultisiteSiteAssociation("multisiteSiteAssociationResource", {
        associationData: "string",
        associationDataFile: "string",
        connectionTimeoutMins: 0,
        multisiteSiteAssociationId: "string",
    });
    
    type: vcd:MultisiteSiteAssociation
    properties:
        associationData: string
        associationDataFile: string
        connectionTimeoutMins: 0
        multisiteSiteAssociationId: string
    

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

    AssociationData string
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    AssociationDataFile string
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    ConnectionTimeoutMins double
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    MultisiteSiteAssociationId string
    AssociationData string
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    AssociationDataFile string
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    ConnectionTimeoutMins float64
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    MultisiteSiteAssociationId string
    associationData String
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    associationDataFile String
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connectionTimeoutMins Double
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisiteSiteAssociationId String
    associationData string
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    associationDataFile string
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connectionTimeoutMins number
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisiteSiteAssociationId string
    association_data str
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    association_data_file str
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connection_timeout_mins float
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisite_site_association_id str
    associationData String
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    associationDataFile String
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connectionTimeoutMins Number
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisiteSiteAssociationId String

    Outputs

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

    AssociatedSiteHref string
    URL of the associated site
    AssociatedSiteId string
    ID of the remote site associated with the current one.
    AssociatedSiteName string
    The name of the associated site.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    AssociatedSiteHref string
    URL of the associated site
    AssociatedSiteId string
    ID of the remote site associated with the current one.
    AssociatedSiteName string
    The name of the associated site.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associatedSiteHref String
    URL of the associated site
    associatedSiteId String
    ID of the remote site associated with the current one.
    associatedSiteName String
    The name of the associated site.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associatedSiteHref string
    URL of the associated site
    associatedSiteId string
    ID of the remote site associated with the current one.
    associatedSiteName string
    The name of the associated site.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associated_site_href str
    URL of the associated site
    associated_site_id str
    ID of the remote site associated with the current one.
    associated_site_name str
    The name of the associated site.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associatedSiteHref String
    URL of the associated site
    associatedSiteId String
    ID of the remote site associated with the current one.
    associatedSiteName String
    The name of the associated site.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)

    Look up Existing MultisiteSiteAssociation Resource

    Get an existing MultisiteSiteAssociation 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?: MultisiteSiteAssociationState, opts?: CustomResourceOptions): MultisiteSiteAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            associated_site_href: Optional[str] = None,
            associated_site_id: Optional[str] = None,
            associated_site_name: Optional[str] = None,
            association_data: Optional[str] = None,
            association_data_file: Optional[str] = None,
            connection_timeout_mins: Optional[float] = None,
            multisite_site_association_id: Optional[str] = None,
            status: Optional[str] = None) -> MultisiteSiteAssociation
    func GetMultisiteSiteAssociation(ctx *Context, name string, id IDInput, state *MultisiteSiteAssociationState, opts ...ResourceOption) (*MultisiteSiteAssociation, error)
    public static MultisiteSiteAssociation Get(string name, Input<string> id, MultisiteSiteAssociationState? state, CustomResourceOptions? opts = null)
    public static MultisiteSiteAssociation get(String name, Output<String> id, MultisiteSiteAssociationState state, CustomResourceOptions options)
    resources:  _:    type: vcd:MultisiteSiteAssociation    get:      id: ${id}
    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:
    AssociatedSiteHref string
    URL of the associated site
    AssociatedSiteId string
    ID of the remote site associated with the current one.
    AssociatedSiteName string
    The name of the associated site.
    AssociationData string
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    AssociationDataFile string
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    ConnectionTimeoutMins double
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    MultisiteSiteAssociationId string
    Status string
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    AssociatedSiteHref string
    URL of the associated site
    AssociatedSiteId string
    ID of the remote site associated with the current one.
    AssociatedSiteName string
    The name of the associated site.
    AssociationData string
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    AssociationDataFile string
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    ConnectionTimeoutMins float64
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    MultisiteSiteAssociationId string
    Status string
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associatedSiteHref String
    URL of the associated site
    associatedSiteId String
    ID of the remote site associated with the current one.
    associatedSiteName String
    The name of the associated site.
    associationData String
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    associationDataFile String
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connectionTimeoutMins Double
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisiteSiteAssociationId String
    status String
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associatedSiteHref string
    URL of the associated site
    associatedSiteId string
    ID of the remote site associated with the current one.
    associatedSiteName string
    The name of the associated site.
    associationData string
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    associationDataFile string
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connectionTimeoutMins number
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisiteSiteAssociationId string
    status string
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associated_site_href str
    URL of the associated site
    associated_site_id str
    ID of the remote site associated with the current one.
    associated_site_name str
    The name of the associated site.
    association_data str
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    association_data_file str
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connection_timeout_mins float
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisite_site_association_id str
    status str
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)
    associatedSiteHref String
    URL of the associated site
    associatedSiteId String
    ID of the remote site associated with the current one.
    associatedSiteName String
    The name of the associated site.
    associationData String
    Data produced from another site, needed to associate to this site from another one. (Used instead of associated_data_file)
    associationDataFile String
    Name of the file containing the data used to associate to this site from another one. (Used instead of associated_data). This file can be created (by the other site administrator) using the data source vcd.getMultisiteSiteData.
    connectionTimeoutMins Number
    How many minutes we wait for the association to be complete. (0 = no check) This property is only used during update, and should not be used until both sides of the association have been completed.
    multisiteSiteAssociationId String
    status String
    The status of the association (one of ASYMMETRIC, ACTIVE, UNREACHABLE, ERROR)

    Package Details

    Repository
    vcd vmware/terraform-provider-vcd
    License
    Notes
    This Pulumi package is based on the vcd Terraform Provider.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware