...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets/compute_v1beta1_computeserviceattachment.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets

     1label: Config Connector ComputeServiceAttachment
     2markdownDescription: Creates yaml for a ComputeServiceAttachment resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeServiceAttachment
     6  metadata:
     7    name: \${1:computeserviceattachment-name}
     8  spec:
     9    projectRef:
    10      external: \${2:projects/[PROJECT_ID?]}
    11    location: \${3:us-west2}
    12    description: \${4:A sample service attachment}
    13    targetServiceRef:
    14      name: \${5:computeserviceattachment-dep}
    15    connectionPreference: \${6:ACCEPT_MANUAL}
    16    natSubnets:
    17    - name: \${7:computeserviceattachment-dep1}
    18    enableProxyProtocol: \${8:false}
    19    consumerRejectLists:
    20    - name: \${9:computeserviceattachment-dep1}
    21    consumerAcceptLists:
    22    - projectRef:
    23        name: \${10:computeserviceattachment-dep2}
    24      connectionLimit: \${11:2}

View as plain text