Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Authorization' (#5751)
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5603'
REST Spec PR Author 'KarishmaGhiya'
REST Spec PR Last commit
  • Loading branch information
adxsdknet authored and dsgouda committed Apr 11, 2019
1 parent d137f36 commit e23c5ef
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public RoleAssignment()
/// 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate',
/// 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup',
/// 'Everyone'</param>
/// <param name="canDelegate">The Delegation flag for the
/// roleassignment</param>
/// <param name="canDelegate">The Delegation flag for the role
/// assignment</param>
public RoleAssignment(string id = default(string), string name = default(string), string type = default(string), string scope = default(string), string roleDefinitionId = default(string), string principalId = default(string), string principalType = default(string), bool? canDelegate = default(bool?))
{
Id = id;
Expand Down Expand Up @@ -109,7 +109,7 @@ public RoleAssignment()
public string PrincipalType { get; set; }

/// <summary>
/// Gets or sets the Delegation flag for the roleassignment
/// Gets or sets the Delegation flag for the role assignment
/// </summary>
[JsonProperty(PropertyName = "properties.canDelegate")]
public bool? CanDelegate { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public RoleAssignmentCreateParameters()
/// 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate',
/// 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup',
/// 'Everyone'</param>
/// <param name="canDelegate">The delgation flag used for creating a
/// <param name="canDelegate">The delegation flag used for creating a
/// role assignment</param>
public RoleAssignmentCreateParameters(string roleDefinitionId, string principalId, string principalType = default(string), bool? canDelegate = default(bool?))
{
Expand Down Expand Up @@ -84,7 +84,8 @@ public RoleAssignmentCreateParameters()
public string PrincipalType { get; set; }

/// <summary>
/// Gets or sets the delgation flag used for creating a role assignment
/// Gets or sets the delegation flag used for creating a role
/// assignment
/// </summary>
[JsonProperty(PropertyName = "properties.canDelegate")]
public bool? CanDelegate { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public RoleAssignmentFilter()
/// </summary>
/// <param name="principalId">Returns role assignment of the specific
/// principal.</param>
/// <param name="canDelegate">The Delegation flag for the
/// roleassignment</param>
/// <param name="canDelegate">The Delegation flag for the role
/// assignment</param>
public RoleAssignmentFilter(string principalId = default(string), bool? canDelegate = default(bool?))
{
PrincipalId = principalId;
Expand All @@ -52,7 +52,7 @@ public RoleAssignmentFilter()
public string PrincipalId { get; set; }

/// <summary>
/// Gets or sets the Delegation flag for the roleassignment
/// Gets or sets the Delegation flag for the role assignment
/// </summary>
[JsonProperty(PropertyName = "canDelegate")]
public bool? CanDelegate { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_AuthorizationMa
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "[email protected]";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/authorization/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\Users\\grlin\\dev\\azure-sdk-for-net\\src\\SDKs";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "c93ec80c0a369c6e5566da4d34c3d527f8327168";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}

0 comments on commit e23c5ef

Please sign in to comment.