TopologyAssociation Class
- java.
lang. Object - com.
microsoft. azure. management. network. TopologyAssociation
- com.
public class TopologyAssociation
Resources that have an association with the parent resource.
Constructor Summary
Constructor | Description | |
---|---|---|
TopologyAssociation() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Association |
associationType()
Get the association type of the child resource to the parent resource. |
java.lang.String |
name()
Get the name of the resource that is associated with the parent resource. |
java.lang.String |
resourceId()
Get the ID of the resource that is associated with the parent resource. |
Topology |
withAssociationType(AssociationType associationType)
Set the association type of the child resource to the parent resource. |
Topology |
withName(String name)
Set the name of the resource that is associated with the parent resource. |
Topology |
withResourceId(String resourceId)
Set the ID of the resource that is associated with the parent resource. |
Methods inherited from java.lang.Object
Constructor Details
TopologyAssociation
public TopologyAssociation()
Method Details
associationType
public AssociationType associationType()
Get the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'.
Returns:
name
public String name()
Get the name of the resource that is associated with the parent resource.
Returns:
resourceId
public String resourceId()
Get the ID of the resource that is associated with the parent resource.
Returns:
withAssociationType
public TopologyAssociation withAssociationType(AssociationType associationType)
Set the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'.
Parameters:
Returns:
withName
public TopologyAssociation withName(String name)
Set the name of the resource that is associated with the parent resource.
Parameters:
Returns:
withResourceId
public TopologyAssociation withResourceId(String resourceId)
Set the ID of the resource that is associated with the parent resource.
Parameters:
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per