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

222 строки
19 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec"
name: "DataSourcesSpec"
nameWithType: "DataSourcesSpec"
summary: "Specification of data sources that will be collected."
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 class **DataSourcesSpec**</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.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.DataSourcesSpec()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.DataSourcesSpec()"
name: "DataSourcesSpec()"
nameWithType: "DataSourcesSpec.DataSourcesSpec()"
summary: "Creates an instance of Data<wbr>Sources<wbr>Spec class."
syntax: "public DataSourcesSpec()"
desc: "Creates an instance of DataSourcesSpec class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.extensions()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.extensions()"
name: "extensions()"
nameWithType: "DataSourcesSpec.extensions()"
summary: "Get the extensions property: The list of Azure VM extension data source configurations."
syntax: "public List<ExtensionDataSource> extensions()"
desc: "Get the extensions property: The list of Azure VM extension data source configurations."
returns:
description: "the extensions value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.ExtensionDataSource?alt=com.azure.resourcemanager.monitor.models.ExtensionDataSource&text=ExtensionDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DataSourcesSpec.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Data<wbr>Sources<wbr>Spec 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 DataSourcesSpec fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the DataSourcesSpec."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DataSourcesSpec from the JsonReader."
returns:
description: "An instance of DataSourcesSpec if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.iisLogs()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.iisLogs()"
name: "iisLogs()"
nameWithType: "DataSourcesSpec.iisLogs()"
summary: "Get the iis<wbr>Logs property: The list of IIS logs source configurations."
syntax: "public List<IisLogsDataSource> iisLogs()"
desc: "Get the iisLogs property: The list of IIS logs source configurations."
returns:
description: "the iisLogs value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.IisLogsDataSource?alt=com.azure.resourcemanager.monitor.models.IisLogsDataSource&text=IisLogsDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.logFiles()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.logFiles()"
name: "logFiles()"
nameWithType: "DataSourcesSpec.logFiles()"
summary: "Get the log<wbr>Files property: The list of Log files source configurations."
syntax: "public List<LogFilesDataSource> logFiles()"
desc: "Get the logFiles property: The list of Log files source configurations."
returns:
description: "the logFiles value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.LogFilesDataSource?alt=com.azure.resourcemanager.monitor.models.LogFilesDataSource&text=LogFilesDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.performanceCounters()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.performanceCounters()"
name: "performanceCounters()"
nameWithType: "DataSourcesSpec.performanceCounters()"
summary: "Get the performance<wbr>Counters property: The list of performance counter data source configurations."
syntax: "public List<PerfCounterDataSource> performanceCounters()"
desc: "Get the performanceCounters property: The list of performance counter data source configurations."
returns:
description: "the performanceCounters value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.PerfCounterDataSource?alt=com.azure.resourcemanager.monitor.models.PerfCounterDataSource&text=PerfCounterDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.syslog()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.syslog()"
name: "syslog()"
nameWithType: "DataSourcesSpec.syslog()"
summary: "Get the syslog property: The list of Syslog data source configurations."
syntax: "public List<SyslogDataSource> syslog()"
desc: "Get the syslog property: The list of Syslog data source configurations."
returns:
description: "the syslog value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.SyslogDataSource?alt=com.azure.resourcemanager.monitor.models.SyslogDataSource&text=SyslogDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DataSourcesSpec.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.DataSourcesSpec.validate()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.validate()"
name: "validate()"
nameWithType: "DataSourcesSpec.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.windowsEventLogs()"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.windowsEventLogs()"
name: "windowsEventLogs()"
nameWithType: "DataSourcesSpec.windowsEventLogs()"
summary: "Get the windows<wbr>Event<wbr>Logs property: The list of Windows Event Log data source configurations."
syntax: "public List<WindowsEventLogDataSource> windowsEventLogs()"
desc: "Get the windowsEventLogs property: The list of Windows Event Log data source configurations."
returns:
description: "the windowsEventLogs value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.WindowsEventLogDataSource?alt=com.azure.resourcemanager.monitor.models.WindowsEventLogDataSource&text=WindowsEventLogDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withExtensions(java.util.List<com.azure.resourcemanager.monitor.models.ExtensionDataSource>)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withExtensions(List<ExtensionDataSource> extensions)"
name: "withExtensions(List<ExtensionDataSource> extensions)"
nameWithType: "DataSourcesSpec.withExtensions(List<ExtensionDataSource> extensions)"
summary: "Set the extensions property: The list of Azure VM extension data source configurations."
parameters:
- description: "the extensions value to set."
name: "extensions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.ExtensionDataSource?alt=com.azure.resourcemanager.monitor.models.ExtensionDataSource&text=ExtensionDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DataSourcesSpec withExtensions(List<ExtensionDataSource> extensions)"
desc: "Set the extensions property: The list of Azure VM extension data source configurations."
returns:
description: "the DataSourcesSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withIisLogs(java.util.List<com.azure.resourcemanager.monitor.models.IisLogsDataSource>)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withIisLogs(List<IisLogsDataSource> iisLogs)"
name: "withIisLogs(List<IisLogsDataSource> iisLogs)"
nameWithType: "DataSourcesSpec.withIisLogs(List<IisLogsDataSource> iisLogs)"
summary: "Set the iis<wbr>Logs property: The list of IIS logs source configurations."
parameters:
- description: "the iisLogs value to set."
name: "iisLogs"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.IisLogsDataSource?alt=com.azure.resourcemanager.monitor.models.IisLogsDataSource&text=IisLogsDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DataSourcesSpec withIisLogs(List<IisLogsDataSource> iisLogs)"
desc: "Set the iisLogs property: The list of IIS logs source configurations."
returns:
description: "the DataSourcesSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withLogFiles(java.util.List<com.azure.resourcemanager.monitor.models.LogFilesDataSource>)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withLogFiles(List<LogFilesDataSource> logFiles)"
name: "withLogFiles(List<LogFilesDataSource> logFiles)"
nameWithType: "DataSourcesSpec.withLogFiles(List<LogFilesDataSource> logFiles)"
summary: "Set the log<wbr>Files property: The list of Log files source configurations."
parameters:
- description: "the logFiles value to set."
name: "logFiles"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.LogFilesDataSource?alt=com.azure.resourcemanager.monitor.models.LogFilesDataSource&text=LogFilesDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DataSourcesSpec withLogFiles(List<LogFilesDataSource> logFiles)"
desc: "Set the logFiles property: The list of Log files source configurations."
returns:
description: "the DataSourcesSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withPerformanceCounters(java.util.List<com.azure.resourcemanager.monitor.models.PerfCounterDataSource>)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withPerformanceCounters(List<PerfCounterDataSource> performanceCounters)"
name: "withPerformanceCounters(List<PerfCounterDataSource> performanceCounters)"
nameWithType: "DataSourcesSpec.withPerformanceCounters(List<PerfCounterDataSource> performanceCounters)"
summary: "Set the performance<wbr>Counters property: The list of performance counter data source configurations."
parameters:
- description: "the performanceCounters value to set."
name: "performanceCounters"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.PerfCounterDataSource?alt=com.azure.resourcemanager.monitor.models.PerfCounterDataSource&text=PerfCounterDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DataSourcesSpec withPerformanceCounters(List<PerfCounterDataSource> performanceCounters)"
desc: "Set the performanceCounters property: The list of performance counter data source configurations."
returns:
description: "the DataSourcesSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withSyslog(java.util.List<com.azure.resourcemanager.monitor.models.SyslogDataSource>)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withSyslog(List<SyslogDataSource> syslog)"
name: "withSyslog(List<SyslogDataSource> syslog)"
nameWithType: "DataSourcesSpec.withSyslog(List<SyslogDataSource> syslog)"
summary: "Set the syslog property: The list of Syslog data source configurations."
parameters:
- description: "the syslog value to set."
name: "syslog"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.SyslogDataSource?alt=com.azure.resourcemanager.monitor.models.SyslogDataSource&text=SyslogDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DataSourcesSpec withSyslog(List<SyslogDataSource> syslog)"
desc: "Set the syslog property: The list of Syslog data source configurations."
returns:
description: "the DataSourcesSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withWindowsEventLogs(java.util.List<com.azure.resourcemanager.monitor.models.WindowsEventLogDataSource>)"
fullName: "com.azure.resourcemanager.monitor.models.DataSourcesSpec.withWindowsEventLogs(List<WindowsEventLogDataSource> windowsEventLogs)"
name: "withWindowsEventLogs(List<WindowsEventLogDataSource> windowsEventLogs)"
nameWithType: "DataSourcesSpec.withWindowsEventLogs(List<WindowsEventLogDataSource> windowsEventLogs)"
summary: "Set the windows<wbr>Event<wbr>Logs property: The list of Windows Event Log data source configurations."
parameters:
- description: "the windowsEventLogs value to set."
name: "windowsEventLogs"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.WindowsEventLogDataSource?alt=com.azure.resourcemanager.monitor.models.WindowsEventLogDataSource&text=WindowsEventLogDataSource\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DataSourcesSpec withWindowsEventLogs(List<WindowsEventLogDataSource> windowsEventLogs)"
desc: "Set the windowsEventLogs property: The list of Windows Event Log data source configurations."
returns:
description: "the DataSourcesSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Specification of data sources that will be collected."
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.DataSourcesSpec?alt=com.azure.resourcemanager.monitor.models.DataSourcesSpec&text=DataSourcesSpec\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0