From e23c5efc36b22b82715aa22cbff832b0a006c6b4 Mon Sep 17 00:00:00 2001
From: adxsdknet <39844661+adxsdknet@users.noreply.github.com>
Date: Thu, 11 Apr 2019 10:32:07 -0700
Subject: [PATCH] .NET SDK Resource Provider:'Authorization' (#5751)
REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/5603'
REST Spec PR Author 'KarishmaGhiya'
REST Spec PR Last commit
---
.../Generated/Models/RoleAssignment.cs | 6 +++---
.../Models/RoleAssignmentCreateParameters.cs | 5 +++--
.../Generated/Models/RoleAssignmentFilter.cs | 6 +++---
.../SdkInfo_AuthorizationManagementClient.cs | 11 -----------
4 files changed, 9 insertions(+), 19 deletions(-)
diff --git a/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignment.cs b/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignment.cs
index f4f9d30fab2ee..bd80ddabff790 100644
--- a/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignment.cs
+++ b/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignment.cs
@@ -43,8 +43,8 @@ public RoleAssignment()
/// 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate',
/// 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup',
/// 'Everyone'
- /// The Delegation flag for the
- /// roleassignment
+ /// The Delegation flag for the role
+ /// assignment
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;
@@ -109,7 +109,7 @@ public RoleAssignment()
public string PrincipalType { get; set; }
///
- /// Gets or sets the Delegation flag for the roleassignment
+ /// Gets or sets the Delegation flag for the role assignment
///
[JsonProperty(PropertyName = "properties.canDelegate")]
public bool? CanDelegate { get; set; }
diff --git a/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentCreateParameters.cs b/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentCreateParameters.cs
index 790721b046684..0cf14e343cd1f 100644
--- a/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentCreateParameters.cs
+++ b/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentCreateParameters.cs
@@ -44,7 +44,7 @@ public RoleAssignmentCreateParameters()
/// 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate',
/// 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup',
/// 'Everyone'
- /// The delgation flag used for creating a
+ /// The delegation flag used for creating a
/// role assignment
public RoleAssignmentCreateParameters(string roleDefinitionId, string principalId, string principalType = default(string), bool? canDelegate = default(bool?))
{
@@ -84,7 +84,8 @@ public RoleAssignmentCreateParameters()
public string PrincipalType { get; set; }
///
- /// Gets or sets the delgation flag used for creating a role assignment
+ /// Gets or sets the delegation flag used for creating a role
+ /// assignment
///
[JsonProperty(PropertyName = "properties.canDelegate")]
public bool? CanDelegate { get; set; }
diff --git a/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentFilter.cs b/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentFilter.cs
index 9c85a873879cb..cc588def72cd5 100644
--- a/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentFilter.cs
+++ b/src/SDKs/Authorization/Management.Authorization/Generated/Models/RoleAssignmentFilter.cs
@@ -31,8 +31,8 @@ public RoleAssignmentFilter()
///
/// Returns role assignment of the specific
/// principal.
- /// The Delegation flag for the
- /// roleassignment
+ /// The Delegation flag for the role
+ /// assignment
public RoleAssignmentFilter(string principalId = default(string), bool? canDelegate = default(bool?))
{
PrincipalId = principalId;
@@ -52,7 +52,7 @@ public RoleAssignmentFilter()
public string PrincipalId { get; set; }
///
- /// Gets or sets the Delegation flag for the roleassignment
+ /// Gets or sets the Delegation flag for the role assignment
///
[JsonProperty(PropertyName = "canDelegate")]
public bool? CanDelegate { get; set; }
diff --git a/src/SDKs/Authorization/Management.Authorization/Generated/SdkInfo_AuthorizationManagementClient.cs b/src/SDKs/Authorization/Management.Authorization/Generated/SdkInfo_AuthorizationManagementClient.cs
index 311f2c3a25643..3e08e4b08e2f3 100644
--- a/src/SDKs/Authorization/Management.Authorization/Generated/SdkInfo_AuthorizationManagementClient.cs
+++ b/src/SDKs/Authorization/Management.Authorization/Generated/SdkInfo_AuthorizationManagementClient.cs
@@ -31,16 +31,5 @@ public static IEnumerable> ApiInfo_AuthorizationMa
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "latest";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
- 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
}
}
-