Skip to content

Commit cd0504b

Browse files
authored
Merge pull request #3190 from microsoftgraph/kiota/v1.0/pipelinebuild/247501
Generated models and request builders
2 parents 74308b8 + 2538962 commit cd0504b

117 files changed

Lines changed: 3653 additions & 216 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/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilder.cs‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public GovernanceInvitationsRequestBuilder(string rawUrl, IRequestAdapter reques
5454
{
5555
}
5656
/// <summary>
57-
/// Get governanceInvitations from directory
57+
/// Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
58+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governanceinvitations?view=graph-rest-1.0" />
5859
/// </summary>
5960
/// <returns>A <see cref="global::Microsoft.Graph.Models.GovernanceInvitationCollectionResponse"/></returns>
6061
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -77,7 +78,8 @@ public GovernanceInvitationsRequestBuilder(string rawUrl, IRequestAdapter reques
7778
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.GovernanceInvitationCollectionResponse>(requestInfo, global::Microsoft.Graph.Models.GovernanceInvitationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
7879
}
7980
/// <summary>
80-
/// Create new navigation property to governanceInvitations for directory
81+
/// Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
82+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governanceinvitations?view=graph-rest-1.0" />
8183
/// </summary>
8284
/// <returns>A <see cref="global::Microsoft.Graph.Models.GovernanceInvitation"/></returns>
8385
/// <param name="body">The request body</param>
@@ -102,7 +104,7 @@ public GovernanceInvitationsRequestBuilder(string rawUrl, IRequestAdapter reques
102104
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.GovernanceInvitation>(requestInfo, global::Microsoft.Graph.Models.GovernanceInvitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
103105
}
104106
/// <summary>
105-
/// Get governanceInvitations from directory
107+
/// Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
106108
/// </summary>
107109
/// <returns>A <see cref="RequestInformation"/></returns>
108110
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
121123
return requestInfo;
122124
}
123125
/// <summary>
124-
/// Create new navigation property to governanceInvitations for directory
126+
/// Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
125127
/// </summary>
126128
/// <returns>A <see cref="RequestInformation"/></returns>
127129
/// <param name="body">The request body</param>
@@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model
152154
return new global::Microsoft.Graph.DirectoryNamespace.TenantGovernance.GovernanceInvitations.GovernanceInvitationsRequestBuilder(rawUrl, RequestAdapter);
153155
}
154156
/// <summary>
155-
/// Get governanceInvitations from directory
157+
/// Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
156158
/// </summary>
157159
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
158160
public partial class GovernanceInvitationsRequestBuilderGetQueryParameters

‎src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilder.cs‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public GovernanceInvitationItemRequestBuilder(string rawUrl, IRequestAdapter req
3535
{
3636
}
3737
/// <summary>
38-
/// Delete navigation property governanceInvitations for directory
38+
/// Delete a governanceInvitation object.
39+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-delete?view=graph-rest-1.0" />
3940
/// </summary>
4041
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4142
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -57,7 +58,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
5758
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
5859
}
5960
/// <summary>
60-
/// Get governanceInvitations from directory
61+
/// Read the properties of a governanceInvitation object.
62+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-get?view=graph-rest-1.0" />
6163
/// </summary>
6264
/// <returns>A <see cref="global::Microsoft.Graph.Models.GovernanceInvitation"/></returns>
6365
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -105,7 +107,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
105107
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.GovernanceInvitation>(requestInfo, global::Microsoft.Graph.Models.GovernanceInvitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
106108
}
107109
/// <summary>
108-
/// Delete navigation property governanceInvitations for directory
110+
/// Delete a governanceInvitation object.
109111
/// </summary>
110112
/// <returns>A <see cref="RequestInformation"/></returns>
111113
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
124126
return requestInfo;
125127
}
126128
/// <summary>
127-
/// Get governanceInvitations from directory
129+
/// Read the properties of a governanceInvitation object.
128130
/// </summary>
129131
/// <returns>A <see cref="RequestInformation"/></returns>
130132
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -182,7 +184,7 @@ public partial class GovernanceInvitationItemRequestBuilderDeleteRequestConfigur
182184
{
183185
}
184186
/// <summary>
185-
/// Get governanceInvitations from directory
187+
/// Read the properties of a governanceInvitation object.
186188
/// </summary>
187189
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
188190
public partial class GovernanceInvitationItemRequestBuilderGetQueryParameters

