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

126 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties"
name: "ReservationMergeProperties"
nameWithType: "ReservationMergeProperties"
summary: "Properties of reservation merge."
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 **ReservationMergeProperties**</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.billing.models.ReservationMergeProperties?alt=com.azure.resourcemanager.billing.models.ReservationMergeProperties&text=ReservationMergeProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.ReservationMergeProperties()"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.ReservationMergeProperties()"
name: "ReservationMergeProperties()"
nameWithType: "ReservationMergeProperties.ReservationMergeProperties()"
summary: "Creates an instance of Reservation<wbr>Merge<wbr>Properties class."
syntax: "public ReservationMergeProperties()"
desc: "Creates an instance of ReservationMergeProperties class."
methods:
- uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ReservationMergeProperties.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Reservation<wbr>Merge<wbr>Properties 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 ReservationMergeProperties fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ReservationMergeProperties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ReservationMergeProperties from the JsonReader."
returns:
description: "An instance of ReservationMergeProperties if the JsonReader was pointing to an instance of it, or null if\n it was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.billing.models.ReservationMergeProperties?alt=com.azure.resourcemanager.billing.models.ReservationMergeProperties&text=ReservationMergeProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.mergeDestination()"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.mergeDestination()"
name: "mergeDestination()"
nameWithType: "ReservationMergeProperties.mergeDestination()"
summary: "Get the merge<wbr>Destination property: Reservation resource id Created due to the merge."
syntax: "public String mergeDestination()"
desc: "Get the mergeDestination property: Reservation resource id Created due to the merge. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/\\{reservationOrderId\\}/reservations/\\{reservationId\\}."
returns:
description: "the mergeDestination value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.mergeSources()"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.mergeSources()"
name: "mergeSources()"
nameWithType: "ReservationMergeProperties.mergeSources()"
summary: "Get the merge<wbr>Sources property: Resource ids of the source reservation's merged to form this reservation."
syntax: "public List<String> mergeSources()"
desc: "Get the mergeSources property: Resource ids of the source reservation's merged to form this reservation. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/\\{reservationOrderId\\}/reservations/\\{reservationId\\}."
returns:
description: "the mergeSources value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ReservationMergeProperties.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.billing.models.ReservationMergeProperties.validate()"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.validate()"
name: "validate()"
nameWithType: "ReservationMergeProperties.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.withMergeDestination(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.withMergeDestination(String mergeDestination)"
name: "withMergeDestination(String mergeDestination)"
nameWithType: "ReservationMergeProperties.withMergeDestination(String mergeDestination)"
summary: "Set the merge<wbr>Destination property: Reservation resource id Created due to the merge."
parameters:
- description: "the mergeDestination value to set."
name: "mergeDestination"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ReservationMergeProperties withMergeDestination(String mergeDestination)"
desc: "Set the mergeDestination property: Reservation resource id Created due to the merge. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/\\{reservationOrderId\\}/reservations/\\{reservationId\\}."
returns:
description: "the ReservationMergeProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.billing.models.ReservationMergeProperties?alt=com.azure.resourcemanager.billing.models.ReservationMergeProperties&text=ReservationMergeProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.withMergeSources(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.billing.models.ReservationMergeProperties.withMergeSources(List<String> mergeSources)"
name: "withMergeSources(List<String> mergeSources)"
nameWithType: "ReservationMergeProperties.withMergeSources(List<String> mergeSources)"
summary: "Set the merge<wbr>Sources property: Resource ids of the source reservation's merged to form this reservation."
parameters:
- description: "the mergeSources value to set."
name: "mergeSources"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public ReservationMergeProperties withMergeSources(List<String> mergeSources)"
desc: "Set the mergeSources property: Resource ids of the source reservation's merged to form this reservation. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/\\{reservationOrderId\\}/reservations/\\{reservationId\\}."
returns:
description: "the ReservationMergeProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.billing.models.ReservationMergeProperties?alt=com.azure.resourcemanager.billing.models.ReservationMergeProperties&text=ReservationMergeProperties\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Properties of reservation merge."
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.billing.models.ReservationMergeProperties?alt=com.azure.resourcemanager.billing.models.ReservationMergeProperties&text=ReservationMergeProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.billing.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-billing:1.0.0