-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2843 from hashicorp/data/regeneration-from-4e1678…
…b1d7558ee2e07d24c8517dcd302ea83f1c Data: regenerating based on 4e1678b
- Loading branch information
Showing
514 changed files
with
14,425 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...sourceManager/ContainerApps/v2022_11_01_preview/ApiVersionDefinition-GenerationSetting.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview; | ||
|
||
public partial class Definition | ||
{ | ||
public bool Generate => true; | ||
} |
31 changes: 31 additions & 0 deletions
31
...ora.Definitions.ResourceManager/ContainerApps/v2022_11_01_preview/ApiVersionDefinition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview; | ||
|
||
public partial class Definition : ApiVersionDefinition | ||
{ | ||
public string ApiVersion => "2022-11-01-preview"; | ||
public bool Preview => true; | ||
public Source Source => Source.ResourceManagerRestApiSpecs; | ||
|
||
public IEnumerable<ResourceDefinition> Resources => new List<ResourceDefinition> | ||
{ | ||
new AvailableWorkloadProfiles.Definition(), | ||
new BillingMeters.Definition(), | ||
new Certificates.Definition(), | ||
new ConnectedEnvironments.Definition(), | ||
new ConnectedEnvironmentsStorages.Definition(), | ||
new ContainerApps.Definition(), | ||
new ContainerAppsAuthConfigs.Definition(), | ||
new ContainerAppsRevisionReplicas.Definition(), | ||
new ContainerAppsRevisions.Definition(), | ||
new ContainerAppsSourceControls.Definition(), | ||
new DaprComponents.Definition(), | ||
new Diagnostics.Definition(), | ||
new Jobs.Definition(), | ||
new ManagedCertificates.Definition(), | ||
new ManagedEnvironments.Definition(), | ||
new ManagedEnvironmentsStorages.Definition(), | ||
}; | ||
} |
14 changes: 14 additions & 0 deletions
14
...ger/ContainerApps/v2022_11_01_preview/AvailableWorkloadProfiles/Constant-Applicability.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.AvailableWorkloadProfiles; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum ApplicabilityConstant | ||
{ | ||
[Description("Custom")] | ||
Custom, | ||
|
||
[Description("LocationDefault")] | ||
LocationDefault, | ||
} |
27 changes: 27 additions & 0 deletions
27
...ResourceManager/ContainerApps/v2022_11_01_preview/AvailableWorkloadProfiles/Definition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.AvailableWorkloadProfiles; | ||
|
||
internal class Definition : ResourceDefinition | ||
{ | ||
public string Name => "AvailableWorkloadProfiles"; | ||
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation> | ||
{ | ||
new GetOperation(), | ||
}; | ||
public IEnumerable<System.Type> Constants => new List<System.Type> | ||
{ | ||
typeof(ApplicabilityConstant), | ||
}; | ||
public IEnumerable<System.Type> Models => new List<System.Type> | ||
{ | ||
typeof(AvailableWorkloadProfileModel), | ||
typeof(AvailableWorkloadProfilePropertiesModel), | ||
}; | ||
} |
35 changes: 35 additions & 0 deletions
35
...ainerApps/v2022_11_01_preview/AvailableWorkloadProfiles/Model-AvailableWorkloadProfile.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.AvailableWorkloadProfiles; | ||
|
||
|
||
internal class AvailableWorkloadProfileModel | ||
{ | ||
[JsonPropertyName("id")] | ||
public string? Id { get; set; } | ||
|
||
[JsonPropertyName("location")] | ||
public CustomTypes.Location? Location { get; set; } | ||
|
||
[JsonPropertyName("name")] | ||
public string? Name { get; set; } | ||
|
||
[JsonPropertyName("properties")] | ||
public AvailableWorkloadProfilePropertiesModel? Properties { get; set; } | ||
|
||
[JsonPropertyName("systemData")] | ||
public CustomTypes.SystemData? SystemData { get; set; } | ||
|
||
[JsonPropertyName("type")] | ||
public string? Type { get; set; } | ||
} |
32 changes: 32 additions & 0 deletions
32
...v2022_11_01_preview/AvailableWorkloadProfiles/Model-AvailableWorkloadProfileProperties.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.AvailableWorkloadProfiles; | ||
|
||
|
||
internal class AvailableWorkloadProfilePropertiesModel | ||
{ | ||
[JsonPropertyName("applicability")] | ||
public ApplicabilityConstant? Applicability { get; set; } | ||
|
||
[JsonPropertyName("category")] | ||
public string? Category { get; set; } | ||
|
||
[JsonPropertyName("cores")] | ||
public int? Cores { get; set; } | ||
|
||
[JsonPropertyName("displayName")] | ||
public string? DisplayName { get; set; } | ||
|
||
[JsonPropertyName("memoryGiB")] | ||
public int? MemoryGiB { get; set; } | ||
} |
26 changes: 26 additions & 0 deletions
26
...ourceManager/ContainerApps/v2022_11_01_preview/AvailableWorkloadProfiles/Operation-Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.AvailableWorkloadProfiles; | ||
|
||
internal class GetOperation : Pandora.Definitions.Operations.ListOperation | ||
{ | ||
public override string? FieldContainingPaginationDetails() => "nextLink"; | ||
|
||
public override ResourceID? ResourceId() => new LocationId(); | ||
|
||
public override Type NestedItemType() => typeof(AvailableWorkloadProfileModel); | ||
|
||
public override string? UriSuffix() => "/availableManagedEnvironmentsWorkloadProfileTypes"; | ||
|
||
|
||
} |
26 changes: 26 additions & 0 deletions
26
...ager/ContainerApps/v2022_11_01_preview/AvailableWorkloadProfiles/ResourceId-LocationId.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.AvailableWorkloadProfiles; | ||
|
||
internal class LocationId : ResourceID | ||
{ | ||
public string? CommonAlias => null; | ||
|
||
public string ID => "/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{locationName}"; | ||
|
||
public List<ResourceIDSegment> Segments => new List<ResourceIDSegment> | ||
{ | ||
ResourceIDSegment.Static("staticSubscriptions", "subscriptions"), | ||
ResourceIDSegment.SubscriptionId("subscriptionId"), | ||
ResourceIDSegment.Static("staticProviders", "providers"), | ||
ResourceIDSegment.ResourceProvider("staticMicrosoftApp", "Microsoft.App"), | ||
ResourceIDSegment.Static("staticLocations", "locations"), | ||
ResourceIDSegment.UserSpecified("locationName"), | ||
}; | ||
} |
28 changes: 28 additions & 0 deletions
28
...Definitions.ResourceManager/ContainerApps/v2022_11_01_preview/BillingMeters/Definition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.BillingMeters; | ||
|
||
internal class Definition : ResourceDefinition | ||
{ | ||
public string Name => "BillingMeters"; | ||
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation> | ||
{ | ||
new GetOperation(), | ||
}; | ||
public IEnumerable<System.Type> Constants => new List<System.Type> | ||
{ | ||
|
||
}; | ||
public IEnumerable<System.Type> Models => new List<System.Type> | ||
{ | ||
typeof(BillingMeterModel), | ||
typeof(BillingMeterCollectionModel), | ||
typeof(BillingMeterPropertiesModel), | ||
}; | ||
} |
35 changes: 35 additions & 0 deletions
35
...ons.ResourceManager/ContainerApps/v2022_11_01_preview/BillingMeters/Model-BillingMeter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.BillingMeters; | ||
|
||
|
||
internal class BillingMeterModel | ||
{ | ||
[JsonPropertyName("id")] | ||
public string? Id { get; set; } | ||
|
||
[JsonPropertyName("location")] | ||
public CustomTypes.Location? Location { get; set; } | ||
|
||
[JsonPropertyName("name")] | ||
public string? Name { get; set; } | ||
|
||
[JsonPropertyName("properties")] | ||
public BillingMeterPropertiesModel? Properties { get; set; } | ||
|
||
[JsonPropertyName("systemData")] | ||
public CustomTypes.SystemData? SystemData { get; set; } | ||
|
||
[JsonPropertyName("type")] | ||
public string? Type { get; set; } | ||
} |
21 changes: 21 additions & 0 deletions
21
...ceManager/ContainerApps/v2022_11_01_preview/BillingMeters/Model-BillingMeterCollection.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.BillingMeters; | ||
|
||
|
||
internal class BillingMeterCollectionModel | ||
{ | ||
[JsonPropertyName("value")] | ||
[Required] | ||
public List<BillingMeterModel> Value { get; set; } | ||
} |
26 changes: 26 additions & 0 deletions
26
...ceManager/ContainerApps/v2022_11_01_preview/BillingMeters/Model-BillingMeterProperties.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.BillingMeters; | ||
|
||
|
||
internal class BillingMeterPropertiesModel | ||
{ | ||
[JsonPropertyName("category")] | ||
public string? Category { get; set; } | ||
|
||
[JsonPropertyName("displayName")] | ||
public string? DisplayName { get; set; } | ||
|
||
[JsonPropertyName("meterType")] | ||
public string? MeterType { get; set; } | ||
} |
24 changes: 24 additions & 0 deletions
24
...initions.ResourceManager/ContainerApps/v2022_11_01_preview/BillingMeters/Operation-Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.BillingMeters; | ||
|
||
internal class GetOperation : Pandora.Definitions.Operations.GetOperation | ||
{ | ||
public override ResourceID? ResourceId() => new LocationId(); | ||
|
||
public override Type? ResponseObject() => typeof(BillingMeterCollectionModel); | ||
|
||
public override string? UriSuffix() => "/billingMeters"; | ||
|
||
|
||
} |
26 changes: 26 additions & 0 deletions
26
....ResourceManager/ContainerApps/v2022_11_01_preview/BillingMeters/ResourceId-LocationId.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.BillingMeters; | ||
|
||
internal class LocationId : ResourceID | ||
{ | ||
public string? CommonAlias => null; | ||
|
||
public string ID => "/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{locationName}"; | ||
|
||
public List<ResourceIDSegment> Segments => new List<ResourceIDSegment> | ||
{ | ||
ResourceIDSegment.Static("staticSubscriptions", "subscriptions"), | ||
ResourceIDSegment.SubscriptionId("subscriptionId"), | ||
ResourceIDSegment.Static("staticProviders", "providers"), | ||
ResourceIDSegment.ResourceProvider("staticMicrosoftApp", "Microsoft.App"), | ||
ResourceIDSegment.Static("staticLocations", "locations"), | ||
ResourceIDSegment.UserSpecified("locationName"), | ||
}; | ||
} |
23 changes: 23 additions & 0 deletions
23
...r/ContainerApps/v2022_11_01_preview/Certificates/Constant-CertificateProvisioningState.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_11_01_preview.Certificates; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum CertificateProvisioningStateConstant | ||
{ | ||
[Description("Canceled")] | ||
Canceled, | ||
|
||
[Description("DeleteFailed")] | ||
DeleteFailed, | ||
|
||
[Description("Failed")] | ||
Failed, | ||
|
||
[Description("Pending")] | ||
Pending, | ||
|
||
[Description("Succeeded")] | ||
Succeeded, | ||
} |
Oops, something went wrong.