mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-09 20:30:27 -07:00
Add many no_log attributes
This commit is contained in:
parent
78b36fe3b6
commit
1a7d4e3cda
101 changed files with 147 additions and 111 deletions
plugins/modules
gcp_appengine_firewall_rule_info.pygcp_bigquery_dataset_info.pygcp_bigquery_table.pygcp_bigquery_table_info.pygcp_bigtable_instance_info.pygcp_cloudbuild_trigger.pygcp_cloudbuild_trigger_info.pygcp_cloudfunctions_cloud_function_info.pygcp_cloudscheduler_job.pygcp_cloudscheduler_job_info.pygcp_cloudtasks_queue_info.pygcp_compute_address_info.pygcp_compute_autoscaler_info.pygcp_compute_backend_bucket_info.pygcp_compute_backend_service.pygcp_compute_backend_service_info.pygcp_compute_disk.pygcp_compute_disk_info.pygcp_compute_external_vpn_gateway_info.pygcp_compute_firewall_info.pygcp_compute_forwarding_rule_info.pygcp_compute_global_address_info.pygcp_compute_global_forwarding_rule_info.pygcp_compute_health_check_info.pygcp_compute_http_health_check_info.pygcp_compute_https_health_check_info.pygcp_compute_image.pygcp_compute_image_info.pygcp_compute_instance.pygcp_compute_instance_group_info.pygcp_compute_instance_group_manager_info.pygcp_compute_instance_info.pygcp_compute_instance_template.pygcp_compute_instance_template_info.pygcp_compute_interconnect_attachment_info.pygcp_compute_network_endpoint_group_info.pygcp_compute_network_info.pygcp_compute_node_group_info.pygcp_compute_node_template_info.pygcp_compute_region_autoscaler_info.pygcp_compute_region_backend_service.pygcp_compute_region_backend_service_info.pygcp_compute_region_disk.pygcp_compute_region_disk_info.pygcp_compute_region_health_check_info.pygcp_compute_region_instance_group_manager_info.pygcp_compute_region_target_http_proxy_info.pygcp_compute_region_target_https_proxy_info.pygcp_compute_region_url_map_info.pygcp_compute_reservation_info.pygcp_compute_resource_policy_info.pygcp_compute_route_info.pygcp_compute_router_info.pygcp_compute_snapshot.pygcp_compute_snapshot_info.pygcp_compute_ssl_certificate_info.pygcp_compute_ssl_policy_info.pygcp_compute_subnetwork_info.pygcp_compute_target_http_proxy_info.pygcp_compute_target_https_proxy_info.pygcp_compute_target_instance_info.pygcp_compute_target_pool_info.pygcp_compute_target_ssl_proxy_info.pygcp_compute_target_tcp_proxy_info.pygcp_compute_target_vpn_gateway_info.pygcp_compute_url_map_info.pygcp_compute_vpn_tunnel_info.pygcp_container_cluster.pygcp_container_cluster_info.pygcp_container_node_pool.pygcp_container_node_pool_info.pygcp_dns_managed_zone.pygcp_dns_managed_zone_info.pygcp_dns_resource_record_set_info.pygcp_filestore_instance_info.pygcp_iam_role_info.pygcp_iam_service_account_info.pygcp_kms_crypto_key.pygcp_kms_crypto_key_info.pygcp_kms_key_ring_info.pygcp_logging_metric.pygcp_logging_metric_info.pygcp_mlengine_model_info.pygcp_mlengine_version_info.pygcp_pubsub_subscription.pygcp_pubsub_subscription_info.pygcp_pubsub_topic_info.pygcp_redis_instance_info.pygcp_resourcemanager_project_info.pygcp_runtimeconfig_config_info.pygcp_runtimeconfig_variable_info.pygcp_serviceusage_service_info.pygcp_sourcerepo_repository_info.pygcp_spanner_database_info.pygcp_spanner_instance_info.pygcp_sql_database_info.pygcp_sql_instance.pygcp_sql_instance_info.pygcp_sql_ssl_cert.pygcp_sql_user.py
|
@ -150,7 +150,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -311,7 +311,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
||||||
|
|
|
@ -253,6 +253,7 @@ options:
|
||||||
data .
|
data .
|
||||||
required: false
|
required: false
|
||||||
type: int
|
type: int
|
||||||
|
default: 0
|
||||||
source_format:
|
source_format:
|
||||||
description:
|
description:
|
||||||
- The data format.
|
- The data format.
|
||||||
|
@ -328,6 +329,7 @@ options:
|
||||||
when reading the data.
|
when reading the data.
|
||||||
required: false
|
required: false
|
||||||
type: int
|
type: int
|
||||||
|
default: 0
|
||||||
csv_options:
|
csv_options:
|
||||||
description:
|
description:
|
||||||
- Additional properties to set if sourceFormat is set to CSV.
|
- Additional properties to set if sourceFormat is set to CSV.
|
||||||
|
@ -368,6 +370,7 @@ options:
|
||||||
when reading the data.
|
when reading the data.
|
||||||
required: false
|
required: false
|
||||||
type: int
|
type: int
|
||||||
|
default: 0
|
||||||
bigtable_options:
|
bigtable_options:
|
||||||
description:
|
description:
|
||||||
- Additional options if sourceFormat is set to BIGTABLE.
|
- Additional options if sourceFormat is set to BIGTABLE.
|
||||||
|
|
|
@ -590,7 +590,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(dataset=dict(type='str')))
|
module = GcpModule(argument_spec=dict(dataset=dict(type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
||||||
|
|
|
@ -188,7 +188,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -1536,7 +1536,7 @@ def main():
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
pubsub_config=dict(type='dict', options=dict(topic=dict(required=True, type='str'), service_account_email=dict(type='str'))),
|
pubsub_config=dict(type='dict', options=dict(topic=dict(required=True, type='str'), service_account_email=dict(type='str'))),
|
||||||
webhook_config=dict(type='dict', options=dict(secret=dict(required=True, type='str'))),
|
webhook_config=dict(type='dict', options=dict(secret=dict(required=True, type='str', no_log=True))),
|
||||||
build=dict(
|
build=dict(
|
||||||
type='dict',
|
type='dict',
|
||||||
options=dict(
|
options=dict(
|
||||||
|
@ -1568,7 +1568,11 @@ def main():
|
||||||
queue_ttl=dict(type='str'),
|
queue_ttl=dict(type='str'),
|
||||||
logs_bucket=dict(type='str'),
|
logs_bucket=dict(type='str'),
|
||||||
timeout=dict(default='600s', type='str'),
|
timeout=dict(default='600s', type='str'),
|
||||||
secrets=dict(type='list', elements='dict', options=dict(kms_key_name=dict(required=True, type='str'), secret_env=dict(type='dict'))),
|
secrets=dict(
|
||||||
|
type='list',
|
||||||
|
elements='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(kms_key_name=dict(required=True, type='str'), secret_env=dict(type='dict', no_log=True))),
|
||||||
steps=dict(
|
steps=dict(
|
||||||
required=True,
|
required=True,
|
||||||
type='list',
|
type='list',
|
||||||
|
@ -1580,7 +1584,7 @@ def main():
|
||||||
id=dict(type='str'),
|
id=dict(type='str'),
|
||||||
entrypoint=dict(type='str'),
|
entrypoint=dict(type='str'),
|
||||||
dir=dict(type='str'),
|
dir=dict(type='str'),
|
||||||
secret_env=dict(type='list', elements='str'),
|
secret_env=dict(type='list', elements='str', no_log=True),
|
||||||
timeout=dict(type='str'),
|
timeout=dict(type='str'),
|
||||||
timing=dict(type='str'),
|
timing=dict(type='str'),
|
||||||
volumes=dict(
|
volumes=dict(
|
||||||
|
@ -1609,7 +1613,7 @@ def main():
|
||||||
worker_pool=dict(type='str'),
|
worker_pool=dict(type='str'),
|
||||||
logging=dict(type='str'),
|
logging=dict(type='str'),
|
||||||
env=dict(type='list', elements='str'),
|
env=dict(type='list', elements='str'),
|
||||||
secret_env=dict(type='list', elements='str'),
|
secret_env=dict(type='list', elements='str', no_log=True),
|
||||||
volumes=dict(type='list', elements='dict', options=dict(name=dict(type='str'), path=dict(type='str'))),
|
volumes=dict(type='list', elements='dict', options=dict(name=dict(type='str'), path=dict(type='str'))),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -814,7 +814,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -273,7 +273,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -681,8 +681,8 @@ def main():
|
||||||
http_method=dict(type='str'),
|
http_method=dict(type='str'),
|
||||||
body=dict(type='str'),
|
body=dict(type='str'),
|
||||||
headers=dict(type='dict'),
|
headers=dict(type='dict'),
|
||||||
oauth_token=dict(type='dict', options=dict(service_account_email=dict(required=True, type='str'), scope=dict(type='str'))),
|
oauth_token=dict(type='dict', no_log=True, options=dict(service_account_email=dict(required=True, type='str'), scope=dict(type='str'))),
|
||||||
oidc_token=dict(type='dict', options=dict(service_account_email=dict(required=True, type='str'), audience=dict(type='str'))),
|
oidc_token=dict(type='dict', no_log=True, options=dict(service_account_email=dict(required=True, type='str'), audience=dict(type='str'))),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
region=dict(required=True, type='str'),
|
region=dict(required=True, type='str'),
|
||||||
|
|
|
@ -379,7 +379,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -279,7 +279,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -235,7 +235,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -320,7 +320,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -252,7 +252,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -1490,6 +1490,7 @@ def main():
|
||||||
options=dict(
|
options=dict(
|
||||||
cache_key_policy=dict(
|
cache_key_policy=dict(
|
||||||
type="dict",
|
type="dict",
|
||||||
|
no_log=False,
|
||||||
options=dict(
|
options=dict(
|
||||||
include_host=dict(type="bool"),
|
include_host=dict(type="bool"),
|
||||||
include_protocol=dict(type="bool"),
|
include_protocol=dict(type="bool"),
|
||||||
|
|
|
@ -762,7 +762,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -570,14 +570,20 @@ def main():
|
||||||
provisioned_iops=dict(type='int'),
|
provisioned_iops=dict(type='int'),
|
||||||
zone=dict(required=True, type='str'),
|
zone=dict(required=True, type='str'),
|
||||||
source_image_encryption_key=dict(
|
source_image_encryption_key=dict(
|
||||||
type='dict', no_log=True, options=dict(raw_key=dict(type='str'), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
type='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(raw_key=dict(type='str', no_log=True), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
||||||
),
|
),
|
||||||
disk_encryption_key=dict(
|
disk_encryption_key=dict(
|
||||||
type='dict', no_log=True, options=dict(raw_key=dict(type='str'), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
type='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(raw_key=dict(type='str', no_log=True), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
||||||
),
|
),
|
||||||
source_snapshot=dict(type='dict', no_log=True),
|
source_snapshot=dict(type='dict', no_log=True),
|
||||||
source_snapshot_encryption_key=dict(
|
source_snapshot_encryption_key=dict(
|
||||||
type='dict', no_log=True, options=dict(raw_key=dict(type='str'), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
type='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(raw_key=dict(type='str', no_log=True), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -375,7 +375,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -175,7 +175,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -322,7 +322,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -314,7 +314,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -205,7 +205,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -289,7 +289,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -527,7 +527,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -204,7 +204,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -204,7 +204,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -545,13 +545,13 @@ def main():
|
||||||
disk_size_gb=dict(type='int'),
|
disk_size_gb=dict(type='int'),
|
||||||
family=dict(type='str'),
|
family=dict(type='str'),
|
||||||
guest_os_features=dict(type='list', elements='dict', options=dict(type=dict(required=True, type='str'))),
|
guest_os_features=dict(type='list', elements='dict', options=dict(type=dict(required=True, type='str'))),
|
||||||
image_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str'))),
|
image_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str', no_log=True))),
|
||||||
labels=dict(type='dict'),
|
labels=dict(type='dict'),
|
||||||
licenses=dict(type='list', elements='str'),
|
licenses=dict(type='list', elements='str'),
|
||||||
name=dict(required=True, type='str'),
|
name=dict(required=True, type='str'),
|
||||||
raw_disk=dict(type='dict', options=dict(container_type=dict(type='str'), sha1_checksum=dict(type='str'), source=dict(required=True, type='str'))),
|
raw_disk=dict(type='dict', options=dict(container_type=dict(type='str'), sha1_checksum=dict(type='str'), source=dict(required=True, type='str'))),
|
||||||
source_disk=dict(type='dict'),
|
source_disk=dict(type='dict'),
|
||||||
source_disk_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str'))),
|
source_disk_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str', no_log=True))),
|
||||||
source_disk_id=dict(type='str'),
|
source_disk_id=dict(type='str'),
|
||||||
source_image=dict(type='dict'),
|
source_image=dict(type='dict'),
|
||||||
source_snapshot=dict(type='dict'),
|
source_snapshot=dict(type='dict'),
|
||||||
|
|
|
@ -351,7 +351,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -1119,7 +1119,9 @@ def main():
|
||||||
auto_delete=dict(type='bool'),
|
auto_delete=dict(type='bool'),
|
||||||
boot=dict(type='bool'),
|
boot=dict(type='bool'),
|
||||||
device_name=dict(type='str'),
|
device_name=dict(type='str'),
|
||||||
disk_encryption_key=dict(type='dict', options=dict(raw_key=dict(type='str'), rsa_encrypted_key=dict(type='str'))),
|
disk_encryption_key=dict(type='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(raw_key=dict(type='str', no_log=True), rsa_encrypted_key=dict(type='str', no_log=True))),
|
||||||
index=dict(type='int'),
|
index=dict(type='int'),
|
||||||
initialize_params=dict(
|
initialize_params=dict(
|
||||||
type='dict',
|
type='dict',
|
||||||
|
@ -1128,7 +1130,7 @@ def main():
|
||||||
disk_size_gb=dict(type='int'),
|
disk_size_gb=dict(type='int'),
|
||||||
disk_type=dict(type='str'),
|
disk_type=dict(type='str'),
|
||||||
source_image=dict(type='str', aliases=['image', 'image_family']),
|
source_image=dict(type='str', aliases=['image', 'image_family']),
|
||||||
source_image_encryption_key=dict(type='dict', options=dict(raw_key=dict(type='str'))),
|
source_image_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str', no_log=True))),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
interface=dict(type='str'),
|
interface=dict(type='str'),
|
||||||
|
|
|
@ -213,7 +213,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -288,7 +288,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -621,7 +621,8 @@ def main():
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
filters=dict(type="list", elements="str"),
|
filters=dict(type="list", elements="str"),
|
||||||
zone=dict(required=True, type="str"),
|
zone=dict(required=True, type="str"),
|
||||||
)
|
),
|
||||||
|
supports_check_mode=True
|
||||||
)
|
)
|
||||||
|
|
||||||
if not module.params["scopes"]:
|
if not module.params["scopes"]:
|
||||||
|
|
|
@ -1019,7 +1019,9 @@ def main():
|
||||||
auto_delete=dict(type='bool'),
|
auto_delete=dict(type='bool'),
|
||||||
boot=dict(type='bool'),
|
boot=dict(type='bool'),
|
||||||
device_name=dict(type='str'),
|
device_name=dict(type='str'),
|
||||||
disk_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str'), rsa_encrypted_key=dict(type='str'))),
|
disk_encryption_key=dict(type='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(raw_key=dict(type='str', no_log=True), rsa_encrypted_key=dict(type='str', no_log=True))),
|
||||||
index=dict(type='int'),
|
index=dict(type='int'),
|
||||||
initialize_params=dict(
|
initialize_params=dict(
|
||||||
type='dict',
|
type='dict',
|
||||||
|
@ -1028,7 +1030,7 @@ def main():
|
||||||
disk_size_gb=dict(type='int'),
|
disk_size_gb=dict(type='int'),
|
||||||
disk_type=dict(type='str'),
|
disk_type=dict(type='str'),
|
||||||
source_image=dict(type='str'),
|
source_image=dict(type='str'),
|
||||||
source_image_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str'))),
|
source_image_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str', no_log=True))),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
interface=dict(type='str'),
|
interface=dict(type='str'),
|
||||||
|
|
|
@ -560,7 +560,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -320,7 +320,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -192,7 +192,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -202,7 +202,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -219,7 +219,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -220,7 +220,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -320,7 +320,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -1507,6 +1507,7 @@ def main():
|
||||||
options=dict(
|
options=dict(
|
||||||
cache_key_policy=dict(
|
cache_key_policy=dict(
|
||||||
type='dict',
|
type='dict',
|
||||||
|
no_log=False,
|
||||||
options=dict(
|
options=dict(
|
||||||
include_host=dict(type='bool'),
|
include_host=dict(type='bool'),
|
||||||
include_protocol=dict(type='bool'),
|
include_protocol=dict(type='bool'),
|
||||||
|
|
|
@ -787,7 +787,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -430,9 +430,9 @@ def main():
|
||||||
replica_zones=dict(required=True, type='list', elements='str'),
|
replica_zones=dict(required=True, type='list', elements='str'),
|
||||||
type=dict(type='str'),
|
type=dict(type='str'),
|
||||||
region=dict(required=True, type='str'),
|
region=dict(required=True, type='str'),
|
||||||
disk_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str'))),
|
disk_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str', no_log=True))),
|
||||||
source_snapshot=dict(type='dict'),
|
source_snapshot=dict(type='dict'),
|
||||||
source_snapshot_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str'))),
|
source_snapshot_encryption_key=dict(type='dict', no_log=True, options=dict(raw_key=dict(type='str', no_log=True))),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -293,7 +293,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -538,7 +538,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -301,7 +301,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -176,7 +176,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -183,7 +183,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -1604,7 +1604,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -258,7 +258,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -346,7 +346,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -217,7 +217,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -222,7 +222,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -388,10 +388,14 @@ def main():
|
||||||
source_disk=dict(required=True, type='dict'),
|
source_disk=dict(required=True, type='dict'),
|
||||||
zone=dict(type='str'),
|
zone=dict(type='str'),
|
||||||
snapshot_encryption_key=dict(
|
snapshot_encryption_key=dict(
|
||||||
type='dict', no_log=True, options=dict(raw_key=dict(type='str'), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
type='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(raw_key=dict(type='str', no_log=True), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
||||||
),
|
),
|
||||||
source_disk_encryption_key=dict(
|
source_disk_encryption_key=dict(
|
||||||
type='dict', no_log=True, options=dict(raw_key=dict(type='str'), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
type='dict',
|
||||||
|
no_log=True,
|
||||||
|
options=dict(raw_key=dict(type='str', no_log=True), kms_key_name=dict(type='str'), kms_key_service_account=dict(type='str'))
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -260,7 +260,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -171,7 +171,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -207,7 +207,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -226,7 +226,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -171,7 +171,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -193,7 +193,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -178,7 +178,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -224,7 +224,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -183,7 +183,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -175,7 +175,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -186,7 +186,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -2487,7 +2487,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -247,7 +247,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
|
@ -1528,7 +1528,9 @@ def main():
|
||||||
accelerators=dict(type='list', elements='dict', options=dict(accelerator_count=dict(type='str'), accelerator_type=dict(type='str'))),
|
accelerators=dict(type='list', elements='dict', options=dict(accelerator_count=dict(type='str'), accelerator_type=dict(type='str'))),
|
||||||
disk_type=dict(type='str'),
|
disk_type=dict(type='str'),
|
||||||
min_cpu_platform=dict(type='str'),
|
min_cpu_platform=dict(type='str'),
|
||||||
taints=dict(type='list', elements='dict', options=dict(key=dict(type='str'), value=dict(type='str'), effect=dict(type='str'))),
|
taints=dict(type='list',
|
||||||
|
elements='dict',
|
||||||
|
options=dict(key=dict(type='str', no_log=False), value=dict(type='str'), effect=dict(type='str'))),
|
||||||
shielded_instance_config=dict(
|
shielded_instance_config=dict(
|
||||||
type='dict', options=dict(enable_secure_boot=dict(type='bool'), enable_integrity_monitoring=dict(type='bool'))
|
type='dict', options=dict(enable_secure_boot=dict(type='bool'), enable_integrity_monitoring=dict(type='bool'))
|
||||||
),
|
),
|
||||||
|
@ -1538,7 +1540,7 @@ def main():
|
||||||
type='dict',
|
type='dict',
|
||||||
options=dict(
|
options=dict(
|
||||||
username=dict(type='str'),
|
username=dict(type='str'),
|
||||||
password=dict(type='str'),
|
password=dict(type='str', no_log=True),
|
||||||
client_certificate_config=dict(type='dict', options=dict(issue_client_certificate=dict(type='bool'))),
|
client_certificate_config=dict(type='dict', options=dict(issue_client_certificate=dict(type='bool'))),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -859,7 +859,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone'])))
|
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone'])), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -764,7 +764,9 @@ def main():
|
||||||
accelerators=dict(type='list', elements='dict', options=dict(accelerator_count=dict(type='int'), accelerator_type=dict(type='str'))),
|
accelerators=dict(type='list', elements='dict', options=dict(accelerator_count=dict(type='int'), accelerator_type=dict(type='str'))),
|
||||||
disk_type=dict(type='str'),
|
disk_type=dict(type='str'),
|
||||||
min_cpu_platform=dict(type='str'),
|
min_cpu_platform=dict(type='str'),
|
||||||
taints=dict(type='list', elements='dict', options=dict(key=dict(type='str'), value=dict(type='str'), effect=dict(type='str'))),
|
taints=dict(type='list',
|
||||||
|
elements='dict',
|
||||||
|
options=dict(key=dict(type='str', no_log=False), value=dict(type='str'), effect=dict(type='str'))),
|
||||||
shielded_instance_config=dict(
|
shielded_instance_config=dict(
|
||||||
type='dict', options=dict(enable_secure_boot=dict(type='bool'), enable_integrity_monitoring=dict(type='bool'))
|
type='dict', options=dict(enable_secure_boot=dict(type='bool'), enable_integrity_monitoring=dict(type='bool'))
|
||||||
),
|
),
|
||||||
|
|
|
@ -450,7 +450,8 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone']), cluster=dict(required=True, type='dict')))
|
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone']), cluster=dict(required=True, type='dict')),
|
||||||
|
supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -508,8 +508,12 @@ def main():
|
||||||
default_key_specs=dict(
|
default_key_specs=dict(
|
||||||
type='list',
|
type='list',
|
||||||
elements='dict',
|
elements='dict',
|
||||||
|
no_log=False,
|
||||||
options=dict(
|
options=dict(
|
||||||
algorithm=dict(type='str'), key_length=dict(type='int'), key_type=dict(type='str'), kind=dict(default='dns#dnsKeySpec', type='str')
|
algorithm=dict(type='str'),
|
||||||
|
key_length=dict(type='int', no_log=False),
|
||||||
|
key_type=dict(type='str'),
|
||||||
|
kind=dict(default='dns#dnsKeySpec', type='str')
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -308,7 +308,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(dns_name=dict(type='list', elements='str')))
|
module = GcpModule(argument_spec=dict(dns_name=dict(type='list', elements='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite']
|
||||||
|
|
|
@ -160,7 +160,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(managed_zone=dict(required=True, type='dict')))
|
module = GcpModule(argument_spec=dict(managed_zone=dict(required=True, type='dict')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite']
|
||||||
|
|
|
@ -213,7 +213,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(zone=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(zone=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -156,7 +156,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
|
||||||
|
|
|
@ -155,7 +155,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
|
||||||
|
|
|
@ -284,7 +284,7 @@ def main():
|
||||||
purpose=dict(default='ENCRYPT_DECRYPT', type='str'),
|
purpose=dict(default='ENCRYPT_DECRYPT', type='str'),
|
||||||
rotation_period=dict(type='str'),
|
rotation_period=dict(type='str'),
|
||||||
version_template=dict(type='dict', options=dict(algorithm=dict(required=True, type='str'), protection_level=dict(type='str'))),
|
version_template=dict(type='dict', options=dict(algorithm=dict(required=True, type='str'), protection_level=dict(type='str'))),
|
||||||
key_ring=dict(required=True, type='str'),
|
key_ring=dict(required=True, type='str', no_log=False),
|
||||||
skip_initial_version_creation=dict(type='bool', default=False),
|
skip_initial_version_creation=dict(type='bool', default=False),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -198,7 +198,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(key_ring=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(key_ring=dict(required=True, type='str', no_log=False)), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudkms']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudkms']
|
||||||
|
|
|
@ -151,7 +151,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudkms']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudkms']
|
||||||
|
|
|
@ -528,7 +528,8 @@ def main():
|
||||||
labels=dict(
|
labels=dict(
|
||||||
type='list',
|
type='list',
|
||||||
elements='dict',
|
elements='dict',
|
||||||
options=dict(key=dict(required=True, type='str'), description=dict(type='str'), value_type=dict(default='STRING', type='str')),
|
options=dict(key=dict(required=True, type='str', no_log=False),
|
||||||
|
description=dict(type='str'), value_type=dict(default='STRING', type='str')),
|
||||||
),
|
),
|
||||||
display_name=dict(type='str'),
|
display_name=dict(type='str'),
|
||||||
),
|
),
|
||||||
|
|
|
@ -302,7 +302,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -169,7 +169,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -260,7 +260,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(model=dict(required=True, type='dict')))
|
module = GcpModule(argument_spec=dict(model=dict(required=True, type='dict')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -580,7 +580,9 @@ def main():
|
||||||
push_config=dict(
|
push_config=dict(
|
||||||
type='dict',
|
type='dict',
|
||||||
options=dict(
|
options=dict(
|
||||||
oidc_token=dict(type='dict', options=dict(service_account_email=dict(required=True, type='str'), audience=dict(type='str'))),
|
oidc_token=dict(type='dict',
|
||||||
|
no_log=False,
|
||||||
|
options=dict(service_account_email=dict(required=True, type='str'), audience=dict(type='str'))),
|
||||||
push_endpoint=dict(required=True, type='str'),
|
push_endpoint=dict(required=True, type='str'),
|
||||||
attributes=dict(type='dict'),
|
attributes=dict(type='dict'),
|
||||||
),
|
),
|
||||||
|
|
|
@ -333,7 +333,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/pubsub']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/pubsub']
|
||||||
|
|
|
@ -180,7 +180,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/pubsub']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/pubsub']
|
||||||
|
|
|
@ -291,7 +291,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(region=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(region=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -190,7 +190,7 @@ import json
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(
|
module = GcpModule(argument_spec=dict(
|
||||||
page_size=dict(type='int')
|
page_size=dict(type='int')
|
||||||
))
|
), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -135,7 +135,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudruntimeconfig']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudruntimeconfig']
|
||||||
|
|
|
@ -151,7 +151,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(config=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(config=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudruntimeconfig']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloudruntimeconfig']
|
||||||
|
|
|
@ -178,7 +178,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -142,7 +142,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
|
@ -167,7 +167,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(instance=dict(required=True, type='dict')))
|
module = GcpModule(argument_spec=dict(instance=dict(required=True, type='dict')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin']
|
||||||
|
|
|
@ -165,7 +165,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin']
|
||||||
|
|
|
@ -158,7 +158,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(instance=dict(required=True, type='str')))
|
module = GcpModule(argument_spec=dict(instance=dict(required=True, type='str')), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin']
|
||||||
|
|
|
@ -848,11 +848,11 @@ def main():
|
||||||
options=dict(
|
options=dict(
|
||||||
ca_certificate=dict(type='str'),
|
ca_certificate=dict(type='str'),
|
||||||
client_certificate=dict(type='str'),
|
client_certificate=dict(type='str'),
|
||||||
client_key=dict(type='str'),
|
client_key=dict(type='str', no_log=True),
|
||||||
connect_retry_interval=dict(type='int'),
|
connect_retry_interval=dict(type='int'),
|
||||||
dump_file_path=dict(type='str'),
|
dump_file_path=dict(type='str'),
|
||||||
master_heartbeat_period=dict(type='int'),
|
master_heartbeat_period=dict(type='int'),
|
||||||
password=dict(type='str'),
|
password=dict(type='str', no_log=True),
|
||||||
ssl_cipher=dict(type='str'),
|
ssl_cipher=dict(type='str'),
|
||||||
username=dict(type='str'),
|
username=dict(type='str'),
|
||||||
verify_server_certificate=dict(type='bool'),
|
verify_server_certificate=dict(type='bool'),
|
||||||
|
|
|
@ -519,7 +519,7 @@ import json
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
module = GcpModule(argument_spec=dict(), supports_check_mode=True)
|
||||||
|
|
||||||
if not module.params['scopes']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin']
|
||||||
|
|
|
@ -234,7 +234,7 @@ def main():
|
||||||
expiration_time=dict(type='str'),
|
expiration_time=dict(type='str'),
|
||||||
instance=dict(required=True, type='dict'),
|
instance=dict(required=True, type='dict'),
|
||||||
sha1_fingerprint=dict(type='str'),
|
sha1_fingerprint=dict(type='str'),
|
||||||
private_key=dict(type='str'),
|
private_key=dict(type='str', no_log=False),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,7 @@ def main():
|
||||||
host=dict(required=True, type='str'),
|
host=dict(required=True, type='str'),
|
||||||
name=dict(required=True, type='str'),
|
name=dict(required=True, type='str'),
|
||||||
instance=dict(required=True, type='dict'),
|
instance=dict(required=True, type='dict'),
|
||||||
password=dict(type='str'),
|
password=dict(type='str', no_log=True),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue