...

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

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

     1label: Config Connector BillingBudgetsBudget
     2markdownDescription: Creates yaml for a BillingBudgetsBudget resource
     3insertText: |
     4  apiVersion: billingbudgets.cnrm.cloud.google.com/v1beta1
     5  kind: BillingBudgetsBudget
     6  metadata:
     7    name: \${1:billingbudgetsbudget-name}
     8  spec:
     9    billingAccountRef:
    10      external: \${2:[BILLING_ACCOUNT_ID_FOR_BILLING_RESOURCES?]}
    11    displayName: \${3:sample-budget}
    12    budgetFilter:
    13      projects:
    14      - name: \${4:billingbudgetsbudget-dep-calb}
    15      creditTypes:
    16      - \${5:DISCOUNT}
    17      creditTypesTreatment: \${6:INCLUDE_SPECIFIED_CREDITS}
    18      services:
    19      - \${7:services/0245-C3C9-3864}
    20      labels:
    21        label-one:
    22          values:
    23          - \${8:value-one}
    24      calendarPeriod: \${9:MONTH}
    25    amount:
    26      specifiedAmount:
    27        currencyCode: \${10:USD}
    28        units: \${11:9000000}
    29        nanos: \${12:0}
    30    thresholdRules:
    31    - thresholdPercent: \${13:0.5}
    32      spendBasis: \${14:CURRENT_SPEND}
    33    allUpdatesRule:
    34      pubsubTopicRef:
    35        name: \${15:billingbudgetsbudget-dep-calendarbudget}
    36      schemaVersion: \${16:1.0}
    37      monitoringNotificationChannels:
    38      - name: \${17:billingbudgetsbudget-dep-calendarbudget}
    39      disableDefaultIamRecipients: \${18:false}

View as plain text