Exemplo n.º 1
0
def fetch_list(module, link):
    auth = GcpSession(module, 'runtimeconfig')
    return auth.list(link, return_if_object, array_name='configs')
def fetch_list(module, link):
    auth = GcpSession(module, 'container')
    return auth.list(link, return_if_object, array_name='clusters')
def fetch_list(module, link):
    auth = GcpSession(module, 'filestore')
    return auth.list(link, return_if_object, array_name='instances')
Exemplo n.º 4
0
def fetch_list(module, link):
    auth = GcpSession(module, 'resourcemanager')
    return auth.list(link, return_if_object, array_name='projects')
def fetch_list(module, link, query):
    auth = GcpSession(module, 'compute')
    return auth.list(link, return_if_object, array_name='items', params={'filter': query})
def fetch_list(module, link):
    auth = GcpSession(module, 'sourcerepo')
    return auth.list(link, return_if_object, array_name='repos')
def fetch_list(module, link):
    auth = GcpSession(module, 'mlengine')
    return auth.list(link, return_if_object, array_name='models')
Exemplo n.º 8
0
def fetch_list(module, link):
    auth = GcpSession(module, 'cloudscheduler')
    return auth.list(link, return_if_object, array_name='jobs')
Exemplo n.º 9
0
def fetch_list(module, link):
    auth = GcpSession(module, 'cloudtasks')
    return auth.list(link, return_if_object, array_name='queues')
Exemplo n.º 10
0
def fetch_list(module, link):
    auth = GcpSession(module, 'cloudfunctions')
    return auth.list(link, return_if_object, array_name='functions')
Exemplo n.º 11
0
def fetch_list(module, link):
    auth = GcpSession(module, 'serviceusage')
    return auth.list(link, return_if_object, array_name='services')
Exemplo n.º 12
0
def fetch_list(module, link):
    auth = GcpSession(module, 'spanner')
    return auth.list(link, return_if_object, array_name='databases')
def fetch_list(module, link, query):
    auth = GcpSession(module, 'dns')
    return auth.list(link,
                     return_if_object,
                     array_name='managedZones',
                     params={'dnsName': query})
Exemplo n.º 14
0
def fetch_list(module, link):
    auth = GcpSession(module, 'cloudbuild')
    return auth.list(link, return_if_object, array_name='triggers')
Exemplo n.º 15
0
def fetch_list(module, link):
    auth = GcpSession(module, 'logging')
    return auth.list(link, return_if_object, array_name='metrics')
Exemplo n.º 16
0
def fetch_list(module, link):
    auth = GcpSession(module, 'iam')
    return auth.list(link, return_if_object, array_name='roles')
def fetch_list(module, link):
    auth = GcpSession(module, 'kms')
    return auth.list(link, return_if_object, array_name='keyRings')
def fetch_list(module, link):
    auth = GcpSession(module, 'sql')
    return auth.list(link, return_if_object, array_name='items')
def fetch_list(module, link):
    auth = GcpSession(module, 'pubsub')
    return auth.list(link, return_if_object, array_name='subscriptions')
Exemplo n.º 20
0
def fetch_list(module, link):
    auth = GcpSession(module, 'bigquery')
    return auth.list(link, return_if_object, array_name='tables')
Exemplo n.º 21
0
def fetch_list(module, link):
    auth = GcpSession(module, 'appengine')
    return auth.list(link, return_if_object, array_name='ingressRules')