Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.microsoft.graph.beta.admin.microsoft365apps.Microsoft365AppsRequestBuilder;
import com.microsoft.graph.beta.admin.people.PeopleRequestBuilder;
import com.microsoft.graph.beta.admin.reportsettings.ReportSettingsRequestBuilder;
import com.microsoft.graph.beta.admin.resourcepolicy.ResourcePolicyRequestBuilder;
import com.microsoft.graph.beta.admin.serviceannouncement.ServiceAnnouncementRequestBuilder;
import com.microsoft.graph.beta.admin.sharepoint.SharepointRequestBuilder;
import com.microsoft.graph.beta.admin.teams.TeamsRequestBuilder;
Expand Down Expand Up @@ -124,6 +125,14 @@ public PeopleRequestBuilder people() {
public ReportSettingsRequestBuilder reportSettings() {
return new ReportSettingsRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to manage the resourcePolicy property of the microsoft.graph.admin entity.
* @return a {@link ResourcePolicyRequestBuilder}
*/
@jakarta.annotation.Nonnull
public ResourcePolicyRequestBuilder resourcePolicy() {
return new ResourcePolicyRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity.
* @return a {@link ServiceAnnouncementRequestBuilder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public ConfigurationMonitorCollectionResponse get(@jakarta.annotation.Nullable f
return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitorCollectionResponse::createFromDiscriminatorValue);
}
/**
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
* 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.
* @param body The request body
* @return a {@link ConfigurationMonitor}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand All @@ -95,7 +95,7 @@ public ConfigurationMonitor post(@jakarta.annotation.Nonnull final Configuration
return post(body, null);
}
/**
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
* 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.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ConfigurationMonitor}
Expand Down Expand Up @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
* 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.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency.
* 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.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public ConfigurationMonitor get(@jakarta.annotation.Nullable final java.util.fun
return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationMonitor::createFromDiscriminatorValue);
}
/**
* 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.
* 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.
* @param body The request body
* @return a {@link ConfigurationMonitor}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand All @@ -101,7 +101,7 @@ public ConfigurationMonitor patch(@jakarta.annotation.Nonnull final Configuratio
return patch(body, null);
}
/**
* 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.
* 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.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ConfigurationMonitor}
Expand Down Expand Up @@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* 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.
* 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.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
* 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.
* 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.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public BaselineRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}/baseline{?%24expand,%24select}", rawUrl);
}
/**
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
* @return a {@link ConfigurationBaseline}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/configurationbaseline-get?view=graph-rest-beta">Find more info here</a>
Expand All @@ -47,7 +47,7 @@ public ConfigurationBaseline get() {
return get(null);
}
/**
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ConfigurationBaseline}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand All @@ -61,15 +61,15 @@ public ConfigurationBaseline get(@jakarta.annotation.Nullable final java.util.fu
return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue);
}
/**
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -91,7 +91,7 @@ public BaselineRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r
return new BaselineRequestBuilder(rawUrl, requestAdapter);
}
/**
* Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
* Get the configurationBaseline attached to a monitor or a configurationTemplateVersion.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading
Loading