Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal class ListKeysOperation : Operations.ListOperation

public override Type NestedItemType() => typeof(ApiKeyModel);

public override string? UriSuffix() => "/ListKeys";
public override string? UriSuffix() => "/listKeys";

public override System.Net.Http.HttpMethod Method() => System.Net.Http.HttpMethod.Post;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal class RegenerateKeyOperation : Operations.PostOperation

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

public override string? UriSuffix() => "/RegenerateKey";
public override string? UriSuffix() => "/regenerateKey";


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ internal class AttestationProviderListResultModel
public SystemDataModel? SystemData { get; set; }

[JsonPropertyName("value")]
public List<AttestationProviderModel>? Value { get; set; }
public List<AttestationProvidersModel>? Value { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Pandora.Definitions.ResourceManager.Attestation.v2020_10_01.AttestationProviders
{

internal class AttestationProviderModel
internal class AttestationProvidersModel
{
[JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ internal class CreateOperation : Operations.PutOperation
{
public override Type? RequestObject() => typeof(AttestationServiceCreationParamsModel);

public override ResourceID? ResourceId() => new AttestationProviderId();
public override ResourceID? ResourceId() => new AttestationProvidersId();

public override Type? ResponseObject() => typeof(AttestationProviderModel);
public override Type? ResponseObject() => typeof(AttestationProvidersModel);


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class DeleteOperation : Operations.DeleteOperation
HttpStatusCode.OK,
};

public override ResourceID? ResourceId() => new AttestationProviderId();
public override ResourceID? ResourceId() => new AttestationProvidersId();


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace Pandora.Definitions.ResourceManager.Attestation.v2020_10_01.Attestatio
{
internal class GetOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new AttestationProviderId();
public override ResourceID? ResourceId() => new AttestationProvidersId();

public override Type? ResponseObject() => typeof(AttestationProviderModel);
public override Type? ResponseObject() => typeof(AttestationProvidersModel);


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal class GetDefaultByLocationOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new LocationId();

public override Type? ResponseObject() => typeof(AttestationProviderModel);
public override Type? ResponseObject() => typeof(AttestationProvidersModel);

public override string? UriSuffix() => "/defaultProvider";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ internal class UpdateOperation : Operations.PatchOperation

public override Type? RequestObject() => typeof(AttestationServicePatchParamsModel);

public override ResourceID? ResourceId() => new AttestationProviderId();
public override ResourceID? ResourceId() => new AttestationProvidersId();

public override Type? ResponseObject() => typeof(AttestationProviderModel);
public override Type? ResponseObject() => typeof(AttestationProvidersModel);


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Pandora.Definitions.ResourceManager.Attestation.v2020_10_01.AttestationProviders
{
internal class AttestationProviderId : ResourceID
internal class AttestationProvidersId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Pandora.Definitions.ResourceManager.Attestation.v2020_10_01.PrivateEnd
{
internal class ListOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new AttestationProviderId();
public override ResourceID? ResourceId() => new AttestationProvidersId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

namespace Pandora.Definitions.ResourceManager.Attestation.v2020_10_01.PrivateEndpointConnections
{
internal class AttestationProviderId : ResourceID
internal class AttestationProvidersId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProvider/{providerName}";
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


public List<ResourceIDSegment> Segments()
{
Expand Down Expand Up @@ -53,9 +53,9 @@ public List<ResourceIDSegment> Segments()

new()
{
Name = "attestationProvider",
Name = "attestationProviders",
Type = ResourceIDSegmentType.Static,
FixedValue = "attestationProvider"
FixedValue = "attestationProviders"
},

new()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Pandora.Definitions.ResourceManager.EventHub.v2017_04_01.Authorization
{
internal class DisasterRecoveryConfigsGetAuthorizationRuleOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new DisasterRecoveryConfigAuthorizationRuleId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class DisasterRecoveryConfigsListKeysOperation : Operations.PostOperati

public override Type? RequestObject() => null;

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new DisasterRecoveryConfigAuthorizationRuleId();

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

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

namespace Pandora.Definitions.ResourceManager.EventHub.v2017_04_01.AuthorizationRulesDisasterRecoveryConfigs
{
internal class AuthorizationRuleId : ResourceID
internal class DisasterRecoveryConfigAuthorizationRuleId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class EventHubsCreateOrUpdateAuthorizationRuleOperation : Operations.Pu

public override Type? RequestObject() => typeof(AuthorizationRuleModel);

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class EventHubsListKeysOperation : Operations.PostOperation

public override Type? RequestObject() => null;

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class EventHubsRegenerateKeysOperation : Operations.PostOperation

public override Type? RequestObject() => typeof(RegenerateAccessKeyParametersModel);

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();

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

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

namespace Pandora.Definitions.ResourceManager.EventHub.v2017_04_01.AuthorizationRulesEventHubs
{
internal class AuthorizationRuleId : ResourceID
internal class EventhubAuthorizationRuleId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class CreateOrUpdateOperation : Operations.PutOperation

public override Type? RequestObject() => typeof(ConsumerGroupModel);

public override ResourceID? ResourceId() => new ConsumergroupId();
public override ResourceID? ResourceId() => new ConsumerGroupId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class DeleteOperation : Operations.DeleteOperation
HttpStatusCode.OK,
};

public override ResourceID? ResourceId() => new ConsumergroupId();
public override ResourceID? ResourceId() => new ConsumerGroupId();


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Pandora.Definitions.ResourceManager.EventHub.v2017_04_01.ConsumerGroup
{
internal class GetOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new ConsumergroupId();
public override ResourceID? ResourceId() => new ConsumerGroupId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class ListByEventHubOperation : Operations.ListOperation

public override Type? OptionsObject() => typeof(ListByEventHubOperation.ListByEventHubOptions);

public override string? UriSuffix() => "/consumergroups";
public override string? UriSuffix() => "/consumerGroups";

internal class ListByEventHubOptions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

namespace Pandora.Definitions.ResourceManager.EventHub.v2017_04_01.ConsumerGroups
{
internal class ConsumergroupId : ResourceID
internal class ConsumerGroupId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}";
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumerGroups/{consumerGroupName}";

public List<ResourceIDSegment> Segments()
{
Expand Down Expand Up @@ -79,9 +79,9 @@ public List<ResourceIDSegment> Segments()

new()
{
Name = "consumergroups",
Name = "consumerGroups",
Type = ResourceIDSegmentType.Static,
FixedValue = "consumergroups"
FixedValue = "consumerGroups"
},

new()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class DeleteAuthorizationRuleOperation : Operations.DeleteOperation
HttpStatusCode.OK,
};

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Pandora.Definitions.ResourceManager.EventHub.v2017_04_01.EventHubs
{
internal class GetAuthorizationRuleOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();

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

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

namespace Pandora.Definitions.ResourceManager.EventHub.v2017_04_01.EventHubs
{
internal class AuthorizationRuleId : ResourceID
internal class EventhubAuthorizationRuleId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Pandora.Definitions.ResourceManager.EventHub.v2018_01_01_preview.Autho
{
internal class DisasterRecoveryConfigsGetAuthorizationRuleOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new DisasterRecoveryConfigAuthorizationRuleId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class DisasterRecoveryConfigsListKeysOperation : Operations.PostOperati

public override Type? RequestObject() => null;

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new DisasterRecoveryConfigAuthorizationRuleId();

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

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

namespace Pandora.Definitions.ResourceManager.EventHub.v2018_01_01_preview.AuthorizationRulesDisasterRecoveryConfigs
{
internal class AuthorizationRuleId : ResourceID
internal class DisasterRecoveryConfigAuthorizationRuleId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class EventHubsCreateOrUpdateAuthorizationRuleOperation : Operations.Pu

public override Type? RequestObject() => typeof(AuthorizationRuleModel);

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class EventHubsListKeysOperation : Operations.PostOperation

public override Type? RequestObject() => null;

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class EventHubsRegenerateKeysOperation : Operations.PostOperation

public override Type? RequestObject() => typeof(RegenerateAccessKeyParametersModel);

public override ResourceID? ResourceId() => new AuthorizationRuleId();
public override ResourceID? ResourceId() => new EventhubAuthorizationRuleId();

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

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

namespace Pandora.Definitions.ResourceManager.EventHub.v2018_01_01_preview.AuthorizationRulesEventHubs
{
internal class AuthorizationRuleId : ResourceID
internal class EventhubAuthorizationRuleId : ResourceID
{
public string ID() => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class CreateOrUpdateOperation : Operations.PutOperation

public override Type? RequestObject() => typeof(ConsumerGroupModel);

public override ResourceID? ResourceId() => new ConsumergroupId();
public override ResourceID? ResourceId() => new ConsumerGroupId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class DeleteOperation : Operations.DeleteOperation
HttpStatusCode.OK,
};

public override ResourceID? ResourceId() => new ConsumergroupId();
public override ResourceID? ResourceId() => new ConsumerGroupId();


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Pandora.Definitions.ResourceManager.EventHub.v2018_01_01_preview.Consu
{
internal class GetOperation : Operations.GetOperation
{
public override ResourceID? ResourceId() => new ConsumergroupId();
public override ResourceID? ResourceId() => new ConsumerGroupId();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class ListByEventHubOperation : Operations.ListOperation

public override Type? OptionsObject() => typeof(ListByEventHubOperation.ListByEventHubOptions);

public override string? UriSuffix() => "/consumergroups";
public override string? UriSuffix() => "/consumerGroups";

internal class ListByEventHubOptions
{
Expand Down
Loading