apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    cert-manager.io/inject-ca-from: azureserviceoperator-system/azureserviceoperator-serving-cert
    controller-gen.kubebuilder.io/version: (devel)
  name: namespacesqueues.servicebus.azure.com
spec:
  conversion:
    strategy: Webhook
    webhook:
      clientConfig:
        service:
          name: azureserviceoperator-webhook-service
          namespace: azureserviceoperator-system
          path: /convert
      conversionReviewVersions:
      - v1beta1
  group: servicebus.azure.com
  names:
    kind: NamespacesQueue
    listKind: NamespacesQueueList
    plural: namespacesqueues
    singular: namespacesqueue
  preserveUnknownFields: false
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - jsonPath: .status.conditions[?(@.type=='Ready')].status
      name: Ready
      type: string
    - jsonPath: .status.conditions[?(@.type=='Ready')].severity
      name: Severity
      type: string
    - jsonPath: .status.conditions[?(@.type=='Ready')].reason
      name: Reason
      type: string
    - jsonPath: .status.conditions[?(@.type=='Ready')].message
      name: Message
      type: string
    name: v1alpha1api20210101preview
    schema:
      openAPIV3Schema:
        description: 'Generated from: https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_queues'
        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:
            properties:
              autoDeleteOnIdle:
                description: 'AutoDeleteOnIdle: ISO 8061 timeSpan idle interval after
                  which the queue is automatically deleted. The minimum duration is
                  5 minutes.'
                type: string
              azureName:
                description: 'AzureName: The name of the resource in Azure. This is
                  often the same as the name of the resource in Kubernetes but it
                  doesn''t have to be.'
                minLength: 1
                type: string
              deadLetteringOnMessageExpiration:
                description: 'DeadLetteringOnMessageExpiration: A value that indicates
                  whether this queue has dead letter support when a message expires.'
                type: boolean
              defaultMessageTimeToLive:
                description: 'DefaultMessageTimeToLive: ISO 8601 default message timespan
                  to live value. This is the duration after which the message expires,
                  starting from when the message is sent to Service Bus. This is the
                  default value used when TimeToLive is not set on a message itself.'
                type: string
              duplicateDetectionHistoryTimeWindow:
                description: 'DuplicateDetectionHistoryTimeWindow: ISO 8601 timeSpan
                  structure that defines the duration of the duplicate detection history.
                  The default value is 10 minutes.'
                type: string
              enableBatchedOperations:
                description: 'EnableBatchedOperations: Value that indicates whether
                  server-side batched operations are enabled.'
                type: boolean
              enableExpress:
                description: 'EnableExpress: A value that indicates whether Express
                  Entities are enabled. An express queue holds a message in memory
                  temporarily before writing it to persistent storage.'
                type: boolean
              enablePartitioning:
                description: 'EnablePartitioning: A value that indicates whether the
                  queue is to be partitioned across multiple message brokers.'
                type: boolean
              forwardDeadLetteredMessagesTo:
                description: 'ForwardDeadLetteredMessagesTo: Queue/Topic name to forward
                  the Dead Letter message'
                type: string
              forwardTo:
                description: 'ForwardTo: Queue/Topic name to forward the messages'
                type: string
              location:
                description: 'Location: Location to deploy resource to'
                type: string
              lockDuration:
                description: 'LockDuration: ISO 8601 timespan duration of a peek-lock;
                  that is, the amount of time that the message is locked for other
                  receivers. The maximum value for LockDuration is 5 minutes; the
                  default value is 1 minute.'
                type: string
              maxDeliveryCount:
                description: 'MaxDeliveryCount: The maximum delivery count. A message
                  is automatically deadlettered after this number of deliveries. default
                  value is 10.'
                type: integer
              maxSizeInMegabytes:
                description: 'MaxSizeInMegabytes: The maximum size of the queue in
                  megabytes, which is the size of memory allocated for the queue.
                  Default is 1024.'
                type: integer
              owner:
                description: KnownResourceReference is a resource reference to a known
                  type.
                properties:
                  name:
                    description: This is the name of the Kubernetes resource to reference.
                    type: string
                required:
                - name
                type: object
              requiresDuplicateDetection:
                description: 'RequiresDuplicateDetection: A value indicating if this
                  queue requires duplicate detection.'
                type: boolean
              requiresSession:
                description: 'RequiresSession: A value that indicates whether the
                  queue supports the concept of sessions.'
                type: boolean
              tags:
                additionalProperties:
                  type: string
                description: 'Tags: Name-value pairs to add to the resource'
                type: object
            required:
            - owner
            type: object
          status:
            properties:
              accessedAt:
                description: 'AccessedAt: Last time a message was sent, or the last
                  time there was a receive request to this queue.'
                type: string
              autoDeleteOnIdle:
                description: 'AutoDeleteOnIdle: ISO 8061 timeSpan idle interval after
                  which the queue is automatically deleted. The minimum duration is
                  5 minutes.'
                type: string
              conditions:
                description: 'Conditions: The observed state of the resource'
                items:
                  description: Condition defines an extension to status (an observation)
                    of a resource
                  properties:
                    lastTransitionTime:
                      description: LastTransitionTime is the last time the condition
                        transitioned from one status to another.
                      format: date-time
                      type: string
                    message:
                      description: Message is a human readable message indicating
                        details about the transition. This field may be empty.
                      type: string
                    observedGeneration:
                      description: ObservedGeneration is the .metadata.generation
                        that the condition was set based upon. For instance, if .metadata.generation
                        is currently 12, but the .status.condition[x].observedGeneration
                        is 9, the condition is out of date with respect to the current
                        state of the instance.
                      format: int64
                      type: integer
                    reason:
                      description: Reason for the condition's last transition. Reasons
                        are upper CamelCase (PascalCase) with no spaces. A reason
                        is always provided, this field will not be empty.
                      type: string
                    severity:
                      description: Severity with which to treat failures of this type
                        of condition. For conditions which have positive polarity
                        (Status == True is their normal/healthy state), this will
                        be omitted when Status == True For conditions which have negative
                        polarity (Status == False is their normal/healthy state),
                        this will be omitted when Status == False. This is omitted
                        in all cases when Status == Unknown
                      type: string
                    status:
                      description: Status of the condition, one of True, False, or
                        Unknown.
                      type: string
                    type:
                      description: Type of condition.
                      type: string
                  required:
                  - lastTransitionTime
                  - reason
                  - status
                  - type
                  type: object
                type: array
              countDetails:
                description: 'CountDetails: Message Count Details.'
                properties:
                  activeMessageCount:
                    description: 'ActiveMessageCount: Number of active messages in
                      the queue, topic, or subscription.'
                    type: integer
                  deadLetterMessageCount:
                    description: 'DeadLetterMessageCount: Number of messages that
                      are dead lettered.'
                    type: integer
                  scheduledMessageCount:
                    description: 'ScheduledMessageCount: Number of scheduled messages.'
                    type: integer
                  transferDeadLetterMessageCount:
                    description: 'TransferDeadLetterMessageCount: Number of messages
                      transferred into dead letters.'
                    type: integer
                  transferMessageCount:
                    description: 'TransferMessageCount: Number of messages transferred
                      to another queue, topic, or subscription.'
                    type: integer
                type: object
              createdAt:
                description: 'CreatedAt: The exact time the message was created.'
                type: string
              deadLetteringOnMessageExpiration:
                description: 'DeadLetteringOnMessageExpiration: A value that indicates
                  whether this queue has dead letter support when a message expires.'
                type: boolean
              defaultMessageTimeToLive:
                description: 'DefaultMessageTimeToLive: ISO 8601 default message timespan
                  to live value. This is the duration after which the message expires,
                  starting from when the message is sent to Service Bus. This is the
                  default value used when TimeToLive is not set on a message itself.'
                type: string
              duplicateDetectionHistoryTimeWindow:
                description: 'DuplicateDetectionHistoryTimeWindow: ISO 8601 timeSpan
                  structure that defines the duration of the duplicate detection history.
                  The default value is 10 minutes.'
                type: string
              enableBatchedOperations:
                description: 'EnableBatchedOperations: Value that indicates whether
                  server-side batched operations are enabled.'
                type: boolean
              enableExpress:
                description: 'EnableExpress: A value that indicates whether Express
                  Entities are enabled. An express queue holds a message in memory
                  temporarily before writing it to persistent storage.'
                type: boolean
              enablePartitioning:
                description: 'EnablePartitioning: A value that indicates whether the
                  queue is to be partitioned across multiple message brokers.'
                type: boolean
              forwardDeadLetteredMessagesTo:
                description: 'ForwardDeadLetteredMessagesTo: Queue/Topic name to forward
                  the Dead Letter message'
                type: string
              forwardTo:
                description: 'ForwardTo: Queue/Topic name to forward the messages'
                type: string
              id:
                description: 'Id: Resource Id'
                type: string
              lockDuration:
                description: 'LockDuration: ISO 8601 timespan duration of a peek-lock;
                  that is, the amount of time that the message is locked for other
                  receivers. The maximum value for LockDuration is 5 minutes; the
                  default value is 1 minute.'
                type: string
              maxDeliveryCount:
                description: 'MaxDeliveryCount: The maximum delivery count. A message
                  is automatically deadlettered after this number of deliveries. default
                  value is 10.'
                type: integer
              maxSizeInMegabytes:
                description: 'MaxSizeInMegabytes: The maximum size of the queue in
                  megabytes, which is the size of memory allocated for the queue.
                  Default is 1024.'
                type: integer
              messageCount:
                description: 'MessageCount: The number of messages in the queue.'
                type: integer
              name:
                description: 'Name: Resource name'
                type: string
              requiresDuplicateDetection:
                description: 'RequiresDuplicateDetection: A value indicating if this
                  queue requires duplicate detection.'
                type: boolean
              requiresSession:
                description: 'RequiresSession: A value that indicates whether the
                  queue supports the concept of sessions.'
                type: boolean
              sizeInBytes:
                description: 'SizeInBytes: The size of the queue, in bytes.'
                type: integer
              status:
                description: 'Status: Enumerates the possible values for the status
                  of a messaging entity.'
                type: string
              systemData:
                description: 'SystemData: The system meta data relating to this resource.'
                properties:
                  createdAt:
                    description: 'CreatedAt: The timestamp of resource creation (UTC).'
                    type: string
                  createdBy:
                    description: 'CreatedBy: The identity that created the resource.'
                    type: string
                  createdByType:
                    description: 'CreatedByType: The type of identity that created
                      the resource.'
                    type: string
                  lastModifiedAt:
                    description: 'LastModifiedAt: The type of identity that last modified
                      the resource.'
                    type: string
                  lastModifiedBy:
                    description: 'LastModifiedBy: The identity that last modified
                      the resource.'
                    type: string
                  lastModifiedByType:
                    description: 'LastModifiedByType: The type of identity that last
                      modified the resource.'
                    type: string
                type: object
              type:
                description: 'Type: Resource type'
                type: string
              updatedAt:
                description: 'UpdatedAt: The exact time the message was updated.'
                type: string
            type: object
        type: object
    served: true
    storage: false
    subresources:
      status: {}
  - additionalPrinterColumns:
    - jsonPath: .status.conditions[?(@.type=='Ready')].status
      name: Ready
      type: string
    - jsonPath: .status.conditions[?(@.type=='Ready')].severity
      name: Severity
      type: string
    - jsonPath: .status.conditions[?(@.type=='Ready')].reason
      name: Reason
      type: string
    - jsonPath: .status.conditions[?(@.type=='Ready')].message
      name: Message
      type: string
    name: v1alpha1api20210101previewstorage
    schema:
      openAPIV3Schema:
        description: 'Storage version of v1alpha1api20210101preview.NamespacesQueue
          Generated from: https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_queues'
        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: Storage version of v1alpha1api20210101preview.NamespacesQueues_Spec
            properties:
              $propertyBag:
                additionalProperties:
                  type: string
                description: PropertyBag is an unordered set of stashed information
                  that used for properties not directly supported by storage resources,
                  allowing for full fidelity round trip conversions
                type: object
              autoDeleteOnIdle:
                type: string
              azureName:
                description: 'AzureName: The name of the resource in Azure. This is
                  often the same as the name of the resource in Kubernetes but it
                  doesn''t have to be.'
                minLength: 1
                type: string
              deadLetteringOnMessageExpiration:
                type: boolean
              defaultMessageTimeToLive:
                type: string
              duplicateDetectionHistoryTimeWindow:
                type: string
              enableBatchedOperations:
                type: boolean
              enableExpress:
                type: boolean
              enablePartitioning:
                type: boolean
              forwardDeadLetteredMessagesTo:
                type: string
              forwardTo:
                type: string
              location:
                type: string
              lockDuration:
                type: string
              maxDeliveryCount:
                type: integer
              maxSizeInMegabytes:
                type: integer
              originalVersion:
                type: string
              owner:
                description: KnownResourceReference is a resource reference to a known
                  type.
                properties:
                  name:
                    description: This is the name of the Kubernetes resource to reference.
                    type: string
                required:
                - name
                type: object
              requiresDuplicateDetection:
                type: boolean
              requiresSession:
                type: boolean
              tags:
                additionalProperties:
                  type: string
                type: object
            required:
            - owner
            type: object
          status:
            description: Storage version of v1alpha1api20210101preview.SBQueue_Status
            properties:
              $propertyBag:
                additionalProperties:
                  type: string
                description: PropertyBag is an unordered set of stashed information
                  that used for properties not directly supported by storage resources,
                  allowing for full fidelity round trip conversions
                type: object
              accessedAt:
                type: string
              autoDeleteOnIdle:
                type: string
              conditions:
                items:
                  description: Condition defines an extension to status (an observation)
                    of a resource
                  properties:
                    lastTransitionTime:
                      description: LastTransitionTime is the last time the condition
                        transitioned from one status to another.
                      format: date-time
                      type: string
                    message:
                      description: Message is a human readable message indicating
                        details about the transition. This field may be empty.
                      type: string
                    observedGeneration:
                      description: ObservedGeneration is the .metadata.generation
                        that the condition was set based upon. For instance, if .metadata.generation
                        is currently 12, but the .status.condition[x].observedGeneration
                        is 9, the condition is out of date with respect to the current
                        state of the instance.
                      format: int64
                      type: integer
                    reason:
                      description: Reason for the condition's last transition. Reasons
                        are upper CamelCase (PascalCase) with no spaces. A reason
                        is always provided, this field will not be empty.
                      type: string
                    severity:
                      description: Severity with which to treat failures of this type
                        of condition. For conditions which have positive polarity
                        (Status == True is their normal/healthy state), this will
                        be omitted when Status == True For conditions which have negative
                        polarity (Status == False is their normal/healthy state),
                        this will be omitted when Status == False. This is omitted
                        in all cases when Status == Unknown
                      type: string
                    status:
                      description: Status of the condition, one of True, False, or
                        Unknown.
                      type: string
                    type:
                      description: Type of condition.
                      type: string
                  required:
                  - lastTransitionTime
                  - reason
                  - status
                  - type
                  type: object
                type: array
              countDetails:
                description: Storage version of v1alpha1api20210101preview.MessageCountDetails_Status
                properties:
                  $propertyBag:
                    additionalProperties:
                      type: string
                    description: PropertyBag is an unordered set of stashed information
                      that used for properties not directly supported by storage resources,
                      allowing for full fidelity round trip conversions
                    type: object
                  activeMessageCount:
                    type: integer
                  deadLetterMessageCount:
                    type: integer
                  scheduledMessageCount:
                    type: integer
                  transferDeadLetterMessageCount:
                    type: integer
                  transferMessageCount:
                    type: integer
                type: object
              createdAt:
                type: string
              deadLetteringOnMessageExpiration:
                type: boolean
              defaultMessageTimeToLive:
                type: string
              duplicateDetectionHistoryTimeWindow:
                type: string
              enableBatchedOperations:
                type: boolean
              enableExpress:
                type: boolean
              enablePartitioning:
                type: boolean
              forwardDeadLetteredMessagesTo:
                type: string
              forwardTo:
                type: string
              id:
                type: string
              lockDuration:
                type: string
              maxDeliveryCount:
                type: integer
              maxSizeInMegabytes:
                type: integer
              messageCount:
                type: integer
              name:
                type: string
              requiresDuplicateDetection:
                type: boolean
              requiresSession:
                type: boolean
              sizeInBytes:
                type: integer
              status:
                type: string
              systemData:
                description: Storage version of v1alpha1api20210101preview.SystemData_Status
                properties:
                  $propertyBag:
                    additionalProperties:
                      type: string
                    description: PropertyBag is an unordered set of stashed information
                      that used for properties not directly supported by storage resources,
                      allowing for full fidelity round trip conversions
                    type: object
                  createdAt:
                    type: string
                  createdBy:
                    type: string
                  createdByType:
                    type: string
                  lastModifiedAt:
                    type: string
                  lastModifiedBy:
                    type: string
                  lastModifiedByType:
                    type: string
                type: object
              type:
                type: string
              updatedAt:
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
