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

294 строки
24 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings"
name: "DiagnosticSettings"
nameWithType: "DiagnosticSettings"
summary: "The diagnostic settings."
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 **DiagnosticSettings**</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.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.DiagnosticSettings()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.DiagnosticSettings()"
name: "DiagnosticSettings()"
nameWithType: "DiagnosticSettings.DiagnosticSettings()"
summary: "Creates an instance of Diagnostic<wbr>Settings class."
syntax: "public DiagnosticSettings()"
desc: "Creates an instance of DiagnosticSettings class."
methods:
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.eventHubAuthorizationRuleId()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.eventHubAuthorizationRuleId()"
name: "eventHubAuthorizationRuleId()"
nameWithType: "DiagnosticSettings.eventHubAuthorizationRuleId()"
summary: "Get the event<wbr>Hub<wbr>Authorization<wbr>Rule<wbr>Id property: The resource Id for the event hub authorization rule."
syntax: "public String eventHubAuthorizationRuleId()"
desc: "Get the eventHubAuthorizationRuleId property: The resource Id for the event hub authorization rule."
returns:
description: "the eventHubAuthorizationRuleId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.eventHubName()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.eventHubName()"
name: "eventHubName()"
nameWithType: "DiagnosticSettings.eventHubName()"
summary: "Get the event<wbr>Hub<wbr>Name property: The name of the event hub."
syntax: "public String eventHubName()"
desc: "Get the eventHubName property: The name of the event hub. If none is specified, the default event hub will be selected."
returns:
description: "the eventHubName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DiagnosticSettings.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Diagnostic<wbr>Settings 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 DiagnosticSettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the DiagnosticSettings."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DiagnosticSettings from the JsonReader."
returns:
description: "An instance of DiagnosticSettings 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.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.logAnalyticsDestinationType()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.logAnalyticsDestinationType()"
name: "logAnalyticsDestinationType()"
nameWithType: "DiagnosticSettings.logAnalyticsDestinationType()"
summary: "Get the log<wbr>Analytics<wbr>Destination<wbr>Type property: A string indicating whether the export to Log Analytics should use the default destination type, i.<wbr>e."
syntax: "public String logAnalyticsDestinationType()"
desc: "Get the logAnalyticsDestinationType property: A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>\\_<normalized category name>. Possible values are: Dedicated and null (null is default.)."
returns:
description: "the logAnalyticsDestinationType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.logs()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.logs()"
name: "logs()"
nameWithType: "DiagnosticSettings.logs()"
summary: "Get the logs property: The list of logs settings."
syntax: "public List<LogSettings> logs()"
desc: "Get the logs property: The list of logs settings."
returns:
description: "the logs 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.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.marketplacePartnerId()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.marketplacePartnerId()"
name: "marketplacePartnerId()"
nameWithType: "DiagnosticSettings.marketplacePartnerId()"
summary: "Get the marketplace<wbr>Partner<wbr>Id property: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs."
syntax: "public String marketplacePartnerId()"
desc: "Get the marketplacePartnerId property: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs."
returns:
description: "the marketplacePartnerId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.metrics()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.metrics()"
name: "metrics()"
nameWithType: "DiagnosticSettings.metrics()"
summary: "Get the metrics property: The list of metric settings."
syntax: "public List<MetricSettings> metrics()"
desc: "Get the metrics property: The list of metric settings."
returns:
description: "the metrics 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.MetricSettings?alt=com.azure.resourcemanager.monitor.models.MetricSettings&text=MetricSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.serviceBusRuleId()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.serviceBusRuleId()"
name: "serviceBusRuleId()"
nameWithType: "DiagnosticSettings.serviceBusRuleId()"
summary: "Get the service<wbr>Bus<wbr>Rule<wbr>Id property: The service bus rule Id of the diagnostic setting."
syntax: "public String serviceBusRuleId()"
desc: "Get the serviceBusRuleId property: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility."
returns:
description: "the serviceBusRuleId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.storageAccountId()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.storageAccountId()"
name: "storageAccountId()"
nameWithType: "DiagnosticSettings.storageAccountId()"
summary: "Get the storage<wbr>Account<wbr>Id property: The resource ID of the storage account to which you would like to send Diagnostic Logs."
syntax: "public String storageAccountId()"
desc: "Get the storageAccountId property: The resource ID of the storage account to which you would like to send Diagnostic Logs."
returns:
description: "the storageAccountId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DiagnosticSettings.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.fluent.models.DiagnosticSettings.validate()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.validate()"
name: "validate()"
nameWithType: "DiagnosticSettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withEventHubAuthorizationRuleId(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withEventHubAuthorizationRuleId(String eventHubAuthorizationRuleId)"
name: "withEventHubAuthorizationRuleId(String eventHubAuthorizationRuleId)"
nameWithType: "DiagnosticSettings.withEventHubAuthorizationRuleId(String eventHubAuthorizationRuleId)"
summary: "Set the event<wbr>Hub<wbr>Authorization<wbr>Rule<wbr>Id property: The resource Id for the event hub authorization rule."
parameters:
- description: "the eventHubAuthorizationRuleId value to set."
name: "eventHubAuthorizationRuleId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DiagnosticSettings withEventHubAuthorizationRuleId(String eventHubAuthorizationRuleId)"
desc: "Set the eventHubAuthorizationRuleId property: The resource Id for the event hub authorization rule."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withEventHubName(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withEventHubName(String eventHubName)"
name: "withEventHubName(String eventHubName)"
nameWithType: "DiagnosticSettings.withEventHubName(String eventHubName)"
summary: "Set the event<wbr>Hub<wbr>Name property: The name of the event hub."
parameters:
- description: "the eventHubName value to set."
name: "eventHubName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DiagnosticSettings withEventHubName(String eventHubName)"
desc: "Set the eventHubName property: The name of the event hub. If none is specified, the default event hub will be selected."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withLogAnalyticsDestinationType(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withLogAnalyticsDestinationType(String logAnalyticsDestinationType)"
name: "withLogAnalyticsDestinationType(String logAnalyticsDestinationType)"
nameWithType: "DiagnosticSettings.withLogAnalyticsDestinationType(String logAnalyticsDestinationType)"
summary: "Set the log<wbr>Analytics<wbr>Destination<wbr>Type property: A string indicating whether the export to Log Analytics should use the default destination type, i.<wbr>e."
parameters:
- description: "the logAnalyticsDestinationType value to set."
name: "logAnalyticsDestinationType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DiagnosticSettings withLogAnalyticsDestinationType(String logAnalyticsDestinationType)"
desc: "Set the logAnalyticsDestinationType property: A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>\\_<normalized category name>. Possible values are: Dedicated and null (null is default.)."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withLogs(java.util.List<com.azure.resourcemanager.monitor.models.LogSettings>)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withLogs(List<LogSettings> logs)"
name: "withLogs(List<LogSettings> logs)"
nameWithType: "DiagnosticSettings.withLogs(List<LogSettings> logs)"
summary: "Set the logs property: The list of logs settings."
parameters:
- description: "the logs value to set."
name: "logs"
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.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DiagnosticSettings withLogs(List<LogSettings> logs)"
desc: "Set the logs property: The list of logs settings."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withMarketplacePartnerId(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withMarketplacePartnerId(String marketplacePartnerId)"
name: "withMarketplacePartnerId(String marketplacePartnerId)"
nameWithType: "DiagnosticSettings.withMarketplacePartnerId(String marketplacePartnerId)"
summary: "Set the marketplace<wbr>Partner<wbr>Id property: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs."
parameters:
- description: "the marketplacePartnerId value to set."
name: "marketplacePartnerId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DiagnosticSettings withMarketplacePartnerId(String marketplacePartnerId)"
desc: "Set the marketplacePartnerId property: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withMetrics(java.util.List<com.azure.resourcemanager.monitor.models.MetricSettings>)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withMetrics(List<MetricSettings> metrics)"
name: "withMetrics(List<MetricSettings> metrics)"
nameWithType: "DiagnosticSettings.withMetrics(List<MetricSettings> metrics)"
summary: "Set the metrics property: The list of metric settings."
parameters:
- description: "the metrics value to set."
name: "metrics"
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.MetricSettings?alt=com.azure.resourcemanager.monitor.models.MetricSettings&text=MetricSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DiagnosticSettings withMetrics(List<MetricSettings> metrics)"
desc: "Set the metrics property: The list of metric settings."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withServiceBusRuleId(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withServiceBusRuleId(String serviceBusRuleId)"
name: "withServiceBusRuleId(String serviceBusRuleId)"
nameWithType: "DiagnosticSettings.withServiceBusRuleId(String serviceBusRuleId)"
summary: "Set the service<wbr>Bus<wbr>Rule<wbr>Id property: The service bus rule Id of the diagnostic setting."
parameters:
- description: "the serviceBusRuleId value to set."
name: "serviceBusRuleId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DiagnosticSettings withServiceBusRuleId(String serviceBusRuleId)"
desc: "Set the serviceBusRuleId property: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withStorageAccountId(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withStorageAccountId(String storageAccountId)"
name: "withStorageAccountId(String storageAccountId)"
nameWithType: "DiagnosticSettings.withStorageAccountId(String storageAccountId)"
summary: "Set the storage<wbr>Account<wbr>Id property: The resource ID of the storage account to which you would like to send Diagnostic Logs."
parameters:
- description: "the storageAccountId value to set."
name: "storageAccountId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DiagnosticSettings withStorageAccountId(String storageAccountId)"
desc: "Set the storageAccountId property: The resource ID of the storage account to which you would like to send Diagnostic Logs."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withWorkspaceId(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.withWorkspaceId(String workspaceId)"
name: "withWorkspaceId(String workspaceId)"
nameWithType: "DiagnosticSettings.withWorkspaceId(String workspaceId)"
summary: "Set the workspace<wbr>Id property: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs."
parameters:
- description: "the workspaceId value to set."
name: "workspaceId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DiagnosticSettings withWorkspaceId(String workspaceId)"
desc: "Set the workspaceId property: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2."
returns:
description: "the DiagnosticSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.workspaceId()"
fullName: "com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings.workspaceId()"
name: "workspaceId()"
nameWithType: "DiagnosticSettings.workspaceId()"
summary: "Get the workspace<wbr>Id property: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs."
syntax: "public String workspaceId()"
desc: "Get the workspaceId property: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2."
returns:
description: "the workspaceId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "The diagnostic settings."
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.fluent.models.DiagnosticSettings?alt=com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings&text=DiagnosticSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.fluent.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0