Skip to content

Commit

Permalink
Merge pull request #830 from microsoftgraph/kiota/beta/pipelinebuild/…
Browse files Browse the repository at this point in the history
…144721

Generated beta models and request builders
  • Loading branch information
andrueastman authored Apr 25, 2024
2 parents e37298e + 7fd643e commit 3e4e5bf
Show file tree
Hide file tree
Showing 15,074 changed files with 54,746 additions and 28,949 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public AccessReviewsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
}
/// <summary>
/// Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="AccessReviewCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -76,7 +76,7 @@ public async Task<AccessReviewCollectionResponse> GetAsync(Action<RequestConfigu
}
/// <summary>
/// In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="AccessReview"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public AccessReviewItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap
}
/// <summary>
/// In the Microsoft Entra access reviews feature, delete an accessReview object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-beta" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -104,7 +104,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="AccessReview"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -128,7 +128,7 @@ public async Task<AccessReview> GetAsync(Action<RequestConfiguration<AccessRevie
}
/// <summary>
/// In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="AccessReview"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public ApplyDecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
}
/// <summary>
/// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn&apos;t configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user&apos;s access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn&apos;t have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public DecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
{
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0" />
/// The collection of decisions for this access review.
/// </summary>
/// <returns>A <see cref="AccessReviewDecisionCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -100,7 +99,7 @@ public async Task<AccessReviewDecision> PostAsync(AccessReviewDecision body, Act
return await RequestAdapter.SendAsync<AccessReviewDecision>(requestInfo, AccessReviewDecision.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
/// The collection of decisions for this access review.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -150,7 +149,7 @@ public DecisionsRequestBuilder WithUrl(string rawUrl)
return new DecisionsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
/// The collection of decisions for this access review.
/// </summary>
public class DecisionsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public ApplyDecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
}
/// <summary>
/// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn&apos;t configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user&apos;s access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn&apos;t have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public DecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
{
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0" />
/// The collection of decisions for this access review.
/// </summary>
/// <returns>A <see cref="AccessReviewDecisionCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -100,7 +99,7 @@ public async Task<AccessReviewDecision> PostAsync(AccessReviewDecision body, Act
return await RequestAdapter.SendAsync<AccessReviewDecision>(requestInfo, AccessReviewDecision.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
/// The collection of decisions for this access review.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -150,7 +149,7 @@ public DecisionsRequestBuilder WithUrl(string rawUrl)
return new DecisionsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
/// The collection of decisions for this access review.
/// </summary>
public class DecisionsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public MyDecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-listmydecisions?view=graph-rest-1.0" />
/// The collection of decisions for the caller, if the caller is a reviewer.
/// </summary>
/// <returns>A <see cref="AccessReviewDecisionCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -100,7 +99,7 @@ public async Task<AccessReviewDecision> PostAsync(AccessReviewDecision body, Act
return await RequestAdapter.SendAsync<AccessReviewDecision>(requestInfo, AccessReviewDecision.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
/// The collection of decisions for the caller, if the caller is a reviewer.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -150,7 +149,7 @@ public MyDecisionsRequestBuilder WithUrl(string rawUrl)
return new MyDecisionsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer.
/// The collection of decisions for the caller, if the caller is a reviewer.
/// </summary>
public class MyDecisionsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public ResetDecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
}
/// <summary>
/// In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-1.0" />
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-beta" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ public AccessReviewReviewerItemRequestBuilder(string rawUrl, IRequestAdapter req
{
}
/// <summary>
/// In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn&apos;t yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn&apos;t permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-removereviewer?view=graph-rest-1.0" />
/// Delete navigation property reviewers for accessReviews
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -103,7 +102,7 @@ public async Task<AccessReviewReviewer> PatchAsync(AccessReviewReviewer body, Ac
return await RequestAdapter.SendAsync<AccessReviewReviewer>(requestInfo, AccessReviewReviewer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn&apos;t yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn&apos;t permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
/// Delete navigation property reviewers for accessReviews
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Loading

0 comments on commit 3e4e5bf

Please sign in to comment.