POST https://graph.microsoft.com/v1.0/deviceManagement/reports/getConfigurationPolicyNonComplianceSummaryReport
Content-type: application/json
Content-length: 278
{
"name": "Name value",
"select": [
"Select value"
],
"search": "Search value",
"groupBy": [
"Group By value"
],
"orderBy": [
"Order By value"
],
"skip": 4,
"top": 3,
"sessionId": "Session Id value",
"filter": "Filter value"
}
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceSummaryReport;
var requestBody = new GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody
{
Name = "Name value",
Select = new List<string>
{
"Select value",
},
Search = "Search value",
GroupBy = new List<string>
{
"Group By value",
},
OrderBy = new List<string>
{
"Order By value",
},
Skip = 4,
Top = 3,
SessionId = "Session Id value",
Filter = "Filter value",
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
await graphClient.DeviceManagement.Reports.GetConfigurationPolicyNonComplianceSummaryReport.PostAsync(requestBody);
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
mgc device-management reports get-configuration-policy-non-compliance-summary-report post --body '{\
"name": "Name value",\
"select": [\
"Select value"\
],\
"search": "Search value",\
"groupBy": [\
"Group By value"\
],\
"orderBy": [\
"Order By value"\
],\
"skip": 4,\
"top": 3,\
"sessionId": "Session Id value",\
"filter": "Filter value"\
}\
'
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
// Code snippets are only available for the latest major version. Current major version is $v1.*
// Dependencies
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
graphdevicemanagement "github.com/microsoftgraph/msgraph-sdk-go/devicemanagement"
//other-imports
)
requestBody := graphdevicemanagement.NewGetConfigurationPolicyNonComplianceSummaryReportPostRequestBody()
name := "Name value"
requestBody.SetName(&name)
select := []string {
"Select value",
}
requestBody.SetSelect(select)
search := "Search value"
requestBody.SetSearch(&search)
groupBy := []string {
"Group By value",
}
requestBody.SetGroupBy(groupBy)
orderBy := []string {
"Order By value",
}
requestBody.SetOrderBy(orderBy)
skip := int32(4)
requestBody.SetSkip(&skip)
top := int32(3)
requestBody.SetTop(&top)
sessionId := "Session Id value"
requestBody.SetSessionId(&sessionId)
filter := "Filter value"
requestBody.SetFilter(&filter)
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=go
graphClient.DeviceManagement().Reports().GetConfigurationPolicyNonComplianceSummaryReport().Post(context.Background(), requestBody, nil)
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
com.microsoft.graph.devicemanagement.reports.getconfigurationpolicynoncompliancesummaryreport.GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody getConfigurationPolicyNonComplianceSummaryReportPostRequestBody = new com.microsoft.graph.devicemanagement.reports.getconfigurationpolicynoncompliancesummaryreport.GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody();
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setName("Name value");
LinkedList<String> select = new LinkedList<String>();
select.add("Select value");
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setSelect(select);
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setSearch("Search value");
LinkedList<String> groupBy = new LinkedList<String>();
groupBy.add("Group By value");
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setGroupBy(groupBy);
LinkedList<String> orderBy = new LinkedList<String>();
orderBy.add("Order By value");
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setOrderBy(orderBy);
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setSkip(4);
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setTop(3);
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setSessionId("Session Id value");
getConfigurationPolicyNonComplianceSummaryReportPostRequestBody.setFilter("Filter value");
graphClient.deviceManagement().reports().getConfigurationPolicyNonComplianceSummaryReport().post(getConfigurationPolicyNonComplianceSummaryReportPostRequestBody);
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
const options = {
authProvider,
};
const client = Client.init(options);
const stream = {
name: 'Name value',
select: [
'Select value'
],
search: 'Search value',
groupBy: [
'Group By value'
],
orderBy: [
'Order By value'
],
skip: 4,
top: 3,
sessionId: 'Session Id value',
filter: 'Filter value'
};
await client.api('/deviceManagement/reports/getConfigurationPolicyNonComplianceSummaryReport')
.post(stream);
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
<?php
use Microsoft\Graph\GraphServiceClient;
use Microsoft\Graph\Generated\DeviceManagement\Reports\GetConfigurationPolicyNonComplianceSummaryReport\GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody();
$requestBody->setName('Name value');
$requestBody->setSelect(['Select value', ]);
$requestBody->setSearch('Search value');
$requestBody->setGroupBy(['Group By value', ]);
$requestBody->setOrderBy(['Order By value', ]);
$requestBody->setSkip(4);
$requestBody->setTop(3);
$requestBody->setSessionId('Session Id value');
$requestBody->setFilter('Filter value');
$graphServiceClient->deviceManagement()->reports()->getConfigurationPolicyNonComplianceSummaryReport()->post($requestBody)->wait();
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
Import-Module Microsoft.Graph.DeviceManagement.Actions
$params = @{
name = "Name value"
select = @(
"Select value"
)
search = "Search value"
groupBy = @(
"Group By value"
)
orderBy = @(
"Order By value"
)
skip = 4
top = 3
sessionId = "Session Id value"
filter = "Filter value"
}
Get-MgDeviceManagementReportConfigurationPolicyNonComplianceSummaryReport -BodyParameter $params
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.devicemanagement.reports.get_configuration_policy_non_compliance_summary_report.get_configuration_policy_non_compliance_summary_report_post_request_body import GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = GetConfigurationPolicyNonComplianceSummaryReportPostRequestBody(
name = "Name value",
select = [
"Select value",
],
search = "Search value",
group_by = [
"Group By value",
],
order_by = [
"Order By value",
],
skip = 4,
top = 3,
session_id = "Session Id value",
filter = "Filter value",
)
await graph_client.device_management.reports.get_configuration_policy_non_compliance_summary_report.post(request_body)
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
以下は、応答の例です。 注: 簡潔にするために、ここに示す応答オブジェクトは切り詰められている場合があります。 実際の呼び出しではすべてのプロパティが返されます。