Skip to content

Commit 2126069

Browse files
authored
[Authorization] Resolve apiview comments (Azure#29661)
* change type to ResourceIdentifier * change type to ResourceIdentifier * change type to ResourceIdentifier * Update Azure.ResourceManager.Authorization.netstandard2.0.cs
1 parent afc41d3 commit 2126069

File tree

46 files changed

+346
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+346
-152
lines changed

sdk/authorization/Azure.ResourceManager.Authorization/api/Azure.ResourceManager.Authorization.netstandard2.0.cs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ internal RoleAssignmentScheduleData() { }
146146
public string PrincipalId { get { throw null; } }
147147
public Azure.ResourceManager.Authorization.Models.PrincipalType? PrincipalType { get { throw null; } }
148148
public Azure.Core.ResourceIdentifier RoleAssignmentScheduleRequestId { get { throw null; } }
149-
public string RoleDefinitionId { get { throw null; } }
149+
public Azure.Core.ResourceIdentifier RoleDefinitionId { get { throw null; } }
150150
public string Scope { get { throw null; } }
151151
public System.DateTimeOffset? StartOn { get { throw null; } }
152152
public Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleStatus? Status { get { throw null; } }
@@ -181,7 +181,7 @@ internal RoleAssignmentScheduleInstanceData() { }
181181
public string PrincipalId { get { throw null; } }
182182
public Azure.ResourceManager.Authorization.Models.PrincipalType? PrincipalType { get { throw null; } }
183183
public Azure.Core.ResourceIdentifier RoleAssignmentScheduleId { get { throw null; } }
184-
public string RoleDefinitionId { get { throw null; } }
184+
public Azure.Core.ResourceIdentifier RoleDefinitionId { get { throw null; } }
185185
public string Scope { get { throw null; } }
186186
public System.DateTimeOffset? StartOn { get { throw null; } }
187187
public Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleInstanceStatus? Status { get { throw null; } }
@@ -225,7 +225,7 @@ public RoleAssignmentScheduleRequestData() { }
225225
public Azure.ResourceManager.Authorization.Models.PrincipalType? PrincipalType { get { throw null; } }
226226
public string RequestorId { get { throw null; } }
227227
public Azure.ResourceManager.Authorization.Models.RequestType? RequestType { get { throw null; } set { } }
228-
public string RoleDefinitionId { get { throw null; } set { } }
228+
public Azure.Core.ResourceIdentifier RoleDefinitionId { get { throw null; } set { } }
229229
public Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleInfo ScheduleInfo { get { throw null; } set { } }
230230
public string Scope { get { throw null; } }
231231
public Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleRequestStatus? Status { get { throw null; } }
@@ -321,8 +321,8 @@ internal RoleEligibilityScheduleData() { }
321321
public Azure.ResourceManager.Authorization.Models.MemberType? MemberType { get { throw null; } }
322322
public string PrincipalId { get { throw null; } }
323323
public Azure.ResourceManager.Authorization.Models.PrincipalType? PrincipalType { get { throw null; } }
324-
public string RoleDefinitionId { get { throw null; } }
325-
public string RoleEligibilityScheduleRequestId { get { throw null; } }
324+
public Azure.Core.ResourceIdentifier RoleDefinitionId { get { throw null; } }
325+
public Azure.Core.ResourceIdentifier RoleEligibilityScheduleRequestId { get { throw null; } }
326326
public string Scope { get { throw null; } }
327327
public System.DateTimeOffset? StartOn { get { throw null; } }
328328
public Azure.ResourceManager.Authorization.Models.RoleEligibilityScheduleStatus? Status { get { throw null; } }
@@ -352,8 +352,8 @@ internal RoleEligibilityScheduleInstanceData() { }
352352
public Azure.ResourceManager.Authorization.Models.MemberType? MemberType { get { throw null; } }
353353
public string PrincipalId { get { throw null; } }
354354
public Azure.ResourceManager.Authorization.Models.PrincipalType? PrincipalType { get { throw null; } }
355-
public string RoleDefinitionId { get { throw null; } }
356-
public string RoleEligibilityScheduleId { get { throw null; } }
355+
public Azure.Core.ResourceIdentifier RoleDefinitionId { get { throw null; } }
356+
public Azure.Core.ResourceIdentifier RoleEligibilityScheduleId { get { throw null; } }
357357
public string Scope { get { throw null; } }
358358
public System.DateTimeOffset? StartOn { get { throw null; } }
359359
public Azure.ResourceManager.Authorization.Models.RoleEligibilityScheduleInstanceStatus? Status { get { throw null; } }
@@ -396,7 +396,7 @@ public RoleEligibilityScheduleRequestData() { }
396396
public Azure.ResourceManager.Authorization.Models.PrincipalType? PrincipalType { get { throw null; } }
397397
public string RequestorId { get { throw null; } }
398398
public Azure.ResourceManager.Authorization.Models.RequestType? RequestType { get { throw null; } set { } }
399-
public string RoleDefinitionId { get { throw null; } set { } }
399+
public Azure.Core.ResourceIdentifier RoleDefinitionId { get { throw null; } set { } }
400400
public Azure.ResourceManager.Authorization.Models.RoleEligibilityScheduleRequestPropertiesScheduleInfo ScheduleInfo { get { throw null; } set { } }
401401
public string Scope { get { throw null; } }
402402
public Azure.ResourceManager.Authorization.Models.RoleEligibilityScheduleRequestStatus? Status { get { throw null; } }
@@ -450,8 +450,8 @@ public partial class RoleManagementPolicyAssignmentData : Azure.ResourceManager.
450450
public RoleManagementPolicyAssignmentData() { }
451451
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule> EffectiveRules { get { throw null; } }
452452
public Azure.ResourceManager.Authorization.Models.PolicyAssignmentProperties PolicyAssignmentProperties { get { throw null; } }
453-
public string PolicyId { get { throw null; } set { } }
454-
public string RoleDefinitionId { get { throw null; } set { } }
453+
public Azure.Core.ResourceIdentifier PolicyId { get { throw null; } set { } }
454+
public Azure.Core.ResourceIdentifier RoleDefinitionId { get { throw null; } set { } }
455455
public string Scope { get { throw null; } set { } }
456456
}
457457
public partial class RoleManagementPolicyAssignmentResource : Azure.ResourceManager.ArmResource
@@ -627,14 +627,14 @@ public partial class ExpandedPropertiesRoleDefinition
627627
internal ExpandedPropertiesRoleDefinition() { }
628628
public string DisplayName { get { throw null; } }
629629
public string ExpandedPropertiesRoleDefinitionType { get { throw null; } }
630-
public string Id { get { throw null; } }
630+
public Azure.Core.ResourceIdentifier Id { get { throw null; } }
631631
}
632632
public partial class ExpandedPropertiesScope
633633
{
634634
internal ExpandedPropertiesScope() { }
635635
public string DisplayName { get { throw null; } }
636636
public string ExpandedPropertiesScopeType { get { throw null; } }
637-
public string Id { get { throw null; } }
637+
public Azure.Core.ResourceIdentifier Id { get { throw null; } }
638638
}
639639
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
640640
public readonly partial struct MemberType : System.IEquatable<Azure.ResourceManager.Authorization.Models.MemberType>
@@ -701,29 +701,29 @@ internal PolicyAssignmentProperties() { }
701701
public partial class PolicyAssignmentPropertiesPolicy
702702
{
703703
internal PolicyAssignmentPropertiesPolicy() { }
704-
public string Id { get { throw null; } }
704+
public Azure.Core.ResourceIdentifier Id { get { throw null; } }
705705
public Azure.ResourceManager.Authorization.Models.AzurePrincipal LastModifiedBy { get { throw null; } }
706706
public System.DateTimeOffset? LastModifiedOn { get { throw null; } }
707707
}
708708
public partial class PolicyAssignmentPropertiesRoleDefinition
709709
{
710710
internal PolicyAssignmentPropertiesRoleDefinition() { }
711711
public string DisplayName { get { throw null; } }
712-
public string Id { get { throw null; } }
712+
public Azure.Core.ResourceIdentifier Id { get { throw null; } }
713713
public string PolicyAssignmentPropertiesRoleDefinitionType { get { throw null; } }
714714
}
715715
public partial class PolicyAssignmentPropertiesScope
716716
{
717717
internal PolicyAssignmentPropertiesScope() { }
718718
public string DisplayName { get { throw null; } }
719-
public string Id { get { throw null; } }
719+
public Azure.Core.ResourceIdentifier Id { get { throw null; } }
720720
public string PolicyAssignmentPropertiesScopeType { get { throw null; } }
721721
}
722722
public partial class PolicyPropertiesScope
723723
{
724724
internal PolicyPropertiesScope() { }
725725
public string DisplayName { get { throw null; } }
726-
public string Id { get { throw null; } }
726+
public Azure.Core.ResourceIdentifier Id { get { throw null; } }
727727
public string PolicyPropertiesScopeType { get { throw null; } }
728728
}
729729
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
@@ -834,7 +834,7 @@ public RoleAssignmentScheduleInfo() { }
834834
public partial class RoleAssignmentScheduleInfoExpiration
835835
{
836836
public RoleAssignmentScheduleInfoExpiration() { }
837-
public System.TimeSpan? Duration { get { throw null; } set { } }
837+
public string Duration { get { throw null; } set { } }
838838
public System.DateTimeOffset? EndOn { get { throw null; } set { } }
839839
public Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleType? RoleAssignmentExpirationType { get { throw null; } set { } }
840840
}
@@ -1024,7 +1024,7 @@ public RoleEligibilityScheduleRequestPropertiesScheduleInfo() { }
10241024
public partial class RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration
10251025
{
10261026
public RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration() { }
1027-
public System.TimeSpan? Duration { get { throw null; } set { } }
1027+
public string Duration { get { throw null; } set { } }
10281028
public System.DateTimeOffset? EndOn { get { throw null; } set { } }
10291029
public Azure.ResourceManager.Authorization.Models.RoleEligibilityScheduleType? RoleEligibilityExpirationType { get { throw null; } set { } }
10301030
}
@@ -1149,7 +1149,7 @@ public partial class RoleManagementPolicyExpirationRule : Azure.ResourceManager.
11491149
{
11501150
public RoleManagementPolicyExpirationRule() { }
11511151
public bool? IsExpirationRequired { get { throw null; } set { } }
1152-
public System.TimeSpan? MaximumDuration { get { throw null; } set { } }
1152+
public string MaximumDuration { get { throw null; } set { } }
11531153
}
11541154
public partial class RoleManagementPolicyNotificationRule : Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule
11551155
{
@@ -1163,7 +1163,7 @@ public RoleManagementPolicyNotificationRule() { }
11631163
public partial class RoleManagementPolicyRule
11641164
{
11651165
public RoleManagementPolicyRule() { }
1166-
public string Id { get { throw null; } set { } }
1166+
public Azure.Core.ResourceIdentifier Id { get { throw null; } set { } }
11671167
public Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget Target { get { throw null; } set { } }
11681168
}
11691169
public partial class RoleManagementPolicyRuleTarget
@@ -1180,7 +1180,7 @@ public partial class UserInfo
11801180
{
11811181
public UserInfo() { }
11821182
public string Description { get { throw null; } set { } }
1183-
public string Id { get { throw null; } set { } }
1183+
public Azure.Core.ResourceIdentifier Id { get { throw null; } set { } }
11841184
public bool? IsBackup { get { throw null; } set { } }
11851185
public Azure.ResourceManager.Authorization.Models.UserType? UserType { get { throw null; } set { } }
11861186
}

sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/ExpandedPropertiesRoleDefinition.Serialization.cs

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/ExpandedPropertiesRoleDefinition.cs

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/ExpandedPropertiesScope.Serialization.cs

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/ExpandedPropertiesScope.cs

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/PolicyAssignmentPropertiesPolicy.Serialization.cs

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/PolicyAssignmentPropertiesPolicy.cs

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/PolicyAssignmentPropertiesRoleDefinition.Serialization.cs

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)