你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventGridAndResourceGraph Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. EventGridAndResourceGraph
- com.
Implements
public final class EventGridAndResourceGraph
implements JsonSerializable<EventGridAndResourceGraph>
Specifies eventGridAndResourceGraph related Scheduled Event related configurations.
Constructor Summary
Constructor | Description |
---|---|
EventGridAndResourceGraph() |
Creates an instance of Event |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enable()
Get the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations. |
static
Event |
fromJson(JsonReader jsonReader)
Reads an instance of Event |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Event |
withEnable(Boolean enable)
Set the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations. |
Methods inherited from java.lang.Object
Constructor Details
EventGridAndResourceGraph
public EventGridAndResourceGraph()
Creates an instance of EventGridAndResourceGraph class.
Method Details
enable
public Boolean enable()
Get the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.
Returns:
fromJson
public static EventGridAndResourceGraph fromJson(JsonReader jsonReader)
Reads an instance of EventGridAndResourceGraph from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnable
public EventGridAndResourceGraph withEnable(Boolean enable)
Set the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.
Parameters:
Returns: