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

119 строки
9.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus"
name: "SubResourceWithColocationStatus"
nameWithType: "SubResourceWithColocationStatus"
summary: "The Sub<wbr>Resource<wbr>With<wbr>Colocation<wbr>Status model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.SubResource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.SubResource.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.management.SubResource.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.SubResource.id()?alt=com.azure.core.management.SubResource.id&text=id\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.SubResource.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.management.SubResource.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.SubResource.withId(java.lang.String)?alt=com.azure.core.management.SubResource.withId&text=withId\" 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 **SubResourceWithColocationStatus**</br> extends <xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.SubResourceWithColocationStatus()"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.SubResourceWithColocationStatus()"
name: "SubResourceWithColocationStatus()"
nameWithType: "SubResourceWithColocationStatus.SubResourceWithColocationStatus()"
summary: "Creates an instance of Sub<wbr>Resource<wbr>With<wbr>Colocation<wbr>Status class."
syntax: "public SubResourceWithColocationStatus()"
desc: "Creates an instance of SubResourceWithColocationStatus class."
methods:
- uid: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.colocationStatus()"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.colocationStatus()"
name: "colocationStatus()"
nameWithType: "SubResourceWithColocationStatus.colocationStatus()"
summary: "Get the colocation<wbr>Status property: Describes colocation status of a resource in the Proximity Placement Group."
syntax: "public InstanceViewStatus colocationStatus()"
desc: "Get the colocationStatus property: Describes colocation status of a resource in the Proximity Placement Group."
returns:
description: "the colocationStatus value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.InstanceViewStatus?alt=com.azure.resourcemanager.compute.models.InstanceViewStatus&text=InstanceViewStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SubResourceWithColocationStatus.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Sub<wbr>Resource<wbr>With<wbr>Colocation<wbr>Status 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 SubResourceWithColocationStatus fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SubResourceWithColocationStatus."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SubResourceWithColocationStatus from the JsonReader."
returns:
description: "An instance of SubResourceWithColocationStatus if the JsonReader was pointing to an instance of it, or\n null if it was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus?alt=com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus&text=SubResourceWithColocationStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SubResourceWithColocationStatus.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.core.management.SubResource.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.compute.models.SubResourceWithColocationStatus.validate()"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.validate()"
name: "validate()"
nameWithType: "SubResourceWithColocationStatus.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.withColocationStatus(com.azure.resourcemanager.compute.models.InstanceViewStatus)"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.withColocationStatus(InstanceViewStatus colocationStatus)"
name: "withColocationStatus(InstanceViewStatus colocationStatus)"
nameWithType: "SubResourceWithColocationStatus.withColocationStatus(InstanceViewStatus colocationStatus)"
summary: "Set the colocation<wbr>Status property: Describes colocation status of a resource in the Proximity Placement Group."
parameters:
- description: "the colocationStatus value to set."
name: "colocationStatus"
type: "<xref href=\"com.azure.resourcemanager.compute.models.InstanceViewStatus?alt=com.azure.resourcemanager.compute.models.InstanceViewStatus&text=InstanceViewStatus\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SubResourceWithColocationStatus withColocationStatus(InstanceViewStatus colocationStatus)"
desc: "Set the colocationStatus property: Describes colocation status of a resource in the Proximity Placement Group."
returns:
description: "the SubResourceWithColocationStatus object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus?alt=com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus&text=SubResourceWithColocationStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.withId(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus.withId(String id)"
name: "withId(String id)"
nameWithType: "SubResourceWithColocationStatus.withId(String id)"
overridden: "com.azure.core.management.SubResource.withId(java.lang.String)"
parameters:
- name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SubResourceWithColocationStatus withId(String id)"
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus?alt=com.azure.resourcemanager.compute.models.SubResourceWithColocationStatus&text=SubResourceWithColocationStatus\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The SubResourceWithColocationStatus model."
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0