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

150 строки
9.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.resources.models.TargetResource"
fullName: "com.azure.resourcemanager.resources.models.TargetResource"
name: "TargetResource"
nameWithType: "TargetResource"
summary: "Target resource."
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 **TargetResource**</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.resources.models.TargetResource?alt=com.azure.resourcemanager.resources.models.TargetResource&text=TargetResource\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.resources.models.TargetResource.TargetResource()"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.TargetResource()"
name: "TargetResource()"
nameWithType: "TargetResource.TargetResource()"
summary: "Creates an instance of Target<wbr>Resource class."
syntax: "public TargetResource()"
desc: "Creates an instance of TargetResource class."
methods:
- uid: "com.azure.resourcemanager.resources.models.TargetResource.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "TargetResource.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Target<wbr>Resource 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 TargetResource fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the TargetResource."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of TargetResource from the JsonReader."
returns:
description: "An instance of TargetResource 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.resources.models.TargetResource?alt=com.azure.resourcemanager.resources.models.TargetResource&text=TargetResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.TargetResource.id()"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.id()"
name: "id()"
nameWithType: "TargetResource.id()"
summary: "Get the id property: The ID of the resource."
syntax: "public String id()"
desc: "Get the id property: The ID of the resource."
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.resources.models.TargetResource.resourceName()"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.resourceName()"
name: "resourceName()"
nameWithType: "TargetResource.resourceName()"
summary: "Get the resource<wbr>Name property: The name of the resource."
syntax: "public String resourceName()"
desc: "Get the resourceName property: The name of the resource."
returns:
description: "the resourceName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.resources.models.TargetResource.resourceType()"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.resourceType()"
name: "resourceType()"
nameWithType: "TargetResource.resourceType()"
summary: "Get the resource<wbr>Type property: The type of the resource."
syntax: "public String resourceType()"
desc: "Get the resourceType property: The type of the resource."
returns:
description: "the resourceType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.resources.models.TargetResource.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "TargetResource.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.resources.models.TargetResource.validate()"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.validate()"
name: "validate()"
nameWithType: "TargetResource.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.resources.models.TargetResource.withId(java.lang.String)"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.withId(String id)"
name: "withId(String id)"
nameWithType: "TargetResource.withId(String id)"
summary: "Set the id property: The ID of the resource."
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 TargetResource withId(String id)"
desc: "Set the id property: The ID of the resource."
returns:
description: "the TargetResource object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.TargetResource?alt=com.azure.resourcemanager.resources.models.TargetResource&text=TargetResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.TargetResource.withResourceName(java.lang.String)"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.withResourceName(String resourceName)"
name: "withResourceName(String resourceName)"
nameWithType: "TargetResource.withResourceName(String resourceName)"
summary: "Set the resource<wbr>Name property: The name of the resource."
parameters:
- description: "the resourceName value to set."
name: "resourceName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TargetResource withResourceName(String resourceName)"
desc: "Set the resourceName property: The name of the resource."
returns:
description: "the TargetResource object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.TargetResource?alt=com.azure.resourcemanager.resources.models.TargetResource&text=TargetResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.TargetResource.withResourceType(java.lang.String)"
fullName: "com.azure.resourcemanager.resources.models.TargetResource.withResourceType(String resourceType)"
name: "withResourceType(String resourceType)"
nameWithType: "TargetResource.withResourceType(String resourceType)"
summary: "Set the resource<wbr>Type property: The type of the resource."
parameters:
- description: "the resourceType value to set."
name: "resourceType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TargetResource withResourceType(String resourceType)"
desc: "Set the resourceType property: The type of the resource."
returns:
description: "the TargetResource object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.TargetResource?alt=com.azure.resourcemanager.resources.models.TargetResource&text=TargetResource\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Target resource."
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.resources.models.TargetResource?alt=com.azure.resourcemanager.resources.models.TargetResource&text=TargetResource\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.resources.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.44.0