graph_rs_sdk/audit_logs/
request.rs1use crate::api_default_imports::*;
4
5api_client!(AuditLogsApiClient, ResourceIdentity::AuditLogs);
6
7impl AuditLogsApiClient {
8 get!(
9 doc: "Get auditLogs",
10 name: get_audit_log_root,
11 path: "/auditLogs"
12 );
13 patch!(
14 doc: "Update auditLogs",
15 name: update_audit_log_root,
16 path: "/auditLogs",
17 body: true
18 );
19 post!(
20 doc: "Create new navigation property to directoryAudits for auditLogs",
21 name: create_directory_audits,
22 path: "/auditLogs/directoryAudits",
23 body: true
24 );
25 get!(
26 doc: "List directoryAudits",
27 name: list_directory_audits,
28 path: "/auditLogs/directoryAudits"
29 );
30 get!(
31 doc: "Get the number of the resource",
32 name: directory_audits_fedb,
33 path: "/auditLogs/directoryAudits/$count"
34 );
35 delete!(
36 doc: "Delete navigation property directoryAudits for auditLogs",
37 name: delete_directory_audits,
38 path: "/auditLogs/directoryAudits/{{id}}",
39 params: directory_audit_id
40 );
41 get!(
42 doc: "Get directoryAudits from auditLogs",
43 name: get_directory_audits,
44 path: "/auditLogs/directoryAudits/{{id}}",
45 params: directory_audit_id
46 );
47 patch!(
48 doc: "Update the navigation property directoryAudits in auditLogs",
49 name: update_directory_audits,
50 path: "/auditLogs/directoryAudits/{{id}}",
51 body: true,
52 params: directory_audit_id
53 );
54 post!(
55 doc: "Create new navigation property to provisioning for auditLogs",
56 name: create_provisioning,
57 path: "/auditLogs/provisioning",
58 body: true
59 );
60 get!(
61 doc: "List provisioningObjectSummary",
62 name: list_provisioning,
63 path: "/auditLogs/provisioning"
64 );
65 get!(
66 doc: "Get the number of the resource",
67 name: get_provisioning_count,
68 path: "/auditLogs/provisioning/$count"
69 );
70 delete!(
71 doc: "Delete navigation property provisioning for auditLogs",
72 name: delete_provisioning,
73 path: "/auditLogs/provisioning/{{id}}",
74 params: provisioning_object_summary_id
75 );
76 get!(
77 doc: "Get provisioning from auditLogs",
78 name: get_provisioning,
79 path: "/auditLogs/provisioning/{{id}}",
80 params: provisioning_object_summary_id
81 );
82 patch!(
83 doc: "Update the navigation property provisioning in auditLogs",
84 name: update_provisioning,
85 path: "/auditLogs/provisioning/{{id}}",
86 body: true,
87 params: provisioning_object_summary_id
88 );
89 post!(
90 doc: "Create new navigation property to signIns for auditLogs",
91 name: create_sign_ins,
92 path: "/auditLogs/signIns",
93 body: true
94 );
95 get!(
96 doc: "List signIns",
97 name: list_sign_ins,
98 path: "/auditLogs/signIns"
99 );
100 get!(
101 doc: "Get the number of the resource",
102 name: get_sign_ins_count,
103 path: "/auditLogs/signIns/$count"
104 );
105 delete!(
106 doc: "Delete navigation property signIns for auditLogs",
107 name: delete_sign_ins,
108 path: "/auditLogs/signIns/{{id}}",
109 params: sign_in_id
110 );
111 get!(
112 doc: "Get signIns from auditLogs",
113 name: get_sign_ins,
114 path: "/auditLogs/signIns/{{id}}",
115 params: sign_in_id
116 );
117 patch!(
118 doc: "Update the navigation property signIns in auditLogs",
119 name: update_sign_ins,
120 path: "/auditLogs/signIns/{{id}}",
121 body: true,
122 params: sign_in_id
123 );
124}