@@ -25,26 +25,27 @@ type MeshLandingZoneMetadata struct {
2525}
2626
2727type MeshLandingZoneSpec struct {
28- DisplayName string `json:"displayName" tfsdk:"display_name"`
29- Description string `json:"description" tfsdk:"description"`
30- AutomateDeletionApproval bool `json:"automateDeletionApproval" tfsdk:"automate_deletion_approval"`
31- AutomateDeletionReplication bool `json:"automateDeletionReplication" tfsdk:"automate_deletion_replication"`
32- InfoLink * string `json:"infoLink,omitempty" tfsdk:"info_link"`
33- PlatformRef PlatformRef `json:"platformRef" tfsdk:"platform_ref"`
34- PlatformProperties * PlatformProperties `json:"platformProperties,omitempty" tfsdk:"platform_properties"`
28+ DisplayName string `json:"displayName" tfsdk:"display_name"`
29+ Description string `json:"description" tfsdk:"description"`
30+ AutomateDeletionApproval bool `json:"automateDeletionApproval" tfsdk:"automate_deletion_approval"`
31+ AutomateDeletionReplication bool `json:"automateDeletionReplication" tfsdk:"automate_deletion_replication"`
32+ InfoLink * string `json:"infoLink,omitempty" tfsdk:"info_link"`
33+ PlatformRef MeshLandingZonePlatformRef `json:"platformRef" tfsdk:"platform_ref"`
34+ PlatformProperties * MeshLandingZonePlatformProperties `json:"platformProperties,omitempty" tfsdk:"platform_properties"`
35+ Quotas []MeshLandingZoneQuota `json:"quotas" tfsdk:"quotas"`
3536}
3637
3738type MeshLandingZoneStatus struct {
3839 Disabled bool `json:"disabled" tfsdk:"disabled"`
3940 Restricted bool `json:"restricted" tfsdk:"restricted"`
4041}
4142
42- type PlatformRef struct {
43+ type MeshLandingZonePlatformRef struct {
4344 Uuid string `json:"uuid" tfsdk:"uuid"`
4445 Kind string `json:"kind" tfsdk:"kind"`
4546}
4647
47- type PlatformProperties struct {
48+ type MeshLandingZonePlatformProperties struct {
4849 Type string `json:"type" tfsdk:"type"`
4950 Aws * AwsPlatformProperties `json:"aws" tfsdk:"aws"`
5051 Aks * AksPlatformProperties `json:"aks" tfsdk:"aks"`
@@ -55,6 +56,11 @@ type PlatformProperties struct {
5556 OpenShift * OpenShiftPlatformProperties `json:"openshift" tfsdk:"openshift"`
5657}
5758
59+ type MeshLandingZoneQuota struct {
60+ Key string `json:"key" tfsdk:"key"`
61+ Value int64 `json:"value" tfsdk:"value"`
62+ }
63+
5864type MeshLandingZoneCreate struct {
5965 ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
6066 Metadata MeshLandingZoneMetadata `json:"metadata" tfsdk:"metadata"`
0 commit comments