diff --git a/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/Models/RoleAssignment.cs b/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/Models/RoleAssignment.cs index 7825ab6a6b491..4589a5bc9c8cb 100644 --- a/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/Models/RoleAssignment.cs +++ b/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/Models/RoleAssignment.cs @@ -46,9 +46,12 @@ public RoleAssignment() /// The Delegation flag for the role /// assignment /// Description of role assignment - /// The conditions on the role - /// assignment - /// Version of the condition + /// The conditions on the role assignment. This + /// limits the resources it can be assigned to. e.g.: + /// @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] + /// StringEqualsIgnoreCase 'foo_storage_container' + /// Version of the condition. Currently + /// accepted values are '1.0' or '2.0' 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?), string description = default(string), string condition = default(string), string conditionVersion = default(string)) { Id = id; @@ -128,13 +131,17 @@ public RoleAssignment() public string Description { get; set; } /// - /// Gets or sets the conditions on the role assignment + /// Gets or sets the conditions on the role assignment. This limits the + /// resources it can be assigned to. e.g.: + /// @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] + /// StringEqualsIgnoreCase 'foo_storage_container' /// [JsonProperty(PropertyName = "properties.condition")] public string Condition { get; set; } /// - /// Gets or sets version of the condition + /// Gets or sets version of the condition. Currently accepted values + /// are '1.0' or '2.0' /// [JsonProperty(PropertyName = "properties.conditionVersion")] public string ConditionVersion { get; set; } diff --git a/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/SdkInfo_AuthorizationManagementClient.cs b/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/SdkInfo_AuthorizationManagementClient.cs index 3e08e4b08e2f3..f6969688e7c2d 100644 --- a/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/SdkInfo_AuthorizationManagementClient.cs +++ b/sdk/authorization/Microsoft.Azure.Management.Authorization/src/Generated/SdkInfo_AuthorizationManagementClient.cs @@ -21,12 +21,13 @@ public static IEnumerable> ApiInfo_AuthorizationMa { new Tuple("Authorization", "ClassicAdministrators", "2015-06-01"), new Tuple("Authorization", "DenyAssignments", "2018-07-01-preview"), + new Tuple("Authorization", "GlobalAdministrator", "2015-07-01"), new Tuple("Authorization", "Permissions", "2018-01-01-preview"), new Tuple("Authorization", "ProviderOperationsMetadata", "2018-01-01-preview"), - new Tuple("Authorization", "RoleAssignments", "2018-09-01-preview"), + new Tuple("Authorization", "RoleAssignments", "2020-04-01-preview"), new Tuple("Authorization", "RoleDefinitions", "2018-01-01-preview"), new Tuple("AuthorizationManagementClient", "DenyAssignments", "2018-07-01-preview"), - new Tuple("AuthorizationManagementClient", "RoleAssignments", "2018-09-01-preview"), + new Tuple("AuthorizationManagementClient", "RoleAssignments", "2020-04-01-preview"), new Tuple("AuthorizationManagementClient", "RoleDefinitions", "2018-01-01-preview"), }.AsEnumerable(); }