...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_computeresourcepolicies.compute.cnrm.cloud.google.com.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    cnrm.cloud.google.com/version: 0.0.0-dev
     6  creationTimestamp: null
     7  labels:
     8    cnrm.cloud.google.com/managed-by-kcc: "true"
     9    cnrm.cloud.google.com/stability-level: stable
    10    cnrm.cloud.google.com/system: "true"
    11    cnrm.cloud.google.com/tf2crd: "true"
    12  name: computeresourcepolicies.compute.cnrm.cloud.google.com
    13spec:
    14  group: compute.cnrm.cloud.google.com
    15  names:
    16    categories:
    17    - gcp
    18    kind: ComputeResourcePolicy
    19    plural: computeresourcepolicies
    20    shortNames:
    21    - gcpcomputeresourcepolicy
    22    - gcpcomputeresourcepolicies
    23    singular: computeresourcepolicy
    24  preserveUnknownFields: false
    25  scope: Namespaced
    26  versions:
    27  - additionalPrinterColumns:
    28    - jsonPath: .metadata.creationTimestamp
    29      name: Age
    30      type: date
    31    - description: When 'True', the most recent reconcile of the resource succeeded
    32      jsonPath: .status.conditions[?(@.type=='Ready')].status
    33      name: Ready
    34      type: string
    35    - description: The reason for the value in 'Ready'
    36      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    37      name: Status
    38      type: string
    39    - description: The last transition time for the value in 'Status'
    40      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    41      name: Status Age
    42      type: date
    43    name: v1beta1
    44    schema:
    45      openAPIV3Schema:
    46        properties:
    47          apiVersion:
    48            description: 'apiVersion defines the versioned schema of this representation
    49              of an object. Servers should convert recognized schemas to the latest
    50              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    51            type: string
    52          kind:
    53            description: 'kind is a string value representing the REST resource this
    54              object represents. Servers may infer this from the endpoint the client
    55              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    56            type: string
    57          metadata:
    58            type: object
    59          spec:
    60            properties:
    61              description:
    62                description: Immutable. An optional description of this resource.
    63                  Provide this property when you create the resource.
    64                type: string
    65              diskConsistencyGroupPolicy:
    66                description: Immutable. Replication consistency group for asynchronous
    67                  disk replication.
    68                properties:
    69                  enabled:
    70                    description: Immutable. Enable disk consistency on the resource
    71                      policy.
    72                    type: boolean
    73                required:
    74                - enabled
    75                type: object
    76              groupPlacementPolicy:
    77                description: Immutable. Resource policy for instances used for placement
    78                  configuration.
    79                properties:
    80                  availabilityDomainCount:
    81                    description: |-
    82                      Immutable. The number of availability domains instances will be spread across. If two instances are in different
    83                      availability domain, they will not be put in the same low latency network.
    84                    type: integer
    85                  collocation:
    86                    description: |-
    87                      Immutable. Collocation specifies whether to place VMs inside the same availability domain on the same low-latency network.
    88                      Specify 'COLLOCATED' to enable collocation. Can only be specified with 'vm_count'. If compute instances are created
    89                      with a COLLOCATED policy, then exactly 'vm_count' instances must be created at the same time with the resource policy
    90                      attached. Possible values: ["COLLOCATED"].
    91                    type: string
    92                  maxDistance:
    93                    description: Immutable. Specifies the number of max logical switches.
    94                    type: integer
    95                  vmCount:
    96                    description: |-
    97                      Immutable. Number of VMs in this placement group. Google does not recommend that you use this field
    98                      unless you use a compact policy and you want your policy to work only if it contains this
    99                      exact number of VMs.
   100                    type: integer
   101                type: object
   102              instanceSchedulePolicy:
   103                description: Immutable. Resource policy for scheduling instance operations.
   104                properties:
   105                  expirationTime:
   106                    description: Immutable. The expiration time of the schedule. The
   107                      timestamp is an RFC3339 string.
   108                    type: string
   109                  startTime:
   110                    description: Immutable. The start time of the schedule. The timestamp
   111                      is an RFC3339 string.
   112                    type: string
   113                  timeZone:
   114                    description: |-
   115                      Immutable. Specifies the time zone to be used in interpreting the schedule. The value of this field must be a time zone name
   116                      from the tz database: http://en.wikipedia.org/wiki/Tz_database.
   117                    type: string
   118                  vmStartSchedule:
   119                    description: Immutable. Specifies the schedule for starting instances.
   120                    properties:
   121                      schedule:
   122                        description: Immutable. Specifies the frequency for the operation,
   123                          using the unix-cron format.
   124                        type: string
   125                    required:
   126                    - schedule
   127                    type: object
   128                  vmStopSchedule:
   129                    description: Immutable. Specifies the schedule for stopping instances.
   130                    properties:
   131                      schedule:
   132                        description: Immutable. Specifies the frequency for the operation,
   133                          using the unix-cron format.
   134                        type: string
   135                    required:
   136                    - schedule
   137                    type: object
   138                required:
   139                - timeZone
   140                type: object
   141              region:
   142                description: Immutable. Region where resource policy resides.
   143                type: string
   144              resourceID:
   145                description: Immutable. Optional. The name of the resource. Used for
   146                  creation and acquisition. When unset, the value of `metadata.name`
   147                  is used as the default.
   148                type: string
   149              snapshotSchedulePolicy:
   150                description: Immutable. Policy for creating snapshots of persistent
   151                  disks.
   152                properties:
   153                  retentionPolicy:
   154                    description: Immutable. Retention policy applied to snapshots
   155                      created by this resource policy.
   156                    properties:
   157                      maxRetentionDays:
   158                        description: Immutable. Maximum age of the snapshot that is
   159                          allowed to be kept.
   160                        type: integer
   161                      onSourceDiskDelete:
   162                        description: |-
   163                          Immutable. Specifies the behavior to apply to scheduled snapshots when
   164                          the source disk is deleted. Default value: "KEEP_AUTO_SNAPSHOTS" Possible values: ["KEEP_AUTO_SNAPSHOTS", "APPLY_RETENTION_POLICY"].
   165                        type: string
   166                    required:
   167                    - maxRetentionDays
   168                    type: object
   169                  schedule:
   170                    description: Immutable. Contains one of an 'hourlySchedule', 'dailySchedule',
   171                      or 'weeklySchedule'.
   172                    properties:
   173                      dailySchedule:
   174                        description: Immutable. The policy will execute every nth
   175                          day at the specified time.
   176                        properties:
   177                          daysInCycle:
   178                            description: Immutable. The number of days between snapshots.
   179                            type: integer
   180                          startTime:
   181                            description: |-
   182                              Immutable. This must be in UTC format that resolves to one of
   183                              00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example,
   184                              both 13:00-5 and 08:00 are valid.
   185                            type: string
   186                        required:
   187                        - daysInCycle
   188                        - startTime
   189                        type: object
   190                      hourlySchedule:
   191                        description: Immutable. The policy will execute every nth
   192                          hour starting at the specified time.
   193                        properties:
   194                          hoursInCycle:
   195                            description: Immutable. The number of hours between snapshots.
   196                            type: integer
   197                          startTime:
   198                            description: |-
   199                              Immutable. Time within the window to start the operations.
   200                              It must be in an hourly format "HH:MM",
   201                              where HH : [00-23] and MM : [00] GMT.
   202                              eg: 21:00.
   203                            type: string
   204                        required:
   205                        - hoursInCycle
   206                        - startTime
   207                        type: object
   208                      weeklySchedule:
   209                        description: Immutable. Allows specifying a snapshot time
   210                          for each day of the week.
   211                        properties:
   212                          dayOfWeeks:
   213                            description: Immutable. May contain up to seven (one for
   214                              each day of the week) snapshot times.
   215                            items:
   216                              properties:
   217                                day:
   218                                  description: 'Immutable. The day of the week to
   219                                    create the snapshot. e.g. MONDAY Possible values:
   220                                    ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY",
   221                                    "FRIDAY", "SATURDAY", "SUNDAY"].'
   222                                  type: string
   223                                startTime:
   224                                  description: |-
   225                                    Immutable. Time within the window to start the operations.
   226                                    It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
   227                                  type: string
   228                              required:
   229                              - day
   230                              - startTime
   231                              type: object
   232                            type: array
   233                        required:
   234                        - dayOfWeeks
   235                        type: object
   236                    type: object
   237                  snapshotProperties:
   238                    description: Immutable. Properties with which the snapshots are
   239                      created, such as labels.
   240                    properties:
   241                      chainName:
   242                        description: |-
   243                          Immutable. Creates the new snapshot in the snapshot chain labeled with the
   244                          specified name. The chain name must be 1-63 characters long and comply
   245                          with RFC1035.
   246                        type: string
   247                      guestFlush:
   248                        description: Immutable. Whether to perform a 'guest aware'
   249                          snapshot.
   250                        type: boolean
   251                      labels:
   252                        additionalProperties:
   253                          type: string
   254                        description: Immutable. A set of key-value pairs.
   255                        type: object
   256                      storageLocations:
   257                        description: |-
   258                          Immutable. Cloud Storage bucket location to store the auto snapshot
   259                          (regional or multi-regional).
   260                        items:
   261                          type: string
   262                        type: array
   263                    type: object
   264                required:
   265                - schedule
   266                type: object
   267            required:
   268            - region
   269            type: object
   270          status:
   271            properties:
   272              conditions:
   273                description: Conditions represent the latest available observation
   274                  of the resource's current state.
   275                items:
   276                  properties:
   277                    lastTransitionTime:
   278                      description: Last time the condition transitioned from one status
   279                        to another.
   280                      type: string
   281                    message:
   282                      description: Human-readable message indicating details about
   283                        last transition.
   284                      type: string
   285                    reason:
   286                      description: Unique, one-word, CamelCase reason for the condition's
   287                        last transition.
   288                      type: string
   289                    status:
   290                      description: Status is the status of the condition. Can be True,
   291                        False, Unknown.
   292                      type: string
   293                    type:
   294                      description: Type is the type of the condition.
   295                      type: string
   296                  type: object
   297                type: array
   298              observedGeneration:
   299                description: ObservedGeneration is the generation of the resource
   300                  that was most recently observed by the Config Connector controller.
   301                  If this is equal to metadata.generation, then that means that the
   302                  current reported status reflects the most recent desired state of
   303                  the resource.
   304                type: integer
   305              selfLink:
   306                type: string
   307            type: object
   308        required:
   309        - spec
   310        type: object
   311    served: true
   312    storage: true
   313    subresources:
   314      status: {}
   315status:
   316  acceptedNames:
   317    kind: ""
   318    plural: ""
   319  conditions: []
   320  storedVersions: []

View as plain text