-
Notifications
You must be signed in to change notification settings - Fork 60
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 #730 from hashicorp/data/regeneration-from-52abcab…
…444c8fd5fe2c69029f25993e1177ecb2b Data: regenerating based on 52abcab
- Loading branch information
Showing
237 changed files
with
6,178 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...Pandora.Definitions.ResourceManager/ContainerApps/ServiceDefinition-GenerationSettings.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; | ||
|
||
public partial class Service | ||
{ | ||
public bool Generate => true; | ||
} |
9 changes: 9 additions & 0 deletions
9
data/Pandora.Definitions.ResourceManager/ContainerApps/ServiceDefinition.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,9 @@ | ||
using Pandora.Definitions.Interfaces; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps; | ||
|
||
public partial class Service : ServiceDefinition | ||
{ | ||
public string Name => "ContainerApps"; | ||
public string? ResourceProvider => "Microsoft.App"; | ||
} |
6 changes: 6 additions & 0 deletions
6
...sourceManager/ContainerApps/v2022_01_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_01_01_preview; | ||
|
||
public partial class Definition | ||
{ | ||
public bool Generate => true; | ||
} |
22 changes: 22 additions & 0 deletions
22
...ora.Definitions.ResourceManager/ContainerApps/v2022_01_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,22 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview; | ||
public partial class Definition : ApiVersionDefinition | ||
{ | ||
public string ApiVersion => "2022-01-01-preview"; | ||
public bool Preview => true; | ||
|
||
public IEnumerable<ResourceDefinition> Resources => new List<ResourceDefinition> | ||
{ | ||
new Certificates.Definition(), | ||
new ContainerApps.Definition(), | ||
new ContainerAppsAuthConfigs.Definition(), | ||
new ContainerAppsRevisionReplicas.Definition(), | ||
new ContainerAppsRevisions.Definition(), | ||
new ContainerAppsSourceControls.Definition(), | ||
new DaprComponents.Definition(), | ||
new ManagedEnvironments.Definition(), | ||
new ManagedEnvironmentsStorages.Definition(), | ||
}; | ||
} |
23 changes: 23 additions & 0 deletions
23
...r/ContainerApps/v2022_01_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_01_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, | ||
} |
20 changes: 20 additions & 0 deletions
20
....ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/Constant-CreatedByType.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,20 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum CreatedByTypeConstant | ||
{ | ||
[Description("Application")] | ||
Application, | ||
|
||
[Description("Key")] | ||
Key, | ||
|
||
[Description("ManagedIdentity")] | ||
ManagedIdentity, | ||
|
||
[Description("User")] | ||
User, | ||
} |
17 changes: 17 additions & 0 deletions
17
....Definitions.ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/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,17 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
internal class Definition : ResourceDefinition | ||
{ | ||
public string Name => "Certificates"; | ||
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation> | ||
{ | ||
new CreateOrUpdateOperation(), | ||
new DeleteOperation(), | ||
new GetOperation(), | ||
new ListOperation(), | ||
new UpdateOperation(), | ||
}; | ||
} |
34 changes: 34 additions & 0 deletions
34
...tions.ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/Model-Certificate.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,34 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
|
||
internal class CertificateModel | ||
{ | ||
[JsonPropertyName("id")] | ||
public string? Id { get; set; } | ||
|
||
[JsonPropertyName("location")] | ||
[Required] | ||
public CustomTypes.Location Location { get; set; } | ||
|
||
[JsonPropertyName("name")] | ||
public string? Name { get; set; } | ||
|
||
[JsonPropertyName("properties")] | ||
public CertificatePropertiesModel? Properties { get; set; } | ||
|
||
[JsonPropertyName("systemData")] | ||
public SystemDataModel? SystemData { get; set; } | ||
|
||
[JsonPropertyName("tags")] | ||
public CustomTypes.Tags? Tags { get; set; } | ||
|
||
[JsonPropertyName("type")] | ||
public string? Type { get; set; } | ||
} |
15 changes: 15 additions & 0 deletions
15
....ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/Model-CertificatePatch.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,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
|
||
internal class CertificatePatchModel | ||
{ | ||
[JsonPropertyName("tags")] | ||
public CustomTypes.Tags? Tags { get; set; } | ||
} |
44 changes: 44 additions & 0 deletions
44
...urceManager/ContainerApps/v2022_01_01_preview/Certificates/Model-CertificateProperties.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,44 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
|
||
internal class CertificatePropertiesModel | ||
{ | ||
[DateFormat(DateFormatAttribute.DateFormat.RFC3339)] | ||
[JsonPropertyName("expirationDate")] | ||
public DateTime? ExpirationDate { get; set; } | ||
|
||
[DateFormat(DateFormatAttribute.DateFormat.RFC3339)] | ||
[JsonPropertyName("issueDate")] | ||
public DateTime? IssueDate { get; set; } | ||
|
||
[JsonPropertyName("issuer")] | ||
public string? Issuer { get; set; } | ||
|
||
[JsonPropertyName("password")] | ||
public string? Password { get; set; } | ||
|
||
[JsonPropertyName("provisioningState")] | ||
public CertificateProvisioningStateConstant? ProvisioningState { get; set; } | ||
|
||
[JsonPropertyName("publicKeyHash")] | ||
public string? PublicKeyHash { get; set; } | ||
|
||
[JsonPropertyName("subjectName")] | ||
public string? SubjectName { get; set; } | ||
|
||
[JsonPropertyName("thumbprint")] | ||
public string? Thumbprint { get; set; } | ||
|
||
[JsonPropertyName("valid")] | ||
public bool? Valid { get; set; } | ||
|
||
[JsonPropertyName("value")] | ||
public string? Value { get; set; } | ||
} |
32 changes: 32 additions & 0 deletions
32
...itions.ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/Model-SystemData.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; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
|
||
internal class SystemDataModel | ||
{ | ||
[DateFormat(DateFormatAttribute.DateFormat.RFC3339)] | ||
[JsonPropertyName("createdAt")] | ||
public DateTime? CreatedAt { get; set; } | ||
|
||
[JsonPropertyName("createdBy")] | ||
public string? CreatedBy { get; set; } | ||
|
||
[JsonPropertyName("createdByType")] | ||
public CreatedByTypeConstant? CreatedByType { get; set; } | ||
|
||
[DateFormat(DateFormatAttribute.DateFormat.RFC3339)] | ||
[JsonPropertyName("lastModifiedAt")] | ||
public DateTime? LastModifiedAt { get; set; } | ||
|
||
[JsonPropertyName("lastModifiedBy")] | ||
public string? LastModifiedBy { get; set; } | ||
|
||
[JsonPropertyName("lastModifiedByType")] | ||
public CreatedByTypeConstant? LastModifiedByType { get; set; } | ||
} |
25 changes: 25 additions & 0 deletions
25
...esourceManager/ContainerApps/v2022_01_01_preview/Certificates/Operation-CreateOrUpdate.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,25 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using Pandora.Definitions.Operations; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
internal class CreateOrUpdateOperation : Operations.PutOperation | ||
{ | ||
public override IEnumerable<HttpStatusCode> ExpectedStatusCodes() => new List<HttpStatusCode> | ||
{ | ||
HttpStatusCode.OK, | ||
}; | ||
|
||
public override Type? RequestObject() => typeof(CertificateModel); | ||
|
||
public override ResourceID? ResourceId() => new CertificateId(); | ||
|
||
public override Type? ResponseObject() => typeof(CertificateModel); | ||
|
||
|
||
} |
22 changes: 22 additions & 0 deletions
22
...itions.ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/Operation-Delete.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,22 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using Pandora.Definitions.Operations; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
internal class DeleteOperation : Operations.DeleteOperation | ||
{ | ||
public override IEnumerable<HttpStatusCode> ExpectedStatusCodes() => new List<HttpStatusCode> | ||
{ | ||
HttpStatusCode.NoContent, | ||
HttpStatusCode.OK, | ||
}; | ||
|
||
public override ResourceID? ResourceId() => new CertificateId(); | ||
|
||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...finitions.ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/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,18 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using Pandora.Definitions.Operations; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
internal class GetOperation : Operations.GetOperation | ||
{ | ||
public override ResourceID? ResourceId() => new CertificateId(); | ||
|
||
public override Type? ResponseObject() => typeof(CertificateModel); | ||
|
||
|
||
} |
22 changes: 22 additions & 0 deletions
22
...initions.ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/Operation-List.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,22 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using Pandora.Definitions.Operations; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
internal class ListOperation : Operations.ListOperation | ||
{ | ||
public override string? FieldContainingPaginationDetails() => "nextLink"; | ||
|
||
public override ResourceID? ResourceId() => new ManagedEnvironmentId(); | ||
|
||
public override Type NestedItemType() => typeof(CertificateModel); | ||
|
||
public override string? UriSuffix() => "/certificates"; | ||
|
||
|
||
} |
25 changes: 25 additions & 0 deletions
25
...itions.ResourceManager/ContainerApps/v2022_01_01_preview/Certificates/Operation-Update.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,25 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using Pandora.Definitions.Operations; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
namespace Pandora.Definitions.ResourceManager.ContainerApps.v2022_01_01_preview.Certificates; | ||
|
||
internal class UpdateOperation : Operations.PatchOperation | ||
{ | ||
public override IEnumerable<HttpStatusCode> ExpectedStatusCodes() => new List<HttpStatusCode> | ||
{ | ||
HttpStatusCode.OK, | ||
}; | ||
|
||
public override Type? RequestObject() => typeof(CertificatePatchModel); | ||
|
||
public override ResourceID? ResourceId() => new CertificateId(); | ||
|
||
public override Type? ResponseObject() => typeof(CertificateModel); | ||
|
||
|
||
} |
Oops, something went wrong.