azure-docs-sdk-java/docs-ref-autogen/com.azure.monitor.query.mod...

262 строки
16 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.monitor.query.models.QueryTimeInterval"
fullName: "com.azure.monitor.query.models.QueryTimeInterval"
name: "QueryTimeInterval"
nameWithType: "QueryTimeInterval"
summary: "Class to represent a time interval."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class QueryTimeInterval"
constructors:
- uid: "com.azure.monitor.query.models.QueryTimeInterval.QueryTimeInterval(java.time.Duration)"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.QueryTimeInterval(Duration duration)"
name: "QueryTimeInterval(Duration duration)"
nameWithType: "QueryTimeInterval.QueryTimeInterval(Duration duration)"
summary: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> using the provided duration."
parameters:
- description: "the duration for this query time span."
name: "duration"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public QueryTimeInterval(Duration duration)"
desc: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> using the provided duration. The duration is the interval that starts from the provided duration and ends at the current time."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.QueryTimeInterval(java.time.OffsetDateTime,java.time.Duration)"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.QueryTimeInterval(OffsetDateTime startTime, Duration duration)"
name: "QueryTimeInterval(OffsetDateTime startTime, Duration duration)"
nameWithType: "QueryTimeInterval.QueryTimeInterval(OffsetDateTime startTime, Duration duration)"
summary: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> using the start and end duration of the interval."
parameters:
- description: "The start time of the interval."
name: "startTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- description: "The end duration of the interval."
name: "duration"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public QueryTimeInterval(OffsetDateTime startTime, Duration duration)"
desc: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> using the start and end duration of the interval."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.QueryTimeInterval(java.time.OffsetDateTime,java.time.OffsetDateTime)"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.QueryTimeInterval(OffsetDateTime startTime, OffsetDateTime endTime)"
name: "QueryTimeInterval(OffsetDateTime startTime, OffsetDateTime endTime)"
nameWithType: "QueryTimeInterval.QueryTimeInterval(OffsetDateTime startTime, OffsetDateTime endTime)"
summary: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> using the start and end <xref uid=\"java.time.OffsetDateTime\" data-throw-if-not-resolved=\"false\" data-raw-source=\"OffsetDateTimes\"></xref>."
parameters:
- description: "The start time of the interval."
name: "startTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- description: "The end time of the interval."
name: "endTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public QueryTimeInterval(OffsetDateTime startTime, OffsetDateTime endTime)"
desc: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> using the start and end <xref uid=\"java.time.OffsetDateTime\" data-throw-if-not-resolved=\"false\" data-raw-source=\"OffsetDateTimes\"></xref>."
fields:
- uid: "com.azure.monitor.query.models.QueryTimeInterval.ALL"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.ALL"
name: "ALL"
nameWithType: "QueryTimeInterval.ALL"
summary: "Time interval of all time."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval ALL"
desc: "Time interval of all time."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_12_HOURS"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_12_HOURS"
name: "LAST_12_HOURS"
nameWithType: "QueryTimeInterval.LAST_12_HOURS"
summary: "Time interval of the last 12 hours."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_12_HOURS"
desc: "Time interval of the last 12 hours."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_1_HOUR"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_1_HOUR"
name: "LAST_1_HOUR"
nameWithType: "QueryTimeInterval.LAST_1_HOUR"
summary: "Time interval of the last hour."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_1_HOUR"
desc: "Time interval of the last hour."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_2_DAYS"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_2_DAYS"
name: "LAST_2_DAYS"
nameWithType: "QueryTimeInterval.LAST_2_DAYS"
summary: "Time interval of the last 2 days."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_2_DAYS"
desc: "Time interval of the last 2 days."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_30_MINUTES"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_30_MINUTES"
name: "LAST_30_MINUTES"
nameWithType: "QueryTimeInterval.LAST_30_MINUTES"
summary: "Time interval of the last 30 minutes."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_30_MINUTES"
desc: "Time interval of the last 30 minutes."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_3_DAYS"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_3_DAYS"
name: "LAST_3_DAYS"
nameWithType: "QueryTimeInterval.LAST_3_DAYS"
summary: "Time interval of the last 3 days."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_3_DAYS"
desc: "Time interval of the last 3 days."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_4_HOURS"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_4_HOURS"
name: "LAST_4_HOURS"
nameWithType: "QueryTimeInterval.LAST_4_HOURS"
summary: "Time interval of the last 4 hours."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_4_HOURS"
desc: "Time interval of the last 4 hours."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_5_MINUTES"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_5_MINUTES"
name: "LAST_5_MINUTES"
nameWithType: "QueryTimeInterval.LAST_5_MINUTES"
summary: "Time interval of the last 5 minutes."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_5_MINUTES"
desc: "Time interval of the last 5 minutes."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_7_DAYS"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_7_DAYS"
name: "LAST_7_DAYS"
nameWithType: "QueryTimeInterval.LAST_7_DAYS"
summary: "Time interval of the last 7 days."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_7_DAYS"
desc: "Time interval of the last 7 days."
- uid: "com.azure.monitor.query.models.QueryTimeInterval.LAST_DAY"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.LAST_DAY"
name: "LAST_DAY"
nameWithType: "QueryTimeInterval.LAST_DAY"
summary: "Time interval of the last day."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final QueryTimeInterval LAST_DAY"
desc: "Time interval of the last day."
methods:
- uid: "com.azure.monitor.query.models.QueryTimeInterval.equals(java.lang.Object)"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.equals(Object o)"
name: "equals(Object o)"
nameWithType: "QueryTimeInterval.equals(Object o)"
overridden: "java.lang.Object.equals(java.lang.Object)"
parameters:
- name: "o"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
syntax: "public boolean equals(Object o)"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.monitor.query.models.QueryTimeInterval.getDuration()"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.getDuration()"
name: "getDuration()"
nameWithType: "QueryTimeInterval.getDuration()"
summary: "Returns the duration of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
syntax: "public Duration getDuration()"
desc: "Returns the duration of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
returns:
description: "the duration of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.monitor.query.models.QueryTimeInterval.getEndTime()"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.getEndTime()"
name: "getEndTime()"
nameWithType: "QueryTimeInterval.getEndTime()"
summary: "Returns the end time of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
syntax: "public OffsetDateTime getEndTime()"
desc: "Returns the end time of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
returns:
description: "the end time of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.monitor.query.models.QueryTimeInterval.getStartTime()"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.getStartTime()"
name: "getStartTime()"
nameWithType: "QueryTimeInterval.getStartTime()"
summary: "Returns the start time of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
syntax: "public OffsetDateTime getStartTime()"
desc: "Returns the start time of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
returns:
description: "the start time of this <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref> instance."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.monitor.query.models.QueryTimeInterval.hashCode()"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.hashCode()"
name: "hashCode()"
nameWithType: "QueryTimeInterval.hashCode()"
overridden: "java.lang.Object.hashCode()"
syntax: "public int hashCode()"
returns:
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.monitor.query.models.QueryTimeInterval.parse(java.lang.String)"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.parse(String value)"
name: "parse(String value)"
nameWithType: "QueryTimeInterval.parse(String value)"
summary: "This method takes an ISO 8601 formatted time interval string and returns an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref>."
modifiers:
- "static"
parameters:
- description: "The ISO 8601 formatted time interval string."
name: "value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static QueryTimeInterval parse(String value)"
desc: "This method takes an ISO 8601 formatted time interval string and returns an instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref>."
returns:
description: "An instance of <xref uid=\"com.azure.monitor.query.models.QueryTimeInterval\" data-throw-if-not-resolved=\"false\" data-raw-source=\"QueryTimeInterval\"></xref>."
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.monitor.query.models.QueryTimeInterval.toString()"
fullName: "com.azure.monitor.query.models.QueryTimeInterval.toString()"
name: "toString()"
nameWithType: "QueryTimeInterval.toString()"
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Class to represent a time interval."
metadata: {}
package: "com.azure.monitor.query.models"
artifact: com.azure:azure-monitor-query:1.0.10