vcd.MultisiteSiteAssociation
Explore with Pulumi AI
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:
- Association
Data string - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - Association
Data stringFile - 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 sourcevcd.getMultisiteSiteData
. - Connection
Timeout doubleMins - 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 stringAssociation Id
- Association
Data string - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - Association
Data stringFile - 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 sourcevcd.getMultisiteSiteData
. - Connection
Timeout float64Mins - 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 stringAssociation Id
- association
Data String - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - association
Data StringFile - 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 sourcevcd.getMultisiteSiteData
. - connection
Timeout DoubleMins - 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 StringAssociation Id
- association
Data string - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - association
Data stringFile - 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 sourcevcd.getMultisiteSiteData
. - connection
Timeout numberMins - 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 stringAssociation Id
- 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_ strfile - 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 sourcevcd.getMultisiteSiteData
. - connection_
timeout_ floatmins - 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_ strassociation_ id
- association
Data String - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - association
Data StringFile - 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 sourcevcd.getMultisiteSiteData
. - connection
Timeout NumberMins - 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 StringAssociation Id
Outputs
All input properties are implicitly available as output properties. Additionally, the MultisiteSiteAssociation resource produces the following output properties:
- Associated
Site stringHref - URL of the associated site
- Associated
Site stringId - ID of the remote site associated with the current one.
- Associated
Site stringName - 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 stringHref - URL of the associated site
- Associated
Site stringId - ID of the remote site associated with the current one.
- Associated
Site stringName - 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 StringHref - URL of the associated site
- associated
Site StringId - ID of the remote site associated with the current one.
- associated
Site StringName - 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 stringHref - URL of the associated site
- associated
Site stringId - ID of the remote site associated with the current one.
- associated
Site stringName - 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_ strhref - URL of the associated site
- associated_
site_ strid - ID of the remote site associated with the current one.
- associated_
site_ strname - 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
)
- associated
Site StringHref - URL of the associated site
- associated
Site StringId - ID of the remote site associated with the current one.
- associated
Site StringName - 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.
- Associated
Site stringHref - URL of the associated site
- Associated
Site stringId - ID of the remote site associated with the current one.
- Associated
Site stringName - The name of the associated site.
- Association
Data string - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - Association
Data stringFile - 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 sourcevcd.getMultisiteSiteData
. - Connection
Timeout doubleMins - 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 stringAssociation Id - Status string
- The status of the association (one of
ASYMMETRIC
,ACTIVE
,UNREACHABLE
,ERROR
)
- Associated
Site stringHref - URL of the associated site
- Associated
Site stringId - ID of the remote site associated with the current one.
- Associated
Site stringName - The name of the associated site.
- Association
Data string - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - Association
Data stringFile - 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 sourcevcd.getMultisiteSiteData
. - Connection
Timeout float64Mins - 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 stringAssociation Id - Status string
- The status of the association (one of
ASYMMETRIC
,ACTIVE
,UNREACHABLE
,ERROR
)
- associated
Site StringHref - URL of the associated site
- associated
Site StringId - ID of the remote site associated with the current one.
- associated
Site StringName - The name of the associated site.
- association
Data String - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - association
Data StringFile - 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 sourcevcd.getMultisiteSiteData
. - connection
Timeout DoubleMins - 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 StringAssociation Id - status String
- The status of the association (one of
ASYMMETRIC
,ACTIVE
,UNREACHABLE
,ERROR
)
- associated
Site stringHref - URL of the associated site
- associated
Site stringId - ID of the remote site associated with the current one.
- associated
Site stringName - The name of the associated site.
- association
Data string - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - association
Data stringFile - 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 sourcevcd.getMultisiteSiteData
. - connection
Timeout numberMins - 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 stringAssociation Id - status string
- The status of the association (one of
ASYMMETRIC
,ACTIVE
,UNREACHABLE
,ERROR
)
- associated_
site_ strhref - URL of the associated site
- associated_
site_ strid - ID of the remote site associated with the current one.
- associated_
site_ strname - 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_ strfile - 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 sourcevcd.getMultisiteSiteData
. - connection_
timeout_ floatmins - 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_ strassociation_ id - status str
- The status of the association (one of
ASYMMETRIC
,ACTIVE
,UNREACHABLE
,ERROR
)
- associated
Site StringHref - URL of the associated site
- associated
Site StringId - ID of the remote site associated with the current one.
- associated
Site StringName - The name of the associated site.
- association
Data String - Data produced from another site, needed to associate to this site from another one.
(Used instead of
associated_data_file
) - association
Data StringFile - 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 sourcevcd.getMultisiteSiteData
. - connection
Timeout NumberMins - 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 StringAssociation Id - 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.