Documentation
¶
Index ¶
- Constants
- type AuditConfig
- type AuditConfigArgs
- type AuditConfigArray
- type AuditConfigArrayInput
- type AuditConfigArrayOutput
- func (AuditConfigArrayOutput) ElementType() reflect.Type
- func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput
- func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput
- func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
- type AuditConfigInput
- type AuditConfigOutput
- func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput
- func (AuditConfigOutput) ElementType() reflect.Type
- func (o AuditConfigOutput) Service() pulumi.StringPtrOutput
- func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput
- func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
- type AuditConfigResponse
- type AuditConfigResponseArrayOutput
- func (AuditConfigResponseArrayOutput) ElementType() reflect.Type
- func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput
- func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput
- func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput
- type AuditConfigResponseOutput
- func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput
- func (AuditConfigResponseOutput) ElementType() reflect.Type
- func (o AuditConfigResponseOutput) Service() pulumi.StringOutput
- func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput
- func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput
- type AuditLogConfig
- type AuditLogConfigArgs
- type AuditLogConfigArray
- type AuditLogConfigArrayInput
- type AuditLogConfigArrayOutput
- func (AuditLogConfigArrayOutput) ElementType() reflect.Type
- func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput
- func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
- func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
- type AuditLogConfigInput
- type AuditLogConfigLogType
- func (AuditLogConfigLogType) ElementType() reflect.Type
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
- func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
- func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput
- func (e AuditLogConfigLogType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e AuditLogConfigLogType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AuditLogConfigLogTypeInput
- type AuditLogConfigLogTypeOutput
- func (AuditLogConfigLogTypeOutput) ElementType() reflect.Type
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o AuditLogConfigLogTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AuditLogConfigLogTypePtrInput
- type AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput
- func (AuditLogConfigLogTypePtrOutput) ElementType() reflect.Type
- func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AuditLogConfigOutput
- func (AuditLogConfigOutput) ElementType() reflect.Type
- func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput
- func (o AuditLogConfigOutput) LogType() AuditLogConfigLogTypePtrOutput
- func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput
- func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
- type AuditLogConfigResponse
- type AuditLogConfigResponseArrayOutput
- func (AuditLogConfigResponseArrayOutput) ElementType() reflect.Type
- func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput
- func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
- func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
- type AuditLogConfigResponseOutput
- func (AuditLogConfigResponseOutput) ElementType() reflect.Type
- func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput
- func (o AuditLogConfigResponseOutput) LogType() pulumi.StringOutput
- func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput
- func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput
- type Binding
- type BindingArgs
- type BindingArray
- type BindingArrayInput
- type BindingArrayOutput
- type BindingInput
- type BindingOutput
- func (o BindingOutput) Condition() ExprPtrOutput
- func (BindingOutput) ElementType() reflect.Type
- func (o BindingOutput) Members() pulumi.StringArrayOutput
- func (o BindingOutput) Role() pulumi.StringPtrOutput
- func (o BindingOutput) ToBindingOutput() BindingOutput
- func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
- type BindingResponse
- type BindingResponseArrayOutput
- func (BindingResponseArrayOutput) ElementType() reflect.Type
- func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
- type BindingResponseOutput
- func (o BindingResponseOutput) Condition() ExprResponseOutput
- func (BindingResponseOutput) ElementType() reflect.Type
- func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
- func (o BindingResponseOutput) Role() pulumi.StringOutput
- func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
- func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
- type CloudSqlCredential
- type CloudSqlCredentialArgs
- func (CloudSqlCredentialArgs) ElementType() reflect.Type
- func (i CloudSqlCredentialArgs) ToCloudSqlCredentialOutput() CloudSqlCredentialOutput
- func (i CloudSqlCredentialArgs) ToCloudSqlCredentialOutputWithContext(ctx context.Context) CloudSqlCredentialOutput
- func (i CloudSqlCredentialArgs) ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput
- func (i CloudSqlCredentialArgs) ToCloudSqlCredentialPtrOutputWithContext(ctx context.Context) CloudSqlCredentialPtrOutput
- type CloudSqlCredentialInput
- type CloudSqlCredentialOutput
- func (CloudSqlCredentialOutput) ElementType() reflect.Type
- func (o CloudSqlCredentialOutput) Password() pulumi.StringPtrOutput
- func (o CloudSqlCredentialOutput) ToCloudSqlCredentialOutput() CloudSqlCredentialOutput
- func (o CloudSqlCredentialOutput) ToCloudSqlCredentialOutputWithContext(ctx context.Context) CloudSqlCredentialOutput
- func (o CloudSqlCredentialOutput) ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput
- func (o CloudSqlCredentialOutput) ToCloudSqlCredentialPtrOutputWithContext(ctx context.Context) CloudSqlCredentialPtrOutput
- func (o CloudSqlCredentialOutput) Username() pulumi.StringPtrOutput
- type CloudSqlCredentialPtrInput
- type CloudSqlCredentialPtrOutput
- func (o CloudSqlCredentialPtrOutput) Elem() CloudSqlCredentialOutput
- func (CloudSqlCredentialPtrOutput) ElementType() reflect.Type
- func (o CloudSqlCredentialPtrOutput) Password() pulumi.StringPtrOutput
- func (o CloudSqlCredentialPtrOutput) ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput
- func (o CloudSqlCredentialPtrOutput) ToCloudSqlCredentialPtrOutputWithContext(ctx context.Context) CloudSqlCredentialPtrOutput
- func (o CloudSqlCredentialPtrOutput) Username() pulumi.StringPtrOutput
- type CloudSqlCredentialResponse
- type CloudSqlCredentialResponseOutput
- func (CloudSqlCredentialResponseOutput) ElementType() reflect.Type
- func (o CloudSqlCredentialResponseOutput) Password() pulumi.StringOutput
- func (o CloudSqlCredentialResponseOutput) ToCloudSqlCredentialResponseOutput() CloudSqlCredentialResponseOutput
- func (o CloudSqlCredentialResponseOutput) ToCloudSqlCredentialResponseOutputWithContext(ctx context.Context) CloudSqlCredentialResponseOutput
- func (o CloudSqlCredentialResponseOutput) Username() pulumi.StringOutput
- type CloudSqlProperties
- type CloudSqlPropertiesArgs
- func (CloudSqlPropertiesArgs) ElementType() reflect.Type
- func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesOutput() CloudSqlPropertiesOutput
- func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesOutputWithContext(ctx context.Context) CloudSqlPropertiesOutput
- func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput
- func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesPtrOutputWithContext(ctx context.Context) CloudSqlPropertiesPtrOutput
- type CloudSqlPropertiesInput
- type CloudSqlPropertiesOutput
- func (o CloudSqlPropertiesOutput) Credential() CloudSqlCredentialPtrOutput
- func (o CloudSqlPropertiesOutput) Database() pulumi.StringPtrOutput
- func (CloudSqlPropertiesOutput) ElementType() reflect.Type
- func (o CloudSqlPropertiesOutput) InstanceId() pulumi.StringPtrOutput
- func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesOutput() CloudSqlPropertiesOutput
- func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesOutputWithContext(ctx context.Context) CloudSqlPropertiesOutput
- func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput
- func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesPtrOutputWithContext(ctx context.Context) CloudSqlPropertiesPtrOutput
- func (o CloudSqlPropertiesOutput) Type() CloudSqlPropertiesTypePtrOutput
- type CloudSqlPropertiesPtrInput
- type CloudSqlPropertiesPtrOutput
- func (o CloudSqlPropertiesPtrOutput) Credential() CloudSqlCredentialPtrOutput
- func (o CloudSqlPropertiesPtrOutput) Database() pulumi.StringPtrOutput
- func (o CloudSqlPropertiesPtrOutput) Elem() CloudSqlPropertiesOutput
- func (CloudSqlPropertiesPtrOutput) ElementType() reflect.Type
- func (o CloudSqlPropertiesPtrOutput) InstanceId() pulumi.StringPtrOutput
- func (o CloudSqlPropertiesPtrOutput) ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput
- func (o CloudSqlPropertiesPtrOutput) ToCloudSqlPropertiesPtrOutputWithContext(ctx context.Context) CloudSqlPropertiesPtrOutput
- func (o CloudSqlPropertiesPtrOutput) Type() CloudSqlPropertiesTypePtrOutput
- type CloudSqlPropertiesResponse
- type CloudSqlPropertiesResponseOutput
- func (o CloudSqlPropertiesResponseOutput) Credential() CloudSqlCredentialResponseOutput
- func (o CloudSqlPropertiesResponseOutput) Database() pulumi.StringOutput
- func (CloudSqlPropertiesResponseOutput) ElementType() reflect.Type
- func (o CloudSqlPropertiesResponseOutput) InstanceId() pulumi.StringOutput
- func (o CloudSqlPropertiesResponseOutput) ServiceAccountId() pulumi.StringOutput
- func (o CloudSqlPropertiesResponseOutput) ToCloudSqlPropertiesResponseOutput() CloudSqlPropertiesResponseOutput
- func (o CloudSqlPropertiesResponseOutput) ToCloudSqlPropertiesResponseOutputWithContext(ctx context.Context) CloudSqlPropertiesResponseOutput
- func (o CloudSqlPropertiesResponseOutput) Type() pulumi.StringOutput
- type CloudSqlPropertiesType
- func (CloudSqlPropertiesType) ElementType() reflect.Type
- func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypeOutput() CloudSqlPropertiesTypeOutput
- func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypeOutputWithContext(ctx context.Context) CloudSqlPropertiesTypeOutput
- func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypePtrOutput() CloudSqlPropertiesTypePtrOutput
- func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypePtrOutputWithContext(ctx context.Context) CloudSqlPropertiesTypePtrOutput
- func (e CloudSqlPropertiesType) ToStringOutput() pulumi.StringOutput
- func (e CloudSqlPropertiesType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e CloudSqlPropertiesType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e CloudSqlPropertiesType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CloudSqlPropertiesTypeInput
- type CloudSqlPropertiesTypeOutput
- func (CloudSqlPropertiesTypeOutput) ElementType() reflect.Type
- func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypeOutput() CloudSqlPropertiesTypeOutput
- func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypeOutputWithContext(ctx context.Context) CloudSqlPropertiesTypeOutput
- func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypePtrOutput() CloudSqlPropertiesTypePtrOutput
- func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypePtrOutputWithContext(ctx context.Context) CloudSqlPropertiesTypePtrOutput
- func (o CloudSqlPropertiesTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o CloudSqlPropertiesTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o CloudSqlPropertiesTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o CloudSqlPropertiesTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CloudSqlPropertiesTypePtrInput
- type CloudSqlPropertiesTypePtrOutput
- func (o CloudSqlPropertiesTypePtrOutput) Elem() CloudSqlPropertiesTypeOutput
- func (CloudSqlPropertiesTypePtrOutput) ElementType() reflect.Type
- func (o CloudSqlPropertiesTypePtrOutput) ToCloudSqlPropertiesTypePtrOutput() CloudSqlPropertiesTypePtrOutput
- func (o CloudSqlPropertiesTypePtrOutput) ToCloudSqlPropertiesTypePtrOutputWithContext(ctx context.Context) CloudSqlPropertiesTypePtrOutput
- func (o CloudSqlPropertiesTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o CloudSqlPropertiesTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type Connection
- type ConnectionArgs
- type ConnectionIamBinding
- type ConnectionIamBindingArgs
- type ConnectionIamBindingInput
- type ConnectionIamBindingOutput
- func (o ConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput
- func (ConnectionIamBindingOutput) ElementType() reflect.Type
- func (o ConnectionIamBindingOutput) Etag() pulumi.StringOutput
- func (o ConnectionIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o ConnectionIamBindingOutput) Name() pulumi.StringOutput
- func (o ConnectionIamBindingOutput) Project() pulumi.StringOutput
- func (o ConnectionIamBindingOutput) Role() pulumi.StringOutput
- func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutput() ConnectionIamBindingOutput
- func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext(ctx context.Context) ConnectionIamBindingOutput
- type ConnectionIamBindingState
- type ConnectionIamMember
- type ConnectionIamMemberArgs
- type ConnectionIamMemberInput
- type ConnectionIamMemberOutput
- func (o ConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput
- func (ConnectionIamMemberOutput) ElementType() reflect.Type
- func (o ConnectionIamMemberOutput) Etag() pulumi.StringOutput
- func (o ConnectionIamMemberOutput) Member() pulumi.StringOutput
- func (o ConnectionIamMemberOutput) Name() pulumi.StringOutput
- func (o ConnectionIamMemberOutput) Project() pulumi.StringOutput
- func (o ConnectionIamMemberOutput) Role() pulumi.StringOutput
- func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutput() ConnectionIamMemberOutput
- func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext(ctx context.Context) ConnectionIamMemberOutput
- type ConnectionIamMemberState
- type ConnectionIamPolicy
- type ConnectionIamPolicyArgs
- type ConnectionIamPolicyInput
- type ConnectionIamPolicyOutput
- func (o ConnectionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o ConnectionIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (o ConnectionIamPolicyOutput) ConnectionId() pulumi.StringOutput
- func (ConnectionIamPolicyOutput) ElementType() reflect.Type
- func (o ConnectionIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ConnectionIamPolicyOutput) Location() pulumi.StringOutput
- func (o ConnectionIamPolicyOutput) Project() pulumi.StringOutput
- func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutput() ConnectionIamPolicyOutput
- func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext(ctx context.Context) ConnectionIamPolicyOutput
- func (o ConnectionIamPolicyOutput) Version() pulumi.IntOutput
- type ConnectionIamPolicyState
- type ConnectionInput
- type ConnectionOutput
- func (o ConnectionOutput) CloudSql() CloudSqlPropertiesResponseOutput
- func (o ConnectionOutput) ConnectionId() pulumi.StringPtrOutput
- func (o ConnectionOutput) CreationTime() pulumi.StringOutput
- func (o ConnectionOutput) Description() pulumi.StringOutput
- func (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) FriendlyName() pulumi.StringOutput
- func (o ConnectionOutput) HasCredential() pulumi.BoolOutput
- func (o ConnectionOutput) LastModifiedTime() pulumi.StringOutput
- func (o ConnectionOutput) Location() pulumi.StringOutput
- func (o ConnectionOutput) Name() pulumi.StringOutput
- func (o ConnectionOutput) Project() pulumi.StringOutput
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- type ConnectionState
- type Expr
- type ExprArgs
- type ExprInput
- type ExprOutput
- func (o ExprOutput) Description() pulumi.StringPtrOutput
- func (ExprOutput) ElementType() reflect.Type
- func (o ExprOutput) Expression() pulumi.StringPtrOutput
- func (o ExprOutput) Location() pulumi.StringPtrOutput
- func (o ExprOutput) Title() pulumi.StringPtrOutput
- func (o ExprOutput) ToExprOutput() ExprOutput
- func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
- func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprPtrInput
- type ExprPtrOutput
- func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Elem() ExprOutput
- func (ExprPtrOutput) ElementType() reflect.Type
- func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprResponse
- type ExprResponseOutput
- func (o ExprResponseOutput) Description() pulumi.StringOutput
- func (ExprResponseOutput) ElementType() reflect.Type
- func (o ExprResponseOutput) Expression() pulumi.StringOutput
- func (o ExprResponseOutput) Location() pulumi.StringOutput
- func (o ExprResponseOutput) Title() pulumi.StringOutput
- func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
- func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
- type LookupConnectionArgs
- type LookupConnectionIamPolicyArgs
- type LookupConnectionIamPolicyOutputArgs
- type LookupConnectionIamPolicyResult
- type LookupConnectionIamPolicyResultOutput
- func (o LookupConnectionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o LookupConnectionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupConnectionIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupConnectionIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutput() LookupConnectionIamPolicyResultOutput
- func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutputWithContext(ctx context.Context) LookupConnectionIamPolicyResultOutput
- func (o LookupConnectionIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupConnectionOutputArgs
- type LookupConnectionResult
- type LookupConnectionResultOutput
- func (o LookupConnectionResultOutput) CloudSql() CloudSqlPropertiesResponseOutput
- func (o LookupConnectionResultOutput) CreationTime() pulumi.StringOutput
- func (o LookupConnectionResultOutput) Description() pulumi.StringOutput
- func (LookupConnectionResultOutput) ElementType() reflect.Type
- func (o LookupConnectionResultOutput) FriendlyName() pulumi.StringOutput
- func (o LookupConnectionResultOutput) HasCredential() pulumi.BoolOutput
- func (o LookupConnectionResultOutput) LastModifiedTime() pulumi.StringOutput
- func (o LookupConnectionResultOutput) Name() pulumi.StringOutput
- func (o LookupConnectionResultOutput) ToLookupConnectionResultOutput() LookupConnectionResultOutput
- func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext(ctx context.Context) LookupConnectionResultOutput
Constants ¶
const ( // Default case. Should never be this. AuditLogConfigLogTypeLogTypeUnspecified = AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED") // Admin reads. Example: CloudIAM getIamPolicy AuditLogConfigLogTypeAdminRead = AuditLogConfigLogType("ADMIN_READ") // Data writes. Example: CloudSQL Users create AuditLogConfigLogTypeDataWrite = AuditLogConfigLogType("DATA_WRITE") // Data reads. Example: CloudSQL Users list AuditLogConfigLogTypeDataRead = AuditLogConfigLogType("DATA_READ") )
const ( // Unspecified database type. CloudSqlPropertiesTypeDatabaseTypeUnspecified = CloudSqlPropertiesType("DATABASE_TYPE_UNSPECIFIED") // Cloud SQL for PostgreSQL. CloudSqlPropertiesTypePostgres = CloudSqlPropertiesType("POSTGRES") // Cloud SQL for MySQL. CloudSqlPropertiesTypeMysql = CloudSqlPropertiesType("MYSQL") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditConfig ¶
type AuditConfig struct { // The configuration for logging of each type of permission. AuditLogConfigs []AuditLogConfig `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service *string `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
type AuditConfigArgs ¶
type AuditConfigArgs struct { // The configuration for logging of each type of permission. AuditLogConfigs AuditLogConfigArrayInput `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service pulumi.StringPtrInput `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (AuditConfigArgs) ElementType ¶
func (AuditConfigArgs) ElementType() reflect.Type
func (AuditConfigArgs) ToAuditConfigOutput ¶
func (i AuditConfigArgs) ToAuditConfigOutput() AuditConfigOutput
func (AuditConfigArgs) ToAuditConfigOutputWithContext ¶
func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
type AuditConfigArray ¶
type AuditConfigArray []AuditConfigInput
func (AuditConfigArray) ElementType ¶
func (AuditConfigArray) ElementType() reflect.Type
func (AuditConfigArray) ToAuditConfigArrayOutput ¶
func (i AuditConfigArray) ToAuditConfigArrayOutput() AuditConfigArrayOutput
func (AuditConfigArray) ToAuditConfigArrayOutputWithContext ¶
func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
type AuditConfigArrayInput ¶
type AuditConfigArrayInput interface { pulumi.Input ToAuditConfigArrayOutput() AuditConfigArrayOutput ToAuditConfigArrayOutputWithContext(context.Context) AuditConfigArrayOutput }
AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. You can construct a concrete instance of `AuditConfigArrayInput` via:
AuditConfigArray{ AuditConfigArgs{...} }
type AuditConfigArrayOutput ¶
type AuditConfigArrayOutput struct{ *pulumi.OutputState }
func (AuditConfigArrayOutput) ElementType ¶
func (AuditConfigArrayOutput) ElementType() reflect.Type
func (AuditConfigArrayOutput) Index ¶
func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput
func (AuditConfigArrayOutput) ToAuditConfigArrayOutput ¶
func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput
func (AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext ¶
func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
type AuditConfigInput ¶
type AuditConfigInput interface { pulumi.Input ToAuditConfigOutput() AuditConfigOutput ToAuditConfigOutputWithContext(context.Context) AuditConfigOutput }
AuditConfigInput is an input type that accepts AuditConfigArgs and AuditConfigOutput values. You can construct a concrete instance of `AuditConfigInput` via:
AuditConfigArgs{...}
type AuditConfigOutput ¶
type AuditConfigOutput struct{ *pulumi.OutputState }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (AuditConfigOutput) AuditLogConfigs ¶
func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput
The configuration for logging of each type of permission.
func (AuditConfigOutput) ElementType ¶
func (AuditConfigOutput) ElementType() reflect.Type
func (AuditConfigOutput) Service ¶
func (o AuditConfigOutput) Service() pulumi.StringPtrOutput
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
func (AuditConfigOutput) ToAuditConfigOutput ¶
func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput
func (AuditConfigOutput) ToAuditConfigOutputWithContext ¶
func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
type AuditConfigResponse ¶
type AuditConfigResponse struct { // The configuration for logging of each type of permission. AuditLogConfigs []AuditLogConfigResponse `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service string `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
type AuditConfigResponseArrayOutput ¶
type AuditConfigResponseArrayOutput struct{ *pulumi.OutputState }
func (AuditConfigResponseArrayOutput) ElementType ¶
func (AuditConfigResponseArrayOutput) ElementType() reflect.Type
func (AuditConfigResponseArrayOutput) Index ¶
func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput
func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput ¶
func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput
func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext ¶
func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput
type AuditConfigResponseOutput ¶
type AuditConfigResponseOutput struct{ *pulumi.OutputState }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (AuditConfigResponseOutput) AuditLogConfigs ¶
func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput
The configuration for logging of each type of permission.
func (AuditConfigResponseOutput) ElementType ¶
func (AuditConfigResponseOutput) ElementType() reflect.Type
func (AuditConfigResponseOutput) Service ¶
func (o AuditConfigResponseOutput) Service() pulumi.StringOutput
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
func (AuditConfigResponseOutput) ToAuditConfigResponseOutput ¶
func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput
func (AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext ¶
func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput
type AuditLogConfig ¶
type AuditLogConfig struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers []string `pulumi:"exemptedMembers"` // The log type that this config enables. LogType *AuditLogConfigLogType `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
type AuditLogConfigArgs ¶
type AuditLogConfigArgs struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers pulumi.StringArrayInput `pulumi:"exemptedMembers"` // The log type that this config enables. LogType AuditLogConfigLogTypePtrInput `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigArgs) ElementType ¶
func (AuditLogConfigArgs) ElementType() reflect.Type
func (AuditLogConfigArgs) ToAuditLogConfigOutput ¶
func (i AuditLogConfigArgs) ToAuditLogConfigOutput() AuditLogConfigOutput
func (AuditLogConfigArgs) ToAuditLogConfigOutputWithContext ¶
func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
type AuditLogConfigArray ¶
type AuditLogConfigArray []AuditLogConfigInput
func (AuditLogConfigArray) ElementType ¶
func (AuditLogConfigArray) ElementType() reflect.Type
func (AuditLogConfigArray) ToAuditLogConfigArrayOutput ¶
func (i AuditLogConfigArray) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
func (AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext ¶
func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
type AuditLogConfigArrayInput ¶
type AuditLogConfigArrayInput interface { pulumi.Input ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput ToAuditLogConfigArrayOutputWithContext(context.Context) AuditLogConfigArrayOutput }
AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. You can construct a concrete instance of `AuditLogConfigArrayInput` via:
AuditLogConfigArray{ AuditLogConfigArgs{...} }
type AuditLogConfigArrayOutput ¶
type AuditLogConfigArrayOutput struct{ *pulumi.OutputState }
func (AuditLogConfigArrayOutput) ElementType ¶
func (AuditLogConfigArrayOutput) ElementType() reflect.Type
func (AuditLogConfigArrayOutput) Index ¶
func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput
func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput ¶
func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext ¶
func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
type AuditLogConfigInput ¶
type AuditLogConfigInput interface { pulumi.Input ToAuditLogConfigOutput() AuditLogConfigOutput ToAuditLogConfigOutputWithContext(context.Context) AuditLogConfigOutput }
AuditLogConfigInput is an input type that accepts AuditLogConfigArgs and AuditLogConfigOutput values. You can construct a concrete instance of `AuditLogConfigInput` via:
AuditLogConfigArgs{...}
type AuditLogConfigLogType ¶ added in v0.4.0
type AuditLogConfigLogType string
The log type that this config enables.
func (AuditLogConfigLogType) ElementType ¶ added in v0.4.0
func (AuditLogConfigLogType) ElementType() reflect.Type
func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
func (AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext ¶ added in v0.6.0
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogType) ToStringOutput ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput
func (AuditLogConfigLogType) ToStringOutputWithContext ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AuditLogConfigLogType) ToStringPtrOutput ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput
func (AuditLogConfigLogType) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e AuditLogConfigLogType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AuditLogConfigLogTypeInput ¶ added in v0.6.0
type AuditLogConfigLogTypeInput interface { pulumi.Input ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput ToAuditLogConfigLogTypeOutputWithContext(context.Context) AuditLogConfigLogTypeOutput }
AuditLogConfigLogTypeInput is an input type that accepts AuditLogConfigLogTypeArgs and AuditLogConfigLogTypeOutput values. You can construct a concrete instance of `AuditLogConfigLogTypeInput` via:
AuditLogConfigLogTypeArgs{...}
type AuditLogConfigLogTypeOutput ¶ added in v0.6.0
type AuditLogConfigLogTypeOutput struct{ *pulumi.OutputState }
func (AuditLogConfigLogTypeOutput) ElementType ¶ added in v0.6.0
func (AuditLogConfigLogTypeOutput) ElementType() reflect.Type
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypeOutput) ToStringOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput
func (AuditLogConfigLogTypeOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AuditLogConfigLogTypeOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AuditLogConfigLogTypePtrInput ¶ added in v0.6.0
type AuditLogConfigLogTypePtrInput interface { pulumi.Input ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput ToAuditLogConfigLogTypePtrOutputWithContext(context.Context) AuditLogConfigLogTypePtrOutput }
func AuditLogConfigLogTypePtr ¶ added in v0.6.0
func AuditLogConfigLogTypePtr(v string) AuditLogConfigLogTypePtrInput
type AuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
type AuditLogConfigLogTypePtrOutput struct{ *pulumi.OutputState }
func (AuditLogConfigLogTypePtrOutput) Elem ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput
func (AuditLogConfigLogTypePtrOutput) ElementType ¶ added in v0.6.0
func (AuditLogConfigLogTypePtrOutput) ElementType() reflect.Type
func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput
func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AuditLogConfigOutput ¶
type AuditLogConfigOutput struct{ *pulumi.OutputState }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigOutput) ElementType ¶
func (AuditLogConfigOutput) ElementType() reflect.Type
func (AuditLogConfigOutput) ExemptedMembers ¶
func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
func (AuditLogConfigOutput) LogType ¶
func (o AuditLogConfigOutput) LogType() AuditLogConfigLogTypePtrOutput
The log type that this config enables.
func (AuditLogConfigOutput) ToAuditLogConfigOutput ¶
func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput
func (AuditLogConfigOutput) ToAuditLogConfigOutputWithContext ¶
func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
type AuditLogConfigResponse ¶
type AuditLogConfigResponse struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers []string `pulumi:"exemptedMembers"` // The log type that this config enables. LogType string `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
type AuditLogConfigResponseArrayOutput ¶
type AuditLogConfigResponseArrayOutput struct{ *pulumi.OutputState }
func (AuditLogConfigResponseArrayOutput) ElementType ¶
func (AuditLogConfigResponseArrayOutput) ElementType() reflect.Type
func (AuditLogConfigResponseArrayOutput) Index ¶
func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput
func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput ¶
func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext ¶
func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
type AuditLogConfigResponseOutput ¶
type AuditLogConfigResponseOutput struct{ *pulumi.OutputState }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigResponseOutput) ElementType ¶
func (AuditLogConfigResponseOutput) ElementType() reflect.Type
func (AuditLogConfigResponseOutput) ExemptedMembers ¶
func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
func (AuditLogConfigResponseOutput) LogType ¶
func (o AuditLogConfigResponseOutput) LogType() pulumi.StringOutput
The log type that this config enables.
func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput ¶
func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput
func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext ¶
func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput
type Binding ¶
type Binding struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role *string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingArgs ¶
type BindingArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprPtrInput `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringPtrInput `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
func (BindingArgs) ElementType ¶
func (BindingArgs) ElementType() reflect.Type
func (BindingArgs) ToBindingOutput ¶
func (i BindingArgs) ToBindingOutput() BindingOutput
func (BindingArgs) ToBindingOutputWithContext ¶
func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingArray ¶
type BindingArray []BindingInput
func (BindingArray) ElementType ¶
func (BindingArray) ElementType() reflect.Type
func (BindingArray) ToBindingArrayOutput ¶
func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput
func (BindingArray) ToBindingArrayOutputWithContext ¶
func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingArrayInput ¶
type BindingArrayInput interface { pulumi.Input ToBindingArrayOutput() BindingArrayOutput ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput }
BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:
BindingArray{ BindingArgs{...} }
type BindingArrayOutput ¶
type BindingArrayOutput struct{ *pulumi.OutputState }
func (BindingArrayOutput) ElementType ¶
func (BindingArrayOutput) ElementType() reflect.Type
func (BindingArrayOutput) Index ¶
func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput
func (BindingArrayOutput) ToBindingArrayOutput ¶
func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput
func (BindingArrayOutput) ToBindingArrayOutputWithContext ¶
func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingInput ¶
type BindingInput interface { pulumi.Input ToBindingOutput() BindingOutput ToBindingOutputWithContext(context.Context) BindingOutput }
BindingInput is an input type that accepts BindingArgs and BindingOutput values. You can construct a concrete instance of `BindingInput` via:
BindingArgs{...}
type BindingOutput ¶
type BindingOutput struct{ *pulumi.OutputState }
Associates `members`, or principals, with a `role`.
func (BindingOutput) Condition ¶
func (o BindingOutput) Condition() ExprPtrOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingOutput) ElementType ¶
func (BindingOutput) ElementType() reflect.Type
func (BindingOutput) Members ¶
func (o BindingOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (BindingOutput) Role ¶
func (o BindingOutput) Role() pulumi.StringPtrOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingOutput) ToBindingOutput ¶
func (o BindingOutput) ToBindingOutput() BindingOutput
func (BindingOutput) ToBindingOutputWithContext ¶
func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingResponse ¶
type BindingResponse struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprResponse `pulumi:"condition"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingResponseArrayOutput ¶
type BindingResponseArrayOutput struct{ *pulumi.OutputState }
func (BindingResponseArrayOutput) ElementType ¶
func (BindingResponseArrayOutput) ElementType() reflect.Type
func (BindingResponseArrayOutput) Index ¶
func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutput ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
type BindingResponseOutput ¶
type BindingResponseOutput struct{ *pulumi.OutputState }
Associates `members`, or principals, with a `role`.
func (BindingResponseOutput) Condition ¶
func (o BindingResponseOutput) Condition() ExprResponseOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingResponseOutput) ElementType ¶
func (BindingResponseOutput) ElementType() reflect.Type
func (BindingResponseOutput) Members ¶
func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (BindingResponseOutput) Role ¶
func (o BindingResponseOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingResponseOutput) ToBindingResponseOutput ¶
func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
func (BindingResponseOutput) ToBindingResponseOutputWithContext ¶
func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
type CloudSqlCredential ¶
type CloudSqlCredential struct { // The password for the credential. Password *string `pulumi:"password"` // The username for the credential. Username *string `pulumi:"username"` }
Credential info for the Cloud SQL.
type CloudSqlCredentialArgs ¶
type CloudSqlCredentialArgs struct { // The password for the credential. Password pulumi.StringPtrInput `pulumi:"password"` // The username for the credential. Username pulumi.StringPtrInput `pulumi:"username"` }
Credential info for the Cloud SQL.
func (CloudSqlCredentialArgs) ElementType ¶
func (CloudSqlCredentialArgs) ElementType() reflect.Type
func (CloudSqlCredentialArgs) ToCloudSqlCredentialOutput ¶
func (i CloudSqlCredentialArgs) ToCloudSqlCredentialOutput() CloudSqlCredentialOutput
func (CloudSqlCredentialArgs) ToCloudSqlCredentialOutputWithContext ¶
func (i CloudSqlCredentialArgs) ToCloudSqlCredentialOutputWithContext(ctx context.Context) CloudSqlCredentialOutput
func (CloudSqlCredentialArgs) ToCloudSqlCredentialPtrOutput ¶
func (i CloudSqlCredentialArgs) ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput
func (CloudSqlCredentialArgs) ToCloudSqlCredentialPtrOutputWithContext ¶
func (i CloudSqlCredentialArgs) ToCloudSqlCredentialPtrOutputWithContext(ctx context.Context) CloudSqlCredentialPtrOutput
type CloudSqlCredentialInput ¶
type CloudSqlCredentialInput interface { pulumi.Input ToCloudSqlCredentialOutput() CloudSqlCredentialOutput ToCloudSqlCredentialOutputWithContext(context.Context) CloudSqlCredentialOutput }
CloudSqlCredentialInput is an input type that accepts CloudSqlCredentialArgs and CloudSqlCredentialOutput values. You can construct a concrete instance of `CloudSqlCredentialInput` via:
CloudSqlCredentialArgs{...}
type CloudSqlCredentialOutput ¶
type CloudSqlCredentialOutput struct{ *pulumi.OutputState }
Credential info for the Cloud SQL.
func (CloudSqlCredentialOutput) ElementType ¶
func (CloudSqlCredentialOutput) ElementType() reflect.Type
func (CloudSqlCredentialOutput) Password ¶
func (o CloudSqlCredentialOutput) Password() pulumi.StringPtrOutput
The password for the credential.
func (CloudSqlCredentialOutput) ToCloudSqlCredentialOutput ¶
func (o CloudSqlCredentialOutput) ToCloudSqlCredentialOutput() CloudSqlCredentialOutput
func (CloudSqlCredentialOutput) ToCloudSqlCredentialOutputWithContext ¶
func (o CloudSqlCredentialOutput) ToCloudSqlCredentialOutputWithContext(ctx context.Context) CloudSqlCredentialOutput
func (CloudSqlCredentialOutput) ToCloudSqlCredentialPtrOutput ¶
func (o CloudSqlCredentialOutput) ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput
func (CloudSqlCredentialOutput) ToCloudSqlCredentialPtrOutputWithContext ¶
func (o CloudSqlCredentialOutput) ToCloudSqlCredentialPtrOutputWithContext(ctx context.Context) CloudSqlCredentialPtrOutput
func (CloudSqlCredentialOutput) Username ¶
func (o CloudSqlCredentialOutput) Username() pulumi.StringPtrOutput
The username for the credential.
type CloudSqlCredentialPtrInput ¶
type CloudSqlCredentialPtrInput interface { pulumi.Input ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput ToCloudSqlCredentialPtrOutputWithContext(context.Context) CloudSqlCredentialPtrOutput }
CloudSqlCredentialPtrInput is an input type that accepts CloudSqlCredentialArgs, CloudSqlCredentialPtr and CloudSqlCredentialPtrOutput values. You can construct a concrete instance of `CloudSqlCredentialPtrInput` via:
CloudSqlCredentialArgs{...} or: nil
func CloudSqlCredentialPtr ¶
func CloudSqlCredentialPtr(v *CloudSqlCredentialArgs) CloudSqlCredentialPtrInput
type CloudSqlCredentialPtrOutput ¶
type CloudSqlCredentialPtrOutput struct{ *pulumi.OutputState }
func (CloudSqlCredentialPtrOutput) Elem ¶
func (o CloudSqlCredentialPtrOutput) Elem() CloudSqlCredentialOutput
func (CloudSqlCredentialPtrOutput) ElementType ¶
func (CloudSqlCredentialPtrOutput) ElementType() reflect.Type
func (CloudSqlCredentialPtrOutput) Password ¶
func (o CloudSqlCredentialPtrOutput) Password() pulumi.StringPtrOutput
The password for the credential.
func (CloudSqlCredentialPtrOutput) ToCloudSqlCredentialPtrOutput ¶
func (o CloudSqlCredentialPtrOutput) ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput
func (CloudSqlCredentialPtrOutput) ToCloudSqlCredentialPtrOutputWithContext ¶
func (o CloudSqlCredentialPtrOutput) ToCloudSqlCredentialPtrOutputWithContext(ctx context.Context) CloudSqlCredentialPtrOutput
func (CloudSqlCredentialPtrOutput) Username ¶
func (o CloudSqlCredentialPtrOutput) Username() pulumi.StringPtrOutput
The username for the credential.
type CloudSqlCredentialResponse ¶
type CloudSqlCredentialResponse struct { // The password for the credential. Password string `pulumi:"password"` // The username for the credential. Username string `pulumi:"username"` }
Credential info for the Cloud SQL.
type CloudSqlCredentialResponseOutput ¶
type CloudSqlCredentialResponseOutput struct{ *pulumi.OutputState }
Credential info for the Cloud SQL.
func (CloudSqlCredentialResponseOutput) ElementType ¶
func (CloudSqlCredentialResponseOutput) ElementType() reflect.Type
func (CloudSqlCredentialResponseOutput) Password ¶
func (o CloudSqlCredentialResponseOutput) Password() pulumi.StringOutput
The password for the credential.
func (CloudSqlCredentialResponseOutput) ToCloudSqlCredentialResponseOutput ¶
func (o CloudSqlCredentialResponseOutput) ToCloudSqlCredentialResponseOutput() CloudSqlCredentialResponseOutput
func (CloudSqlCredentialResponseOutput) ToCloudSqlCredentialResponseOutputWithContext ¶
func (o CloudSqlCredentialResponseOutput) ToCloudSqlCredentialResponseOutputWithContext(ctx context.Context) CloudSqlCredentialResponseOutput
func (CloudSqlCredentialResponseOutput) Username ¶
func (o CloudSqlCredentialResponseOutput) Username() pulumi.StringOutput
The username for the credential.
type CloudSqlProperties ¶
type CloudSqlProperties struct { // Input only. Cloud SQL credential. Credential *CloudSqlCredential `pulumi:"credential"` // Database name. Database *string `pulumi:"database"` // Cloud SQL instance ID in the form `project:location:instance`. InstanceId *string `pulumi:"instanceId"` // Type of the Cloud SQL database. Type *CloudSqlPropertiesType `pulumi:"type"` }
Connection properties specific to the Cloud SQL.
type CloudSqlPropertiesArgs ¶
type CloudSqlPropertiesArgs struct { // Input only. Cloud SQL credential. Credential CloudSqlCredentialPtrInput `pulumi:"credential"` // Database name. Database pulumi.StringPtrInput `pulumi:"database"` // Cloud SQL instance ID in the form `project:location:instance`. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // Type of the Cloud SQL database. Type CloudSqlPropertiesTypePtrInput `pulumi:"type"` }
Connection properties specific to the Cloud SQL.
func (CloudSqlPropertiesArgs) ElementType ¶
func (CloudSqlPropertiesArgs) ElementType() reflect.Type
func (CloudSqlPropertiesArgs) ToCloudSqlPropertiesOutput ¶
func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesOutput() CloudSqlPropertiesOutput
func (CloudSqlPropertiesArgs) ToCloudSqlPropertiesOutputWithContext ¶
func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesOutputWithContext(ctx context.Context) CloudSqlPropertiesOutput
func (CloudSqlPropertiesArgs) ToCloudSqlPropertiesPtrOutput ¶
func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput
func (CloudSqlPropertiesArgs) ToCloudSqlPropertiesPtrOutputWithContext ¶
func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesPtrOutputWithContext(ctx context.Context) CloudSqlPropertiesPtrOutput
type CloudSqlPropertiesInput ¶
type CloudSqlPropertiesInput interface { pulumi.Input ToCloudSqlPropertiesOutput() CloudSqlPropertiesOutput ToCloudSqlPropertiesOutputWithContext(context.Context) CloudSqlPropertiesOutput }
CloudSqlPropertiesInput is an input type that accepts CloudSqlPropertiesArgs and CloudSqlPropertiesOutput values. You can construct a concrete instance of `CloudSqlPropertiesInput` via:
CloudSqlPropertiesArgs{...}
type CloudSqlPropertiesOutput ¶
type CloudSqlPropertiesOutput struct{ *pulumi.OutputState }
Connection properties specific to the Cloud SQL.
func (CloudSqlPropertiesOutput) Credential ¶
func (o CloudSqlPropertiesOutput) Credential() CloudSqlCredentialPtrOutput
Input only. Cloud SQL credential.
func (CloudSqlPropertiesOutput) Database ¶
func (o CloudSqlPropertiesOutput) Database() pulumi.StringPtrOutput
Database name.
func (CloudSqlPropertiesOutput) ElementType ¶
func (CloudSqlPropertiesOutput) ElementType() reflect.Type
func (CloudSqlPropertiesOutput) InstanceId ¶
func (o CloudSqlPropertiesOutput) InstanceId() pulumi.StringPtrOutput
Cloud SQL instance ID in the form `project:location:instance`.
func (CloudSqlPropertiesOutput) ToCloudSqlPropertiesOutput ¶
func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesOutput() CloudSqlPropertiesOutput
func (CloudSqlPropertiesOutput) ToCloudSqlPropertiesOutputWithContext ¶
func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesOutputWithContext(ctx context.Context) CloudSqlPropertiesOutput
func (CloudSqlPropertiesOutput) ToCloudSqlPropertiesPtrOutput ¶
func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput
func (CloudSqlPropertiesOutput) ToCloudSqlPropertiesPtrOutputWithContext ¶
func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesPtrOutputWithContext(ctx context.Context) CloudSqlPropertiesPtrOutput
func (CloudSqlPropertiesOutput) Type ¶
func (o CloudSqlPropertiesOutput) Type() CloudSqlPropertiesTypePtrOutput
Type of the Cloud SQL database.
type CloudSqlPropertiesPtrInput ¶
type CloudSqlPropertiesPtrInput interface { pulumi.Input ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput ToCloudSqlPropertiesPtrOutputWithContext(context.Context) CloudSqlPropertiesPtrOutput }
CloudSqlPropertiesPtrInput is an input type that accepts CloudSqlPropertiesArgs, CloudSqlPropertiesPtr and CloudSqlPropertiesPtrOutput values. You can construct a concrete instance of `CloudSqlPropertiesPtrInput` via:
CloudSqlPropertiesArgs{...} or: nil
func CloudSqlPropertiesPtr ¶
func CloudSqlPropertiesPtr(v *CloudSqlPropertiesArgs) CloudSqlPropertiesPtrInput
type CloudSqlPropertiesPtrOutput ¶
type CloudSqlPropertiesPtrOutput struct{ *pulumi.OutputState }
func (CloudSqlPropertiesPtrOutput) Credential ¶
func (o CloudSqlPropertiesPtrOutput) Credential() CloudSqlCredentialPtrOutput
Input only. Cloud SQL credential.
func (CloudSqlPropertiesPtrOutput) Database ¶
func (o CloudSqlPropertiesPtrOutput) Database() pulumi.StringPtrOutput
Database name.
func (CloudSqlPropertiesPtrOutput) Elem ¶
func (o CloudSqlPropertiesPtrOutput) Elem() CloudSqlPropertiesOutput
func (CloudSqlPropertiesPtrOutput) ElementType ¶
func (CloudSqlPropertiesPtrOutput) ElementType() reflect.Type
func (CloudSqlPropertiesPtrOutput) InstanceId ¶
func (o CloudSqlPropertiesPtrOutput) InstanceId() pulumi.StringPtrOutput
Cloud SQL instance ID in the form `project:location:instance`.
func (CloudSqlPropertiesPtrOutput) ToCloudSqlPropertiesPtrOutput ¶
func (o CloudSqlPropertiesPtrOutput) ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput
func (CloudSqlPropertiesPtrOutput) ToCloudSqlPropertiesPtrOutputWithContext ¶
func (o CloudSqlPropertiesPtrOutput) ToCloudSqlPropertiesPtrOutputWithContext(ctx context.Context) CloudSqlPropertiesPtrOutput
func (CloudSqlPropertiesPtrOutput) Type ¶
func (o CloudSqlPropertiesPtrOutput) Type() CloudSqlPropertiesTypePtrOutput
Type of the Cloud SQL database.
type CloudSqlPropertiesResponse ¶
type CloudSqlPropertiesResponse struct { // Input only. Cloud SQL credential. Credential CloudSqlCredentialResponse `pulumi:"credential"` // Database name. Database string `pulumi:"database"` // Cloud SQL instance ID in the form `project:location:instance`. InstanceId string `pulumi:"instanceId"` // The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection. ServiceAccountId string `pulumi:"serviceAccountId"` // Type of the Cloud SQL database. Type string `pulumi:"type"` }
Connection properties specific to the Cloud SQL.
type CloudSqlPropertiesResponseOutput ¶
type CloudSqlPropertiesResponseOutput struct{ *pulumi.OutputState }
Connection properties specific to the Cloud SQL.
func (CloudSqlPropertiesResponseOutput) Credential ¶
func (o CloudSqlPropertiesResponseOutput) Credential() CloudSqlCredentialResponseOutput
Input only. Cloud SQL credential.
func (CloudSqlPropertiesResponseOutput) Database ¶
func (o CloudSqlPropertiesResponseOutput) Database() pulumi.StringOutput
Database name.
func (CloudSqlPropertiesResponseOutput) ElementType ¶
func (CloudSqlPropertiesResponseOutput) ElementType() reflect.Type
func (CloudSqlPropertiesResponseOutput) InstanceId ¶
func (o CloudSqlPropertiesResponseOutput) InstanceId() pulumi.StringOutput
Cloud SQL instance ID in the form `project:location:instance`.
func (CloudSqlPropertiesResponseOutput) ServiceAccountId ¶ added in v0.21.0
func (o CloudSqlPropertiesResponseOutput) ServiceAccountId() pulumi.StringOutput
The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
func (CloudSqlPropertiesResponseOutput) ToCloudSqlPropertiesResponseOutput ¶
func (o CloudSqlPropertiesResponseOutput) ToCloudSqlPropertiesResponseOutput() CloudSqlPropertiesResponseOutput
func (CloudSqlPropertiesResponseOutput) ToCloudSqlPropertiesResponseOutputWithContext ¶
func (o CloudSqlPropertiesResponseOutput) ToCloudSqlPropertiesResponseOutputWithContext(ctx context.Context) CloudSqlPropertiesResponseOutput
func (CloudSqlPropertiesResponseOutput) Type ¶
func (o CloudSqlPropertiesResponseOutput) Type() pulumi.StringOutput
Type of the Cloud SQL database.
type CloudSqlPropertiesType ¶ added in v0.4.0
type CloudSqlPropertiesType string
Type of the Cloud SQL database.
func (CloudSqlPropertiesType) ElementType ¶ added in v0.4.0
func (CloudSqlPropertiesType) ElementType() reflect.Type
func (CloudSqlPropertiesType) ToCloudSqlPropertiesTypeOutput ¶ added in v0.6.0
func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypeOutput() CloudSqlPropertiesTypeOutput
func (CloudSqlPropertiesType) ToCloudSqlPropertiesTypeOutputWithContext ¶ added in v0.6.0
func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypeOutputWithContext(ctx context.Context) CloudSqlPropertiesTypeOutput
func (CloudSqlPropertiesType) ToCloudSqlPropertiesTypePtrOutput ¶ added in v0.6.0
func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypePtrOutput() CloudSqlPropertiesTypePtrOutput
func (CloudSqlPropertiesType) ToCloudSqlPropertiesTypePtrOutputWithContext ¶ added in v0.6.0
func (e CloudSqlPropertiesType) ToCloudSqlPropertiesTypePtrOutputWithContext(ctx context.Context) CloudSqlPropertiesTypePtrOutput
func (CloudSqlPropertiesType) ToStringOutput ¶ added in v0.4.0
func (e CloudSqlPropertiesType) ToStringOutput() pulumi.StringOutput
func (CloudSqlPropertiesType) ToStringOutputWithContext ¶ added in v0.4.0
func (e CloudSqlPropertiesType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (CloudSqlPropertiesType) ToStringPtrOutput ¶ added in v0.4.0
func (e CloudSqlPropertiesType) ToStringPtrOutput() pulumi.StringPtrOutput
func (CloudSqlPropertiesType) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e CloudSqlPropertiesType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CloudSqlPropertiesTypeInput ¶ added in v0.6.0
type CloudSqlPropertiesTypeInput interface { pulumi.Input ToCloudSqlPropertiesTypeOutput() CloudSqlPropertiesTypeOutput ToCloudSqlPropertiesTypeOutputWithContext(context.Context) CloudSqlPropertiesTypeOutput }
CloudSqlPropertiesTypeInput is an input type that accepts CloudSqlPropertiesTypeArgs and CloudSqlPropertiesTypeOutput values. You can construct a concrete instance of `CloudSqlPropertiesTypeInput` via:
CloudSqlPropertiesTypeArgs{...}
type CloudSqlPropertiesTypeOutput ¶ added in v0.6.0
type CloudSqlPropertiesTypeOutput struct{ *pulumi.OutputState }
func (CloudSqlPropertiesTypeOutput) ElementType ¶ added in v0.6.0
func (CloudSqlPropertiesTypeOutput) ElementType() reflect.Type
func (CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypeOutput ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypeOutput() CloudSqlPropertiesTypeOutput
func (CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypeOutputWithContext ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypeOutputWithContext(ctx context.Context) CloudSqlPropertiesTypeOutput
func (CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypePtrOutput ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypePtrOutput() CloudSqlPropertiesTypePtrOutput
func (CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypePtrOutputWithContext ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypePtrOutputWithContext(ctx context.Context) CloudSqlPropertiesTypePtrOutput
func (CloudSqlPropertiesTypeOutput) ToStringOutput ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToStringOutput() pulumi.StringOutput
func (CloudSqlPropertiesTypeOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (CloudSqlPropertiesTypeOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (CloudSqlPropertiesTypeOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o CloudSqlPropertiesTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CloudSqlPropertiesTypePtrInput ¶ added in v0.6.0
type CloudSqlPropertiesTypePtrInput interface { pulumi.Input ToCloudSqlPropertiesTypePtrOutput() CloudSqlPropertiesTypePtrOutput ToCloudSqlPropertiesTypePtrOutputWithContext(context.Context) CloudSqlPropertiesTypePtrOutput }
func CloudSqlPropertiesTypePtr ¶ added in v0.6.0
func CloudSqlPropertiesTypePtr(v string) CloudSqlPropertiesTypePtrInput
type CloudSqlPropertiesTypePtrOutput ¶ added in v0.6.0
type CloudSqlPropertiesTypePtrOutput struct{ *pulumi.OutputState }
func (CloudSqlPropertiesTypePtrOutput) Elem ¶ added in v0.6.0
func (o CloudSqlPropertiesTypePtrOutput) Elem() CloudSqlPropertiesTypeOutput
func (CloudSqlPropertiesTypePtrOutput) ElementType ¶ added in v0.6.0
func (CloudSqlPropertiesTypePtrOutput) ElementType() reflect.Type
func (CloudSqlPropertiesTypePtrOutput) ToCloudSqlPropertiesTypePtrOutput ¶ added in v0.6.0
func (o CloudSqlPropertiesTypePtrOutput) ToCloudSqlPropertiesTypePtrOutput() CloudSqlPropertiesTypePtrOutput
func (CloudSqlPropertiesTypePtrOutput) ToCloudSqlPropertiesTypePtrOutputWithContext ¶ added in v0.6.0
func (o CloudSqlPropertiesTypePtrOutput) ToCloudSqlPropertiesTypePtrOutputWithContext(ctx context.Context) CloudSqlPropertiesTypePtrOutput
func (CloudSqlPropertiesTypePtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o CloudSqlPropertiesTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (CloudSqlPropertiesTypePtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o CloudSqlPropertiesTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type Connection ¶
type Connection struct { pulumi.CustomResourceState // Cloud SQL properties. CloudSql CloudSqlPropertiesResponseOutput `pulumi:"cloudSql"` // Optional. Connection id that should be assigned to the created connection. ConnectionId pulumi.StringPtrOutput `pulumi:"connectionId"` // The creation timestamp of the connection. CreationTime pulumi.StringOutput `pulumi:"creationTime"` // User provided description. Description pulumi.StringOutput `pulumi:"description"` // User provided display name for the connection. FriendlyName pulumi.StringOutput `pulumi:"friendlyName"` // True, if credential is configured for this connection. HasCredential pulumi.BoolOutput `pulumi:"hasCredential"` // The last update timestamp of the connection. LastModifiedTime pulumi.StringOutput `pulumi:"lastModifiedTime"` Location pulumi.StringOutput `pulumi:"location"` // The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` }
Creates a new connection.
func GetConnection ¶
func GetConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)
GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnection ¶
func NewConnection(ctx *pulumi.Context, name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)
NewConnection registers a new resource with the given unique name, arguments, and options.
func (*Connection) ElementType ¶
func (*Connection) ElementType() reflect.Type
func (*Connection) ToConnectionOutput ¶
func (i *Connection) ToConnectionOutput() ConnectionOutput
func (*Connection) ToConnectionOutputWithContext ¶
func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
type ConnectionArgs ¶
type ConnectionArgs struct { // Cloud SQL properties. CloudSql CloudSqlPropertiesPtrInput // Optional. Connection id that should be assigned to the created connection. ConnectionId pulumi.StringPtrInput // User provided description. Description pulumi.StringPtrInput // User provided display name for the connection. FriendlyName pulumi.StringPtrInput Location pulumi.StringPtrInput // The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` Name pulumi.StringPtrInput Project pulumi.StringPtrInput }
The set of arguments for constructing a Connection resource.
func (ConnectionArgs) ElementType ¶
func (ConnectionArgs) ElementType() reflect.Type
type ConnectionIamBinding ¶ added in v0.26.0
type ConnectionIamBinding struct { pulumi.CustomResourceState // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. Condition iam.ConditionPtrOutput `pulumi:"condition"` // The etag of the resource's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Members pulumi.StringArrayOutput `pulumi:"members"` // The name of the resource to manage IAM policies for. Name pulumi.StringOutput `pulumi:"name"` // The project in which the resource belongs. If it is not provided, a default will be supplied. Project pulumi.StringOutput `pulumi:"project"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringOutput `pulumi:"role"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func GetConnectionIamBinding ¶ added in v0.26.0
func GetConnectionIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionIamBindingState, opts ...pulumi.ResourceOption) (*ConnectionIamBinding, error)
GetConnectionIamBinding gets an existing ConnectionIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnectionIamBinding ¶ added in v0.26.0
func NewConnectionIamBinding(ctx *pulumi.Context, name string, args *ConnectionIamBindingArgs, opts ...pulumi.ResourceOption) (*ConnectionIamBinding, error)
NewConnectionIamBinding registers a new resource with the given unique name, arguments, and options.
func (*ConnectionIamBinding) ElementType ¶ added in v0.26.0
func (*ConnectionIamBinding) ElementType() reflect.Type
func (*ConnectionIamBinding) ToConnectionIamBindingOutput ¶ added in v0.26.0
func (i *ConnectionIamBinding) ToConnectionIamBindingOutput() ConnectionIamBindingOutput
func (*ConnectionIamBinding) ToConnectionIamBindingOutputWithContext ¶ added in v0.26.0
func (i *ConnectionIamBinding) ToConnectionIamBindingOutputWithContext(ctx context.Context) ConnectionIamBindingOutput
type ConnectionIamBindingArgs ¶ added in v0.26.0
type ConnectionIamBindingArgs struct { // An IAM Condition for a given binding. Condition iam.ConditionPtrInput // Identities that will be granted the privilege in role. Each entry can have one of the following values: // // * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * group:{emailid}: An email address that represents a Google group. For example, admins@example.com. // * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayInput // The name of the resource to manage IAM policies for. Name pulumi.StringInput // The role that should be applied. Only one `IamBinding` can be used per role. Role pulumi.StringInput }
The set of arguments for constructing a ConnectionIamBinding resource.
func (ConnectionIamBindingArgs) ElementType ¶ added in v0.26.0
func (ConnectionIamBindingArgs) ElementType() reflect.Type
type ConnectionIamBindingInput ¶ added in v0.26.0
type ConnectionIamBindingInput interface { pulumi.Input ToConnectionIamBindingOutput() ConnectionIamBindingOutput ToConnectionIamBindingOutputWithContext(ctx context.Context) ConnectionIamBindingOutput }
type ConnectionIamBindingOutput ¶ added in v0.26.0
type ConnectionIamBindingOutput struct{ *pulumi.OutputState }
func (ConnectionIamBindingOutput) Condition ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (ConnectionIamBindingOutput) ElementType ¶ added in v0.26.0
func (ConnectionIamBindingOutput) ElementType() reflect.Type
func (ConnectionIamBindingOutput) Etag ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (ConnectionIamBindingOutput) Members ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (ConnectionIamBindingOutput) Name ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (ConnectionIamBindingOutput) Project ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (ConnectionIamBindingOutput) Role ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (ConnectionIamBindingOutput) ToConnectionIamBindingOutput ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutput() ConnectionIamBindingOutput
func (ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext ¶ added in v0.26.0
func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext(ctx context.Context) ConnectionIamBindingOutput
type ConnectionIamBindingState ¶ added in v0.26.0
type ConnectionIamBindingState struct { }
func (ConnectionIamBindingState) ElementType ¶ added in v0.26.0
func (ConnectionIamBindingState) ElementType() reflect.Type
type ConnectionIamMember ¶ added in v0.26.0
type ConnectionIamMember struct { pulumi.CustomResourceState // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. Condition iam.ConditionPtrOutput `pulumi:"condition"` // The etag of the resource's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. Member pulumi.StringOutput `pulumi:"member"` // The name of the resource to manage IAM policies for. Name pulumi.StringOutput `pulumi:"name"` // The project in which the resource belongs. If it is not provided, a default will be supplied. Project pulumi.StringOutput `pulumi:"project"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringOutput `pulumi:"role"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func GetConnectionIamMember ¶ added in v0.26.0
func GetConnectionIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionIamMemberState, opts ...pulumi.ResourceOption) (*ConnectionIamMember, error)
GetConnectionIamMember gets an existing ConnectionIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnectionIamMember ¶ added in v0.26.0
func NewConnectionIamMember(ctx *pulumi.Context, name string, args *ConnectionIamMemberArgs, opts ...pulumi.ResourceOption) (*ConnectionIamMember, error)
NewConnectionIamMember registers a new resource with the given unique name, arguments, and options.
func (*ConnectionIamMember) ElementType ¶ added in v0.26.0
func (*ConnectionIamMember) ElementType() reflect.Type
func (*ConnectionIamMember) ToConnectionIamMemberOutput ¶ added in v0.26.0
func (i *ConnectionIamMember) ToConnectionIamMemberOutput() ConnectionIamMemberOutput
func (*ConnectionIamMember) ToConnectionIamMemberOutputWithContext ¶ added in v0.26.0
func (i *ConnectionIamMember) ToConnectionIamMemberOutputWithContext(ctx context.Context) ConnectionIamMemberOutput
type ConnectionIamMemberArgs ¶ added in v0.26.0
type ConnectionIamMemberArgs struct { // An IAM Condition for a given binding. Condition iam.ConditionPtrInput // Identity that will be granted the privilege in role. The entry can have one of the following values: // // * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * group:{emailid}: An email address that represents a Google group. For example, admins@example.com. // * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member pulumi.StringInput // The name of the resource to manage IAM policies for. Name pulumi.StringInput // The role that should be applied. Role pulumi.StringInput }
The set of arguments for constructing a ConnectionIamMember resource.
func (ConnectionIamMemberArgs) ElementType ¶ added in v0.26.0
func (ConnectionIamMemberArgs) ElementType() reflect.Type
type ConnectionIamMemberInput ¶ added in v0.26.0
type ConnectionIamMemberInput interface { pulumi.Input ToConnectionIamMemberOutput() ConnectionIamMemberOutput ToConnectionIamMemberOutputWithContext(ctx context.Context) ConnectionIamMemberOutput }
type ConnectionIamMemberOutput ¶ added in v0.26.0
type ConnectionIamMemberOutput struct{ *pulumi.OutputState }
func (ConnectionIamMemberOutput) Condition ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (ConnectionIamMemberOutput) ElementType ¶ added in v0.26.0
func (ConnectionIamMemberOutput) ElementType() reflect.Type
func (ConnectionIamMemberOutput) Etag ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (ConnectionIamMemberOutput) Member ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) Member() pulumi.StringOutput
Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
func (ConnectionIamMemberOutput) Name ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (ConnectionIamMemberOutput) Project ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (ConnectionIamMemberOutput) Role ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (ConnectionIamMemberOutput) ToConnectionIamMemberOutput ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutput() ConnectionIamMemberOutput
func (ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext ¶ added in v0.26.0
func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext(ctx context.Context) ConnectionIamMemberOutput
type ConnectionIamMemberState ¶ added in v0.26.0
type ConnectionIamMemberState struct { }
func (ConnectionIamMemberState) ElementType ¶ added in v0.26.0
func (ConnectionIamMemberState) ElementType() reflect.Type
type ConnectionIamPolicy ¶
type ConnectionIamPolicy struct { pulumi.CustomResourceState // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigResponseArrayOutput `pulumi:"auditConfigs"` // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` ConnectionId pulumi.StringOutput `pulumi:"connectionId"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` Location pulumi.StringOutput `pulumi:"location"` Project pulumi.StringOutput `pulumi:"project"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetConnectionIamPolicy ¶
func GetConnectionIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionIamPolicyState, opts ...pulumi.ResourceOption) (*ConnectionIamPolicy, error)
GetConnectionIamPolicy gets an existing ConnectionIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnectionIamPolicy ¶
func NewConnectionIamPolicy(ctx *pulumi.Context, name string, args *ConnectionIamPolicyArgs, opts ...pulumi.ResourceOption) (*ConnectionIamPolicy, error)
NewConnectionIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ConnectionIamPolicy) ElementType ¶
func (*ConnectionIamPolicy) ElementType() reflect.Type
func (*ConnectionIamPolicy) ToConnectionIamPolicyOutput ¶
func (i *ConnectionIamPolicy) ToConnectionIamPolicyOutput() ConnectionIamPolicyOutput
func (*ConnectionIamPolicy) ToConnectionIamPolicyOutputWithContext ¶
func (i *ConnectionIamPolicy) ToConnectionIamPolicyOutputWithContext(ctx context.Context) ConnectionIamPolicyOutput
type ConnectionIamPolicyArgs ¶
type ConnectionIamPolicyArgs struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigArrayInput // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput ConnectionId pulumi.StringInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` UpdateMask pulumi.StringPtrInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
The set of arguments for constructing a ConnectionIamPolicy resource.
func (ConnectionIamPolicyArgs) ElementType ¶
func (ConnectionIamPolicyArgs) ElementType() reflect.Type
type ConnectionIamPolicyInput ¶
type ConnectionIamPolicyInput interface { pulumi.Input ToConnectionIamPolicyOutput() ConnectionIamPolicyOutput ToConnectionIamPolicyOutputWithContext(ctx context.Context) ConnectionIamPolicyOutput }
type ConnectionIamPolicyOutput ¶
type ConnectionIamPolicyOutput struct{ *pulumi.OutputState }
func (ConnectionIamPolicyOutput) AuditConfigs ¶ added in v0.19.0
func (o ConnectionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (ConnectionIamPolicyOutput) Bindings ¶ added in v0.19.0
func (o ConnectionIamPolicyOutput) Bindings() BindingResponseArrayOutput
Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
func (ConnectionIamPolicyOutput) ConnectionId ¶ added in v0.21.0
func (o ConnectionIamPolicyOutput) ConnectionId() pulumi.StringOutput
func (ConnectionIamPolicyOutput) ElementType ¶
func (ConnectionIamPolicyOutput) ElementType() reflect.Type
func (ConnectionIamPolicyOutput) Etag ¶ added in v0.19.0
func (o ConnectionIamPolicyOutput) Etag() pulumi.StringOutput
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
func (ConnectionIamPolicyOutput) Location ¶ added in v0.21.0
func (o ConnectionIamPolicyOutput) Location() pulumi.StringOutput
func (ConnectionIamPolicyOutput) Project ¶ added in v0.21.0
func (o ConnectionIamPolicyOutput) Project() pulumi.StringOutput
func (ConnectionIamPolicyOutput) ToConnectionIamPolicyOutput ¶
func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutput() ConnectionIamPolicyOutput
func (ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext ¶
func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext(ctx context.Context) ConnectionIamPolicyOutput
func (ConnectionIamPolicyOutput) Version ¶ added in v0.19.0
func (o ConnectionIamPolicyOutput) Version() pulumi.IntOutput
Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
type ConnectionIamPolicyState ¶
type ConnectionIamPolicyState struct { }
func (ConnectionIamPolicyState) ElementType ¶
func (ConnectionIamPolicyState) ElementType() reflect.Type
type ConnectionInput ¶
type ConnectionInput interface { pulumi.Input ToConnectionOutput() ConnectionOutput ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput }
type ConnectionOutput ¶
type ConnectionOutput struct{ *pulumi.OutputState }
func (ConnectionOutput) CloudSql ¶ added in v0.19.0
func (o ConnectionOutput) CloudSql() CloudSqlPropertiesResponseOutput
Cloud SQL properties.
func (ConnectionOutput) ConnectionId ¶ added in v0.21.0
func (o ConnectionOutput) ConnectionId() pulumi.StringPtrOutput
Optional. Connection id that should be assigned to the created connection.
func (ConnectionOutput) CreationTime ¶ added in v0.19.0
func (o ConnectionOutput) CreationTime() pulumi.StringOutput
The creation timestamp of the connection.
func (ConnectionOutput) Description ¶ added in v0.19.0
func (o ConnectionOutput) Description() pulumi.StringOutput
User provided description.
func (ConnectionOutput) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) FriendlyName ¶ added in v0.19.0
func (o ConnectionOutput) FriendlyName() pulumi.StringOutput
User provided display name for the connection.
func (ConnectionOutput) HasCredential ¶ added in v0.19.0
func (o ConnectionOutput) HasCredential() pulumi.BoolOutput
True, if credential is configured for this connection.
func (ConnectionOutput) LastModifiedTime ¶ added in v0.19.0
func (o ConnectionOutput) LastModifiedTime() pulumi.StringOutput
The last update timestamp of the connection.
func (ConnectionOutput) Location ¶ added in v0.21.0
func (o ConnectionOutput) Location() pulumi.StringOutput
func (ConnectionOutput) Name ¶ added in v0.19.0
func (o ConnectionOutput) Name() pulumi.StringOutput
The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
func (ConnectionOutput) Project ¶ added in v0.21.0
func (o ConnectionOutput) Project() pulumi.StringOutput
func (ConnectionOutput) ToConnectionOutput ¶
func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
func (ConnectionOutput) ToConnectionOutputWithContext ¶
func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
type ConnectionState ¶
type ConnectionState struct { }
func (ConnectionState) ElementType ¶
func (ConnectionState) ElementType() reflect.Type
type Expr ¶
type Expr struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression *string `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location *string `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title *string `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
type ExprArgs ¶
type ExprArgs struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringPtrInput `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location pulumi.StringPtrInput `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title pulumi.StringPtrInput `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprArgs) ElementType ¶
func (ExprArgs) ToExprOutput ¶
func (i ExprArgs) ToExprOutput() ExprOutput
func (ExprArgs) ToExprOutputWithContext ¶
func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput
func (ExprArgs) ToExprPtrOutput ¶
func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput
func (ExprArgs) ToExprPtrOutputWithContext ¶
func (i ExprArgs) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprInput ¶
type ExprInput interface { pulumi.Input ToExprOutput() ExprOutput ToExprOutputWithContext(context.Context) ExprOutput }
ExprInput is an input type that accepts ExprArgs and ExprOutput values. You can construct a concrete instance of `ExprInput` via:
ExprArgs{...}
type ExprOutput ¶
type ExprOutput struct{ *pulumi.OutputState }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprOutput) Description ¶
func (o ExprOutput) Description() pulumi.StringPtrOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprOutput) ElementType ¶
func (ExprOutput) ElementType() reflect.Type
func (ExprOutput) Expression ¶
func (o ExprOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprOutput) Location ¶
func (o ExprOutput) Location() pulumi.StringPtrOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprOutput) Title ¶
func (o ExprOutput) Title() pulumi.StringPtrOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprOutput) ToExprOutput ¶
func (o ExprOutput) ToExprOutput() ExprOutput
func (ExprOutput) ToExprOutputWithContext ¶
func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
func (ExprOutput) ToExprPtrOutput ¶
func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
func (ExprOutput) ToExprPtrOutputWithContext ¶
func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprPtrInput ¶
type ExprPtrInput interface { pulumi.Input ToExprPtrOutput() ExprPtrOutput ToExprPtrOutputWithContext(context.Context) ExprPtrOutput }
ExprPtrInput is an input type that accepts ExprArgs, ExprPtr and ExprPtrOutput values. You can construct a concrete instance of `ExprPtrInput` via:
ExprArgs{...} or: nil
func ExprPtr ¶
func ExprPtr(v *ExprArgs) ExprPtrInput
type ExprPtrOutput ¶
type ExprPtrOutput struct{ *pulumi.OutputState }
func (ExprPtrOutput) Description ¶
func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprPtrOutput) Elem ¶
func (o ExprPtrOutput) Elem() ExprOutput
func (ExprPtrOutput) ElementType ¶
func (ExprPtrOutput) ElementType() reflect.Type
func (ExprPtrOutput) Expression ¶
func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprPtrOutput) Location ¶
func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprPtrOutput) Title ¶
func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprPtrOutput) ToExprPtrOutput ¶
func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
func (ExprPtrOutput) ToExprPtrOutputWithContext ¶
func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprResponse ¶
type ExprResponse struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location string `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title string `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
type ExprResponseOutput ¶
type ExprResponseOutput struct{ *pulumi.OutputState }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprResponseOutput) Description ¶
func (o ExprResponseOutput) Description() pulumi.StringOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprResponseOutput) ElementType ¶
func (ExprResponseOutput) ElementType() reflect.Type
func (ExprResponseOutput) Expression ¶
func (o ExprResponseOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprResponseOutput) Location ¶
func (o ExprResponseOutput) Location() pulumi.StringOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprResponseOutput) Title ¶
func (o ExprResponseOutput) Title() pulumi.StringOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprResponseOutput) ToExprResponseOutput ¶
func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
func (ExprResponseOutput) ToExprResponseOutputWithContext ¶
func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
type LookupConnectionArgs ¶ added in v0.4.0
type LookupConnectionIamPolicyArgs ¶ added in v0.4.0
type LookupConnectionIamPolicyOutputArgs ¶ added in v0.8.0
type LookupConnectionIamPolicyOutputArgs struct { ConnectionId pulumi.StringInput `pulumi:"connectionId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupConnectionIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupConnectionIamPolicyOutputArgs) ElementType() reflect.Type
type LookupConnectionIamPolicyResult ¶ added in v0.4.0
type LookupConnectionIamPolicyResult struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs []AuditConfigResponse `pulumi:"auditConfigs"` // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupConnectionIamPolicy ¶ added in v0.4.0
func LookupConnectionIamPolicy(ctx *pulumi.Context, args *LookupConnectionIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupConnectionIamPolicyResult, error)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
type LookupConnectionIamPolicyResultOutput ¶ added in v0.8.0
type LookupConnectionIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupConnectionIamPolicyOutput ¶ added in v0.8.0
func LookupConnectionIamPolicyOutput(ctx *pulumi.Context, args LookupConnectionIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupConnectionIamPolicyResultOutput
func (LookupConnectionIamPolicyResultOutput) AuditConfigs ¶ added in v0.8.0
func (o LookupConnectionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (LookupConnectionIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupConnectionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
func (LookupConnectionIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupConnectionIamPolicyResultOutput) ElementType() reflect.Type
func (LookupConnectionIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupConnectionIamPolicyResultOutput) Etag() pulumi.StringOutput
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
func (LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutput() LookupConnectionIamPolicyResultOutput
func (LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutputWithContext(ctx context.Context) LookupConnectionIamPolicyResultOutput
func (LookupConnectionIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupConnectionIamPolicyResultOutput) Version() pulumi.IntOutput
Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
type LookupConnectionOutputArgs ¶ added in v0.8.0
type LookupConnectionOutputArgs struct { ConnectionId pulumi.StringInput `pulumi:"connectionId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupConnectionOutputArgs) ElementType ¶ added in v0.8.0
func (LookupConnectionOutputArgs) ElementType() reflect.Type
type LookupConnectionResult ¶ added in v0.4.0
type LookupConnectionResult struct { // Cloud SQL properties. CloudSql CloudSqlPropertiesResponse `pulumi:"cloudSql"` // The creation timestamp of the connection. CreationTime string `pulumi:"creationTime"` // User provided description. Description string `pulumi:"description"` // User provided display name for the connection. FriendlyName string `pulumi:"friendlyName"` // True, if credential is configured for this connection. HasCredential bool `pulumi:"hasCredential"` // The last update timestamp of the connection. LastModifiedTime string `pulumi:"lastModifiedTime"` // The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` Name string `pulumi:"name"` }
func LookupConnection ¶ added in v0.4.0
func LookupConnection(ctx *pulumi.Context, args *LookupConnectionArgs, opts ...pulumi.InvokeOption) (*LookupConnectionResult, error)
Returns specified connection.
type LookupConnectionResultOutput ¶ added in v0.8.0
type LookupConnectionResultOutput struct{ *pulumi.OutputState }
func LookupConnectionOutput ¶ added in v0.8.0
func LookupConnectionOutput(ctx *pulumi.Context, args LookupConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupConnectionResultOutput
func (LookupConnectionResultOutput) CloudSql ¶ added in v0.8.0
func (o LookupConnectionResultOutput) CloudSql() CloudSqlPropertiesResponseOutput
Cloud SQL properties.
func (LookupConnectionResultOutput) CreationTime ¶ added in v0.8.0
func (o LookupConnectionResultOutput) CreationTime() pulumi.StringOutput
The creation timestamp of the connection.
func (LookupConnectionResultOutput) Description ¶ added in v0.8.0
func (o LookupConnectionResultOutput) Description() pulumi.StringOutput
User provided description.
func (LookupConnectionResultOutput) ElementType ¶ added in v0.8.0
func (LookupConnectionResultOutput) ElementType() reflect.Type
func (LookupConnectionResultOutput) FriendlyName ¶ added in v0.8.0
func (o LookupConnectionResultOutput) FriendlyName() pulumi.StringOutput
User provided display name for the connection.
func (LookupConnectionResultOutput) HasCredential ¶ added in v0.8.0
func (o LookupConnectionResultOutput) HasCredential() pulumi.BoolOutput
True, if credential is configured for this connection.
func (LookupConnectionResultOutput) LastModifiedTime ¶ added in v0.8.0
func (o LookupConnectionResultOutput) LastModifiedTime() pulumi.StringOutput
The last update timestamp of the connection.
func (LookupConnectionResultOutput) Name ¶ added in v0.8.0
func (o LookupConnectionResultOutput) Name() pulumi.StringOutput
The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
func (LookupConnectionResultOutput) ToLookupConnectionResultOutput ¶ added in v0.8.0
func (o LookupConnectionResultOutput) ToLookupConnectionResultOutput() LookupConnectionResultOutput
func (LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext ¶ added in v0.8.0
func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext(ctx context.Context) LookupConnectionResultOutput