google/resource-snippets/compute-v1/compute_constants.py (52 lines of code) (raw):

# Copyright 2018 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Constants for compute type names.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function ADDRESSES = 'addresses' AUTOSCALERS = 'autoscalers' BACKENDBUCKETS = 'backendBuckets' BACKENDSERVICES = 'backendServices' DISKS = 'disks' FIREWALLS = 'firewalls' FORWARDINGRULES = 'forwardingRules' GLOBALADDRESSES = 'globalAddresses' GLOBALFORWARDINGRULES = 'globalForwardingRules' HEALTHCHECKS = 'healthChecks' HOSTS = 'hosts' HTTPHEALTHCHECKS = 'httpHealthChecks' HTTPSHEALTHCHECKS = 'httpsHealthChecks' IMAGES = 'images' INSTANCEGROUPMANAGERS = 'instanceGroupManagers' INSTANCEGROUPS = 'instanceGroups' INSTANCETEMPLATES = 'instanceTemplates' INSTANCES = 'instances' INTERCONNECTATTACHMENTS = 'interconnectAttachments' INTERCONNECTLOCATIONS = 'interconnectLocations' INTERCONNECTS = 'interconnects' LICENSECODES = 'licenseCodes' LICENSES = 'licenses' MACHINETYPES = 'machineTypes' NETWORKENDPOINTGROUPS = 'networkEndpointGroups' NETWORKS = 'networks' PROJECTS = 'projects' REGIONAUTOSCALERS = 'regionAutoscalers' REGIONBACKENDSERVICES = 'regionBackendServices' REGIONCOMMITMENTS = 'regionCommitments' REGIONDISKS = 'regionDisks' REGIONINSTANCEGROUPMANAGERS = 'regionInstanceGroupManagers' REGIONINSTANCEGROUPS = 'regionInstanceGroups' ROUTERS = 'routers' ROUTES = 'routes' SECURITYPOLICIES = 'securityPolicies' SNAPSHOTS = 'snapshots' SSLCERTIFICATES = 'sslCertificates' SSLPOLICIES = 'sslPolicies' SUBNETWORKS = 'subnetworks' TARGETHTTPPROXIES = 'targetHttpProxies' TARGETHTTPSPROXIES = 'targetHttpsProxies' TARGETINSTANCES = 'targetInstances' TARGETPOOLS = 'targetPools' TARGETSSLPROXIES = 'targetSslProxies' TARGETTCPPROXIES = 'targetTcpProxies' TARGETVPNGATEWAYS = 'targetVpnGateways' URLMAPS = 'urlMaps' VPNTUNNELS = 'vpnTunnels'