Skip to content

Commit

Permalink
data: regenerating based on the latest Swagger (#2715)
Browse files Browse the repository at this point in the history
Co-authored-by: hc-github-team-tf-azure <>
  • Loading branch information
hc-github-team-tf-azure authored Jun 29, 2023
1 parent ccd53de commit 270dfd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Pandora.Definitions.ResourceManager.Authorization.v2022_04_01.DenyAssi

internal class GetOperation : Pandora.Definitions.Operations.GetOperation
{
public override ResourceID? ResourceId() => new ScopedDenyAssignmentId();
public override ResourceID? ResourceId() => new ScopedDenyAssignmentIdId();

public override Type? ResponseObject() => typeof(DenyAssignmentModel);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Pandora.Definitions.ResourceManager.Authorization.v2022_04_01.DenyAssi

internal class GetByIdOperation : Pandora.Definitions.Operations.GetOperation
{
public override ResourceID? ResourceId() => new DenyAssignmentIdId();
public override ResourceID? ResourceId() => new ScopeId();

public override Type? ResponseObject() => typeof(DenyAssignmentModel);

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Pandora.Definitions.ResourceManager.Authorization.v2022_04_01.DenyAssignments;

internal class ScopedDenyAssignmentId : ResourceID
internal class ScopedDenyAssignmentIdId : ResourceID
{
public string? CommonAlias => null;

Expand All @@ -20,6 +20,6 @@ internal class ScopedDenyAssignmentId : ResourceID
ResourceIDSegment.Static("staticProviders", "providers"),
ResourceIDSegment.ResourceProvider("staticMicrosoftAuthorization", "Microsoft.Authorization"),
ResourceIDSegment.Static("staticDenyAssignments", "denyAssignments"),
ResourceIDSegment.UserSpecified("denyAssignmentId"),
ResourceIDSegment.Scope("denyAssignmentId"),
};
}

0 comments on commit 270dfd9

Please sign in to comment.