Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Graph.RBAC'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5181'
REST Spec PR Author 'yugangw-msft'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed Mar 10, 2019
1 parent 8af5227 commit 60e45a8
Show file tree
Hide file tree
Showing 9 changed files with 460 additions and 578 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,6 @@ public partial class GraphRbacManagementClient : ServiceClient<GraphRbacManageme
/// </summary>
public virtual IOAuth2PermissionGrantOperations OAuth2PermissionGrant { get; private set; }

/// <summary>
/// Gets the IOAuth2Operations.
/// </summary>
public virtual IOAuth2Operations OAuth2 { get; private set; }

/// <summary>
/// Initializes a new instance of the GraphRbacManagementClient class.
/// </summary>
Expand Down Expand Up @@ -374,7 +369,6 @@ private void Initialize()
Objects = new ObjectsOperations(this);
Domains = new DomainsOperations(this);
OAuth2PermissionGrant = new OAuth2PermissionGrantOperations(this);
OAuth2 = new OAuth2Operations(this);
BaseUri = new System.Uri("https://graph.windows.net");
ApiVersion = "1.6";
AcceptLanguage = "en-US";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,5 @@ public partial interface IGraphRbacManagementClient : System.IDisposable
/// </summary>
IOAuth2PermissionGrantOperations OAuth2PermissionGrant { get; }

/// <summary>
/// Gets the IOAuth2Operations.
/// </summary>
IOAuth2Operations OAuth2 { get; }

}
}
70 changes: 0 additions & 70 deletions src/SDKs/Graph.RBAC/Graph.RBAC/Generated/IOAuth2Operations.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,49 @@ public partial interface IOAuth2PermissionGrantOperations
/// </exception>
Task<AzureOperationResponse<IPage<OAuth2PermissionGrant>>> ListWithHttpMessagesAsync(string filter = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Grants OAuth2 permissions for the relevant resource Ids of an app.
/// </summary>
/// <param name='body'>
/// The relevant app Service Principal Object Id and the Service
/// Principal Object Id you want to grant.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<OAuth2PermissionGrant>> CreateWithHttpMessagesAsync(OAuth2PermissionGrant body = default(OAuth2PermissionGrant), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Delete a OAuth2 permission grant for the relevant resource Ids of
/// an app.
/// </summary>
/// <param name='objectId'>
/// The object ID of a permission grant.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="GraphErrorException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string objectId, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the next page of OAuth2 permission grants
/// </summary>
/// <param name='nextLink'>
Expand Down
Loading

0 comments on commit 60e45a8

Please sign in to comment.