azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

112 строки
8.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.SubnetAssociation"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation"
name: "SubnetAssociation"
nameWithType: "SubnetAssociation"
summary: "Subnet and it's custom security rules."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **SubnetAssociation**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.SubnetAssociation?alt=com.azure.resourcemanager.network.models.SubnetAssociation&text=SubnetAssociation\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.SubnetAssociation.SubnetAssociation()"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation.SubnetAssociation()"
name: "SubnetAssociation()"
nameWithType: "SubnetAssociation.SubnetAssociation()"
summary: "Creates an instance of Subnet<wbr>Association class."
syntax: "public SubnetAssociation()"
desc: "Creates an instance of SubnetAssociation class."
methods:
- uid: "com.azure.resourcemanager.network.models.SubnetAssociation.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SubnetAssociation.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Subnet<wbr>Association from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static SubnetAssociation fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SubnetAssociation."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SubnetAssociation from the JsonReader."
returns:
description: "An instance of SubnetAssociation if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.SubnetAssociation?alt=com.azure.resourcemanager.network.models.SubnetAssociation&text=SubnetAssociation\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.SubnetAssociation.id()"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation.id()"
name: "id()"
nameWithType: "SubnetAssociation.id()"
summary: "Get the id property: Subnet ID."
syntax: "public String id()"
desc: "Get the id property: Subnet ID."
returns:
description: "the id value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.SubnetAssociation.securityRules()"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation.securityRules()"
name: "securityRules()"
nameWithType: "SubnetAssociation.securityRules()"
summary: "Get the security<wbr>Rules property: Collection of custom security rules."
syntax: "public List<SecurityRuleInner> securityRules()"
desc: "Get the securityRules property: Collection of custom security rules."
returns:
description: "the securityRules value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.fluent.models.SecurityRuleInner?alt=com.azure.resourcemanager.network.fluent.models.SecurityRuleInner&text=SecurityRuleInner\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.SubnetAssociation.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SubnetAssociation.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.SubnetAssociation.validate()"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation.validate()"
name: "validate()"
nameWithType: "SubnetAssociation.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.SubnetAssociation.withSecurityRules(java.util.List<com.azure.resourcemanager.network.fluent.models.SecurityRuleInner>)"
fullName: "com.azure.resourcemanager.network.models.SubnetAssociation.withSecurityRules(List<SecurityRuleInner> securityRules)"
name: "withSecurityRules(List<SecurityRuleInner> securityRules)"
nameWithType: "SubnetAssociation.withSecurityRules(List<SecurityRuleInner> securityRules)"
summary: "Set the security<wbr>Rules property: Collection of custom security rules."
parameters:
- description: "the securityRules value to set."
name: "securityRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.fluent.models.SecurityRuleInner?alt=com.azure.resourcemanager.network.fluent.models.SecurityRuleInner&text=SecurityRuleInner\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public SubnetAssociation withSecurityRules(List<SecurityRuleInner> securityRules)"
desc: "Set the securityRules property: Collection of custom security rules."
returns:
description: "the SubnetAssociation object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.SubnetAssociation?alt=com.azure.resourcemanager.network.models.SubnetAssociation&text=SubnetAssociation\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Subnet and it's custom security rules."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.SubnetAssociation?alt=com.azure.resourcemanager.network.models.SubnetAssociation&text=SubnetAssociation\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0