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

126 строки
9.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.Recurrence"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence"
name: "Recurrence"
nameWithType: "Recurrence"
summary: "The repeating times at which this profile begins."
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 **Recurrence**</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.monitor.models.Recurrence?alt=com.azure.resourcemanager.monitor.models.Recurrence&text=Recurrence\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.Recurrence.Recurrence()"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.Recurrence()"
name: "Recurrence()"
nameWithType: "Recurrence.Recurrence()"
summary: "Creates an instance of Recurrence class."
syntax: "public Recurrence()"
desc: "Creates an instance of Recurrence class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.Recurrence.frequency()"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.frequency()"
name: "frequency()"
nameWithType: "Recurrence.frequency()"
summary: "Get the frequency property: the recurrence frequency."
syntax: "public RecurrenceFrequency frequency()"
desc: "Get the frequency property: the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set \\*\\*schedule\\*\\* to every day of the week. The frequency property specifies that the schedule is repeated weekly."
returns:
description: "the frequency value."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RecurrenceFrequency?alt=com.azure.resourcemanager.monitor.models.RecurrenceFrequency&text=RecurrenceFrequency\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Recurrence.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Recurrence.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Recurrence 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 Recurrence 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 Recurrence from the JsonReader."
returns:
description: "An instance of Recurrence if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Recurrence?alt=com.azure.resourcemanager.monitor.models.Recurrence&text=Recurrence\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Recurrence.schedule()"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.schedule()"
name: "schedule()"
nameWithType: "Recurrence.schedule()"
summary: "Get the schedule property: the scheduling constraints for when the profile begins."
syntax: "public RecurrentSchedule schedule()"
desc: "Get the schedule property: the scheduling constraints for when the profile begins."
returns:
description: "the schedule value."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RecurrentSchedule?alt=com.azure.resourcemanager.monitor.models.RecurrentSchedule&text=RecurrentSchedule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Recurrence.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Recurrence.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.monitor.models.Recurrence.validate()"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.validate()"
name: "validate()"
nameWithType: "Recurrence.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.Recurrence.withFrequency(com.azure.resourcemanager.monitor.models.RecurrenceFrequency)"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.withFrequency(RecurrenceFrequency frequency)"
name: "withFrequency(RecurrenceFrequency frequency)"
nameWithType: "Recurrence.withFrequency(RecurrenceFrequency frequency)"
summary: "Set the frequency property: the recurrence frequency."
parameters:
- description: "the frequency value to set."
name: "frequency"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RecurrenceFrequency?alt=com.azure.resourcemanager.monitor.models.RecurrenceFrequency&text=RecurrenceFrequency\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Recurrence withFrequency(RecurrenceFrequency frequency)"
desc: "Set the frequency property: the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set \\*\\*schedule\\*\\* to every day of the week. The frequency property specifies that the schedule is repeated weekly."
returns:
description: "the Recurrence object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Recurrence?alt=com.azure.resourcemanager.monitor.models.Recurrence&text=Recurrence\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Recurrence.withSchedule(com.azure.resourcemanager.monitor.models.RecurrentSchedule)"
fullName: "com.azure.resourcemanager.monitor.models.Recurrence.withSchedule(RecurrentSchedule schedule)"
name: "withSchedule(RecurrentSchedule schedule)"
nameWithType: "Recurrence.withSchedule(RecurrentSchedule schedule)"
summary: "Set the schedule property: the scheduling constraints for when the profile begins."
parameters:
- description: "the schedule value to set."
name: "schedule"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RecurrentSchedule?alt=com.azure.resourcemanager.monitor.models.RecurrentSchedule&text=RecurrentSchedule\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Recurrence withSchedule(RecurrentSchedule schedule)"
desc: "Set the schedule property: the scheduling constraints for when the profile begins."
returns:
description: "the Recurrence object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Recurrence?alt=com.azure.resourcemanager.monitor.models.Recurrence&text=Recurrence\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The repeating times at which this profile begins. This element is not used if the FixedDate element is used."
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.monitor.models.Recurrence?alt=com.azure.resourcemanager.monitor.models.Recurrence&text=Recurrence\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.42.0