def BuildCloudMetadataRequests():
 amazon_collection_map = {'/'.join((AMAZON_URL_BASE, 'instance-id')): 'instance_id', '/'.join((AMAZON_URL_BASE, 'ami-id')): 'ami_id', '/'.join((AMAZON_URL_BASE, 'hostname')): 'hostname', '/'.join((AMAZON_URL_BASE, 'public-hostname')): 'public_hostname', '/'.join((AMAZON_URL_BASE, 'instance-type')): 'instance_type'}
 google_collection_map = {'/'.join((GOOGLE_URL_BASE, 'instance/id')): 'instance_id', '/'.join((GOOGLE_URL_BASE, 'instance/zone')): 'zone', '/'.join((GOOGLE_URL_BASE, 'project/project-id')): 'project_id', '/'.join((GOOGLE_URL_BASE, 'instance/hostname')): 'hostname', '/'.join((GOOGLE_URL_BASE, 'instance/machine-type')): 'machine_type'}
 return CloudMetadataRequests(requests=_MakeArgs(amazon_collection_map, google_collection_map))

def BuildCloudMetadataRequests ( ) : amazon_collection_map = { '/' . join ( ( AMAZON_URL_BASE , 'instance-id' ) ) : 'instance_id' , '/' . join ( ( AMAZON_URL_BASE , 'ami-id' ) ) : 'ami_id' , '/' . join ( ( AMAZON_URL_BASE , 'hostname' ) ) : 'hostname' , '/' . join ( ( AMAZON_URL_BASE , 'public-hostname' ) ) : 'public_hostname' , '/' . join ( ( AMAZON_URL_BASE , 'instance-type' ) ) : 'instance_type' } google_collection_map = { '/' . join ( ( GOOGLE_URL_BASE , 'instance/id' ) ) : 'instance_id' , '/' . join ( ( GOOGLE_URL_BASE , 'instance/zone' ) ) : 'zone' , '/' . join ( ( GOOGLE_URL_BASE , 'project/project-id' ) ) : 'project_id' , '/' . join ( ( GOOGLE_URL_BASE , 'instance/hostname' ) ) : 'hostname' , '/' . join ( ( GOOGLE_URL_BASE , 'instance/machine-type' ) ) : 'machine_type' } return CloudMetadataRequests ( requests = _MakeArgs ( amazon_collection_map , google_collection_map ) )
build the standard set of cloud metadata to collect during interrogate .