80 строки
8.0 KiB
YAML
80 строки
8.0 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate"
|
|
fullName: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate"
|
|
name: "DiagnosticSetting.DefinitionStages.WithCreate"
|
|
nameWithType: "DiagnosticSetting.DefinitionStages.WithCreate"
|
|
summary: "The stage of the definition which contains all the minimum required inputs for the resource to be created but also allows for any other optional settings to be specified."
|
|
syntax: "public static interface **DiagnosticSetting.DefinitionStages.WithCreate**</br> extends <xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient?alt=com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient&text=WithDiagnosticLogRecipient\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.microsoft.azure.management.resources.fluentcore.model.Creatable?alt=com.microsoft.azure.management.resources.fluentcore.model.Creatable&text=Creatable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />>"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate.withLog(java.lang.String,int)"
|
|
fullName: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate.withLog(String category, int retentionDays)"
|
|
name: "withLog(String category, int retentionDays)"
|
|
nameWithType: "DiagnosticSetting.DefinitionStages.WithCreate.withLog(String category, int retentionDays)"
|
|
summary: "Adds a Log Setting to the list of Log Settings for the current Diagnostic Settings."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "name of a Log category for a resource type this setting is applied to."
|
|
name: "category"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
|
|
name: "retentionDays"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract DiagnosticSetting.DefinitionStages.WithCreate withLog(String category, int retentionDays)"
|
|
desc: "Adds a Log Setting to the list of Log Settings for the current Diagnostic Settings."
|
|
returns:
|
|
description: "the stage of creating Diagnostic Settings."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate.withLogsAndMetrics(java.util.List<com.microsoft.azure.management.monitor.DiagnosticSettingsCategory>,org.joda.time.Period,int)"
|
|
fullName: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate.withLogsAndMetrics(List<DiagnosticSettingsCategory> categories, Period timeGrain, int retentionDays)"
|
|
name: "withLogsAndMetrics(List<DiagnosticSettingsCategory> categories, Period timeGrain, int retentionDays)"
|
|
nameWithType: "DiagnosticSetting.DefinitionStages.WithCreate.withLogsAndMetrics(List<DiagnosticSettingsCategory> categories, Period timeGrain, int retentionDays)"
|
|
summary: "Adds a Log and Metric Settings to the list Log and Metric Settings for the current Diagnostic Settings."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "a list of diagnostic settings category."
|
|
name: "categories"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSettingsCategory?alt=com.microsoft.azure.management.monitor.DiagnosticSettingsCategory&text=DiagnosticSettingsCategory\" data-throw-if-not-resolved=\"False\" />>"
|
|
- description: "the timegrain of the metric in ISO8601 format for all Metrics in the <code>categories</code> list."
|
|
name: "timeGrain"
|
|
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
|
|
name: "retentionDays"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract DiagnosticSetting.DefinitionStages.WithCreate withLogsAndMetrics(List<DiagnosticSettingsCategory> categories, Period timeGrain, int retentionDays)"
|
|
desc: "Adds a Log and Metric Settings to the list Log and Metric Settings for the current Diagnostic Settings."
|
|
returns:
|
|
description: "the stage of creating Diagnostic Settings."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate.withMetric(java.lang.String,org.joda.time.Period,int)"
|
|
fullName: "com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate.withMetric(String category, Period timeGrain, int retentionDays)"
|
|
name: "withMetric(String category, Period timeGrain, int retentionDays)"
|
|
nameWithType: "DiagnosticSetting.DefinitionStages.WithCreate.withMetric(String category, Period timeGrain, int retentionDays)"
|
|
summary: "Adds a Metric Setting to the list of Metric Settings for the current Diagnostic Settings."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "name of a Metric category for a resource type this setting is applied to."
|
|
name: "category"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the timegrain of the metric in ISO8601 format."
|
|
name: "timeGrain"
|
|
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
|
|
name: "retentionDays"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract DiagnosticSetting.DefinitionStages.WithCreate withMetric(String category, Period timeGrain, int retentionDays)"
|
|
desc: "Adds a Metric Setting to the list of Metric Settings for the current Diagnostic Settings."
|
|
returns:
|
|
description: "the stage of creating Diagnostic Settings."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "interface"
|
|
desc: "The stage of the definition which contains all the minimum required inputs for the resource to be created but also allows for any other optional settings to be specified."
|
|
implements:
|
|
- "<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient?alt=com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient&text=WithDiagnosticLogRecipient\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.model.Creatable?alt=com.microsoft.azure.management.resources.fluentcore.model.Creatable&text=Creatable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.monitor"
|
|
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4
|