Skip to content

Commit 571dcbb

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 265211
1 parent a1c2a90 commit 571dcbb

444 files changed

Lines changed: 48210 additions & 622 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.microsoft.graph.beta.admin.microsoft365apps.Microsoft365AppsRequestBuilder;
1212
import com.microsoft.graph.beta.admin.people.PeopleRequestBuilder;
1313
import com.microsoft.graph.beta.admin.reportsettings.ReportSettingsRequestBuilder;
14+
import com.microsoft.graph.beta.admin.resourcepolicy.ResourcePolicyRequestBuilder;
1415
import com.microsoft.graph.beta.admin.serviceannouncement.ServiceAnnouncementRequestBuilder;
1516
import com.microsoft.graph.beta.admin.sharepoint.SharepointRequestBuilder;
1617
import com.microsoft.graph.beta.admin.teams.TeamsRequestBuilder;
@@ -124,6 +125,14 @@ public PeopleRequestBuilder people() {
124125
public ReportSettingsRequestBuilder reportSettings() {
125126
return new ReportSettingsRequestBuilder(pathParameters, requestAdapter);
126127
}
128+
/**
129+
* Provides operations to manage the resourcePolicy property of the microsoft.graph.admin entity.
130+
* @return a {@link ResourcePolicyRequestBuilder}
131+
*/
132+
@jakarta.annotation.Nonnull
133+
public ResourcePolicyRequestBuilder resourcePolicy() {
134+
return new ResourcePolicyRequestBuilder(pathParameters, requestAdapter);
135+
}
127136
/**
128137
* Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity.
129138
* @return a {@link ServiceAnnouncementRequestBuilder}

‎src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitors/ConfigurationMonitorsRequestBuilder.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public ConfigurationMonitorCollectionResponse get(@jakarta.annotation.Nullable f
8484
return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitorCollectionResponse::createFromDiscriminatorValue);
8585
}
8686
/**
87-
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
87+
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency to detect configuration drift in monitorOnly mode, or applies a desired-state baseline once in applyOnce mode.
8888
* @param body The request body
8989
* @return a {@link ConfigurationMonitor}
9090
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -95,7 +95,7 @@ public ConfigurationMonitor post(@jakarta.annotation.Nonnull final Configuration
9595
return post(body, null);
9696
}
9797
/**
98-
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
98+
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency to detect configuration drift in monitorOnly mode, or applies a desired-state baseline once in applyOnce mode.
9999
* @param body The request body
100100
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
101101
* @return a {@link ConfigurationMonitor}
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
131131
return requestInfo;
132132
}
133133
/**
134-
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
134+
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency to detect configuration drift in monitorOnly mode, or applies a desired-state baseline once in applyOnce mode.
135135
* @param body The request body
136136
* @return a {@link RequestInformation}
137137
*/
@@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
140140
return toPostRequestInformation(body, null);
141141
}
142142
/**
143-
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
143+
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency to detect configuration drift in monitorOnly mode, or applies a desired-state baseline once in applyOnce mode.
144144
* @param body The request body
145145
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
146146
* @return a {@link RequestInformation}

‎src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitors/item/ConfigurationMonitorItemRequestBuilder.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public ConfigurationMonitor get(@jakarta.annotation.Nullable final java.util.fun
9090
return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitor::createFromDiscriminatorValue);
9191
}
9292
/**
93-
* Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API.
93+
* Update the properties of a configurationMonitor, including its name, description, baseline, mode, status, or referenced version of the same template. When updating an inline baseline, provide the full monitor body as described in the request body section.
9494
* @param body The request body
9595
* @return a {@link ConfigurationMonitor}
9696
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -101,7 +101,7 @@ public ConfigurationMonitor patch(@jakarta.annotation.Nonnull final Configuratio
101101
return patch(body, null);
102102
}
103103
/**
104-
* Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API.
104+
* Update the properties of a configurationMonitor, including its name, description, baseline, mode, status, or referenced version of the same template. When updating an inline baseline, provide the full monitor body as described in the request body section.
105105
* @param body The request body
106106
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
107107
* @return a {@link ConfigurationMonitor}
@@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
157157
return requestInfo;
158158
}
159159
/**
160-
* Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API.
160+
* Update the properties of a configurationMonitor, including its name, description, baseline, mode, status, or referenced version of the same template. When updating an inline baseline, provide the full monitor body as described in the request body section.
161161
* @param body The request body
162162
* @return a {@link RequestInformation}
163163
*/
@@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
166166
return toPatchRequestInformation(body, null);
167167
}
168168
/**
169-
* Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API.
169+
* Update the properties of a configurationMonitor, including its name, description, baseline, mode, status, or referenced version of the same template. When updating an inline baseline, provide the full monitor body as described in the request body section.
170170
* @param body The request body
171171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
172172
* @return a {@link RequestInformation}

‎src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationmonitors/item/baseline/BaselineRequestBuilder.java‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public BaselineRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @
3737
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}/baseline{?%24expand,%24select}", rawUrl);
3838
}
3939
/**
40-
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
40+
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
4141
* @return a {@link ConfigurationBaseline}
4242
* @throws ODataError When receiving a 4XX or 5XX status code
4343
* @see <a href="https://learn.microsoft.com/graph/api/configurationbaseline-get?view=graph-rest-beta">Find more info here</a>
@@ -47,7 +47,7 @@ public ConfigurationBaseline get() {
4747
return get(null);
4848
}
4949
/**
50-
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
50+
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
5151
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5252
* @return a {@link ConfigurationBaseline}
5353
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -61,15 +61,15 @@ public ConfigurationBaseline get(@jakarta.annotation.Nullable final java.util.fu
6161
return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue);
6262
}
6363
/**
64-
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
64+
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
6565
* @return a {@link RequestInformation}
6666
*/
6767
@jakarta.annotation.Nonnull
6868
public RequestInformation toGetRequestInformation() {
6969
return toGetRequestInformation(null);
7070
}
7171
/**
72-
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
72+
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
7373
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7474
* @return a {@link RequestInformation}
7575
*/
@@ -91,7 +91,7 @@ public BaselineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r
9191
return new BaselineRequestBuilder(rawUrl, requestAdapter);
9292
}
9393
/**
94-
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
94+
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
9595
*/
9696
@jakarta.annotation.Generated("com.microsoft.kiota")
9797
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)