...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/scripts/resource-autogen/generated/servicemappings/notebooks.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/scripts/resource-autogen/generated/servicemappings

     1# Copyright 2022 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#      http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: core.cnrm.cloud.google.com/v1alpha1
    16kind: ServiceMapping
    17metadata:
    18  name: notebooks.cnrm.cloud.google.com
    19  namespace: cnrm-system
    20spec:
    21  name: Notebooks
    22  version: v1beta1
    23  serviceHostName: notebooks.googleapis.com
    24  resources:
    25    - name: google_notebooks_environment
    26      kind: NotebooksEnvironment
    27      autoGenerated: true
    28      idTemplate: "projects/{{project}}/locations/{{location}}/environments/{{name}}"
    29      idTemplateCanBeUsedToMatchResourceName: false
    30      resourceAvailableInAssetInventory: false
    31      metadataMapping:
    32        name: name
    33      resourceID:
    34        targetField: name
    35      hierarchicalReferences:
    36        - type: project
    37          key: projectRef
    38      resourceReferences:
    39        - tfField: project
    40          key: projectRef
    41          description: |-
    42            The project that this resource belongs to.
    43          gvk:
    44            kind: Project
    45            version: v1beta1
    46            group: resourcemanager.cnrm.cloud.google.com
    47        - key: locationRef
    48          tfField: location
    49          gvk:
    50            kind: NotebooksLocation
    51            version: v1beta1
    52            group: notebooks.cnrm.cloud.google.com
    53          targetField: name
    54    - name: google_notebooks_instance
    55      kind: NotebooksInstance
    56      autoGenerated: true
    57      iamConfig:
    58        policyName: google_notebooks_instance_iam_policy
    59        policyMemberName: google_notebooks_instance_iam_member
    60        referenceField:
    61          name: instance_name
    62          type: name
    63        supportsConditions: false
    64      idTemplate: "projects/{{project}}/locations/{{location}}/instances/{{name}}"
    65      idTemplateCanBeUsedToMatchResourceName: false
    66      resourceAvailableInAssetInventory: false
    67      metadataMapping:
    68        name: name
    69        labels: labels
    70      resourceID:
    71        targetField: name
    72      hierarchicalReferences:
    73        - type: project
    74          key: projectRef
    75      resourceReferences:
    76        - tfField: project
    77          key: projectRef
    78          description: |-
    79            The project that this resource belongs to.
    80          gvk:
    81            kind: Project
    82            version: v1beta1
    83            group: resourcemanager.cnrm.cloud.google.com
    84        - key: locationRef
    85          tfField: location
    86          gvk:
    87            kind: NotebooksLocation
    88            version: v1beta1
    89            group: notebooks.cnrm.cloud.google.com
    90          targetField: self_link
    91          parent: true
    92    - name: google_notebooks_location
    93      kind: NotebooksLocation
    94      autoGenerated: true
    95      idTemplate: "projects/{{project}}/locations/{{name}}"
    96      idTemplateCanBeUsedToMatchResourceName: false
    97      resourceAvailableInAssetInventory: false
    98      metadataMapping:
    99        name: name
   100      resourceID:
   101        targetField: name
   102      hierarchicalReferences:
   103        - type: project
   104          key: projectRef
   105      resourceReferences:
   106        - tfField: project
   107          key: projectRef
   108          description: |-
   109            The project that this resource belongs to.
   110          gvk:
   111            kind: Project
   112            version: v1beta1
   113            group: resourcemanager.cnrm.cloud.google.com
   114    - name: google_notebooks_runtime
   115      kind: NotebooksRuntime
   116      autoGenerated: true
   117      iamConfig:
   118        policyName: google_notebooks_runtime_iam_policy
   119        policyMemberName: google_notebooks_runtime_iam_member
   120        referenceField:
   121          name: runtime_name
   122          type: name
   123        supportsConditions: false
   124      idTemplate: "projects/{{project}}/locations/{{location}}/runtimes/{{name}}"
   125      idTemplateCanBeUsedToMatchResourceName: false
   126      resourceAvailableInAssetInventory: false
   127      metadataMapping:
   128        name: name
   129      resourceID:
   130        targetField: name
   131      hierarchicalReferences:
   132        - type: project
   133          key: projectRef
   134      resourceReferences:
   135        - tfField: project
   136          key: projectRef
   137          description: |-
   138            The project that this resource belongs to.
   139          gvk:
   140            kind: Project
   141            version: v1beta1
   142            group: resourcemanager.cnrm.cloud.google.com
   143        - key: locationRef
   144          tfField: location
   145          gvk:
   146            kind: NotebooksLocation
   147            version: v1beta1
   148            group: notebooks.cnrm.cloud.google.com
   149          targetField: self_link
   150          parent: true

View as plain text