/
com.azure.resourcemanager.monitor.models.LogSettings.yml
140 lines (140 loc) · 9.82 KB
/
com.azure.resourcemanager.monitor.models.LogSettings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.LogSettings"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings"
name: "LogSettings"
nameWithType: "LogSettings"
summary: "Part of Multi<wbr>Tenant<wbr>Diagnostic<wbr>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 **LogSettings**"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.LogSettings()"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.LogSettings()"
name: "LogSettings()"
nameWithType: "LogSettings.LogSettings()"
summary: "Creates an instance of Log<wbr>Settings class."
syntax: "public LogSettings()"
desc: "Creates an instance of LogSettings class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.category()"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.category()"
name: "category()"
nameWithType: "LogSettings.category()"
summary: "Get the category property: Name of a Diagnostic Log category for a resource type this setting is applied to."
syntax: "public String category()"
desc: "Get the category property: Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
returns:
description: "the category value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.categoryGroup()"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.categoryGroup()"
name: "categoryGroup()"
nameWithType: "LogSettings.categoryGroup()"
summary: "Get the category<wbr>Group property: Name of a Diagnostic Log category group for a resource type this setting is applied to."
syntax: "public String categoryGroup()"
desc: "Get the categoryGroup property: Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
returns:
description: "the categoryGroup value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.enabled()"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.enabled()"
name: "enabled()"
nameWithType: "LogSettings.enabled()"
summary: "Get the enabled property: a value indicating whether this log is enabled."
syntax: "public boolean enabled()"
desc: "Get the enabled property: a value indicating whether this log is enabled."
returns:
description: "the enabled value."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.retentionPolicy()"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.retentionPolicy()"
name: "retentionPolicy()"
nameWithType: "LogSettings.retentionPolicy()"
summary: "Get the retention<wbr>Policy property: the retention policy for this log."
syntax: "public RetentionPolicy retentionPolicy()"
desc: "Get the retentionPolicy property: the retention policy for this log."
returns:
description: "the retentionPolicy value."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RetentionPolicy?alt=com.azure.resourcemanager.monitor.models.RetentionPolicy&text=RetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.validate()"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.validate()"
name: "validate()"
nameWithType: "LogSettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withCategory(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withCategory(String category)"
name: "withCategory(String category)"
nameWithType: "LogSettings.withCategory(String category)"
summary: "Set the category property: Name of a Diagnostic Log category for a resource type this setting is applied to."
parameters:
- description: "the category value to set."
name: "category"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public LogSettings withCategory(String category)"
desc: "Set the category property: Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
returns:
description: "the LogSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withCategoryGroup(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withCategoryGroup(String categoryGroup)"
name: "withCategoryGroup(String categoryGroup)"
nameWithType: "LogSettings.withCategoryGroup(String categoryGroup)"
summary: "Set the category<wbr>Group property: Name of a Diagnostic Log category group for a resource type this setting is applied to."
parameters:
- description: "the categoryGroup value to set."
name: "categoryGroup"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public LogSettings withCategoryGroup(String categoryGroup)"
desc: "Set the categoryGroup property: Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
returns:
description: "the LogSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withEnabled(boolean)"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withEnabled(boolean enabled)"
name: "withEnabled(boolean enabled)"
nameWithType: "LogSettings.withEnabled(boolean enabled)"
summary: "Set the enabled property: a value indicating whether this log is enabled."
parameters:
- description: "the enabled value to set."
name: "enabled"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LogSettings withEnabled(boolean enabled)"
desc: "Set the enabled property: a value indicating whether this log is enabled."
returns:
description: "the LogSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withRetentionPolicy(com.azure.resourcemanager.monitor.models.RetentionPolicy)"
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
name: "withRetentionPolicy(RetentionPolicy retentionPolicy)"
nameWithType: "LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
summary: "Set the retention<wbr>Policy property: the retention policy for this log."
parameters:
- description: "the retentionPolicy value to set."
name: "retentionPolicy"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RetentionPolicy?alt=com.azure.resourcemanager.monitor.models.RetentionPolicy&text=RetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LogSettings withRetentionPolicy(RetentionPolicy retentionPolicy)"
desc: "Set the retentionPolicy property: the retention policy for this log."
returns:
description: "the LogSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.38.0