Documentation ¶
Index ¶
- Variables
- func ComputeInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func ResourceIamAuditConfig(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamAuditConfigWithImport(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamBinding(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamBindingWithImport(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamMember(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamMemberWithImport(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamPolicy(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamPolicyCreate(newUpdaterFunc newResourceIamUpdaterFunc) schema.CreateFunc
- func ResourceIamPolicyDelete(newUpdaterFunc newResourceIamUpdaterFunc) schema.DeleteFunc
- func ResourceIamPolicyRead(newUpdaterFunc newResourceIamUpdaterFunc) schema.ReadFunc
- func ResourceIamPolicyUpdate(newUpdaterFunc newResourceIamUpdaterFunc) schema.UpdateFunc
- func ResourceIamPolicyWithImport(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceLoggingExclusion(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- type ComputeInstanceIamUpdater
- func (u *ComputeInstanceIamUpdater) DescribeResource() string
- func (u *ComputeInstanceIamUpdater) GetMutexKey() string
- func (u *ComputeInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ComputeInstanceIamUpdater) GetResourceId() string
- func (u *ComputeInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type LoggingExclusionId
- type ResourceLoggingExclusionUpdater
- type RoleEntity
Constants ¶
This section is empty.
Variables ¶
View Source
var IamComputeInstanceSchema = map[string]*schema.Schema{ "instance_name": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, "zone": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
View Source
var IamMemberBaseSchema = map[string]*schema.Schema{ "role": { Type: schema.TypeString, Required: true, ForceNew: true, }, "member": { Type: schema.TypeString, Required: true, ForceNew: true, }, "etag": { Type: schema.TypeString, Computed: true, }, }
View Source
var IamPolicyBaseSchema = map[string]*schema.Schema{ "policy_data": { Type: schema.TypeString, Required: true, DiffSuppressFunc: jsonPolicyDiffSuppress, ValidateFunc: validateIamPolicy, }, "etag": { Type: schema.TypeString, Computed: true, }, }
View Source
var LoggingExclusionBaseSchema = map[string]*schema.Schema{ "filter": { Type: schema.TypeString, Required: true, }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, }, "description": { Type: schema.TypeString, Optional: true, }, "disabled": { Type: schema.TypeBool, Optional: true, }, }
Functions ¶
func ComputeInstanceIdParseFunc ¶
func ComputeInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
func ResourceIamAuditConfig ¶
func ResourceIamBinding ¶
func ResourceIamMember ¶
func ResourceIamPolicy ¶
func ResourceIamPolicyCreate ¶
func ResourceIamPolicyCreate(newUpdaterFunc newResourceIamUpdaterFunc) schema.CreateFunc
func ResourceIamPolicyDelete ¶
func ResourceIamPolicyDelete(newUpdaterFunc newResourceIamUpdaterFunc) schema.DeleteFunc
func ResourceIamPolicyRead ¶
func ResourceIamPolicyUpdate ¶
func ResourceIamPolicyUpdate(newUpdaterFunc newResourceIamUpdaterFunc) schema.UpdateFunc
Types ¶
type ComputeInstanceIamUpdater ¶
type ComputeInstanceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ComputeInstanceIamUpdater) DescribeResource ¶
func (u *ComputeInstanceIamUpdater) DescribeResource() string
func (*ComputeInstanceIamUpdater) GetMutexKey ¶
func (u *ComputeInstanceIamUpdater) GetMutexKey() string
func (*ComputeInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *ComputeInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ComputeInstanceIamUpdater) GetResourceId ¶
func (u *ComputeInstanceIamUpdater) GetResourceId() string
func (*ComputeInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *ComputeInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type LoggingExclusionId ¶
type LoggingExclusionId struct {
// contains filtered or unexported fields
}
LoggingExclusionId represents the parts that make up the canonical id used within terraform for a logging resource.
type ResourceLoggingExclusionUpdater ¶
type ResourceLoggingExclusionUpdater interface { CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error ReadLoggingExclusion(id string) (*logging.LogExclusion, error) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error DeleteLoggingExclusion(id string) error GetResourceType() string // Returns the unique resource identifier. GetResourceId() string // Textual description of this resource to be used in error message. // The description should include the unique resource identifier. DescribeResource() string }
The ResourceLoggingExclusionUpdater interface is implemented for each GCP resource supporting log exclusions.
Implementations should keep track of the resource identifier.
type RoleEntity ¶
Source Files ¶
- data_source_google_service_account_access_token.go
- iam_compute_instance.go
- resource_app_engine_application.go
- resource_bigquery_dataset.go
- resource_bigquery_table.go
- resource_bigtable_instance.go
- resource_bigtable_table.go
- resource_cloudfunctions_function.go
- resource_cloudiot_registry.go
- resource_compute_attached_disk.go
- resource_compute_firewall_migrate.go
- resource_compute_instance.go
- resource_compute_instance_from_template.go
- resource_compute_instance_group.go
- resource_compute_instance_group_migrate.go
- resource_compute_instance_migrate.go
- resource_compute_instance_template.go
- resource_compute_instance_template_migrate.go
- resource_compute_project_metadata.go
- resource_compute_project_metadata_item.go
- resource_compute_router_interface.go
- resource_compute_router_peer.go
- resource_compute_security_policy.go
- resource_compute_shared_vpc_host_project.go
- resource_compute_shared_vpc_service_project.go
- resource_compute_target_pool.go
- resource_container_cluster_migrate.go
- resource_container_node_pool_migrate.go
- resource_dataflow_job.go
- resource_dataproc_job.go
- resource_dns_record_set.go
- resource_endpoints_service.go
- resource_endpoints_service_migration.go
- resource_google_folder.go
- resource_google_folder_organization_policy.go
- resource_google_organization_iam_custom_role.go
- resource_google_organization_policy.go
- resource_google_project.go
- resource_google_project_iam_custom_role.go
- resource_google_project_iam_policy.go
- resource_google_project_migrate.go
- resource_google_project_organization_policy.go
- resource_google_project_service.go
- resource_google_project_services.go
- resource_google_service_account.go
- resource_google_service_account_key.go
- resource_iam_audit_config.go
- resource_iam_binding.go
- resource_iam_member.go
- resource_iam_policy.go
- resource_logging_billing_account_sink.go
- resource_logging_exclusion.go
- resource_logging_folder_sink.go
- resource_logging_organization_sink.go
- resource_logging_project_sink.go
- resource_logging_sink.go
- resource_runtimeconfig_config.go
- resource_runtimeconfig_variable.go
- resource_sql_ssl_cert.go
- resource_sql_user.go
- resource_sql_user_migrate.go
- resource_storage_bucket.go
- resource_storage_bucket_acl.go
- resource_storage_bucket_object.go
- resource_storage_default_object_acl.go
- resource_storage_notification.go
- resource_storage_object_acl.go
- resource_storage_transfer_job.go
- resource_usage_export_bucket.go
Click to show internal directories.
Click to hide internal directories.