‎src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilder.cs‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public GovernancePolicyTemplatesRequestBuilder(string rawUrl, IRequestAdapter re
5454
{
5555
}
5656
/// <summary>
57-
/// Get governancePolicyTemplates from directory
57+
/// Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
58+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancepolicytemplates?view=graph-rest-1.0" />
5859
/// </summary>
5960
/// <returns>A <see cref="global::Microsoft.Graph.Models.TenantGovernancePolicyTemplateCollectionResponse"/></returns>
6061
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -77,7 +78,8 @@ public GovernancePolicyTemplatesRequestBuilder(string rawUrl, IRequestAdapter re
7778
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.TenantGovernancePolicyTemplateCollectionResponse>(requestInfo, global::Microsoft.Graph.Models.TenantGovernancePolicyTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
7879
}
7980
/// <summary>
80-
/// Create new navigation property to governancePolicyTemplates for directory
81+
/// Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
82+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governancepolicytemplates?view=graph-rest-1.0" />
8183
/// </summary>
8284
/// <returns>A <see cref="global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate"/></returns>
8385
/// <param name="body">The request body</param>
@@ -102,7 +104,7 @@ public GovernancePolicyTemplatesRequestBuilder(string rawUrl, IRequestAdapter re
102104
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate>(requestInfo, global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
103105
}
104106
/// <summary>
105-
/// Get governancePolicyTemplates from directory
107+
/// Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
106108
/// </summary>
107109
/// <returns>A <see cref="RequestInformation"/></returns>
108110
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
121123
return requestInfo;
122124
}
123125
/// <summary>
124-
/// Create new navigation property to governancePolicyTemplates for directory
126+
/// Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
125127
/// </summary>
126128
/// <returns>A <see cref="RequestInformation"/></returns>
127129
/// <param name="body">The request body</param>
@@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model
152154
return new global::Microsoft.Graph.DirectoryNamespace.TenantGovernance.GovernancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder(rawUrl, RequestAdapter);
153155
}
154156
/// <summary>
155-
/// Get governancePolicyTemplates from directory
157+
/// Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
156158
/// </summary>
157159
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
158160
public partial class GovernancePolicyTemplatesRequestBuilderGetQueryParameters

‎src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilder.cs‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public TenantGovernancePolicyTemplateItemRequestBuilder(string rawUrl, IRequestA
3535
{
3636
}
3737
/// <summary>
38-
/// Delete navigation property governancePolicyTemplates for directory
38+
/// Delete a tenantGovernancePolicyTemplate object. You can&apos;t delete the default template or templates currently used by active relationships.
39+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-delete-governancepolicytemplates?view=graph-rest-1.0" />
3940
/// </summary>
4041
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
4142
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -57,7 +58,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
5758
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
5859
}
5960
/// <summary>
60-
/// Get governancePolicyTemplates from directory
61+
/// Read the properties of a tenantGovernancePolicyTemplate object.
62+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-get?view=graph-rest-1.0" />
6163
/// </summary>
6264
/// <returns>A <see cref="global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate"/></returns>
6365
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -80,7 +82,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
8082
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate>(requestInfo, global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8183
}
8284
/// <summary>
83-
/// Update the navigation property governancePolicyTemplates in directory
85+
/// Update the properties of a tenantGovernancePolicyTemplate object.
86+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-update?view=graph-rest-1.0" />
8487
/// </summary>
8588
/// <returns>A <see cref="global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate"/></returns>
8689
/// <param name="body">The request body</param>
@@ -105,7 +108,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
105108
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate>(requestInfo, global::Microsoft.Graph.Models.TenantGovernancePolicyTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
106109
}
107110
/// <summary>
108-
/// Delete navigation property governancePolicyTemplates for directory
111+
/// Delete a tenantGovernancePolicyTemplate object. You can&apos;t delete the default template or templates currently used by active relationships.
109112
/// </summary>
110113
/// <returns>A <see cref="RequestInformation"/></returns>
111114
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -124,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
124127
return requestInfo;
125128
}
126129
/// <summary>
127-
/// Get governancePolicyTemplates from directory
130+
/// Read the properties of a tenantGovernancePolicyTemplate object.
128131
/// </summary>
129132
/// <returns>A <see cref="RequestInformation"/></returns>
130133
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -143,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
143146
return requestInfo;
144147
}
145148
/// <summary>
146-
/// Update the navigation property governancePolicyTemplates in directory
149+
/// Update the properties of a tenantGovernancePolicyTemplate object.
147150
/// </summary>
148151
/// <returns>A <see cref="RequestInformation"/></returns>
149152
/// <param name="body">The request body</param>
@@ -182,7 +185,7 @@ public partial class TenantGovernancePolicyTemplateItemRequestBuilderDeleteReque
182185
{
183186
}
184187
/// <summary>
185-
/// Get governancePolicyTemplates from directory
188+
/// Read the properties of a tenantGovernancePolicyTemplate object.
186189
/// </summary>
187190
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
188191
public partial class TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters

‎src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilder.cs‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public GovernanceRelationshipsRequestBuilder(string rawUrl, IRequestAdapter requ
5454
{
5555
}
5656
/// <summary>
57-
/// Get governanceRelationships from directory
57+
/// Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
58+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancerelationships?view=graph-rest-1.0" />
5859
/// </summary>
5960
/// <returns>A <see cref="global::Microsoft.Graph.Models.GovernanceRelationshipCollectionResponse"/></returns>
6061
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -102,7 +103,7 @@ public GovernanceRelationshipsRequestBuilder(string rawUrl, IRequestAdapter requ
102103
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.GovernanceRelationship>(requestInfo, global::Microsoft.Graph.Models.GovernanceRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
103104
}
104105
/// <summary>
105-
/// Get governanceRelationships from directory
106+
/// Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
106107
/// </summary>
107108
/// <returns>A <see cref="RequestInformation"/></returns>
108109
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model
152153
return new global::Microsoft.Graph.DirectoryNamespace.TenantGovernance.GovernanceRelationships.GovernanceRelationshipsRequestBuilder(rawUrl, RequestAdapter);
153154
}
154155
/// <summary>
155-
/// Get governanceRelationships from directory
156+
/// Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
156157
/// </summary>
157158
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
158159
public partial class GovernanceRelationshipsRequestBuilderGetQueryParameters

0 commit comments

Comments
 (0)