---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.8.0
  creationTimestamp: null
  name: addresses.compute.gcp.crossplane.io
spec:
  group: compute.gcp.crossplane.io
  names:
    categories:
    - crossplane
    - managed
    - gcp
    kind: Address
    listKind: AddressList
    plural: addresses
    singular: address
  scope: Cluster
  versions:
  - additionalPrinterColumns:
    - jsonPath: .spec.forProvider.address
      name: IP
      type: string
    - jsonPath: .spec.forProvider.region
      name: REGION
      type: string
    - jsonPath: .status.conditions[?(@.type=='Ready')].status
      name: READY
      type: string
    - jsonPath: .status.conditions[?(@.type=='Synced')].status
      name: SYNCED
      type: string
    name: v1beta1
    schema:
      openAPIV3Schema:
        description: An Address is a managed resource that represents a Google Compute
          Engine Address.
        properties:
          apiVersion:
            description: 'APIVersion defines the versioned schema of this representation
              of an object. Servers should convert recognized schemas to the latest
              internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client
              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
            type: string
          metadata:
            type: object
          spec:
            description: A AddressSpec defines the desired state of anAddress.
            properties:
              deletionPolicy:
                default: Delete
                description: DeletionPolicy specifies what will happen to the underlying
                  external when this managed resource is deleted - either "Delete"
                  or "Orphan" the external resource.
                enum:
                - Orphan
                - Delete
                type: string
              forProvider:
                description: 'AddressParameters define the desired state of a Google
                  Compute Engine Address. Most fields map directly to an Address:
                  https://cloud.google.com/compute/docs/reference/rest/v1/addresses'
                properties:
                  address:
                    description: 'Address: The static IP address represented by this
                      resource.'
                    type: string
                  addressType:
                    description: "AddressType: The type of address to reserve, either
                      INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
                      \n Possible values: \"EXTERNAL\" \"INTERNAL\" \"UNSPECIFIED_TYPE\""
                    enum:
                    - EXTERNAL
                    - INTERNAL
                    - UNSPECIFIED_TYPE
                    type: string
                  description:
                    description: 'Description: An optional description of this resource.'
                    type: string
                  ipVersion:
                    description: "IPVersion: The IP version that will be used by this
                      address. Valid options are IPV4 or IPV6. \n Possible values:
                      \"IPV4\" \"IPV6\" \"UNSPECIFIED_VERSION\""
                    enum:
                    - IPV6
                    - IPV4
                    - UNSPECIFIED_VERSION
                    type: string
                  network:
                    description: 'Network: The URL of the network in which to reserve
                      the address. This field can only be used with INTERNAL type
                      with the VPC_PEERING purpose.'
                    type: string
                  networkRef:
                    description: NetworkRef references a Network to retrieve its URI
                    properties:
                      name:
                        description: Name of the referenced object.
                        type: string
                    required:
                    - name
                    type: object
                  networkSelector:
                    description: NetworkSelector selects a reference to a Network
                    properties:
                      matchControllerRef:
                        description: MatchControllerRef ensures an object with the
                          same controller reference as the selecting object is selected.
                        type: boolean
                      matchLabels:
                        additionalProperties:
                          type: string
                        description: MatchLabels ensures an object with matching labels
                          is selected.
                        type: object
                    type: object
                  prefixLength:
                    description: 'PrefixLength: The prefix length if the resource
                      represents an IP range.'
                    format: int64
                    type: integer
                  purpose:
                    description: 'Purpose: The purpose of this resource, which can
                      be one of the following values: - `GCE_ENDPOINT` for addresses
                      that are used by VM instances, alias IP ranges, load balancers,
                      and similar resources. - `DNS_RESOLVER` for a DNS resolver address
                      in a subnetwork for a Cloud DNS inbound forwarder IP addresses
                      (regional internal IP address in a subnet of a VPC network)
                      - `VPC_PEERING` for global internal IP addresses used for private
                      services access allocated ranges. - `NAT_AUTO` for the regional
                      external IP addresses used by Cloud NAT when allocating addresses
                      using automatic NAT IP address allocation. - `IPSEC_INTERCONNECT`
                      for addresses created from a private IP range that are reserved
                      for a VLAN attachment in an IPsec-encrypted Cloud Interconnect
                      configuration. These addresses are regional resources. Not currently
                      available publicly. - `SHARED_LOADBALANCER_VIP` for an internal
                      IP address that is assigned to multiple internal forwarding
                      rules. - `PRIVATE_SERVICE_CONNECT` for a private network address
                      that is used to configure Private Service Connect. Only global
                      internal addresses can use this purpose. Possible values: "DNS_RESOLVER"
                      "GCE_ENDPOINT" "NAT_AUTO" "VPC_PEERING" "IPSEC_INTERCONNECT"
                      "SHARED_LOADBALANCER_VIP" "PRIVATE_SERVICE_CONNECT"'
                    enum:
                    - DNS_RESOLVER
                    - GCE_ENDPOINT
                    - NAT_AUTO
                    - VPC_PEERING
                    type: string
                  region:
                    description: 'Region: An optional region in which to create the
                      address.'
                    type: string
                  subnetwork:
                    description: 'Subnetwork: The URL of the subnetwork in which to
                      reserve the address. If an IP address is specified, it must
                      be within the subnetwork''s IP range. This field can only be
                      used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER
                      purpose.'
                    type: string
                  subnetworkRef:
                    description: SubnetworkRef references a Subnetwork to retrieve
                      its URI
                    properties:
                      name:
                        description: Name of the referenced object.
                        type: string
                    required:
                    - name
                    type: object
                  subnetworkSelector:
                    description: SubnetworkSelector selects a reference to a Subnetwork
                    properties:
                      matchControllerRef:
                        description: MatchControllerRef ensures an object with the
                          same controller reference as the selecting object is selected.
                        type: boolean
                      matchLabels:
                        additionalProperties:
                          type: string
                        description: MatchLabels ensures an object with matching labels
                          is selected.
                        type: object
                    type: object
                required:
                - region
                type: object
              providerConfigRef:
                default:
                  name: default
                description: ProviderConfigReference specifies how the provider that
                  will be used to create, observe, update, and delete this managed
                  resource should be configured.
                properties:
                  name:
                    description: Name of the referenced object.
                    type: string
                required:
                - name
                type: object
              providerRef:
                description: 'ProviderReference specifies the provider that will be
                  used to create, observe, update, and delete this managed resource.
                  Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`'
                properties:
                  name:
                    description: Name of the referenced object.
                    type: string
                required:
                - name
                type: object
              publishConnectionDetailsTo:
                description: PublishConnectionDetailsTo specifies the connection secret
                  config which contains a name, metadata and a reference to secret
                  store config to which any connection details for this managed resource
                  should be written. Connection details frequently include the endpoint,
                  username, and password required to connect to the managed resource.
                properties:
                  configRef:
                    default:
                      name: default
                    description: SecretStoreConfigRef specifies which secret store
                      config should be used for this ConnectionSecret.
                    properties:
                      name:
                        description: Name of the referenced object.
                        type: string
                    required:
                    - name
                    type: object
                  metadata:
                    description: Metadata is the metadata for connection secret.
                    properties:
                      annotations:
                        additionalProperties:
                          type: string
                        description: Annotations are the annotations to be added to
                          connection secret. - For Kubernetes secrets, this will be
                          used as "metadata.annotations". - It is up to Secret Store
                          implementation for others store types.
                        type: object
                      labels:
                        additionalProperties:
                          type: string
                        description: Labels are the labels/tags to be added to connection
                          secret. - For Kubernetes secrets, this will be used as "metadata.labels".
                          - It is up to Secret Store implementation for others store
                          types.
                        type: object
                      type:
                        description: Type is the SecretType for the connection secret.
                          - Only valid for Kubernetes Secret Stores.
                        type: string
                    type: object
                  name:
                    description: Name is the name of the connection secret.
                    type: string
                required:
                - name
                type: object
              writeConnectionSecretToRef:
                description: WriteConnectionSecretToReference specifies the namespace
                  and name of a Secret to which any connection details for this managed
                  resource should be written. Connection details frequently include
                  the endpoint, username, and password required to connect to the
                  managed resource. This field is planned to be replaced in a future
                  release in favor of PublishConnectionDetailsTo. Currently, both
                  could be set independently and connection details would be published
                  to both without affecting each other.
                properties:
                  name:
                    description: Name of the secret.
                    type: string
                  namespace:
                    description: Namespace of the secret.
                    type: string
                required:
                - name
                - namespace
                type: object
            required:
            - forProvider
            type: object
          status:
            description: A AddressStatus represents the observed state of an Address.
            properties:
              atProvider:
                description: A AddressObservation reflects the observed state of an
                  Address on GCP.
                properties:
                  creationTimestamp:
                    description: CreationTimestamp in RFC3339 text format.
                    type: string
                  id:
                    description: ID for the resource. This identifier is defined by
                      the server.
                    format: int64
                    type: integer
                  selfLink:
                    description: 'SelfLink: Server-defined URL for the resource.'
                    type: string
                  status:
                    description: "Status of the address, which can be one of RESERVING,
                      RESERVED, or IN_USE. An address that is RESERVING is currently
                      in the process of being reserved. A RESERVED address is currently
                      reserved and available to use. An IN_USE address is currently
                      being used by another resource and is not available. \n Possible
                      values: \"IN_USE\" \"RESERVED\" \"RESERVING\""
                    type: string
                  users:
                    description: Users that are using this address.
                    items:
                      type: string
                    type: array
                type: object
              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 status to another.
                      format: date-time
                      type: string
                    message:
                      description: A Message containing details about this condition's
                        last transition from one status to another, if any.
                      type: string
                    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 a resource at any point in time.
                      type: string
                  required:
                  - lastTransitionTime
                  - reason
                  - status
                  - type
                  type: object
                type: array
            type: object
        required:
        - spec
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
