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

171 строка
12 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy"
name: "NetworkIntentPolicy"
nameWithType: "NetworkIntentPolicy"
summary: "Network Intent Policy resource."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.management.ProxyResource?alt=com.azure.core.management.ProxyResource&text=ProxyResource\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.ProxyResource.id()?alt=com.azure.core.management.ProxyResource.id&text=id\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource.name()?alt=com.azure.core.management.ProxyResource.name&text=name\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource.type()?alt=com.azure.core.management.ProxyResource.type&text=type\" data-throw-if-not-resolved=\"False\" />"
- classRef: "<xref href=\"com.azure.core.management.Resource?alt=com.azure.core.management.Resource&text=Resource\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.Resource.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.management.Resource.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.location()?alt=com.azure.core.management.Resource.location&text=location\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.tags()?alt=com.azure.core.management.Resource.tags&text=tags\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.management.Resource.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.withLocation(java.lang.String)?alt=com.azure.core.management.Resource.withLocation&text=withLocation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.withTags(java.util.Map<java.lang.String,java.lang.String>)?alt=com.azure.core.management.Resource.withTags&text=withTags\" data-throw-if-not-resolved=\"False\" />"
- 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 **NetworkIntentPolicy**</br> extends <xref href=\"com.azure.core.management.Resource?alt=com.azure.core.management.Resource&text=Resource\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.NetworkIntentPolicy()"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.NetworkIntentPolicy()"
name: "NetworkIntentPolicy()"
nameWithType: "NetworkIntentPolicy.NetworkIntentPolicy()"
summary: "Creates an instance of Network<wbr>Intent<wbr>Policy class."
syntax: "public NetworkIntentPolicy()"
desc: "Creates an instance of NetworkIntentPolicy class."
methods:
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.etag()"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.etag()"
name: "etag()"
nameWithType: "NetworkIntentPolicy.etag()"
summary: "Get the etag property: A unique read-only string that changes whenever the resource is updated."
syntax: "public String etag()"
desc: "Get the etag property: A unique read-only string that changes whenever the resource is updated."
returns:
description: "the etag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "NetworkIntentPolicy.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Network<wbr>Intent<wbr>Policy 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 NetworkIntentPolicy fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of NetworkIntentPolicy from the JsonReader."
returns:
description: "An instance of NetworkIntentPolicy 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.NetworkIntentPolicy?alt=com.azure.resourcemanager.network.models.NetworkIntentPolicy&text=NetworkIntentPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.id()"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.id()"
name: "id()"
nameWithType: "NetworkIntentPolicy.id()"
summary: "Get the id property: Resource ID."
overridden: "com.azure.core.management.ProxyResource.id()"
syntax: "public String id()"
desc: "Get the id property: Resource 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.NetworkIntentPolicy.name()"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.name()"
name: "name()"
nameWithType: "NetworkIntentPolicy.name()"
summary: "Get the name property: The name of the resource."
overridden: "com.azure.core.management.ProxyResource.name()"
syntax: "public String name()"
desc: "Get the name property: The name of the resource."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "NetworkIntentPolicy.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.core.management.Resource.toJson(com.azure.json.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.NetworkIntentPolicy.type()"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.type()"
name: "type()"
nameWithType: "NetworkIntentPolicy.type()"
summary: "Get the type property: The type of the resource."
overridden: "com.azure.core.management.ProxyResource.type()"
syntax: "public String type()"
desc: "Get the type property: The type of the resource."
returns:
description: "the type value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.validate()"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.validate()"
name: "validate()"
nameWithType: "NetworkIntentPolicy.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.withId(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.withId(String id)"
name: "withId(String id)"
nameWithType: "NetworkIntentPolicy.withId(String id)"
summary: "Set the id property: Resource ID."
parameters:
- description: "the id value to set."
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public NetworkIntentPolicy withId(String id)"
desc: "Set the id property: Resource ID."
returns:
description: "the NetworkIntentPolicy object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.NetworkIntentPolicy?alt=com.azure.resourcemanager.network.models.NetworkIntentPolicy&text=NetworkIntentPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.withLocation(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.withLocation(String location)"
name: "withLocation(String location)"
nameWithType: "NetworkIntentPolicy.withLocation(String location)"
overridden: "com.azure.core.management.Resource.withLocation(java.lang.String)"
parameters:
- name: "location"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public NetworkIntentPolicy withLocation(String location)"
returns:
type: "<xref href=\"com.azure.resourcemanager.network.models.NetworkIntentPolicy?alt=com.azure.resourcemanager.network.models.NetworkIntentPolicy&text=NetworkIntentPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.withTags(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.NetworkIntentPolicy.withTags(Map<String,String> tags)"
name: "withTags(Map<String,String> tags)"
nameWithType: "NetworkIntentPolicy.withTags(Map<String,String> tags)"
overridden: "com.azure.core.management.Resource.withTags(java.util.Map<java.lang.String,java.lang.String>)"
parameters:
- name: "tags"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public NetworkIntentPolicy withTags(Map<String,String> tags)"
returns:
type: "<xref href=\"com.azure.resourcemanager.network.models.NetworkIntentPolicy?alt=com.azure.resourcemanager.network.models.NetworkIntentPolicy&text=NetworkIntentPolicy\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Network Intent Policy resource."
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0