### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.TopologyAssociation"
fullName: "com.microsoft.azure.management.network.TopologyAssociation"
name: "TopologyAssociation"
nameWithType: "TopologyAssociation"
summary: "Resources that have an association with the parent resource."
inheritances:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public class **TopologyAssociation**"
constructors:
- uid: "com.microsoft.azure.management.network.TopologyAssociation.TopologyAssociation()"
fullName: "com.microsoft.azure.management.network.TopologyAssociation.TopologyAssociation()"
name: "TopologyAssociation()"
nameWithType: "TopologyAssociation.TopologyAssociation()"
syntax: "public TopologyAssociation()"
methods:
- uid: "com.microsoft.azure.management.network.TopologyAssociation.associationType()"
fullName: "com.microsoft.azure.management.network.TopologyAssociation.associationType()"
name: "associationType()"
nameWithType: "TopologyAssociation.associationType()"
summary: "Get the association type of the child resource to the parent resource."
syntax: "public AssociationType associationType()"
desc: "Get the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'."
returns:
description: "the associationType value"
type: ""
- uid: "com.microsoft.azure.management.network.TopologyAssociation.name()"
fullName: "com.microsoft.azure.management.network.TopologyAssociation.name()"
name: "name()"
nameWithType: "TopologyAssociation.name()"
summary: "Get the name of the resource that is associated with the parent resource."
syntax: "public String name()"
desc: "Get the name of the resource that is associated with the parent resource."
returns:
description: "the name value"
type: ""
- uid: "com.microsoft.azure.management.network.TopologyAssociation.resourceId()"
fullName: "com.microsoft.azure.management.network.TopologyAssociation.resourceId()"
name: "resourceId()"
nameWithType: "TopologyAssociation.resourceId()"
summary: "Get the ID of the resource that is associated with the parent resource."
syntax: "public String resourceId()"
desc: "Get the ID of the resource that is associated with the parent resource."
returns:
description: "the resourceId value"
type: ""
- uid: "com.microsoft.azure.management.network.TopologyAssociation.withAssociationType(com.microsoft.azure.management.network.AssociationType)"
fullName: "com.microsoft.azure.management.network.TopologyAssociation.withAssociationType(AssociationType associationType)"
name: "withAssociationType(AssociationType associationType)"
nameWithType: "TopologyAssociation.withAssociationType(AssociationType associationType)"
summary: "Set the association type of the child resource to the parent resource."
parameters:
- description: "the associationType value to set"
name: "associationType"
type: ""
syntax: "public TopologyAssociation withAssociationType(AssociationType associationType)"
desc: "Set the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'."
returns:
description: "the TopologyAssociation object itself."
type: ""
- uid: "com.microsoft.azure.management.network.TopologyAssociation.withName(java.lang.String)"
fullName: "com.microsoft.azure.management.network.TopologyAssociation.withName(String name)"
name: "withName(String name)"
nameWithType: "TopologyAssociation.withName(String name)"
summary: "Set the name of the resource that is associated with the parent resource."
parameters:
- description: "the name value to set"
name: "name"
type: ""
syntax: "public TopologyAssociation withName(String name)"
desc: "Set the name of the resource that is associated with the parent resource."
returns:
description: "the TopologyAssociation object itself."
type: ""
- uid: "com.microsoft.azure.management.network.TopologyAssociation.withResourceId(java.lang.String)"
fullName: "com.microsoft.azure.management.network.TopologyAssociation.withResourceId(String resourceId)"
name: "withResourceId(String resourceId)"
nameWithType: "TopologyAssociation.withResourceId(String resourceId)"
summary: "Set the ID of the resource that is associated with the parent resource."
parameters:
- description: "the resourceId value to set"
name: "resourceId"
type: ""
syntax: "public TopologyAssociation withResourceId(String resourceId)"
desc: "Set the ID of the resource that is associated with the parent resource."
returns:
description: "the TopologyAssociation object itself."
type: ""
type: "class"
desc: "Resources that have an association with the parent resource."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4