VMware Cloud Director API - SiteAssociations

VMware Cloud Director API - SiteAssociations

SiteAssociationsType

Element:
SiteAssociations
Type:
SiteAssociationsType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Container for SiteAssociationType
Since:
29.0
Schema:
multiSite.xsd
Media type(s):
application/vnd.vmware.admin.siteAssociations+json
application/vnd.vmware.admin.siteAssociations+xml
Extends:
ResourceType
XML Representation:
<SiteAssociations xmlns="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string">
    <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string" model="xs:string"/>
    <SiteAssociationMember href="xs:anyURI" type="xs:string" id="xs:string" operationKey="xs:string"
            name="xs:string">
        <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
                rel="xs:string" model="xs:string"/>
        <Description> xs:string </Description>
        <Tasks>
            <Task href="xs:anyURI" type="xs:string" id="xs:string" operationKey="xs:string"
                    name="xs:string" status="xs:string" operation="xs:string" operationName="xs:string"
                    serviceNamespace="xs:string" startTime="xs:dateTime" endTime="xs:dateTime" expiryTime="xs:dateTime"
                    cancelRequested="xs:boolean">
                <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
                        rel="xs:string" model="xs:string"/>
                <Description> xs:string </Description>
                <Tasks> TasksInProgressType </Tasks>
                <Owner href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
                <Error stackTrace="xs:string" message="xs:string" majorErrorCode="xs:int" minorErrorCode="xs:string"
                        vendorSpecificErrorCode="xs:string">
                    <TenantError message="xs:string" majorErrorCode="xs:int" minorErrorCode="xs:string" vendorSpecificErrorCode="xs:string"/>
                </Error>
                <User href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
                <Organization href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
                <Progress> xs:int </Progress>
                <Params> ... </Params>
                <Details> xs:string </Details>
                <VcTaskList>
                    <VcTask name="xs:string" moref="xs:string" status="xs:string" description="xs:string"
                            errorMessage="xs:string" objectName="xs:string" objectType="xs:string" objectMoref="xs:string"
                            virtualCenterID="xs:string" startTime="xs:dateTime" endTime="xs:dateTime"/>
                </VcTaskList>
                <Result>
                    <ResultContent> ... </ResultContent>
                    <ResultReference href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
                </Result>
            </Task>
        </Tasks>
        <RestEndpoint> xs:anyURI </RestEndpoint>
        <BaseUiEndpoint> xs:anyURI </BaseUiEndpoint>
        <TenantUiEndpoint> xs:anyURI </TenantUiEndpoint>
        <RestEndpointCertificate> xs:string </RestEndpointCertificate>
        <SiteId> xs:string </SiteId>
        <SiteName> xs:string </SiteName>
        <PublicKey> xs:string </PublicKey>
        <Status> xs:string </Status>
    </SiteAssociationMember>
</SiteAssociations>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
href anyURI No always 29.0 The URI of the entity.
type string No always 29.0 The MIME type of the entity.

Elements

Element Type Required Modifiable Since Deprecated Description
Link LinkType No none 29.0 A reference to an entity or operation associated with this object.
SiteAssociationMember SiteAssociationType No none 29.0 A reference to a SiteAssociationType object.
VCloudExtension VCloudExtensionType No always 29.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
read GET /site/associations Get the {@link SiteAssociationsType} for this site.
as input PUT /site/associations Update the site's list of associated sites PUT /api/site/associations