
    >                        d Z ddlmZ ddlmZ ddlmZ ddlmZ i d ej                  dd	      d
 ej                  ddd      d ej                  d      d ej                  d      d ej                  dd	      d ej                  dd	      d ej                  dd	      d ej                  dd	      d ej                  dd	      d  ej                  d!d"	      d# ej                  d!d$	      d% ej                  d&d'	      d( ej                  d)d*	      d+ ej                  d,d-	      d. ej                  d/d0	      d1 ej                  d2d3	      d4 ej                  d5d3	      i d6 ej                  d7d8	      d9 ej                  d:d;	      d< ej                  d=d>	      d? ej                  dd@dA      dB ej                  dCdD	      dE ej                  dFdG	      dH ej                  dIdJ	      dK ej                  dLdM	      d ej                  dN      dO ej                  dPdQ	      dR ej                  dS      dT ej                  dU      dV ej                  dW      dX ej                  dYdZ	      d[ ej                  d\d]	      d^ ej                  d_d`	      da ej                  dbdc	       ej                  ddde	       ej                  dfdg	       ej                  dhdi	       ej                  djdk	       ej                  dldm	       ej                  d       ej                  dndo	       ej                  dpq       ej                  drq       ej                  dsdt	       ej                  dudv	       ej                  dwdx	       ej                  dydz	       ej                  d{d|	      d}Zy~)zCA list of resources and their canonical format. This is deprecated.    )absolute_import)division)unicode_literals)resource_infozcompute.addresseszcompute addresses listz
          table(
            name,
            region.basename(),
            address,
            status
          )
        )cache_commandlist_formatzcompute.autoscalerszcompute.operationszcompute autoscaler listz
          table(
            name,
            target.basename(),
            autoscalingPolicy.policy():label=POLICY
          )
        )async_collectionr   r   zcompute.backendBucketsz|
          table(
            name,
            bucketName:label=GCS_BUCKET_NAME,
            enableCdn
          )
        )r   z!compute.backendServiceGroupHealthz
          default
        zcompute.backendServiceszcompute backend-services listz
          table(
            name,
            backends[].group.list():label=BACKENDS,
            protocol
          )
        zcompute.backendServices.alphaz
          table(
            name,
            backends[].group.list():label=BACKENDS,
            protocol,
            loadBalancingScheme,
            healthChecks.map().basename().list()
          )
        zcompute.regionBackendServiceszcompute.commitmentszcompute commitments listz
          table(name,
                region.basename(),
                endTimestamp,
                status)
                zcompute.diskszcompute disks listz
          table(
            name,
            zone.basename(),
            sizeGb,
            type.basename(),
            status
          )
        zcompute.diskTypeszcompute disk-types listz
          table(
            name,
            zone.basename(),
            validDiskSize:label=VALID_DISK_SIZES
          )
        zcompute.diskTypes.alphaz
          table(
            name,
            location():label=LOCATION,
            location_scope():label=SCOPE,
            validDiskSize:label=VALID_DISK_SIZES
          )
        zcompute.firewallszcompute firewall-rules lista  
          table(
            name,
            network.basename(),
            direction,
            priority,
            allowed[].map().firewall_rule().list():label=ALLOW,
            denied[].map().firewall_rule().list():label=DENY
          )
        zcompute.forwardingRuleszcompute forwarding-rules listz
          table(
            name,
            region.basename(),
            IPAddress,
            IPProtocol,
            firstof(
                target,
                backendService).scope():label=TARGET
          )
        zcompute.groupszcompute groups listz}
          table(
            name,
            members.len():label=NUM_MEMBERS,
            description
          )
        zcompute.healthCheckszcompute health-checks listzX
          table(
            name,
            type:label=PROTOCOL
          )
        zcompute.httpHealthCheckszcompute http-health-checks listzt
          table(
            name,
            host,
            port,
            requestPath
          )
        zcompute.httpsHealthChecksz compute https-health-checks listzcompute.imageszcompute images listz
          table(
            name,
            selfLink.map().scope(projects).segment(0):label=PROJECT,
            family,
            deprecated.state:label=DEPRECATED,
            status
          )
        zcompute.instanceGroupszcompute instance-groups listz
          table(
            name,
            location():label=LOCATION,
            location_scope():label=SCOPE,
            network.basename(),
            isManaged:label=MANAGED,
            size:label=INSTANCES
          )
        zcompute.instanceGroupManagersz$compute instance-groups managed lista  
          table(
            name,
            location():label=LOCATION,
            location_scope():label=SCOPE,
            baseInstanceName,
            size,
            targetSize,
            instanceTemplate.basename(),
            autoscaled
          )
        zcompute.instanceszcompute instances lista  
          table(
            name,
            zone.basename(),
            machineType.machine_type().basename(),
            scheduling.preemptible.yesno(yes=true, no=''),
            networkInterfaces[].networkIP.notnull().list():label=INTERNAL_IP,
            networkInterfaces[].accessConfigs[0].natIP.notnull().list()            :label=EXTERNAL_IP,
            status
          )
        zcompute.instanceTemplateszcompute instance-templates listz
          table(
            name,
            properties.machineType.machine_type(),
            properties.scheduling.preemptible.yesno(yes=true, no=''),
            creationTimestamp
          )
        zcompute.invalidationsz2beta compute url-maps list-cdn-cache-invalidationsz
          table(
            description,
            operation_http_status():label=HTTP_STATUS,
            status,
            insertTime:label=TIMESTAMP
          )
        zcompute.machineTypeszcompute machine-types listz
          table(
            name,
            zone.basename(),
            guestCpus:label=CPUS,
            memoryMb.size(units_in=MiB, units_out=GiB, precision=2):label=MEMORY_GB,
            deprecated.state:label=DEPRECATED
          )
        zcompute.networkszcompute networks listz
          table(
            name,
            x_gcloud_mode:label=MODE,
            IPv4Range:label=IPV4_RANGE,
            gatewayIPv4
          )
        z
          table(
            name,
            operationType:label=TYPE,
            targetLink.scope():label=TARGET,
            operation_http_status():label=HTTP_STATUS,
            status,
            insertTime:label=TIMESTAMP
          )
        zcompute.peeringszcompute networks peerings lista3  
          table(
            name,
            source_network.basename():label=NETWORK,
            network.map().scope(projects).segment(0):label=PEER_PROJECT,
            network.basename():label=PEER_NETWORK,
            autoCreateRoutes,
            state,
            stateDetails
          )
        zcompute.projectszY
          value(
            format("There is no API support yet.")
          )
        zcompute.xpnProjectszt
          table(
            name,
            creationTimestamp,
            xpnProjectStatus
          )
        zcompute.xpnResourceIdzb
          table(
            id:label=RESOURCE_ID,
            type:label=RESOURCE_TYPE)
        zcompute.regionszcompute regions lista  
          table(
            name,
            quotas.metric.CPUS.quota():label=CPUS,
            quotas.metric.DISKS_TOTAL_GB.quota():label=DISKS_GB,
            quotas.metric.IN_USE_ADDRESSES.quota():label=ADDRESSES,
            quotas.metric.STATIC_ADDRESSES.quota():label=RESERVED_ADDRESSES,
            status():label=STATUS,
            deprecated.deleted:label=TURNDOWN_DATE
          )
        zcompute.routerszcompute routers listzv
          table(
            name,
            region.basename(),
            network.basename()
          )
        zcompute.routeszcompute routes lista^  
          table(
            name,
            network.basename(),
            destRange,
            firstof(
                nextHopInstance,
                nextHopGateway,
                nextHopIp,
                nextHopVpnTunnel,
                nextHopPeering).scope()
              :label=NEXT_HOP,
            priority
          )
        zcompute.snapshotszcompute snapshots listz
          table(
            name,
            diskSizeGb,
            sourceDisk.scope():label=SRC_DISK,
            status
          )
        zcompute ssl-certificates listzV
          table(
            name,
            creationTimestamp
          )
        zcompute networks subnets listz
          table(
            name,
            region.basename(),
            network.basename(),
            ipCidrRange:label=RANGE
          )
        z compute target-http-proxies listzV
          table(
            name,
            urlMap.basename()
          )
        z!compute target-https-proxies listz
          table(
            name,
            sslCertificates.map().basename().list():label=SSL_CERTIFICATES,
            urlMap.basename()
          )
        zcompute target-instances listz
          table(
            name,
            zone.basename(),
            instance.basename(),
            natPolicy
          )
        zcompute target-pools listz
          table(
            name,
            region.basename(),
            sessionAffinity,
            backupPool.basename():label=BACKUP,
            healthChecks[].map().basename().list():label=HEALTH_CHECKS
          )
        zcompute target-ssl-proxies list)r   zcompute target-tcp-proxies listz compute target-vpn-gateways listzv
          table(
            name,
            network.basename(),
            region.basename()
          )
        zcompute url-maps listzS
          table(
            name,
            defaultService
          )
        zcompute users listzc
          table(
            name,
            owner,
            description
          )
        zcompute vpn-tunnels listz
          table(
            name,
            region.basename(),
            targetVpnGateway.basename():label=GATEWAY,
            peerIp:label=PEER_ADDRESS
          )
        zcompute zones listz
          table(
            name,
            region.basename(),
            status():label=STATUS,
            maintenanceWindows.next_maintenance():label=NEXT_MAINTENANCE,
            deprecated.deleted:label=TURNDOWN_DATE
          )
        )zcompute.sslCertificateszcompute.subnetworkszcompute.targetHttpProxieszcompute.targetHttpsProxieszcompute.targetInstancesz compute.targetPoolInstanceHealthzcompute.targetPoolszcompute.targetSslProxieszcompute.targetTcpProxieszcompute.targetVpnGatewayszcompute.urlMapszcompute.userszcompute.vpnTunnelszcompute.zonesN)	__doc__
__future__r   r   r   googlecloudsdk.core.resourcer   ResourceInfoRESOURCE_REGISTRY     Dlib/googlecloudsdk/api_lib/compute/base_classes_resource_registry.py<module>r      s_    J '  ' 6}"""2		} """13		}. """	1}@ ("""	C}J """9	M}^ $"""9
	a}v $"""9
	y}N """4	Q}` """.
	c}x """3	{}L """3		O}b """7		e}| """9
	}X """/	[}l """6	o}~ """;		A}T  """<		W}j """/
	m}B """8		E}\ $"""@	_}z """12	}}Z  """;		]}p """N		s}F """6
	I}^ """1		a}t """	
	w}L	 """:
	O	}h	 """	k	}v	 """	y	}H
 """	K
}V
 """0
	Y
}r
 """0	u
}F """/	I}j """2		m}B 	#""9	 	#""9		 	#""<	 	#""=	 	#""9		 	#""	
 	#""5
	 	#"";	> 	#"";	> 	#""<	 	#""1	 	#"".	 	#""4		 	#"".
	e} r   