{
  "description": "Stack is the Schema for the Stacks API. Official documentation https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#stacks/ Required access policy scopes: stacks:readstacks:writestacks:delete",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "StackSpec defines the desired state of Stack",
      "properties": {
        "forProvider": {
          "properties": {
            "deleteProtection": {
              "description": "(Boolean) Whether to enable delete protection for the stack, preventing accidental deletion. Defaults to true.\nWhether to enable delete protection for the stack, preventing accidental deletion. Defaults to `true`.",
              "type": "boolean"
            },
            "description": {
              "description": "(String) Description of stack.\nDescription of stack.",
              "type": "string"
            },
            "labels": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "zA-Z0-9/\\-._]+$\" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: \"^[a-zA-Z0-9/\\\\-._]+$\" and stacks cannot have more than 10 labels.",
              "type": "object",
              "x-kubernetes-map-type": "granular"
            },
            "name": {
              "description": "(String) Name of stack. Conventionally matches the url of the instance (e.g. <stack_slug>.grafana.net).\nName of stack. Conventionally matches the url of the instance (e.g. `<stack_slug>.grafana.net`).",
              "type": "string"
            },
            "regionSlug": {
              "description": "cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.",
              "type": "string"
            },
            "slug": {
              "description": "(String) Subdomain that the Grafana instance will be available at. Setting slug to <stack_slug> will make the instance available at https://<stack_slug>.grafana.net.\nSubdomain that the Grafana instance will be available at. Setting slug to `<stack_slug>` will make the instance available at `https://<stack_slug>.grafana.net`.",
              "type": "string"
            },
            "url": {
              "description": "(String) Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack\nCustom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack",
              "type": "string"
            },
            "waitForReadiness": {
              "description": "(Boolean) Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.\nWhether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.",
              "type": "boolean"
            },
            "waitForReadinessTimeout": {
              "description": "(String) How long to wait for readiness (if enabled). Defaults to 5m0s.\nHow long to wait for readiness (if enabled). Defaults to `5m0s`.",
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "initProvider": {
          "description": "THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.",
          "properties": {
            "deleteProtection": {
              "description": "(Boolean) Whether to enable delete protection for the stack, preventing accidental deletion. Defaults to true.\nWhether to enable delete protection for the stack, preventing accidental deletion. Defaults to `true`.",
              "type": "boolean"
            },
            "description": {
              "description": "(String) Description of stack.\nDescription of stack.",
              "type": "string"
            },
            "labels": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "zA-Z0-9/\\-._]+$\" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: \"^[a-zA-Z0-9/\\\\-._]+$\" and stacks cannot have more than 10 labels.",
              "type": "object",
              "x-kubernetes-map-type": "granular"
            },
            "name": {
              "description": "(String) Name of stack. Conventionally matches the url of the instance (e.g. <stack_slug>.grafana.net).\nName of stack. Conventionally matches the url of the instance (e.g. `<stack_slug>.grafana.net`).",
              "type": "string"
            },
            "regionSlug": {
              "description": "cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.",
              "type": "string"
            },
            "slug": {
              "description": "(String) Subdomain that the Grafana instance will be available at. Setting slug to <stack_slug> will make the instance available at https://<stack_slug>.grafana.net.\nSubdomain that the Grafana instance will be available at. Setting slug to `<stack_slug>` will make the instance available at `https://<stack_slug>.grafana.net`.",
              "type": "string"
            },
            "url": {
              "description": "(String) Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack\nCustom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack",
              "type": "string"
            },
            "waitForReadiness": {
              "description": "(Boolean) Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.\nWhether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.",
              "type": "boolean"
            },
            "waitForReadinessTimeout": {
              "description": "(String) How long to wait for readiness (if enabled). Defaults to 5m0s.\nHow long to wait for readiness (if enabled). Defaults to `5m0s`.",
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "managementPolicies": {
          "default": [
            "*"
          ],
          "description": "THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md",
          "items": {
            "description": "A ManagementAction represents an action that the Crossplane controllers\ncan take on an external resource.",
            "enum": [
              "Observe",
              "Create",
              "Update",
              "Delete",
              "LateInitialize",
              "*"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "providerConfigRef": {
          "default": {
            "kind": "ClusterProviderConfig",
            "name": "default"
          },
          "description": "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.",
          "properties": {
            "kind": {
              "description": "Kind of the referenced object.",
              "type": "string"
            },
            "name": {
              "description": "Name of the referenced object.",
              "type": "string"
            }
          },
          "required": [
            "kind",
            "name"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "writeConnectionSecretToRef": {
          "description": "WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.",
          "properties": {
            "name": {
              "description": "Name of the secret.",
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object",
          "additionalProperties": false
        }
      },
      "required": [
        "forProvider"
      ],
      "type": "object",
      "x-kubernetes-validations": [
        {
          "message": "spec.forProvider.name is a required parameter",
          "rule": "!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))"
        },
        {
          "message": "spec.forProvider.slug is a required parameter",
          "rule": "!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.slug) || (has(self.initProvider) && has(self.initProvider.slug))"
        }
      ],
      "additionalProperties": false
    },
    "status": {
      "description": "StackStatus defines the observed state of Stack.",
      "properties": {
        "atProvider": {
          "properties": {
            "alertmanagerIpAllowListCname": {
              "description": "separated list of CNAMEs that can be whitelisted to access the Alertmanager instances\nComma-separated list of CNAMEs that can be whitelisted to access the Alertmanager instances (Optional)",
              "type": "string"
            },
            "alertmanagerName": {
              "description": "(String) Name of the Alertmanager instance configured for this stack.\nName of the Alertmanager instance configured for this stack.",
              "type": "string"
            },
            "alertmanagerStatus": {
              "description": "(String) Status of the Alertmanager instance configured for this stack.\nStatus of the Alertmanager instance configured for this stack.",
              "type": "string"
            },
            "alertmanagerUrl": {
              "description": "(String) Base URL of the Alertmanager instance configured for this stack.\nBase URL of the Alertmanager instance configured for this stack.",
              "type": "string"
            },
            "alertmanagerUserId": {
              "description": "(Number) User ID of the Alertmanager instance configured for this stack.\nUser ID of the Alertmanager instance configured for this stack.",
              "type": "number"
            },
            "cloudProviderUrl": {
              "description": "(String) Base URL of the Cloud Provider API for this stack's cluster. This can be used with the cloud_provider_url provider config option to manage Cloud Provider resources for this stack.\nBase URL of the Cloud Provider API for this stack's cluster. This can be used with the `cloud_provider_url` provider config option to manage Cloud Provider resources for this stack.",
              "type": "string"
            },
            "clusterName": {
              "description": "(String) Name of the cluster where this stack resides.\nName of the cluster where this stack resides.",
              "type": "string"
            },
            "clusterSlug": {
              "description": "(String) Slug of the cluster where this stack resides.\nSlug of the cluster where this stack resides.",
              "type": "string"
            },
            "connectionsApiUrl": {
              "description": "(String) Base URL of the Connections API for this stack's cluster. This can be used with the connections_api_url provider config option to manage Connections resources for this stack.\nBase URL of the Connections API for this stack's cluster. This can be used with the `connections_api_url` provider config option to manage Connections resources for this stack.",
              "type": "string"
            },
            "deleteProtection": {
              "description": "(Boolean) Whether to enable delete protection for the stack, preventing accidental deletion. Defaults to true.\nWhether to enable delete protection for the stack, preventing accidental deletion. Defaults to `true`.",
              "type": "boolean"
            },
            "description": {
              "description": "(String) Description of stack.\nDescription of stack.",
              "type": "string"
            },
            "fleetManagementName": {
              "description": "(String) Name of the Fleet Management instance configured for this stack.\nName of the Fleet Management instance configured for this stack.",
              "type": "string"
            },
            "fleetManagementPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for Fleet Management when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for Fleet Management when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "fleetManagementPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for Fleet Management when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for Fleet Management when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "fleetManagementPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for Fleet Management when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for Fleet Management when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "fleetManagementPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for Fleet Management when using AWS PrivateLink (only for AWS stacks)\nRegions for Fleet Management when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "fleetManagementPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for Fleet Management when using AWS PrivateLink (only for AWS stacks)\nService Name for Fleet Management when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "fleetManagementStatus": {
              "description": "(String) Status of the Fleet Management instance configured for this stack.\nStatus of the Fleet Management instance configured for this stack.",
              "type": "string"
            },
            "fleetManagementUrl": {
              "description": "(String) Base URL of the Fleet Management instance configured for this stack.\nBase URL of the Fleet Management instance configured for this stack.",
              "type": "string"
            },
            "fleetManagementUserId": {
              "description": "(Number) User ID of the Fleet Management instance configured for this stack.\nUser ID of the Fleet Management instance configured for this stack.",
              "type": "number"
            },
            "grafanasIpAllowListCname": {
              "description": "separated list of CNAMEs that can be whitelisted to access the grafana instance\nComma-separated list of CNAMEs that can be whitelisted to access the grafana instance (Optional)",
              "type": "string"
            },
            "graphiteIpAllowListCname": {
              "description": "separated list of CNAMEs that can be whitelisted to access the Graphite instance\nComma-separated list of CNAMEs that can be whitelisted to access the Graphite instance (Optional)",
              "type": "string"
            },
            "graphiteName": {
              "description": "(String)",
              "type": "string"
            },
            "graphitePrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for Graphite when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for Graphite when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "graphitePrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for Graphite when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for Graphite when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "graphitePrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for Graphite when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for Graphite when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "graphitePrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for Graphite when using AWS PrivateLink (only for AWS stacks)\nRegions for Graphite when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "graphitePrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for Graphite when using AWS PrivateLink (only for AWS stacks)\nService Name for Graphite when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "graphiteStatus": {
              "description": "(String)",
              "type": "string"
            },
            "graphiteUrl": {
              "description": "(String)",
              "type": "string"
            },
            "graphiteUserId": {
              "description": "(Number)",
              "type": "number"
            },
            "id": {
              "description": "(String) The stack id assigned to this stack by Grafana.",
              "type": "string"
            },
            "influxUrl": {
              "description": "cloud/send-data/metrics/metrics-influxdb/push-from-telegraf/ for docs on how to use this.\nBase URL of the InfluxDB instance configured for this stack. The username is the same as the metrics' (`prometheus_user_id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-influxdb/push-from-telegraf/ for docs on how to use this.",
              "type": "string"
            },
            "labels": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "zA-Z0-9/\\-._]+$\" and stacks cannot have more than 10 labels.\nA map of labels to assign to the stack. Label keys and values must match the following regexp: \"^[a-zA-Z0-9/\\\\-._]+$\" and stacks cannot have more than 10 labels.",
              "type": "object",
              "x-kubernetes-map-type": "granular"
            },
            "logsIpAllowListCname": {
              "description": "separated list of CNAMEs that can be whitelisted to access the Logs instance\nComma-separated list of CNAMEs that can be whitelisted to access the Logs instance (Optional)",
              "type": "string"
            },
            "logsName": {
              "description": "(String)",
              "type": "string"
            },
            "logsPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for Logs when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for Logs when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "logsPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for Logs when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for Logs when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "logsPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for Logs when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for Logs when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "logsPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for Logs when using AWS PrivateLink (only for AWS stacks)\nRegions for Logs when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "logsPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for Logs when using AWS PrivateLink (only for AWS stacks)\nService Name for Logs when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "logsStatus": {
              "description": "(String)",
              "type": "string"
            },
            "logsUrl": {
              "description": "(String)",
              "type": "string"
            },
            "logsUserId": {
              "description": "(Number)",
              "type": "number"
            },
            "name": {
              "description": "(String) Name of stack. Conventionally matches the url of the instance (e.g. <stack_slug>.grafana.net).\nName of stack. Conventionally matches the url of the instance (e.g. `<stack_slug>.grafana.net`).",
              "type": "string"
            },
            "oncallApiUrl": {
              "description": "(String) Base URL of the OnCall API instance configured for this stack.\nBase URL of the OnCall API instance configured for this stack.",
              "type": "string"
            },
            "orgId": {
              "description": "(Number) Organization id to assign to this stack.\nOrganization id to assign to this stack.",
              "type": "number"
            },
            "orgName": {
              "description": "(String) Organization name to assign to this stack.\nOrganization name to assign to this stack.",
              "type": "string"
            },
            "orgSlug": {
              "description": "(String) Organization slug to assign to this stack.\nOrganization slug to assign to this stack.",
              "type": "string"
            },
            "otlpPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for OTLP when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for OTLP when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "otlpPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for OTLP when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for OTLP when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "otlpPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for OTLP when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for OTLP when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "otlpPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for OTLP when using AWS PrivateLink (only for AWS stacks)\nRegions for OTLP when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "otlpPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for OTLP when using AWS PrivateLink (only for AWS stacks)\nService Name for OTLP when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "otlpUrl": {
              "description": "cloud/send-data/otlp/send-data-otlp/ for docs on how to use this.\nBase URL of the OTLP instance configured for this stack. The username is the stack's ID (`id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/ for docs on how to use this.",
              "type": "string"
            },
            "pdcApiPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for PDC's API when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for PDC's API when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pdcApiPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for PDC's API when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for PDC's API when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pdcApiPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for PDC's API when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for PDC's API when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "pdcApiPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for PDC's API when using AWS PrivateLink (only for AWS stacks)\nRegions for PDC's API when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pdcApiPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for PDC's API when using AWS PrivateLink (only for AWS stacks)\nService Name for PDC's API when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "pdcGatewayPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pdcGatewayPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pdcGatewayPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "pdcGatewayPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)\nRegions for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pdcGatewayPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)\nService Name for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "profilesIpAllowListCname": {
              "description": "separated list of CNAMEs that can be whitelisted to access the Profiles instance\nComma-separated list of CNAMEs that can be whitelisted to access the Profiles instance (Optional)",
              "type": "string"
            },
            "profilesName": {
              "description": "(String)",
              "type": "string"
            },
            "profilesPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for Profiles when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for Profiles when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "profilesPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for Profiles when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for Profiles when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "profilesPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for Profiles when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for Profiles when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "profilesPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for Profiles when using AWS PrivateLink (only for AWS stacks)\nRegions for Profiles when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "profilesPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for Profiles when using AWS PrivateLink (only for AWS stacks)\nService Name for Profiles when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "profilesStatus": {
              "description": "(String)",
              "type": "string"
            },
            "profilesUrl": {
              "description": "(String)",
              "type": "string"
            },
            "profilesUserId": {
              "description": "(Number)",
              "type": "number"
            },
            "prometheusIpAllowListCname": {
              "description": "separated list of CNAMEs that can be whitelisted to access the Prometheus instance\nComma-separated list of CNAMEs that can be whitelisted to access the Prometheus instance (Optional)",
              "type": "string"
            },
            "prometheusName": {
              "description": "(String) Prometheus name for this instance.\nPrometheus name for this instance.",
              "type": "string"
            },
            "prometheusPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for Prometheus when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for Prometheus when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "prometheusPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for Prometheus when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for Prometheus when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "prometheusPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for Prometheus when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for Prometheus when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "prometheusPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for Prometheus when using AWS PrivateLink (only for AWS stacks)\nRegions for Prometheus when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "prometheusPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for Prometheus when using AWS PrivateLink (only for AWS stacks)\nService Name for Prometheus when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "prometheusRemoteEndpoint": {
              "description": "(String) Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana\nUse this URL to query hosted metrics data e.g. Prometheus data source in Grafana",
              "type": "string"
            },
            "prometheusRemoteWriteEndpoint": {
              "description": "(String) Use this URL to send prometheus metrics to Grafana cloud\nUse this URL to send prometheus metrics to Grafana cloud",
              "type": "string"
            },
            "prometheusStatus": {
              "description": "(String) Prometheus status for this instance.\nPrometheus status for this instance.",
              "type": "string"
            },
            "prometheusUrl": {
              "description": "(String) Prometheus url for this instance.\nPrometheus url for this instance.",
              "type": "string"
            },
            "prometheusUserId": {
              "description": "(Number) Prometheus user ID. Used for e.g. remote_write.\nPrometheus user ID. Used for e.g. remote_write.",
              "type": "number"
            },
            "regionSlug": {
              "description": "cloud/developer-resources/api-reference/cloud-api/#list-regions.\nRegion slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.",
              "type": "string"
            },
            "slug": {
              "description": "(String) Subdomain that the Grafana instance will be available at. Setting slug to <stack_slug> will make the instance available at https://<stack_slug>.grafana.net.\nSubdomain that the Grafana instance will be available at. Setting slug to `<stack_slug>` will make the instance available at `https://<stack_slug>.grafana.net`.",
              "type": "string"
            },
            "smUrl": {
              "description": "(String) Base URL of the Synthetic Monitoring API for this stack's region. This can be used with the sm_url provider config option. Note: Synthetic Monitoring requires activation either via the grafana_synthetic_monitoring_installation resource or manually in the Grafana Cloud UI before it can be used.\nBase URL of the Synthetic Monitoring API for this stack's region. This can be used with the `sm_url` provider config option. Note: Synthetic Monitoring requires activation either via the `grafana_synthetic_monitoring_installation` resource or manually in the Grafana Cloud UI before it can be used.",
              "type": "string"
            },
            "status": {
              "description": "(String) Status of the stack.\nStatus of the stack.",
              "type": "string"
            },
            "tracesIpAllowListCname": {
              "description": "separated list of CNAMEs that can be whitelisted to access the Traces instance\nComma-separated list of CNAMEs that can be whitelisted to access the Traces instance (Optional)",
              "type": "string"
            },
            "tracesName": {
              "description": "(String)",
              "type": "string"
            },
            "tracesPrivateConnectivityInfoAvailabilityZoneIds": {
              "description": "(List of String) Availability Zone IDs for Traces when using AWS PrivateLink (only for AWS stacks)\nAvailability Zone IDs for Traces when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "tracesPrivateConnectivityInfoAvailabilityZones": {
              "description": "(List of String) Availability Zones for Traces when using AWS PrivateLink (only for AWS stacks)\nAvailability Zones for Traces when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "tracesPrivateConnectivityInfoPrivateDns": {
              "description": "(String) Private DNS for Traces when using AWS PrivateLink (only for AWS stacks)\nPrivate DNS for Traces when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "tracesPrivateConnectivityInfoRegions": {
              "description": "(List of String) Regions for Traces when using AWS PrivateLink (only for AWS stacks)\nRegions for Traces when using AWS PrivateLink (only for AWS stacks)",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "tracesPrivateConnectivityInfoServiceName": {
              "description": "(String) Service Name for Traces when using AWS PrivateLink (only for AWS stacks)\nService Name for Traces when using AWS PrivateLink (only for AWS stacks)",
              "type": "string"
            },
            "tracesStatus": {
              "description": "(String)",
              "type": "string"
            },
            "tracesUrl": {
              "description": "(String) Base URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append /tempo to the URL.\nBase URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append `/tempo` to the URL.",
              "type": "string"
            },
            "tracesUserId": {
              "description": "(Number)",
              "type": "number"
            },
            "url": {
              "description": "(String) Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack\nCustom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack",
              "type": "string"
            },
            "waitForReadiness": {
              "description": "(Boolean) Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.\nWhether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.",
              "type": "boolean"
            },
            "waitForReadinessTimeout": {
              "description": "(String) How long to wait for readiness (if enabled). Defaults to 5m0s.\nHow long to wait for readiness (if enabled). Defaults to `5m0s`.",
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "conditions": {
          "description": "Conditions of the resource.",
          "items": {
            "description": "A Condition that may apply to a resource.",
            "properties": {
              "lastTransitionTime": {
                "description": "LastTransitionTime is the last time this condition transitioned from one\nstatus to another.",
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "description": "A Message containing details about this condition's last transition from\none status to another, if any.",
                "type": "string"
              },
              "observedGeneration": {
                "description": "ObservedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
                "format": "int64",
                "type": "integer"
              },
              "reason": {
                "description": "A Reason for this condition's last transition from one status to another.",
                "type": "string"
              },
              "status": {
                "description": "Status of this condition; is it currently True, False, or Unknown?",
                "type": "string"
              },
              "type": {
                "description": "Type of this condition. At most one of each condition type may apply to\na resource at any point in time.",
                "type": "string"
              }
            },
            "required": [
              "lastTransitionTime",
              "reason",
              "status",
              "type"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array",
          "x-kubernetes-list-map-keys": [
            "type"
          ],
          "x-kubernetes-list-type": "map"
        },
        "observedGeneration": {
          "description": "ObservedGeneration is the latest metadata.generation\nwhich resulted in either a ready state, or stalled due to error\nit can not recover from without human intervention.",
          "format": "int64",
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
