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

61 строка
4.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub"
fullName: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub"
name: "DiagnosticSetting.UpdateStages.WithEventHub"
nameWithType: "DiagnosticSetting.UpdateStages.WithEventHub"
summary: "The stage of a Diagnostic Settings update allowing to modify Event<wbr>Hub settings."
syntax: "public static interface DiagnosticSetting.UpdateStages.WithEventHub"
methods:
- uid: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub.withEventHub(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub.withEventHub(String eventHubAuthorizationRuleId)"
name: "withEventHub(String eventHubAuthorizationRuleId)"
nameWithType: "DiagnosticSetting.UpdateStages.WithEventHub.withEventHub(String eventHubAuthorizationRuleId)"
summary: "Sets Event<wbr>Hub Namespace Authorization Rule for data transfer."
modifiers:
- "abstract"
parameters:
- description: "of EventHub namespace authorization rule that should exist in the same\n region as resource."
name: "eventHubAuthorizationRuleId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract DiagnosticSetting.Update withEventHub(String eventHubAuthorizationRuleId)"
desc: "Sets EventHub Namespace Authorization Rule for data transfer."
returns:
description: "the next stage of the Diagnostic Settings update."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DiagnosticSetting.Update?alt=com.azure.resourcemanager.monitor.models.DiagnosticSetting.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub.withEventHub(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub.withEventHub(String eventHubAuthorizationRuleId, String eventHubName)"
name: "withEventHub(String eventHubAuthorizationRuleId, String eventHubName)"
nameWithType: "DiagnosticSetting.UpdateStages.WithEventHub.withEventHub(String eventHubAuthorizationRuleId, String eventHubName)"
summary: "Sets Event<wbr>Hub Namespace Authorization Rule for data transfer."
modifiers:
- "abstract"
parameters:
- description: "of EventHub namespace authorization rule that should exist in the same\n region as resource."
name: "eventHubAuthorizationRuleId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "name of the EventHub. If none is specified, the default EventHub will be selected."
name: "eventHubName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract DiagnosticSetting.Update withEventHub(String eventHubAuthorizationRuleId, String eventHubName)"
desc: "Sets EventHub Namespace Authorization Rule for data transfer."
returns:
description: "the next stage of the Diagnostic Settings update."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DiagnosticSetting.Update?alt=com.azure.resourcemanager.monitor.models.DiagnosticSetting.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub.withoutEventHub()"
fullName: "com.azure.resourcemanager.monitor.models.DiagnosticSetting.UpdateStages.WithEventHub.withoutEventHub()"
name: "withoutEventHub()"
nameWithType: "DiagnosticSetting.UpdateStages.WithEventHub.withoutEventHub()"
summary: "Removes the Event<wbr>Hub from the Diagnostic Settings."
modifiers:
- "abstract"
syntax: "public abstract DiagnosticSetting.Update withoutEventHub()"
desc: "Removes the EventHub from the Diagnostic Settings."
returns:
description: "the next stage of the Diagnostic Settings update."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.DiagnosticSetting.Update?alt=com.azure.resourcemanager.monitor.models.DiagnosticSetting.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of a Diagnostic Settings update allowing to modify EventHub settings."
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.18.0