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 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 Hub
- type HubArgs
- type HubIamBinding
- type HubIamBindingArgs
- type HubIamBindingInput
- type HubIamBindingOutput
- func (o HubIamBindingOutput) Condition() iam.ConditionPtrOutput
- func (HubIamBindingOutput) ElementType() reflect.Type
- func (o HubIamBindingOutput) Etag() pulumi.StringOutput
- func (o HubIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o HubIamBindingOutput) Name() pulumi.StringOutput
- func (o HubIamBindingOutput) Project() pulumi.StringOutput
- func (o HubIamBindingOutput) Role() pulumi.StringOutput
- func (o HubIamBindingOutput) ToHubIamBindingOutput() HubIamBindingOutput
- func (o HubIamBindingOutput) ToHubIamBindingOutputWithContext(ctx context.Context) HubIamBindingOutput
- type HubIamBindingState
- type HubIamMember
- type HubIamMemberArgs
- type HubIamMemberInput
- type HubIamMemberOutput
- func (o HubIamMemberOutput) Condition() iam.ConditionPtrOutput
- func (HubIamMemberOutput) ElementType() reflect.Type
- func (o HubIamMemberOutput) Etag() pulumi.StringOutput
- func (o HubIamMemberOutput) Member() pulumi.StringOutput
- func (o HubIamMemberOutput) Name() pulumi.StringOutput
- func (o HubIamMemberOutput) Project() pulumi.StringOutput
- func (o HubIamMemberOutput) Role() pulumi.StringOutput
- func (o HubIamMemberOutput) ToHubIamMemberOutput() HubIamMemberOutput
- func (o HubIamMemberOutput) ToHubIamMemberOutputWithContext(ctx context.Context) HubIamMemberOutput
- type HubIamMemberState
- type HubIamPolicy
- type HubIamPolicyArgs
- type HubIamPolicyInput
- type HubIamPolicyOutput
- func (o HubIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o HubIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (HubIamPolicyOutput) ElementType() reflect.Type
- func (o HubIamPolicyOutput) Etag() pulumi.StringOutput
- func (o HubIamPolicyOutput) HubId() pulumi.StringOutput
- func (o HubIamPolicyOutput) Project() pulumi.StringOutput
- func (o HubIamPolicyOutput) ToHubIamPolicyOutput() HubIamPolicyOutput
- func (o HubIamPolicyOutput) ToHubIamPolicyOutputWithContext(ctx context.Context) HubIamPolicyOutput
- func (o HubIamPolicyOutput) Version() pulumi.IntOutput
- type HubIamPolicyState
- type HubInput
- type HubOutput
- func (o HubOutput) CreateTime() pulumi.StringOutput
- func (o HubOutput) Description() pulumi.StringOutput
- func (HubOutput) ElementType() reflect.Type
- func (o HubOutput) HubId() pulumi.StringPtrOutput
- func (o HubOutput) Labels() pulumi.StringMapOutput
- func (o HubOutput) Name() pulumi.StringOutput
- func (o HubOutput) Project() pulumi.StringOutput
- func (o HubOutput) RequestId() pulumi.StringPtrOutput
- func (o HubOutput) Spokes() pulumi.StringArrayOutputdeprecated
- func (o HubOutput) State() pulumi.StringOutput
- func (o HubOutput) ToHubOutput() HubOutput
- func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput
- func (o HubOutput) UniqueId() pulumi.StringOutput
- func (o HubOutput) UpdateTime() pulumi.StringOutput
- type HubState
- type InternalRange
- type InternalRangeArgs
- type InternalRangeIamBinding
- type InternalRangeIamBindingArgs
- type InternalRangeIamBindingInput
- type InternalRangeIamBindingOutput
- func (o InternalRangeIamBindingOutput) Condition() iam.ConditionPtrOutput
- func (InternalRangeIamBindingOutput) ElementType() reflect.Type
- func (o InternalRangeIamBindingOutput) Etag() pulumi.StringOutput
- func (o InternalRangeIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o InternalRangeIamBindingOutput) Name() pulumi.StringOutput
- func (o InternalRangeIamBindingOutput) Project() pulumi.StringOutput
- func (o InternalRangeIamBindingOutput) Role() pulumi.StringOutput
- func (o InternalRangeIamBindingOutput) ToInternalRangeIamBindingOutput() InternalRangeIamBindingOutput
- func (o InternalRangeIamBindingOutput) ToInternalRangeIamBindingOutputWithContext(ctx context.Context) InternalRangeIamBindingOutput
- type InternalRangeIamBindingState
- type InternalRangeIamMember
- type InternalRangeIamMemberArgs
- type InternalRangeIamMemberInput
- type InternalRangeIamMemberOutput
- func (o InternalRangeIamMemberOutput) Condition() iam.ConditionPtrOutput
- func (InternalRangeIamMemberOutput) ElementType() reflect.Type
- func (o InternalRangeIamMemberOutput) Etag() pulumi.StringOutput
- func (o InternalRangeIamMemberOutput) Member() pulumi.StringOutput
- func (o InternalRangeIamMemberOutput) Name() pulumi.StringOutput
- func (o InternalRangeIamMemberOutput) Project() pulumi.StringOutput
- func (o InternalRangeIamMemberOutput) Role() pulumi.StringOutput
- func (o InternalRangeIamMemberOutput) ToInternalRangeIamMemberOutput() InternalRangeIamMemberOutput
- func (o InternalRangeIamMemberOutput) ToInternalRangeIamMemberOutputWithContext(ctx context.Context) InternalRangeIamMemberOutput
- type InternalRangeIamMemberState
- type InternalRangeIamPolicy
- type InternalRangeIamPolicyArgs
- type InternalRangeIamPolicyInput
- type InternalRangeIamPolicyOutput
- func (o InternalRangeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o InternalRangeIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (InternalRangeIamPolicyOutput) ElementType() reflect.Type
- func (o InternalRangeIamPolicyOutput) Etag() pulumi.StringOutput
- func (o InternalRangeIamPolicyOutput) InternalRangeId() pulumi.StringOutput
- func (o InternalRangeIamPolicyOutput) Location() pulumi.StringOutput
- func (o InternalRangeIamPolicyOutput) Project() pulumi.StringOutput
- func (o InternalRangeIamPolicyOutput) ToInternalRangeIamPolicyOutput() InternalRangeIamPolicyOutput
- func (o InternalRangeIamPolicyOutput) ToInternalRangeIamPolicyOutputWithContext(ctx context.Context) InternalRangeIamPolicyOutput
- func (o InternalRangeIamPolicyOutput) Version() pulumi.IntOutput
- type InternalRangeIamPolicyState
- type InternalRangeInput
- type InternalRangeOutput
- func (o InternalRangeOutput) CreateTime() pulumi.StringOutput
- func (o InternalRangeOutput) Description() pulumi.StringOutput
- func (InternalRangeOutput) ElementType() reflect.Type
- func (o InternalRangeOutput) InternalRangeId() pulumi.StringPtrOutput
- func (o InternalRangeOutput) IpCidrRange() pulumi.StringOutput
- func (o InternalRangeOutput) Labels() pulumi.StringMapOutput
- func (o InternalRangeOutput) Location() pulumi.StringOutput
- func (o InternalRangeOutput) Name() pulumi.StringOutput
- func (o InternalRangeOutput) Network() pulumi.StringOutput
- func (o InternalRangeOutput) Overlaps() pulumi.StringArrayOutput
- func (o InternalRangeOutput) Peering() pulumi.StringOutput
- func (o InternalRangeOutput) PrefixLength() pulumi.IntOutput
- func (o InternalRangeOutput) Project() pulumi.StringOutput
- func (o InternalRangeOutput) RequestId() pulumi.StringPtrOutput
- func (o InternalRangeOutput) TargetCidrRange() pulumi.StringArrayOutput
- func (o InternalRangeOutput) ToInternalRangeOutput() InternalRangeOutput
- func (o InternalRangeOutput) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput
- func (o InternalRangeOutput) UpdateTime() pulumi.StringOutput
- func (o InternalRangeOutput) Usage() pulumi.StringOutput
- func (o InternalRangeOutput) Users() pulumi.StringArrayOutput
- type InternalRangeOverlapsItem
- func (InternalRangeOverlapsItem) ElementType() reflect.Type
- func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemOutput() InternalRangeOverlapsItemOutput
- func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemOutputWithContext(ctx context.Context) InternalRangeOverlapsItemOutput
- func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemPtrOutput() InternalRangeOverlapsItemPtrOutput
- func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemPtrOutputWithContext(ctx context.Context) InternalRangeOverlapsItemPtrOutput
- func (e InternalRangeOverlapsItem) ToStringOutput() pulumi.StringOutput
- func (e InternalRangeOverlapsItem) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e InternalRangeOverlapsItem) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e InternalRangeOverlapsItem) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangeOverlapsItemArray
- func (InternalRangeOverlapsItemArray) ElementType() reflect.Type
- func (i InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutput() InternalRangeOverlapsItemArrayOutput
- func (i InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutputWithContext(ctx context.Context) InternalRangeOverlapsItemArrayOutput
- type InternalRangeOverlapsItemArrayInput
- type InternalRangeOverlapsItemArrayOutput
- func (InternalRangeOverlapsItemArrayOutput) ElementType() reflect.Type
- func (o InternalRangeOverlapsItemArrayOutput) Index(i pulumi.IntInput) InternalRangeOverlapsItemOutput
- func (o InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOutput() InternalRangeOverlapsItemArrayOutput
- func (o InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOutputWithContext(ctx context.Context) InternalRangeOverlapsItemArrayOutput
- type InternalRangeOverlapsItemInput
- type InternalRangeOverlapsItemOutput
- func (InternalRangeOverlapsItemOutput) ElementType() reflect.Type
- func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemOutput() InternalRangeOverlapsItemOutput
- func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemOutputWithContext(ctx context.Context) InternalRangeOverlapsItemOutput
- func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutput() InternalRangeOverlapsItemPtrOutput
- func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutputWithContext(ctx context.Context) InternalRangeOverlapsItemPtrOutput
- func (o InternalRangeOverlapsItemOutput) ToStringOutput() pulumi.StringOutput
- func (o InternalRangeOverlapsItemOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o InternalRangeOverlapsItemOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InternalRangeOverlapsItemOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangeOverlapsItemPtrInput
- type InternalRangeOverlapsItemPtrOutput
- func (o InternalRangeOverlapsItemPtrOutput) Elem() InternalRangeOverlapsItemOutput
- func (InternalRangeOverlapsItemPtrOutput) ElementType() reflect.Type
- func (o InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutput() InternalRangeOverlapsItemPtrOutput
- func (o InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutputWithContext(ctx context.Context) InternalRangeOverlapsItemPtrOutput
- func (o InternalRangeOverlapsItemPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InternalRangeOverlapsItemPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangePeering
- func (InternalRangePeering) ElementType() reflect.Type
- func (e InternalRangePeering) ToInternalRangePeeringOutput() InternalRangePeeringOutput
- func (e InternalRangePeering) ToInternalRangePeeringOutputWithContext(ctx context.Context) InternalRangePeeringOutput
- func (e InternalRangePeering) ToInternalRangePeeringPtrOutput() InternalRangePeeringPtrOutput
- func (e InternalRangePeering) ToInternalRangePeeringPtrOutputWithContext(ctx context.Context) InternalRangePeeringPtrOutput
- func (e InternalRangePeering) ToStringOutput() pulumi.StringOutput
- func (e InternalRangePeering) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e InternalRangePeering) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e InternalRangePeering) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangePeeringInput
- type InternalRangePeeringOutput
- func (InternalRangePeeringOutput) ElementType() reflect.Type
- func (o InternalRangePeeringOutput) ToInternalRangePeeringOutput() InternalRangePeeringOutput
- func (o InternalRangePeeringOutput) ToInternalRangePeeringOutputWithContext(ctx context.Context) InternalRangePeeringOutput
- func (o InternalRangePeeringOutput) ToInternalRangePeeringPtrOutput() InternalRangePeeringPtrOutput
- func (o InternalRangePeeringOutput) ToInternalRangePeeringPtrOutputWithContext(ctx context.Context) InternalRangePeeringPtrOutput
- func (o InternalRangePeeringOutput) ToStringOutput() pulumi.StringOutput
- func (o InternalRangePeeringOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o InternalRangePeeringOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InternalRangePeeringOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangePeeringPtrInput
- type InternalRangePeeringPtrOutput
- func (o InternalRangePeeringPtrOutput) Elem() InternalRangePeeringOutput
- func (InternalRangePeeringPtrOutput) ElementType() reflect.Type
- func (o InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutput() InternalRangePeeringPtrOutput
- func (o InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutputWithContext(ctx context.Context) InternalRangePeeringPtrOutput
- func (o InternalRangePeeringPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InternalRangePeeringPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangeState
- type InternalRangeUsage
- func (InternalRangeUsage) ElementType() reflect.Type
- func (e InternalRangeUsage) ToInternalRangeUsageOutput() InternalRangeUsageOutput
- func (e InternalRangeUsage) ToInternalRangeUsageOutputWithContext(ctx context.Context) InternalRangeUsageOutput
- func (e InternalRangeUsage) ToInternalRangeUsagePtrOutput() InternalRangeUsagePtrOutput
- func (e InternalRangeUsage) ToInternalRangeUsagePtrOutputWithContext(ctx context.Context) InternalRangeUsagePtrOutput
- func (e InternalRangeUsage) ToStringOutput() pulumi.StringOutput
- func (e InternalRangeUsage) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e InternalRangeUsage) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e InternalRangeUsage) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangeUsageInput
- type InternalRangeUsageOutput
- func (InternalRangeUsageOutput) ElementType() reflect.Type
- func (o InternalRangeUsageOutput) ToInternalRangeUsageOutput() InternalRangeUsageOutput
- func (o InternalRangeUsageOutput) ToInternalRangeUsageOutputWithContext(ctx context.Context) InternalRangeUsageOutput
- func (o InternalRangeUsageOutput) ToInternalRangeUsagePtrOutput() InternalRangeUsagePtrOutput
- func (o InternalRangeUsageOutput) ToInternalRangeUsagePtrOutputWithContext(ctx context.Context) InternalRangeUsagePtrOutput
- func (o InternalRangeUsageOutput) ToStringOutput() pulumi.StringOutput
- func (o InternalRangeUsageOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o InternalRangeUsageOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InternalRangeUsageOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternalRangeUsagePtrInput
- type InternalRangeUsagePtrOutput
- func (o InternalRangeUsagePtrOutput) Elem() InternalRangeUsageOutput
- func (InternalRangeUsagePtrOutput) ElementType() reflect.Type
- func (o InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutput() InternalRangeUsagePtrOutput
- func (o InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutputWithContext(ctx context.Context) InternalRangeUsagePtrOutput
- func (o InternalRangeUsagePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InternalRangeUsagePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LookupHubArgs
- type LookupHubIamPolicyArgs
- type LookupHubIamPolicyOutputArgs
- type LookupHubIamPolicyResult
- type LookupHubIamPolicyResultOutput
- func (o LookupHubIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o LookupHubIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupHubIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupHubIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutput() LookupHubIamPolicyResultOutput
- func (o LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutputWithContext(ctx context.Context) LookupHubIamPolicyResultOutput
- func (o LookupHubIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupHubOutputArgs
- type LookupHubResult
- type LookupHubResultOutput
- func (o LookupHubResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupHubResultOutput) Description() pulumi.StringOutput
- func (LookupHubResultOutput) ElementType() reflect.Type
- func (o LookupHubResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupHubResultOutput) Name() pulumi.StringOutput
- func (o LookupHubResultOutput) Spokes() pulumi.StringArrayOutputdeprecated
- func (o LookupHubResultOutput) State() pulumi.StringOutput
- func (o LookupHubResultOutput) ToLookupHubResultOutput() LookupHubResultOutput
- func (o LookupHubResultOutput) ToLookupHubResultOutputWithContext(ctx context.Context) LookupHubResultOutput
- func (o LookupHubResultOutput) UniqueId() pulumi.StringOutput
- func (o LookupHubResultOutput) UpdateTime() pulumi.StringOutput
- type LookupInternalRangeArgs
- type LookupInternalRangeIamPolicyArgs
- type LookupInternalRangeIamPolicyOutputArgs
- type LookupInternalRangeIamPolicyResult
- type LookupInternalRangeIamPolicyResultOutput
- func (o LookupInternalRangeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o LookupInternalRangeIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupInternalRangeIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupInternalRangeIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupInternalRangeIamPolicyResultOutput) ToLookupInternalRangeIamPolicyResultOutput() LookupInternalRangeIamPolicyResultOutput
- func (o LookupInternalRangeIamPolicyResultOutput) ToLookupInternalRangeIamPolicyResultOutputWithContext(ctx context.Context) LookupInternalRangeIamPolicyResultOutput
- func (o LookupInternalRangeIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupInternalRangeOutputArgs
- type LookupInternalRangeResult
- type LookupInternalRangeResultOutput
- func (o LookupInternalRangeResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupInternalRangeResultOutput) Description() pulumi.StringOutput
- func (LookupInternalRangeResultOutput) ElementType() reflect.Type
- func (o LookupInternalRangeResultOutput) IpCidrRange() pulumi.StringOutput
- func (o LookupInternalRangeResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupInternalRangeResultOutput) Name() pulumi.StringOutput
- func (o LookupInternalRangeResultOutput) Network() pulumi.StringOutput
- func (o LookupInternalRangeResultOutput) Overlaps() pulumi.StringArrayOutput
- func (o LookupInternalRangeResultOutput) Peering() pulumi.StringOutput
- func (o LookupInternalRangeResultOutput) PrefixLength() pulumi.IntOutput
- func (o LookupInternalRangeResultOutput) TargetCidrRange() pulumi.StringArrayOutput
- func (o LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutput() LookupInternalRangeResultOutput
- func (o LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutputWithContext(ctx context.Context) LookupInternalRangeResultOutput
- func (o LookupInternalRangeResultOutput) UpdateTime() pulumi.StringOutput
- func (o LookupInternalRangeResultOutput) Usage() pulumi.StringOutput
- func (o LookupInternalRangeResultOutput) Users() pulumi.StringArrayOutput
- type LookupSpokeArgs
- type LookupSpokeIamPolicyArgs
- type LookupSpokeIamPolicyOutputArgs
- type LookupSpokeIamPolicyResult
- type LookupSpokeIamPolicyResultOutput
- func (o LookupSpokeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o LookupSpokeIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupSpokeIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSpokeIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutput() LookupSpokeIamPolicyResultOutput
- func (o LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutputWithContext(ctx context.Context) LookupSpokeIamPolicyResultOutput
- func (o LookupSpokeIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupSpokeOutputArgs
- type LookupSpokeResult
- type LookupSpokeResultOutput
- func (o LookupSpokeResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupSpokeResultOutput) Description() pulumi.StringOutput
- func (LookupSpokeResultOutput) ElementType() reflect.Type
- func (o LookupSpokeResultOutput) Hub() pulumi.StringOutput
- func (o LookupSpokeResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupSpokeResultOutput) LinkedInterconnectAttachments() pulumi.StringArrayOutput
- func (o LookupSpokeResultOutput) LinkedRouterApplianceInstances() RouterApplianceInstanceResponseArrayOutput
- func (o LookupSpokeResultOutput) LinkedVpnTunnels() pulumi.StringArrayOutput
- func (o LookupSpokeResultOutput) Name() pulumi.StringOutput
- func (o LookupSpokeResultOutput) State() pulumi.StringOutput
- func (o LookupSpokeResultOutput) ToLookupSpokeResultOutput() LookupSpokeResultOutput
- func (o LookupSpokeResultOutput) ToLookupSpokeResultOutputWithContext(ctx context.Context) LookupSpokeResultOutput
- func (o LookupSpokeResultOutput) UniqueId() pulumi.StringOutput
- func (o LookupSpokeResultOutput) UpdateTime() pulumi.StringOutput
- type RouterApplianceInstance
- type RouterApplianceInstanceArgs
- type RouterApplianceInstanceArray
- func (RouterApplianceInstanceArray) ElementType() reflect.Type
- func (i RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutput() RouterApplianceInstanceArrayOutput
- func (i RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutputWithContext(ctx context.Context) RouterApplianceInstanceArrayOutput
- type RouterApplianceInstanceArrayInput
- type RouterApplianceInstanceArrayOutput
- func (RouterApplianceInstanceArrayOutput) ElementType() reflect.Type
- func (o RouterApplianceInstanceArrayOutput) Index(i pulumi.IntInput) RouterApplianceInstanceOutput
- func (o RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutput() RouterApplianceInstanceArrayOutput
- func (o RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutputWithContext(ctx context.Context) RouterApplianceInstanceArrayOutput
- type RouterApplianceInstanceInput
- type RouterApplianceInstanceOutput
- func (RouterApplianceInstanceOutput) ElementType() reflect.Type
- func (o RouterApplianceInstanceOutput) IpAddress() pulumi.StringPtrOutput
- func (o RouterApplianceInstanceOutput) NetworkInterface() pulumi.StringPtrOutput
- func (o RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutput() RouterApplianceInstanceOutput
- func (o RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutputWithContext(ctx context.Context) RouterApplianceInstanceOutput
- func (o RouterApplianceInstanceOutput) VirtualMachine() pulumi.StringPtrOutput
- type RouterApplianceInstanceResponse
- type RouterApplianceInstanceResponseArrayOutput
- func (RouterApplianceInstanceResponseArrayOutput) ElementType() reflect.Type
- func (o RouterApplianceInstanceResponseArrayOutput) Index(i pulumi.IntInput) RouterApplianceInstanceResponseOutput
- func (o RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceResponseArrayOutput() RouterApplianceInstanceResponseArrayOutput
- func (o RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceResponseArrayOutputWithContext(ctx context.Context) RouterApplianceInstanceResponseArrayOutput
- type RouterApplianceInstanceResponseOutput
- func (RouterApplianceInstanceResponseOutput) ElementType() reflect.Type
- func (o RouterApplianceInstanceResponseOutput) IpAddress() pulumi.StringOutput
- func (o RouterApplianceInstanceResponseOutput) NetworkInterface() pulumi.StringOutput
- func (o RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponseOutput() RouterApplianceInstanceResponseOutput
- func (o RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponseOutputWithContext(ctx context.Context) RouterApplianceInstanceResponseOutput
- func (o RouterApplianceInstanceResponseOutput) VirtualMachine() pulumi.StringOutput
- type Spoke
- type SpokeArgs
- type SpokeIamBinding
- type SpokeIamBindingArgs
- type SpokeIamBindingInput
- type SpokeIamBindingOutput
- func (o SpokeIamBindingOutput) Condition() iam.ConditionPtrOutput
- func (SpokeIamBindingOutput) ElementType() reflect.Type
- func (o SpokeIamBindingOutput) Etag() pulumi.StringOutput
- func (o SpokeIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o SpokeIamBindingOutput) Name() pulumi.StringOutput
- func (o SpokeIamBindingOutput) Project() pulumi.StringOutput
- func (o SpokeIamBindingOutput) Role() pulumi.StringOutput
- func (o SpokeIamBindingOutput) ToSpokeIamBindingOutput() SpokeIamBindingOutput
- func (o SpokeIamBindingOutput) ToSpokeIamBindingOutputWithContext(ctx context.Context) SpokeIamBindingOutput
- type SpokeIamBindingState
- type SpokeIamMember
- type SpokeIamMemberArgs
- type SpokeIamMemberInput
- type SpokeIamMemberOutput
- func (o SpokeIamMemberOutput) Condition() iam.ConditionPtrOutput
- func (SpokeIamMemberOutput) ElementType() reflect.Type
- func (o SpokeIamMemberOutput) Etag() pulumi.StringOutput
- func (o SpokeIamMemberOutput) Member() pulumi.StringOutput
- func (o SpokeIamMemberOutput) Name() pulumi.StringOutput
- func (o SpokeIamMemberOutput) Project() pulumi.StringOutput
- func (o SpokeIamMemberOutput) Role() pulumi.StringOutput
- func (o SpokeIamMemberOutput) ToSpokeIamMemberOutput() SpokeIamMemberOutput
- func (o SpokeIamMemberOutput) ToSpokeIamMemberOutputWithContext(ctx context.Context) SpokeIamMemberOutput
- type SpokeIamMemberState
- type SpokeIamPolicy
- type SpokeIamPolicyArgs
- type SpokeIamPolicyInput
- type SpokeIamPolicyOutput
- func (o SpokeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
- func (o SpokeIamPolicyOutput) Bindings() BindingResponseArrayOutput
- func (SpokeIamPolicyOutput) ElementType() reflect.Type
- func (o SpokeIamPolicyOutput) Etag() pulumi.StringOutput
- func (o SpokeIamPolicyOutput) Location() pulumi.StringOutput
- func (o SpokeIamPolicyOutput) Project() pulumi.StringOutput
- func (o SpokeIamPolicyOutput) SpokeId() pulumi.StringOutput
- func (o SpokeIamPolicyOutput) ToSpokeIamPolicyOutput() SpokeIamPolicyOutput
- func (o SpokeIamPolicyOutput) ToSpokeIamPolicyOutputWithContext(ctx context.Context) SpokeIamPolicyOutput
- func (o SpokeIamPolicyOutput) Version() pulumi.IntOutput
- type SpokeIamPolicyState
- type SpokeInput
- type SpokeOutput
- func (o SpokeOutput) CreateTime() pulumi.StringOutput
- func (o SpokeOutput) Description() pulumi.StringOutput
- func (SpokeOutput) ElementType() reflect.Type
- func (o SpokeOutput) Hub() pulumi.StringOutput
- func (o SpokeOutput) Labels() pulumi.StringMapOutput
- func (o SpokeOutput) LinkedInterconnectAttachments() pulumi.StringArrayOutput
- func (o SpokeOutput) LinkedRouterApplianceInstances() RouterApplianceInstanceResponseArrayOutput
- func (o SpokeOutput) LinkedVpnTunnels() pulumi.StringArrayOutput
- func (o SpokeOutput) Location() pulumi.StringOutput
- func (o SpokeOutput) Name() pulumi.StringOutput
- func (o SpokeOutput) Project() pulumi.StringOutput
- func (o SpokeOutput) RequestId() pulumi.StringPtrOutput
- func (o SpokeOutput) SpokeId() pulumi.StringPtrOutput
- func (o SpokeOutput) State() pulumi.StringOutput
- func (o SpokeOutput) ToSpokeOutput() SpokeOutput
- func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
- func (o SpokeOutput) UniqueId() pulumi.StringOutput
- func (o SpokeOutput) UpdateTime() pulumi.StringOutput
- type SpokeState
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 ( // No overlap overrides. InternalRangeOverlapsItemOverlapUnspecified = InternalRangeOverlapsItem("OVERLAP_UNSPECIFIED") // Allow creation of static routes more specific than the current internal range. InternalRangeOverlapsItemOverlapRouteRange = InternalRangeOverlapsItem("OVERLAP_ROUTE_RANGE") // Allow creation of internal ranges that overlap with existing subnets. InternalRangeOverlapsItemOverlapExistingSubnetRange = InternalRangeOverlapsItem("OVERLAP_EXISTING_SUBNET_RANGE") )
const ( // If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF. InternalRangePeeringPeeringUnspecified = InternalRangePeering("PEERING_UNSPECIFIED") // This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range. InternalRangePeeringForSelf = InternalRangePeering("FOR_SELF") // This behavior can be set when the internal range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use. InternalRangePeeringForPeer = InternalRangePeering("FOR_PEER") InternalRangePeeringNotShared = InternalRangePeering("NOT_SHARED") )
const ( // Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls. InternalRangeUsageUsageUnspecified = InternalRangeUsage("USAGE_UNSPECIFIED") // A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC. InternalRangeUsageForVpc = InternalRangeUsage("FOR_VPC") // Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases such as usage on-premises, with dynamic route announcements via Interconnect. InternalRangeUsageExternalToVpc = InternalRangeUsage("EXTERNAL_TO_VPC") )
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 values of the AuditLogConfigLogType enum A concrete instance of `AuditLogConfigLogTypeInput` can be one of the following:
AuditLogConfigLogTypeLogTypeUnspecified AuditLogConfigLogTypeAdminRead AuditLogConfigLogTypeDataWrite AuditLogConfigLogTypeDataRead
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 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 Hub ¶
type Hub struct { pulumi.CustomResourceState // Time when the Hub was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Short description of the hub resource. Description pulumi.StringOutput `pulumi:"description"` // Optional. Unique id for the Hub to create. HubId pulumi.StringPtrOutput `pulumi:"hubId"` // User-defined labels. Labels pulumi.StringMapOutput `pulumi:"labels"` // Immutable. The name of a Hub resource. Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). RequestId pulumi.StringPtrOutput `pulumi:"requestId"` // A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. // // Deprecated: Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. Spokes pulumi.StringArrayOutput `pulumi:"spokes"` // The current lifecycle state of this Hub. State pulumi.StringOutput `pulumi:"state"` // Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id. UniqueId pulumi.StringOutput `pulumi:"uniqueId"` // Time when the Hub was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Creates a new Network Connectivity Center hub in the specified project.
func GetHub ¶
func GetHub(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HubState, opts ...pulumi.ResourceOption) (*Hub, error)
GetHub gets an existing Hub 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 NewHub ¶
func NewHub(ctx *pulumi.Context, name string, args *HubArgs, opts ...pulumi.ResourceOption) (*Hub, error)
NewHub registers a new resource with the given unique name, arguments, and options.
func (*Hub) ElementType ¶
func (*Hub) ToHubOutput ¶
type HubArgs ¶
type HubArgs struct { // Time when the Hub was created. CreateTime pulumi.StringPtrInput // Short description of the hub resource. Description pulumi.StringPtrInput // Optional. Unique id for the Hub to create. HubId pulumi.StringPtrInput // User-defined labels. Labels pulumi.StringMapInput // Immutable. The name of a Hub resource. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). RequestId pulumi.StringPtrInput // Time when the Hub was updated. UpdateTime pulumi.StringPtrInput }
The set of arguments for constructing a Hub resource.
func (HubArgs) ElementType ¶
type HubIamBinding ¶ added in v0.26.0
type HubIamBinding 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 GetHubIamBinding ¶ added in v0.26.0
func GetHubIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HubIamBindingState, opts ...pulumi.ResourceOption) (*HubIamBinding, error)
GetHubIamBinding gets an existing HubIamBinding 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 NewHubIamBinding ¶ added in v0.26.0
func NewHubIamBinding(ctx *pulumi.Context, name string, args *HubIamBindingArgs, opts ...pulumi.ResourceOption) (*HubIamBinding, error)
NewHubIamBinding registers a new resource with the given unique name, arguments, and options.
func (*HubIamBinding) ElementType ¶ added in v0.26.0
func (*HubIamBinding) ElementType() reflect.Type
func (*HubIamBinding) ToHubIamBindingOutput ¶ added in v0.26.0
func (i *HubIamBinding) ToHubIamBindingOutput() HubIamBindingOutput
func (*HubIamBinding) ToHubIamBindingOutputWithContext ¶ added in v0.26.0
func (i *HubIamBinding) ToHubIamBindingOutputWithContext(ctx context.Context) HubIamBindingOutput
type HubIamBindingArgs ¶ added in v0.26.0
type HubIamBindingArgs 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 HubIamBinding resource.
func (HubIamBindingArgs) ElementType ¶ added in v0.26.0
func (HubIamBindingArgs) ElementType() reflect.Type
type HubIamBindingInput ¶ added in v0.26.0
type HubIamBindingInput interface { pulumi.Input ToHubIamBindingOutput() HubIamBindingOutput ToHubIamBindingOutputWithContext(ctx context.Context) HubIamBindingOutput }
type HubIamBindingOutput ¶ added in v0.26.0
type HubIamBindingOutput struct{ *pulumi.OutputState }
func (HubIamBindingOutput) Condition ¶ added in v0.26.0
func (o HubIamBindingOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (HubIamBindingOutput) ElementType ¶ added in v0.26.0
func (HubIamBindingOutput) ElementType() reflect.Type
func (HubIamBindingOutput) Etag ¶ added in v0.26.0
func (o HubIamBindingOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (HubIamBindingOutput) Members ¶ added in v0.26.0
func (o HubIamBindingOutput) 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 (HubIamBindingOutput) Name ¶ added in v0.26.0
func (o HubIamBindingOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (HubIamBindingOutput) Project ¶ added in v0.26.0
func (o HubIamBindingOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (HubIamBindingOutput) Role ¶ added in v0.26.0
func (o HubIamBindingOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (HubIamBindingOutput) ToHubIamBindingOutput ¶ added in v0.26.0
func (o HubIamBindingOutput) ToHubIamBindingOutput() HubIamBindingOutput
func (HubIamBindingOutput) ToHubIamBindingOutputWithContext ¶ added in v0.26.0
func (o HubIamBindingOutput) ToHubIamBindingOutputWithContext(ctx context.Context) HubIamBindingOutput
type HubIamBindingState ¶ added in v0.26.0
type HubIamBindingState struct { }
func (HubIamBindingState) ElementType ¶ added in v0.26.0
func (HubIamBindingState) ElementType() reflect.Type
type HubIamMember ¶ added in v0.26.0
type HubIamMember 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 GetHubIamMember ¶ added in v0.26.0
func GetHubIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HubIamMemberState, opts ...pulumi.ResourceOption) (*HubIamMember, error)
GetHubIamMember gets an existing HubIamMember 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 NewHubIamMember ¶ added in v0.26.0
func NewHubIamMember(ctx *pulumi.Context, name string, args *HubIamMemberArgs, opts ...pulumi.ResourceOption) (*HubIamMember, error)
NewHubIamMember registers a new resource with the given unique name, arguments, and options.
func (*HubIamMember) ElementType ¶ added in v0.26.0
func (*HubIamMember) ElementType() reflect.Type
func (*HubIamMember) ToHubIamMemberOutput ¶ added in v0.26.0
func (i *HubIamMember) ToHubIamMemberOutput() HubIamMemberOutput
func (*HubIamMember) ToHubIamMemberOutputWithContext ¶ added in v0.26.0
func (i *HubIamMember) ToHubIamMemberOutputWithContext(ctx context.Context) HubIamMemberOutput
type HubIamMemberArgs ¶ added in v0.26.0
type HubIamMemberArgs 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 HubIamMember resource.
func (HubIamMemberArgs) ElementType ¶ added in v0.26.0
func (HubIamMemberArgs) ElementType() reflect.Type
type HubIamMemberInput ¶ added in v0.26.0
type HubIamMemberInput interface { pulumi.Input ToHubIamMemberOutput() HubIamMemberOutput ToHubIamMemberOutputWithContext(ctx context.Context) HubIamMemberOutput }
type HubIamMemberOutput ¶ added in v0.26.0
type HubIamMemberOutput struct{ *pulumi.OutputState }
func (HubIamMemberOutput) Condition ¶ added in v0.26.0
func (o HubIamMemberOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (HubIamMemberOutput) ElementType ¶ added in v0.26.0
func (HubIamMemberOutput) ElementType() reflect.Type
func (HubIamMemberOutput) Etag ¶ added in v0.26.0
func (o HubIamMemberOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (HubIamMemberOutput) Member ¶ added in v0.26.0
func (o HubIamMemberOutput) 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 (HubIamMemberOutput) Name ¶ added in v0.26.0
func (o HubIamMemberOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (HubIamMemberOutput) Project ¶ added in v0.26.0
func (o HubIamMemberOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (HubIamMemberOutput) Role ¶ added in v0.26.0
func (o HubIamMemberOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (HubIamMemberOutput) ToHubIamMemberOutput ¶ added in v0.26.0
func (o HubIamMemberOutput) ToHubIamMemberOutput() HubIamMemberOutput
func (HubIamMemberOutput) ToHubIamMemberOutputWithContext ¶ added in v0.26.0
func (o HubIamMemberOutput) ToHubIamMemberOutputWithContext(ctx context.Context) HubIamMemberOutput
type HubIamMemberState ¶ added in v0.26.0
type HubIamMemberState struct { }
func (HubIamMemberState) ElementType ¶ added in v0.26.0
func (HubIamMemberState) ElementType() reflect.Type
type HubIamPolicy ¶
type HubIamPolicy 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"` // `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"` HubId pulumi.StringOutput `pulumi:"hubId"` 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 GetHubIamPolicy ¶
func GetHubIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HubIamPolicyState, opts ...pulumi.ResourceOption) (*HubIamPolicy, error)
GetHubIamPolicy gets an existing HubIamPolicy 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 NewHubIamPolicy ¶
func NewHubIamPolicy(ctx *pulumi.Context, name string, args *HubIamPolicyArgs, opts ...pulumi.ResourceOption) (*HubIamPolicy, error)
NewHubIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*HubIamPolicy) ElementType ¶
func (*HubIamPolicy) ElementType() reflect.Type
func (*HubIamPolicy) ToHubIamPolicyOutput ¶
func (i *HubIamPolicy) ToHubIamPolicyOutput() HubIamPolicyOutput
func (*HubIamPolicy) ToHubIamPolicyOutputWithContext ¶
func (i *HubIamPolicy) ToHubIamPolicyOutputWithContext(ctx context.Context) HubIamPolicyOutput
type HubIamPolicyArgs ¶
type HubIamPolicyArgs 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 // `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 HubId pulumi.StringInput 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 HubIamPolicy resource.
func (HubIamPolicyArgs) ElementType ¶
func (HubIamPolicyArgs) ElementType() reflect.Type
type HubIamPolicyInput ¶
type HubIamPolicyInput interface { pulumi.Input ToHubIamPolicyOutput() HubIamPolicyOutput ToHubIamPolicyOutputWithContext(ctx context.Context) HubIamPolicyOutput }
type HubIamPolicyOutput ¶
type HubIamPolicyOutput struct{ *pulumi.OutputState }
func (HubIamPolicyOutput) AuditConfigs ¶ added in v0.19.0
func (o HubIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (HubIamPolicyOutput) Bindings ¶ added in v0.19.0
func (o HubIamPolicyOutput) 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 (HubIamPolicyOutput) ElementType ¶
func (HubIamPolicyOutput) ElementType() reflect.Type
func (HubIamPolicyOutput) Etag ¶ added in v0.19.0
func (o HubIamPolicyOutput) 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 (HubIamPolicyOutput) HubId ¶ added in v0.21.0
func (o HubIamPolicyOutput) HubId() pulumi.StringOutput
func (HubIamPolicyOutput) Project ¶ added in v0.21.0
func (o HubIamPolicyOutput) Project() pulumi.StringOutput
func (HubIamPolicyOutput) ToHubIamPolicyOutput ¶
func (o HubIamPolicyOutput) ToHubIamPolicyOutput() HubIamPolicyOutput
func (HubIamPolicyOutput) ToHubIamPolicyOutputWithContext ¶
func (o HubIamPolicyOutput) ToHubIamPolicyOutputWithContext(ctx context.Context) HubIamPolicyOutput
func (HubIamPolicyOutput) Version ¶ added in v0.19.0
func (o HubIamPolicyOutput) 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 HubIamPolicyState ¶
type HubIamPolicyState struct { }
func (HubIamPolicyState) ElementType ¶
func (HubIamPolicyState) ElementType() reflect.Type
type HubOutput ¶
type HubOutput struct{ *pulumi.OutputState }
func (HubOutput) CreateTime ¶ added in v0.19.0
func (o HubOutput) CreateTime() pulumi.StringOutput
Time when the Hub was created.
func (HubOutput) Description ¶ added in v0.19.0
func (o HubOutput) Description() pulumi.StringOutput
Short description of the hub resource.
func (HubOutput) ElementType ¶
func (HubOutput) HubId ¶ added in v0.21.0
func (o HubOutput) HubId() pulumi.StringPtrOutput
Optional. Unique id for the Hub to create.
func (HubOutput) Labels ¶ added in v0.19.0
func (o HubOutput) Labels() pulumi.StringMapOutput
User-defined labels.
func (HubOutput) Name ¶ added in v0.19.0
func (o HubOutput) Name() pulumi.StringOutput
Immutable. The name of a Hub resource.
func (HubOutput) Project ¶ added in v0.21.0
func (o HubOutput) Project() pulumi.StringOutput
func (HubOutput) RequestId ¶ added in v0.21.0
func (o HubOutput) RequestId() pulumi.StringPtrOutput
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
func (HubOutput) Spokes
deprecated
added in
v0.19.0
func (o HubOutput) Spokes() pulumi.StringArrayOutput
A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.
Deprecated: Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.
func (HubOutput) State ¶ added in v0.19.0
func (o HubOutput) State() pulumi.StringOutput
The current lifecycle state of this Hub.
func (HubOutput) ToHubOutput ¶
func (HubOutput) ToHubOutputWithContext ¶
func (HubOutput) UniqueId ¶ added in v0.19.0
func (o HubOutput) UniqueId() pulumi.StringOutput
Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.
func (HubOutput) UpdateTime ¶ added in v0.19.0
func (o HubOutput) UpdateTime() pulumi.StringOutput
Time when the Hub was updated.
type InternalRange ¶ added in v0.28.0
type InternalRange struct { pulumi.CustomResourceState // Time when the internal range was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A description of this resource. Description pulumi.StringOutput `pulumi:"description"` // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/internalRanges/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. InternalRangeId pulumi.StringPtrOutput `pulumi:"internalRangeId"` // IP range that this internal range defines. IpCidrRange pulumi.StringOutput `pulumi:"ipCidrRange"` // User-defined labels. Labels pulumi.StringMapOutput `pulumi:"labels"` Location pulumi.StringOutput `pulumi:"location"` // Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names Name pulumi.StringOutput `pulumi:"name"` // The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123 Network pulumi.StringOutput `pulumi:"network"` // Optional. Types of resources that are allowed to overlap with the current internal range. Overlaps pulumi.StringArrayOutput `pulumi:"overlaps"` // The type of peering set for this internal range. Peering pulumi.StringOutput `pulumi:"peering"` // An alternative to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. PrefixLength pulumi.IntOutput `pulumi:"prefixLength"` Project pulumi.StringOutput `pulumi:"project"` // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). RequestId pulumi.StringPtrOutput `pulumi:"requestId"` // Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRange pulumi.StringArrayOutput `pulumi:"targetCidrRange"` // Time when the internal range was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // The type of usage set for this internal range. Usage pulumi.StringOutput `pulumi:"usage"` // The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty. Users pulumi.StringArrayOutput `pulumi:"users"` }
Creates a new internal range in a given project and location.
func GetInternalRange ¶ added in v0.28.0
func GetInternalRange(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternalRangeState, opts ...pulumi.ResourceOption) (*InternalRange, error)
GetInternalRange gets an existing InternalRange 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 NewInternalRange ¶ added in v0.28.0
func NewInternalRange(ctx *pulumi.Context, name string, args *InternalRangeArgs, opts ...pulumi.ResourceOption) (*InternalRange, error)
NewInternalRange registers a new resource with the given unique name, arguments, and options.
func (*InternalRange) ElementType ¶ added in v0.28.0
func (*InternalRange) ElementType() reflect.Type
func (*InternalRange) ToInternalRangeOutput ¶ added in v0.28.0
func (i *InternalRange) ToInternalRangeOutput() InternalRangeOutput
func (*InternalRange) ToInternalRangeOutputWithContext ¶ added in v0.28.0
func (i *InternalRange) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput
type InternalRangeArgs ¶ added in v0.28.0
type InternalRangeArgs struct { // Time when the internal range was created. CreateTime pulumi.StringPtrInput // A description of this resource. Description pulumi.StringPtrInput // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/internalRanges/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. InternalRangeId pulumi.StringPtrInput // IP range that this internal range defines. IpCidrRange pulumi.StringPtrInput // User-defined labels. Labels pulumi.StringMapInput Location pulumi.StringPtrInput // Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names Name pulumi.StringPtrInput // The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123 Network pulumi.StringPtrInput // Optional. Types of resources that are allowed to overlap with the current internal range. Overlaps InternalRangeOverlapsItemArrayInput // The type of peering set for this internal range. Peering InternalRangePeeringPtrInput // An alternative to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. PrefixLength pulumi.IntPtrInput Project pulumi.StringPtrInput // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). RequestId pulumi.StringPtrInput // Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRange pulumi.StringArrayInput // Time when the internal range was updated. UpdateTime pulumi.StringPtrInput // The type of usage set for this internal range. Usage InternalRangeUsagePtrInput }
The set of arguments for constructing a InternalRange resource.
func (InternalRangeArgs) ElementType ¶ added in v0.28.0
func (InternalRangeArgs) ElementType() reflect.Type
type InternalRangeIamBinding ¶ added in v0.26.0
type InternalRangeIamBinding 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 GetInternalRangeIamBinding ¶ added in v0.26.0
func GetInternalRangeIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternalRangeIamBindingState, opts ...pulumi.ResourceOption) (*InternalRangeIamBinding, error)
GetInternalRangeIamBinding gets an existing InternalRangeIamBinding 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 NewInternalRangeIamBinding ¶ added in v0.26.0
func NewInternalRangeIamBinding(ctx *pulumi.Context, name string, args *InternalRangeIamBindingArgs, opts ...pulumi.ResourceOption) (*InternalRangeIamBinding, error)
NewInternalRangeIamBinding registers a new resource with the given unique name, arguments, and options.
func (*InternalRangeIamBinding) ElementType ¶ added in v0.26.0
func (*InternalRangeIamBinding) ElementType() reflect.Type
func (*InternalRangeIamBinding) ToInternalRangeIamBindingOutput ¶ added in v0.26.0
func (i *InternalRangeIamBinding) ToInternalRangeIamBindingOutput() InternalRangeIamBindingOutput
func (*InternalRangeIamBinding) ToInternalRangeIamBindingOutputWithContext ¶ added in v0.26.0
func (i *InternalRangeIamBinding) ToInternalRangeIamBindingOutputWithContext(ctx context.Context) InternalRangeIamBindingOutput
type InternalRangeIamBindingArgs ¶ added in v0.26.0
type InternalRangeIamBindingArgs 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 InternalRangeIamBinding resource.
func (InternalRangeIamBindingArgs) ElementType ¶ added in v0.26.0
func (InternalRangeIamBindingArgs) ElementType() reflect.Type
type InternalRangeIamBindingInput ¶ added in v0.26.0
type InternalRangeIamBindingInput interface { pulumi.Input ToInternalRangeIamBindingOutput() InternalRangeIamBindingOutput ToInternalRangeIamBindingOutputWithContext(ctx context.Context) InternalRangeIamBindingOutput }
type InternalRangeIamBindingOutput ¶ added in v0.26.0
type InternalRangeIamBindingOutput struct{ *pulumi.OutputState }
func (InternalRangeIamBindingOutput) Condition ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (InternalRangeIamBindingOutput) ElementType ¶ added in v0.26.0
func (InternalRangeIamBindingOutput) ElementType() reflect.Type
func (InternalRangeIamBindingOutput) Etag ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (InternalRangeIamBindingOutput) Members ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) 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 (InternalRangeIamBindingOutput) Name ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (InternalRangeIamBindingOutput) Project ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (InternalRangeIamBindingOutput) Role ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (InternalRangeIamBindingOutput) ToInternalRangeIamBindingOutput ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) ToInternalRangeIamBindingOutput() InternalRangeIamBindingOutput
func (InternalRangeIamBindingOutput) ToInternalRangeIamBindingOutputWithContext ¶ added in v0.26.0
func (o InternalRangeIamBindingOutput) ToInternalRangeIamBindingOutputWithContext(ctx context.Context) InternalRangeIamBindingOutput
type InternalRangeIamBindingState ¶ added in v0.26.0
type InternalRangeIamBindingState struct { }
func (InternalRangeIamBindingState) ElementType ¶ added in v0.26.0
func (InternalRangeIamBindingState) ElementType() reflect.Type
type InternalRangeIamMember ¶ added in v0.26.0
type InternalRangeIamMember 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 GetInternalRangeIamMember ¶ added in v0.26.0
func GetInternalRangeIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternalRangeIamMemberState, opts ...pulumi.ResourceOption) (*InternalRangeIamMember, error)
GetInternalRangeIamMember gets an existing InternalRangeIamMember 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 NewInternalRangeIamMember ¶ added in v0.26.0
func NewInternalRangeIamMember(ctx *pulumi.Context, name string, args *InternalRangeIamMemberArgs, opts ...pulumi.ResourceOption) (*InternalRangeIamMember, error)
NewInternalRangeIamMember registers a new resource with the given unique name, arguments, and options.
func (*InternalRangeIamMember) ElementType ¶ added in v0.26.0
func (*InternalRangeIamMember) ElementType() reflect.Type
func (*InternalRangeIamMember) ToInternalRangeIamMemberOutput ¶ added in v0.26.0
func (i *InternalRangeIamMember) ToInternalRangeIamMemberOutput() InternalRangeIamMemberOutput
func (*InternalRangeIamMember) ToInternalRangeIamMemberOutputWithContext ¶ added in v0.26.0
func (i *InternalRangeIamMember) ToInternalRangeIamMemberOutputWithContext(ctx context.Context) InternalRangeIamMemberOutput
type InternalRangeIamMemberArgs ¶ added in v0.26.0
type InternalRangeIamMemberArgs 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 InternalRangeIamMember resource.
func (InternalRangeIamMemberArgs) ElementType ¶ added in v0.26.0
func (InternalRangeIamMemberArgs) ElementType() reflect.Type
type InternalRangeIamMemberInput ¶ added in v0.26.0
type InternalRangeIamMemberInput interface { pulumi.Input ToInternalRangeIamMemberOutput() InternalRangeIamMemberOutput ToInternalRangeIamMemberOutputWithContext(ctx context.Context) InternalRangeIamMemberOutput }
type InternalRangeIamMemberOutput ¶ added in v0.26.0
type InternalRangeIamMemberOutput struct{ *pulumi.OutputState }
func (InternalRangeIamMemberOutput) Condition ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (InternalRangeIamMemberOutput) ElementType ¶ added in v0.26.0
func (InternalRangeIamMemberOutput) ElementType() reflect.Type
func (InternalRangeIamMemberOutput) Etag ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (InternalRangeIamMemberOutput) Member ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) 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 (InternalRangeIamMemberOutput) Name ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (InternalRangeIamMemberOutput) Project ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (InternalRangeIamMemberOutput) Role ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (InternalRangeIamMemberOutput) ToInternalRangeIamMemberOutput ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) ToInternalRangeIamMemberOutput() InternalRangeIamMemberOutput
func (InternalRangeIamMemberOutput) ToInternalRangeIamMemberOutputWithContext ¶ added in v0.26.0
func (o InternalRangeIamMemberOutput) ToInternalRangeIamMemberOutputWithContext(ctx context.Context) InternalRangeIamMemberOutput
type InternalRangeIamMemberState ¶ added in v0.26.0
type InternalRangeIamMemberState struct { }
func (InternalRangeIamMemberState) ElementType ¶ added in v0.26.0
func (InternalRangeIamMemberState) ElementType() reflect.Type
type InternalRangeIamPolicy ¶
type InternalRangeIamPolicy 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"` // `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"` InternalRangeId pulumi.StringOutput `pulumi:"internalRangeId"` 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 GetInternalRangeIamPolicy ¶
func GetInternalRangeIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternalRangeIamPolicyState, opts ...pulumi.ResourceOption) (*InternalRangeIamPolicy, error)
GetInternalRangeIamPolicy gets an existing InternalRangeIamPolicy 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 NewInternalRangeIamPolicy ¶
func NewInternalRangeIamPolicy(ctx *pulumi.Context, name string, args *InternalRangeIamPolicyArgs, opts ...pulumi.ResourceOption) (*InternalRangeIamPolicy, error)
NewInternalRangeIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*InternalRangeIamPolicy) ElementType ¶
func (*InternalRangeIamPolicy) ElementType() reflect.Type
func (*InternalRangeIamPolicy) ToInternalRangeIamPolicyOutput ¶
func (i *InternalRangeIamPolicy) ToInternalRangeIamPolicyOutput() InternalRangeIamPolicyOutput
func (*InternalRangeIamPolicy) ToInternalRangeIamPolicyOutputWithContext ¶
func (i *InternalRangeIamPolicy) ToInternalRangeIamPolicyOutputWithContext(ctx context.Context) InternalRangeIamPolicyOutput
type InternalRangeIamPolicyArgs ¶
type InternalRangeIamPolicyArgs 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 // `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 InternalRangeId pulumi.StringInput 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 InternalRangeIamPolicy resource.
func (InternalRangeIamPolicyArgs) ElementType ¶
func (InternalRangeIamPolicyArgs) ElementType() reflect.Type
type InternalRangeIamPolicyInput ¶
type InternalRangeIamPolicyInput interface { pulumi.Input ToInternalRangeIamPolicyOutput() InternalRangeIamPolicyOutput ToInternalRangeIamPolicyOutputWithContext(ctx context.Context) InternalRangeIamPolicyOutput }
type InternalRangeIamPolicyOutput ¶
type InternalRangeIamPolicyOutput struct{ *pulumi.OutputState }
func (InternalRangeIamPolicyOutput) AuditConfigs ¶ added in v0.19.0
func (o InternalRangeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (InternalRangeIamPolicyOutput) Bindings ¶ added in v0.19.0
func (o InternalRangeIamPolicyOutput) 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 (InternalRangeIamPolicyOutput) ElementType ¶
func (InternalRangeIamPolicyOutput) ElementType() reflect.Type
func (InternalRangeIamPolicyOutput) Etag ¶ added in v0.19.0
func (o InternalRangeIamPolicyOutput) 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 (InternalRangeIamPolicyOutput) InternalRangeId ¶ added in v0.21.0
func (o InternalRangeIamPolicyOutput) InternalRangeId() pulumi.StringOutput
func (InternalRangeIamPolicyOutput) Location ¶ added in v0.21.0
func (o InternalRangeIamPolicyOutput) Location() pulumi.StringOutput
func (InternalRangeIamPolicyOutput) Project ¶ added in v0.21.0
func (o InternalRangeIamPolicyOutput) Project() pulumi.StringOutput
func (InternalRangeIamPolicyOutput) ToInternalRangeIamPolicyOutput ¶
func (o InternalRangeIamPolicyOutput) ToInternalRangeIamPolicyOutput() InternalRangeIamPolicyOutput
func (InternalRangeIamPolicyOutput) ToInternalRangeIamPolicyOutputWithContext ¶
func (o InternalRangeIamPolicyOutput) ToInternalRangeIamPolicyOutputWithContext(ctx context.Context) InternalRangeIamPolicyOutput
func (InternalRangeIamPolicyOutput) Version ¶ added in v0.19.0
func (o InternalRangeIamPolicyOutput) 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 InternalRangeIamPolicyState ¶
type InternalRangeIamPolicyState struct { }
func (InternalRangeIamPolicyState) ElementType ¶
func (InternalRangeIamPolicyState) ElementType() reflect.Type
type InternalRangeInput ¶ added in v0.28.0
type InternalRangeInput interface { pulumi.Input ToInternalRangeOutput() InternalRangeOutput ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput }
type InternalRangeOutput ¶ added in v0.28.0
type InternalRangeOutput struct{ *pulumi.OutputState }
func (InternalRangeOutput) CreateTime ¶ added in v0.28.0
func (o InternalRangeOutput) CreateTime() pulumi.StringOutput
Time when the internal range was created.
func (InternalRangeOutput) Description ¶ added in v0.28.0
func (o InternalRangeOutput) Description() pulumi.StringOutput
A description of this resource.
func (InternalRangeOutput) ElementType ¶ added in v0.28.0
func (InternalRangeOutput) ElementType() reflect.Type
func (InternalRangeOutput) InternalRangeId ¶ added in v0.28.0
func (o InternalRangeOutput) InternalRangeId() pulumi.StringPtrOutput
Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/internalRanges/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.
func (InternalRangeOutput) IpCidrRange ¶ added in v0.28.0
func (o InternalRangeOutput) IpCidrRange() pulumi.StringOutput
IP range that this internal range defines.
func (InternalRangeOutput) Labels ¶ added in v0.28.0
func (o InternalRangeOutput) Labels() pulumi.StringMapOutput
User-defined labels.
func (InternalRangeOutput) Location ¶ added in v0.28.0
func (o InternalRangeOutput) Location() pulumi.StringOutput
func (InternalRangeOutput) Name ¶ added in v0.28.0
func (o InternalRangeOutput) Name() pulumi.StringOutput
Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
func (InternalRangeOutput) Network ¶ added in v0.28.0
func (o InternalRangeOutput) Network() pulumi.StringOutput
The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
func (InternalRangeOutput) Overlaps ¶ added in v0.28.0
func (o InternalRangeOutput) Overlaps() pulumi.StringArrayOutput
Optional. Types of resources that are allowed to overlap with the current internal range.
func (InternalRangeOutput) Peering ¶ added in v0.28.0
func (o InternalRangeOutput) Peering() pulumi.StringOutput
The type of peering set for this internal range.
func (InternalRangeOutput) PrefixLength ¶ added in v0.28.0
func (o InternalRangeOutput) PrefixLength() pulumi.IntOutput
An alternative to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
func (InternalRangeOutput) Project ¶ added in v0.28.0
func (o InternalRangeOutput) Project() pulumi.StringOutput
func (InternalRangeOutput) RequestId ¶ added in v0.28.0
func (o InternalRangeOutput) RequestId() pulumi.StringPtrOutput
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
func (InternalRangeOutput) TargetCidrRange ¶ added in v0.28.0
func (o InternalRangeOutput) TargetCidrRange() pulumi.StringArrayOutput
Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
func (InternalRangeOutput) ToInternalRangeOutput ¶ added in v0.28.0
func (o InternalRangeOutput) ToInternalRangeOutput() InternalRangeOutput
func (InternalRangeOutput) ToInternalRangeOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOutput) ToInternalRangeOutputWithContext(ctx context.Context) InternalRangeOutput
func (InternalRangeOutput) UpdateTime ¶ added in v0.28.0
func (o InternalRangeOutput) UpdateTime() pulumi.StringOutput
Time when the internal range was updated.
func (InternalRangeOutput) Usage ¶ added in v0.28.0
func (o InternalRangeOutput) Usage() pulumi.StringOutput
The type of usage set for this internal range.
func (InternalRangeOutput) Users ¶ added in v0.28.0
func (o InternalRangeOutput) Users() pulumi.StringArrayOutput
The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty.
type InternalRangeOverlapsItem ¶ added in v0.28.0
type InternalRangeOverlapsItem string
func (InternalRangeOverlapsItem) ElementType ¶ added in v0.28.0
func (InternalRangeOverlapsItem) ElementType() reflect.Type
func (InternalRangeOverlapsItem) ToInternalRangeOverlapsItemOutput ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemOutput() InternalRangeOverlapsItemOutput
func (InternalRangeOverlapsItem) ToInternalRangeOverlapsItemOutputWithContext ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemOutputWithContext(ctx context.Context) InternalRangeOverlapsItemOutput
func (InternalRangeOverlapsItem) ToInternalRangeOverlapsItemPtrOutput ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemPtrOutput() InternalRangeOverlapsItemPtrOutput
func (InternalRangeOverlapsItem) ToInternalRangeOverlapsItemPtrOutputWithContext ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToInternalRangeOverlapsItemPtrOutputWithContext(ctx context.Context) InternalRangeOverlapsItemPtrOutput
func (InternalRangeOverlapsItem) ToStringOutput ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToStringOutput() pulumi.StringOutput
func (InternalRangeOverlapsItem) ToStringOutputWithContext ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InternalRangeOverlapsItem) ToStringPtrOutput ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangeOverlapsItem) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (e InternalRangeOverlapsItem) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangeOverlapsItemArray ¶ added in v0.28.0
type InternalRangeOverlapsItemArray []InternalRangeOverlapsItem
func (InternalRangeOverlapsItemArray) ElementType ¶ added in v0.28.0
func (InternalRangeOverlapsItemArray) ElementType() reflect.Type
func (InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutput ¶ added in v0.28.0
func (i InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutput() InternalRangeOverlapsItemArrayOutput
func (InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutputWithContext ¶ added in v0.28.0
func (i InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutputWithContext(ctx context.Context) InternalRangeOverlapsItemArrayOutput
type InternalRangeOverlapsItemArrayInput ¶ added in v0.28.0
type InternalRangeOverlapsItemArrayInput interface { pulumi.Input ToInternalRangeOverlapsItemArrayOutput() InternalRangeOverlapsItemArrayOutput ToInternalRangeOverlapsItemArrayOutputWithContext(context.Context) InternalRangeOverlapsItemArrayOutput }
InternalRangeOverlapsItemArrayInput is an input type that accepts InternalRangeOverlapsItemArray and InternalRangeOverlapsItemArrayOutput values. You can construct a concrete instance of `InternalRangeOverlapsItemArrayInput` via:
InternalRangeOverlapsItemArray{ InternalRangeOverlapsItemArgs{...} }
type InternalRangeOverlapsItemArrayOutput ¶ added in v0.28.0
type InternalRangeOverlapsItemArrayOutput struct{ *pulumi.OutputState }
func (InternalRangeOverlapsItemArrayOutput) ElementType ¶ added in v0.28.0
func (InternalRangeOverlapsItemArrayOutput) ElementType() reflect.Type
func (InternalRangeOverlapsItemArrayOutput) Index ¶ added in v0.28.0
func (o InternalRangeOverlapsItemArrayOutput) Index(i pulumi.IntInput) InternalRangeOverlapsItemOutput
func (InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOutput ¶ added in v0.28.0
func (o InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOutput() InternalRangeOverlapsItemArrayOutput
func (InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOutputWithContext(ctx context.Context) InternalRangeOverlapsItemArrayOutput
type InternalRangeOverlapsItemInput ¶ added in v0.28.0
type InternalRangeOverlapsItemInput interface { pulumi.Input ToInternalRangeOverlapsItemOutput() InternalRangeOverlapsItemOutput ToInternalRangeOverlapsItemOutputWithContext(context.Context) InternalRangeOverlapsItemOutput }
InternalRangeOverlapsItemInput is an input type that accepts values of the InternalRangeOverlapsItem enum A concrete instance of `InternalRangeOverlapsItemInput` can be one of the following:
InternalRangeOverlapsItemOverlapUnspecified InternalRangeOverlapsItemOverlapRouteRange InternalRangeOverlapsItemOverlapExistingSubnetRange
type InternalRangeOverlapsItemOutput ¶ added in v0.28.0
type InternalRangeOverlapsItemOutput struct{ *pulumi.OutputState }
func (InternalRangeOverlapsItemOutput) ElementType ¶ added in v0.28.0
func (InternalRangeOverlapsItemOutput) ElementType() reflect.Type
func (InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemOutput ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemOutput() InternalRangeOverlapsItemOutput
func (InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemOutputWithContext(ctx context.Context) InternalRangeOverlapsItemOutput
func (InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutput ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutput() InternalRangeOverlapsItemPtrOutput
func (InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutputWithContext(ctx context.Context) InternalRangeOverlapsItemPtrOutput
func (InternalRangeOverlapsItemOutput) ToStringOutput ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToStringOutput() pulumi.StringOutput
func (InternalRangeOverlapsItemOutput) ToStringOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InternalRangeOverlapsItemOutput) ToStringPtrOutput ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangeOverlapsItemOutput) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOverlapsItemOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangeOverlapsItemPtrInput ¶ added in v0.28.0
type InternalRangeOverlapsItemPtrInput interface { pulumi.Input ToInternalRangeOverlapsItemPtrOutput() InternalRangeOverlapsItemPtrOutput ToInternalRangeOverlapsItemPtrOutputWithContext(context.Context) InternalRangeOverlapsItemPtrOutput }
func InternalRangeOverlapsItemPtr ¶ added in v0.28.0
func InternalRangeOverlapsItemPtr(v string) InternalRangeOverlapsItemPtrInput
type InternalRangeOverlapsItemPtrOutput ¶ added in v0.28.0
type InternalRangeOverlapsItemPtrOutput struct{ *pulumi.OutputState }
func (InternalRangeOverlapsItemPtrOutput) Elem ¶ added in v0.28.0
func (o InternalRangeOverlapsItemPtrOutput) Elem() InternalRangeOverlapsItemOutput
func (InternalRangeOverlapsItemPtrOutput) ElementType ¶ added in v0.28.0
func (InternalRangeOverlapsItemPtrOutput) ElementType() reflect.Type
func (InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutput ¶ added in v0.28.0
func (o InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutput() InternalRangeOverlapsItemPtrOutput
func (InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutputWithContext(ctx context.Context) InternalRangeOverlapsItemPtrOutput
func (InternalRangeOverlapsItemPtrOutput) ToStringPtrOutput ¶ added in v0.28.0
func (o InternalRangeOverlapsItemPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangeOverlapsItemPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeOverlapsItemPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangePeering ¶ added in v0.28.0
type InternalRangePeering string
The type of peering set for this internal range.
func (InternalRangePeering) ElementType ¶ added in v0.28.0
func (InternalRangePeering) ElementType() reflect.Type
func (InternalRangePeering) ToInternalRangePeeringOutput ¶ added in v0.28.0
func (e InternalRangePeering) ToInternalRangePeeringOutput() InternalRangePeeringOutput
func (InternalRangePeering) ToInternalRangePeeringOutputWithContext ¶ added in v0.28.0
func (e InternalRangePeering) ToInternalRangePeeringOutputWithContext(ctx context.Context) InternalRangePeeringOutput
func (InternalRangePeering) ToInternalRangePeeringPtrOutput ¶ added in v0.28.0
func (e InternalRangePeering) ToInternalRangePeeringPtrOutput() InternalRangePeeringPtrOutput
func (InternalRangePeering) ToInternalRangePeeringPtrOutputWithContext ¶ added in v0.28.0
func (e InternalRangePeering) ToInternalRangePeeringPtrOutputWithContext(ctx context.Context) InternalRangePeeringPtrOutput
func (InternalRangePeering) ToStringOutput ¶ added in v0.28.0
func (e InternalRangePeering) ToStringOutput() pulumi.StringOutput
func (InternalRangePeering) ToStringOutputWithContext ¶ added in v0.28.0
func (e InternalRangePeering) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InternalRangePeering) ToStringPtrOutput ¶ added in v0.28.0
func (e InternalRangePeering) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangePeering) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (e InternalRangePeering) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangePeeringInput ¶ added in v0.28.0
type InternalRangePeeringInput interface { pulumi.Input ToInternalRangePeeringOutput() InternalRangePeeringOutput ToInternalRangePeeringOutputWithContext(context.Context) InternalRangePeeringOutput }
InternalRangePeeringInput is an input type that accepts values of the InternalRangePeering enum A concrete instance of `InternalRangePeeringInput` can be one of the following:
InternalRangePeeringPeeringUnspecified InternalRangePeeringForSelf InternalRangePeeringForPeer InternalRangePeeringNotShared
type InternalRangePeeringOutput ¶ added in v0.28.0
type InternalRangePeeringOutput struct{ *pulumi.OutputState }
func (InternalRangePeeringOutput) ElementType ¶ added in v0.28.0
func (InternalRangePeeringOutput) ElementType() reflect.Type
func (InternalRangePeeringOutput) ToInternalRangePeeringOutput ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToInternalRangePeeringOutput() InternalRangePeeringOutput
func (InternalRangePeeringOutput) ToInternalRangePeeringOutputWithContext ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToInternalRangePeeringOutputWithContext(ctx context.Context) InternalRangePeeringOutput
func (InternalRangePeeringOutput) ToInternalRangePeeringPtrOutput ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToInternalRangePeeringPtrOutput() InternalRangePeeringPtrOutput
func (InternalRangePeeringOutput) ToInternalRangePeeringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToInternalRangePeeringPtrOutputWithContext(ctx context.Context) InternalRangePeeringPtrOutput
func (InternalRangePeeringOutput) ToStringOutput ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToStringOutput() pulumi.StringOutput
func (InternalRangePeeringOutput) ToStringOutputWithContext ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InternalRangePeeringOutput) ToStringPtrOutput ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangePeeringOutput) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangePeeringOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangePeeringPtrInput ¶ added in v0.28.0
type InternalRangePeeringPtrInput interface { pulumi.Input ToInternalRangePeeringPtrOutput() InternalRangePeeringPtrOutput ToInternalRangePeeringPtrOutputWithContext(context.Context) InternalRangePeeringPtrOutput }
func InternalRangePeeringPtr ¶ added in v0.28.0
func InternalRangePeeringPtr(v string) InternalRangePeeringPtrInput
type InternalRangePeeringPtrOutput ¶ added in v0.28.0
type InternalRangePeeringPtrOutput struct{ *pulumi.OutputState }
func (InternalRangePeeringPtrOutput) Elem ¶ added in v0.28.0
func (o InternalRangePeeringPtrOutput) Elem() InternalRangePeeringOutput
func (InternalRangePeeringPtrOutput) ElementType ¶ added in v0.28.0
func (InternalRangePeeringPtrOutput) ElementType() reflect.Type
func (InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutput ¶ added in v0.28.0
func (o InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutput() InternalRangePeeringPtrOutput
func (InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutputWithContext(ctx context.Context) InternalRangePeeringPtrOutput
func (InternalRangePeeringPtrOutput) ToStringPtrOutput ¶ added in v0.28.0
func (o InternalRangePeeringPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangePeeringPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangePeeringPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangeState ¶ added in v0.28.0
type InternalRangeState struct { }
func (InternalRangeState) ElementType ¶ added in v0.28.0
func (InternalRangeState) ElementType() reflect.Type
type InternalRangeUsage ¶ added in v0.28.0
type InternalRangeUsage string
The type of usage set for this internal range.
func (InternalRangeUsage) ElementType ¶ added in v0.28.0
func (InternalRangeUsage) ElementType() reflect.Type
func (InternalRangeUsage) ToInternalRangeUsageOutput ¶ added in v0.28.0
func (e InternalRangeUsage) ToInternalRangeUsageOutput() InternalRangeUsageOutput
func (InternalRangeUsage) ToInternalRangeUsageOutputWithContext ¶ added in v0.28.0
func (e InternalRangeUsage) ToInternalRangeUsageOutputWithContext(ctx context.Context) InternalRangeUsageOutput
func (InternalRangeUsage) ToInternalRangeUsagePtrOutput ¶ added in v0.28.0
func (e InternalRangeUsage) ToInternalRangeUsagePtrOutput() InternalRangeUsagePtrOutput
func (InternalRangeUsage) ToInternalRangeUsagePtrOutputWithContext ¶ added in v0.28.0
func (e InternalRangeUsage) ToInternalRangeUsagePtrOutputWithContext(ctx context.Context) InternalRangeUsagePtrOutput
func (InternalRangeUsage) ToStringOutput ¶ added in v0.28.0
func (e InternalRangeUsage) ToStringOutput() pulumi.StringOutput
func (InternalRangeUsage) ToStringOutputWithContext ¶ added in v0.28.0
func (e InternalRangeUsage) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InternalRangeUsage) ToStringPtrOutput ¶ added in v0.28.0
func (e InternalRangeUsage) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangeUsage) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (e InternalRangeUsage) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangeUsageInput ¶ added in v0.28.0
type InternalRangeUsageInput interface { pulumi.Input ToInternalRangeUsageOutput() InternalRangeUsageOutput ToInternalRangeUsageOutputWithContext(context.Context) InternalRangeUsageOutput }
InternalRangeUsageInput is an input type that accepts values of the InternalRangeUsage enum A concrete instance of `InternalRangeUsageInput` can be one of the following:
InternalRangeUsageUsageUnspecified InternalRangeUsageForVpc InternalRangeUsageExternalToVpc
type InternalRangeUsageOutput ¶ added in v0.28.0
type InternalRangeUsageOutput struct{ *pulumi.OutputState }
func (InternalRangeUsageOutput) ElementType ¶ added in v0.28.0
func (InternalRangeUsageOutput) ElementType() reflect.Type
func (InternalRangeUsageOutput) ToInternalRangeUsageOutput ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToInternalRangeUsageOutput() InternalRangeUsageOutput
func (InternalRangeUsageOutput) ToInternalRangeUsageOutputWithContext ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToInternalRangeUsageOutputWithContext(ctx context.Context) InternalRangeUsageOutput
func (InternalRangeUsageOutput) ToInternalRangeUsagePtrOutput ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToInternalRangeUsagePtrOutput() InternalRangeUsagePtrOutput
func (InternalRangeUsageOutput) ToInternalRangeUsagePtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToInternalRangeUsagePtrOutputWithContext(ctx context.Context) InternalRangeUsagePtrOutput
func (InternalRangeUsageOutput) ToStringOutput ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToStringOutput() pulumi.StringOutput
func (InternalRangeUsageOutput) ToStringOutputWithContext ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InternalRangeUsageOutput) ToStringPtrOutput ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangeUsageOutput) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeUsageOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternalRangeUsagePtrInput ¶ added in v0.28.0
type InternalRangeUsagePtrInput interface { pulumi.Input ToInternalRangeUsagePtrOutput() InternalRangeUsagePtrOutput ToInternalRangeUsagePtrOutputWithContext(context.Context) InternalRangeUsagePtrOutput }
func InternalRangeUsagePtr ¶ added in v0.28.0
func InternalRangeUsagePtr(v string) InternalRangeUsagePtrInput
type InternalRangeUsagePtrOutput ¶ added in v0.28.0
type InternalRangeUsagePtrOutput struct{ *pulumi.OutputState }
func (InternalRangeUsagePtrOutput) Elem ¶ added in v0.28.0
func (o InternalRangeUsagePtrOutput) Elem() InternalRangeUsageOutput
func (InternalRangeUsagePtrOutput) ElementType ¶ added in v0.28.0
func (InternalRangeUsagePtrOutput) ElementType() reflect.Type
func (InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutput ¶ added in v0.28.0
func (o InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutput() InternalRangeUsagePtrOutput
func (InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutputWithContext(ctx context.Context) InternalRangeUsagePtrOutput
func (InternalRangeUsagePtrOutput) ToStringPtrOutput ¶ added in v0.28.0
func (o InternalRangeUsagePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InternalRangeUsagePtrOutput) ToStringPtrOutputWithContext ¶ added in v0.28.0
func (o InternalRangeUsagePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LookupHubArgs ¶ added in v0.4.0
type LookupHubIamPolicyArgs ¶ added in v0.4.0
type LookupHubIamPolicyOutputArgs ¶ added in v0.8.0
type LookupHubIamPolicyOutputArgs struct { HubId pulumi.StringInput `pulumi:"hubId"` OptionsRequestedPolicyVersion pulumi.IntPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupHubIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupHubIamPolicyOutputArgs) ElementType() reflect.Type
type LookupHubIamPolicyResult ¶ added in v0.4.0
type LookupHubIamPolicyResult 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 LookupHubIamPolicy ¶ added in v0.4.0
func LookupHubIamPolicy(ctx *pulumi.Context, args *LookupHubIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupHubIamPolicyResult, 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 LookupHubIamPolicyResultOutput ¶ added in v0.8.0
type LookupHubIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupHubIamPolicyOutput ¶ added in v0.8.0
func LookupHubIamPolicyOutput(ctx *pulumi.Context, args LookupHubIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupHubIamPolicyResultOutput
func (LookupHubIamPolicyResultOutput) AuditConfigs ¶ added in v0.8.0
func (o LookupHubIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (LookupHubIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupHubIamPolicyResultOutput) 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 (LookupHubIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupHubIamPolicyResultOutput) ElementType() reflect.Type
func (LookupHubIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupHubIamPolicyResultOutput) 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 (LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutput() LookupHubIamPolicyResultOutput
func (LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutputWithContext(ctx context.Context) LookupHubIamPolicyResultOutput
func (LookupHubIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupHubIamPolicyResultOutput) 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 LookupHubOutputArgs ¶ added in v0.8.0
type LookupHubOutputArgs struct { HubId pulumi.StringInput `pulumi:"hubId"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupHubOutputArgs) ElementType ¶ added in v0.8.0
func (LookupHubOutputArgs) ElementType() reflect.Type
type LookupHubResult ¶ added in v0.4.0
type LookupHubResult struct { // Time when the Hub was created. CreateTime string `pulumi:"createTime"` // Short description of the hub resource. Description string `pulumi:"description"` // User-defined labels. Labels map[string]string `pulumi:"labels"` // Immutable. The name of a Hub resource. Name string `pulumi:"name"` // A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. // // Deprecated: Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. Spokes []string `pulumi:"spokes"` // The current lifecycle state of this Hub. State string `pulumi:"state"` // Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id. UniqueId string `pulumi:"uniqueId"` // Time when the Hub was updated. UpdateTime string `pulumi:"updateTime"` }
func LookupHub ¶ added in v0.4.0
func LookupHub(ctx *pulumi.Context, args *LookupHubArgs, opts ...pulumi.InvokeOption) (*LookupHubResult, error)
Gets details about a Network Connectivity Center hub.
type LookupHubResultOutput ¶ added in v0.8.0
type LookupHubResultOutput struct{ *pulumi.OutputState }
func LookupHubOutput ¶ added in v0.8.0
func LookupHubOutput(ctx *pulumi.Context, args LookupHubOutputArgs, opts ...pulumi.InvokeOption) LookupHubResultOutput
func (LookupHubResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupHubResultOutput) CreateTime() pulumi.StringOutput
Time when the Hub was created.
func (LookupHubResultOutput) Description ¶ added in v0.8.0
func (o LookupHubResultOutput) Description() pulumi.StringOutput
Short description of the hub resource.
func (LookupHubResultOutput) ElementType ¶ added in v0.8.0
func (LookupHubResultOutput) ElementType() reflect.Type
func (LookupHubResultOutput) Labels ¶ added in v0.8.0
func (o LookupHubResultOutput) Labels() pulumi.StringMapOutput
User-defined labels.
func (LookupHubResultOutput) Name ¶ added in v0.8.0
func (o LookupHubResultOutput) Name() pulumi.StringOutput
Immutable. The name of a Hub resource.
func (LookupHubResultOutput) Spokes
deprecated
added in
v0.17.0
func (o LookupHubResultOutput) Spokes() pulumi.StringArrayOutput
A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.
Deprecated: Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.
func (LookupHubResultOutput) State ¶ added in v0.8.0
func (o LookupHubResultOutput) State() pulumi.StringOutput
The current lifecycle state of this Hub.
func (LookupHubResultOutput) ToLookupHubResultOutput ¶ added in v0.8.0
func (o LookupHubResultOutput) ToLookupHubResultOutput() LookupHubResultOutput
func (LookupHubResultOutput) ToLookupHubResultOutputWithContext ¶ added in v0.8.0
func (o LookupHubResultOutput) ToLookupHubResultOutputWithContext(ctx context.Context) LookupHubResultOutput
func (LookupHubResultOutput) UniqueId ¶ added in v0.8.0
func (o LookupHubResultOutput) UniqueId() pulumi.StringOutput
Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.
func (LookupHubResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupHubResultOutput) UpdateTime() pulumi.StringOutput
Time when the Hub was updated.
type LookupInternalRangeArgs ¶ added in v0.28.0
type LookupInternalRangeIamPolicyArgs ¶ added in v0.4.0
type LookupInternalRangeIamPolicyOutputArgs ¶ added in v0.8.0
type LookupInternalRangeIamPolicyOutputArgs struct { InternalRangeId pulumi.StringInput `pulumi:"internalRangeId"` Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.IntPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupInternalRangeIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupInternalRangeIamPolicyOutputArgs) ElementType() reflect.Type
type LookupInternalRangeIamPolicyResult ¶ added in v0.4.0
type LookupInternalRangeIamPolicyResult 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 LookupInternalRangeIamPolicy ¶ added in v0.4.0
func LookupInternalRangeIamPolicy(ctx *pulumi.Context, args *LookupInternalRangeIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupInternalRangeIamPolicyResult, 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 LookupInternalRangeIamPolicyResultOutput ¶ added in v0.8.0
type LookupInternalRangeIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupInternalRangeIamPolicyOutput ¶ added in v0.8.0
func LookupInternalRangeIamPolicyOutput(ctx *pulumi.Context, args LookupInternalRangeIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupInternalRangeIamPolicyResultOutput
func (LookupInternalRangeIamPolicyResultOutput) AuditConfigs ¶ added in v0.8.0
func (o LookupInternalRangeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (LookupInternalRangeIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupInternalRangeIamPolicyResultOutput) 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 (LookupInternalRangeIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupInternalRangeIamPolicyResultOutput) ElementType() reflect.Type
func (LookupInternalRangeIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupInternalRangeIamPolicyResultOutput) 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 (LookupInternalRangeIamPolicyResultOutput) ToLookupInternalRangeIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupInternalRangeIamPolicyResultOutput) ToLookupInternalRangeIamPolicyResultOutput() LookupInternalRangeIamPolicyResultOutput
func (LookupInternalRangeIamPolicyResultOutput) ToLookupInternalRangeIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupInternalRangeIamPolicyResultOutput) ToLookupInternalRangeIamPolicyResultOutputWithContext(ctx context.Context) LookupInternalRangeIamPolicyResultOutput
func (LookupInternalRangeIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupInternalRangeIamPolicyResultOutput) 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 LookupInternalRangeOutputArgs ¶ added in v0.28.0
type LookupInternalRangeOutputArgs struct { InternalRangeId pulumi.StringInput `pulumi:"internalRangeId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupInternalRangeOutputArgs) ElementType ¶ added in v0.28.0
func (LookupInternalRangeOutputArgs) ElementType() reflect.Type
type LookupInternalRangeResult ¶ added in v0.28.0
type LookupInternalRangeResult struct { // Time when the internal range was created. CreateTime string `pulumi:"createTime"` // A description of this resource. Description string `pulumi:"description"` // IP range that this internal range defines. IpCidrRange string `pulumi:"ipCidrRange"` // User-defined labels. Labels map[string]string `pulumi:"labels"` // Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names Name string `pulumi:"name"` // The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123 Network string `pulumi:"network"` // Optional. Types of resources that are allowed to overlap with the current internal range. Overlaps []string `pulumi:"overlaps"` // The type of peering set for this internal range. Peering string `pulumi:"peering"` // An alternative to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. PrefixLength int `pulumi:"prefixLength"` // Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. TargetCidrRange []string `pulumi:"targetCidrRange"` // Time when the internal range was updated. UpdateTime string `pulumi:"updateTime"` // The type of usage set for this internal range. Usage string `pulumi:"usage"` // The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty. Users []string `pulumi:"users"` }
func LookupInternalRange ¶ added in v0.28.0
func LookupInternalRange(ctx *pulumi.Context, args *LookupInternalRangeArgs, opts ...pulumi.InvokeOption) (*LookupInternalRangeResult, error)
Gets details of a single internal range.
type LookupInternalRangeResultOutput ¶ added in v0.28.0
type LookupInternalRangeResultOutput struct{ *pulumi.OutputState }
func LookupInternalRangeOutput ¶ added in v0.28.0
func LookupInternalRangeOutput(ctx *pulumi.Context, args LookupInternalRangeOutputArgs, opts ...pulumi.InvokeOption) LookupInternalRangeResultOutput
func (LookupInternalRangeResultOutput) CreateTime ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) CreateTime() pulumi.StringOutput
Time when the internal range was created.
func (LookupInternalRangeResultOutput) Description ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Description() pulumi.StringOutput
A description of this resource.
func (LookupInternalRangeResultOutput) ElementType ¶ added in v0.28.0
func (LookupInternalRangeResultOutput) ElementType() reflect.Type
func (LookupInternalRangeResultOutput) IpCidrRange ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) IpCidrRange() pulumi.StringOutput
IP range that this internal range defines.
func (LookupInternalRangeResultOutput) Labels ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Labels() pulumi.StringMapOutput
User-defined labels.
func (LookupInternalRangeResultOutput) Name ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Name() pulumi.StringOutput
Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
func (LookupInternalRangeResultOutput) Network ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Network() pulumi.StringOutput
The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
func (LookupInternalRangeResultOutput) Overlaps ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Overlaps() pulumi.StringArrayOutput
Optional. Types of resources that are allowed to overlap with the current internal range.
func (LookupInternalRangeResultOutput) Peering ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Peering() pulumi.StringOutput
The type of peering set for this internal range.
func (LookupInternalRangeResultOutput) PrefixLength ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) PrefixLength() pulumi.IntOutput
An alternative to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
func (LookupInternalRangeResultOutput) TargetCidrRange ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) TargetCidrRange() pulumi.StringArrayOutput
Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
func (LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutput ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutput() LookupInternalRangeResultOutput
func (LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutputWithContext ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutputWithContext(ctx context.Context) LookupInternalRangeResultOutput
func (LookupInternalRangeResultOutput) UpdateTime ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) UpdateTime() pulumi.StringOutput
Time when the internal range was updated.
func (LookupInternalRangeResultOutput) Usage ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Usage() pulumi.StringOutput
The type of usage set for this internal range.
func (LookupInternalRangeResultOutput) Users ¶ added in v0.28.0
func (o LookupInternalRangeResultOutput) Users() pulumi.StringArrayOutput
The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty.
type LookupSpokeArgs ¶ added in v0.4.0
type LookupSpokeIamPolicyArgs ¶ added in v0.4.0
type LookupSpokeIamPolicyOutputArgs ¶ added in v0.8.0
type LookupSpokeIamPolicyOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` OptionsRequestedPolicyVersion pulumi.IntPtrInput `pulumi:"optionsRequestedPolicyVersion"` Project pulumi.StringPtrInput `pulumi:"project"` SpokeId pulumi.StringInput `pulumi:"spokeId"` }
func (LookupSpokeIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupSpokeIamPolicyOutputArgs) ElementType() reflect.Type
type LookupSpokeIamPolicyResult ¶ added in v0.4.0
type LookupSpokeIamPolicyResult 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 LookupSpokeIamPolicy ¶ added in v0.4.0
func LookupSpokeIamPolicy(ctx *pulumi.Context, args *LookupSpokeIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSpokeIamPolicyResult, 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 LookupSpokeIamPolicyResultOutput ¶ added in v0.8.0
type LookupSpokeIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupSpokeIamPolicyOutput ¶ added in v0.8.0
func LookupSpokeIamPolicyOutput(ctx *pulumi.Context, args LookupSpokeIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSpokeIamPolicyResultOutput
func (LookupSpokeIamPolicyResultOutput) AuditConfigs ¶ added in v0.8.0
func (o LookupSpokeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (LookupSpokeIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupSpokeIamPolicyResultOutput) 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 (LookupSpokeIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupSpokeIamPolicyResultOutput) ElementType() reflect.Type
func (LookupSpokeIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupSpokeIamPolicyResultOutput) 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 (LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutput() LookupSpokeIamPolicyResultOutput
func (LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutputWithContext(ctx context.Context) LookupSpokeIamPolicyResultOutput
func (LookupSpokeIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupSpokeIamPolicyResultOutput) 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 LookupSpokeOutputArgs ¶ added in v0.8.0
type LookupSpokeOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` SpokeId pulumi.StringInput `pulumi:"spokeId"` }
func (LookupSpokeOutputArgs) ElementType ¶ added in v0.8.0
func (LookupSpokeOutputArgs) ElementType() reflect.Type
type LookupSpokeResult ¶ added in v0.4.0
type LookupSpokeResult struct { // The time when the Spoke was created. CreateTime string `pulumi:"createTime"` // Short description of the spoke resource Description string `pulumi:"description"` // The resource URL of the hub resource that the spoke is attached to Hub string `pulumi:"hub"` // User-defined labels. Labels map[string]string `pulumi:"labels"` // The URIs of linked interconnect attachment resources LinkedInterconnectAttachments []string `pulumi:"linkedInterconnectAttachments"` // The URIs of linked Router appliance resources LinkedRouterApplianceInstances []RouterApplianceInstanceResponse `pulumi:"linkedRouterApplianceInstances"` // The URIs of linked VPN tunnel resources LinkedVpnTunnels []string `pulumi:"linkedVpnTunnels"` // Immutable. The name of a Spoke resource. Name string `pulumi:"name"` // The current lifecycle state of this Hub. State string `pulumi:"state"` // Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id. UniqueId string `pulumi:"uniqueId"` // The time when the Spoke was updated. UpdateTime string `pulumi:"updateTime"` }
func LookupSpoke ¶ added in v0.4.0
func LookupSpoke(ctx *pulumi.Context, args *LookupSpokeArgs, opts ...pulumi.InvokeOption) (*LookupSpokeResult, error)
Gets details about a Network Connectivity Center spoke.
type LookupSpokeResultOutput ¶ added in v0.8.0
type LookupSpokeResultOutput struct{ *pulumi.OutputState }
func LookupSpokeOutput ¶ added in v0.8.0
func LookupSpokeOutput(ctx *pulumi.Context, args LookupSpokeOutputArgs, opts ...pulumi.InvokeOption) LookupSpokeResultOutput
func (LookupSpokeResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupSpokeResultOutput) CreateTime() pulumi.StringOutput
The time when the Spoke was created.
func (LookupSpokeResultOutput) Description ¶ added in v0.8.0
func (o LookupSpokeResultOutput) Description() pulumi.StringOutput
Short description of the spoke resource
func (LookupSpokeResultOutput) ElementType ¶ added in v0.8.0
func (LookupSpokeResultOutput) ElementType() reflect.Type
func (LookupSpokeResultOutput) Hub ¶ added in v0.8.0
func (o LookupSpokeResultOutput) Hub() pulumi.StringOutput
The resource URL of the hub resource that the spoke is attached to
func (LookupSpokeResultOutput) Labels ¶ added in v0.8.0
func (o LookupSpokeResultOutput) Labels() pulumi.StringMapOutput
User-defined labels.
func (LookupSpokeResultOutput) LinkedInterconnectAttachments ¶ added in v0.8.0
func (o LookupSpokeResultOutput) LinkedInterconnectAttachments() pulumi.StringArrayOutput
The URIs of linked interconnect attachment resources
func (LookupSpokeResultOutput) LinkedRouterApplianceInstances ¶ added in v0.8.0
func (o LookupSpokeResultOutput) LinkedRouterApplianceInstances() RouterApplianceInstanceResponseArrayOutput
The URIs of linked Router appliance resources
func (LookupSpokeResultOutput) LinkedVpnTunnels ¶ added in v0.8.0
func (o LookupSpokeResultOutput) LinkedVpnTunnels() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources
func (LookupSpokeResultOutput) Name ¶ added in v0.8.0
func (o LookupSpokeResultOutput) Name() pulumi.StringOutput
Immutable. The name of a Spoke resource.
func (LookupSpokeResultOutput) State ¶ added in v0.8.0
func (o LookupSpokeResultOutput) State() pulumi.StringOutput
The current lifecycle state of this Hub.
func (LookupSpokeResultOutput) ToLookupSpokeResultOutput ¶ added in v0.8.0
func (o LookupSpokeResultOutput) ToLookupSpokeResultOutput() LookupSpokeResultOutput
func (LookupSpokeResultOutput) ToLookupSpokeResultOutputWithContext ¶ added in v0.8.0
func (o LookupSpokeResultOutput) ToLookupSpokeResultOutputWithContext(ctx context.Context) LookupSpokeResultOutput
func (LookupSpokeResultOutput) UniqueId ¶ added in v0.8.0
func (o LookupSpokeResultOutput) UniqueId() pulumi.StringOutput
Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
func (LookupSpokeResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupSpokeResultOutput) UpdateTime() pulumi.StringOutput
The time when the Spoke was updated.
type RouterApplianceInstance ¶
type RouterApplianceInstance struct { // The IP address of the network interface to use for peering. IpAddress *string `pulumi:"ipAddress"` NetworkInterface *string `pulumi:"networkInterface"` // The URI of the virtual machine resource VirtualMachine *string `pulumi:"virtualMachine"` }
RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.
type RouterApplianceInstanceArgs ¶
type RouterApplianceInstanceArgs struct { // The IP address of the network interface to use for peering. IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` NetworkInterface pulumi.StringPtrInput `pulumi:"networkInterface"` // The URI of the virtual machine resource VirtualMachine pulumi.StringPtrInput `pulumi:"virtualMachine"` }
RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.
func (RouterApplianceInstanceArgs) ElementType ¶
func (RouterApplianceInstanceArgs) ElementType() reflect.Type
func (RouterApplianceInstanceArgs) ToRouterApplianceInstanceOutput ¶
func (i RouterApplianceInstanceArgs) ToRouterApplianceInstanceOutput() RouterApplianceInstanceOutput
func (RouterApplianceInstanceArgs) ToRouterApplianceInstanceOutputWithContext ¶
func (i RouterApplianceInstanceArgs) ToRouterApplianceInstanceOutputWithContext(ctx context.Context) RouterApplianceInstanceOutput
type RouterApplianceInstanceArray ¶
type RouterApplianceInstanceArray []RouterApplianceInstanceInput
func (RouterApplianceInstanceArray) ElementType ¶
func (RouterApplianceInstanceArray) ElementType() reflect.Type
func (RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutput ¶
func (i RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutput() RouterApplianceInstanceArrayOutput
func (RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutputWithContext ¶
func (i RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutputWithContext(ctx context.Context) RouterApplianceInstanceArrayOutput
type RouterApplianceInstanceArrayInput ¶
type RouterApplianceInstanceArrayInput interface { pulumi.Input ToRouterApplianceInstanceArrayOutput() RouterApplianceInstanceArrayOutput ToRouterApplianceInstanceArrayOutputWithContext(context.Context) RouterApplianceInstanceArrayOutput }
RouterApplianceInstanceArrayInput is an input type that accepts RouterApplianceInstanceArray and RouterApplianceInstanceArrayOutput values. You can construct a concrete instance of `RouterApplianceInstanceArrayInput` via:
RouterApplianceInstanceArray{ RouterApplianceInstanceArgs{...} }
type RouterApplianceInstanceArrayOutput ¶
type RouterApplianceInstanceArrayOutput struct{ *pulumi.OutputState }
func (RouterApplianceInstanceArrayOutput) ElementType ¶
func (RouterApplianceInstanceArrayOutput) ElementType() reflect.Type
func (RouterApplianceInstanceArrayOutput) Index ¶
func (o RouterApplianceInstanceArrayOutput) Index(i pulumi.IntInput) RouterApplianceInstanceOutput
func (RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutput ¶
func (o RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutput() RouterApplianceInstanceArrayOutput
func (RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutputWithContext ¶
func (o RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutputWithContext(ctx context.Context) RouterApplianceInstanceArrayOutput
type RouterApplianceInstanceInput ¶
type RouterApplianceInstanceInput interface { pulumi.Input ToRouterApplianceInstanceOutput() RouterApplianceInstanceOutput ToRouterApplianceInstanceOutputWithContext(context.Context) RouterApplianceInstanceOutput }
RouterApplianceInstanceInput is an input type that accepts RouterApplianceInstanceArgs and RouterApplianceInstanceOutput values. You can construct a concrete instance of `RouterApplianceInstanceInput` via:
RouterApplianceInstanceArgs{...}
type RouterApplianceInstanceOutput ¶
type RouterApplianceInstanceOutput struct{ *pulumi.OutputState }
RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.
func (RouterApplianceInstanceOutput) ElementType ¶
func (RouterApplianceInstanceOutput) ElementType() reflect.Type
func (RouterApplianceInstanceOutput) IpAddress ¶
func (o RouterApplianceInstanceOutput) IpAddress() pulumi.StringPtrOutput
The IP address of the network interface to use for peering.
func (RouterApplianceInstanceOutput) NetworkInterface ¶
func (o RouterApplianceInstanceOutput) NetworkInterface() pulumi.StringPtrOutput
func (RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutput ¶
func (o RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutput() RouterApplianceInstanceOutput
func (RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutputWithContext ¶
func (o RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutputWithContext(ctx context.Context) RouterApplianceInstanceOutput
func (RouterApplianceInstanceOutput) VirtualMachine ¶
func (o RouterApplianceInstanceOutput) VirtualMachine() pulumi.StringPtrOutput
The URI of the virtual machine resource
type RouterApplianceInstanceResponse ¶
type RouterApplianceInstanceResponse struct { // The IP address of the network interface to use for peering. IpAddress string `pulumi:"ipAddress"` NetworkInterface string `pulumi:"networkInterface"` // The URI of the virtual machine resource VirtualMachine string `pulumi:"virtualMachine"` }
RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.
type RouterApplianceInstanceResponseArrayOutput ¶
type RouterApplianceInstanceResponseArrayOutput struct{ *pulumi.OutputState }
func (RouterApplianceInstanceResponseArrayOutput) ElementType ¶
func (RouterApplianceInstanceResponseArrayOutput) ElementType() reflect.Type
func (RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceResponseArrayOutput ¶
func (o RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceResponseArrayOutput() RouterApplianceInstanceResponseArrayOutput
func (RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceResponseArrayOutputWithContext ¶
func (o RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceResponseArrayOutputWithContext(ctx context.Context) RouterApplianceInstanceResponseArrayOutput
type RouterApplianceInstanceResponseOutput ¶
type RouterApplianceInstanceResponseOutput struct{ *pulumi.OutputState }
RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.
func (RouterApplianceInstanceResponseOutput) ElementType ¶
func (RouterApplianceInstanceResponseOutput) ElementType() reflect.Type
func (RouterApplianceInstanceResponseOutput) IpAddress ¶
func (o RouterApplianceInstanceResponseOutput) IpAddress() pulumi.StringOutput
The IP address of the network interface to use for peering.
func (RouterApplianceInstanceResponseOutput) NetworkInterface ¶
func (o RouterApplianceInstanceResponseOutput) NetworkInterface() pulumi.StringOutput
func (RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponseOutput ¶
func (o RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponseOutput() RouterApplianceInstanceResponseOutput
func (RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponseOutputWithContext ¶
func (o RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponseOutputWithContext(ctx context.Context) RouterApplianceInstanceResponseOutput
func (RouterApplianceInstanceResponseOutput) VirtualMachine ¶
func (o RouterApplianceInstanceResponseOutput) VirtualMachine() pulumi.StringOutput
The URI of the virtual machine resource
type Spoke ¶
type Spoke struct { pulumi.CustomResourceState // The time when the Spoke was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Short description of the spoke resource Description pulumi.StringOutput `pulumi:"description"` // The resource URL of the hub resource that the spoke is attached to Hub pulumi.StringOutput `pulumi:"hub"` // User-defined labels. Labels pulumi.StringMapOutput `pulumi:"labels"` // The URIs of linked interconnect attachment resources LinkedInterconnectAttachments pulumi.StringArrayOutput `pulumi:"linkedInterconnectAttachments"` // The URIs of linked Router appliance resources LinkedRouterApplianceInstances RouterApplianceInstanceResponseArrayOutput `pulumi:"linkedRouterApplianceInstances"` // The URIs of linked VPN tunnel resources LinkedVpnTunnels pulumi.StringArrayOutput `pulumi:"linkedVpnTunnels"` Location pulumi.StringOutput `pulumi:"location"` // Immutable. The name of a Spoke resource. Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). RequestId pulumi.StringPtrOutput `pulumi:"requestId"` // Optional. Unique id for the Spoke to create. SpokeId pulumi.StringPtrOutput `pulumi:"spokeId"` // The current lifecycle state of this Hub. State pulumi.StringOutput `pulumi:"state"` // Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id. UniqueId pulumi.StringOutput `pulumi:"uniqueId"` // The time when the Spoke was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Creates a Network Connectivity Center spoke.
func GetSpoke ¶
func GetSpoke(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpokeState, opts ...pulumi.ResourceOption) (*Spoke, error)
GetSpoke gets an existing Spoke 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 NewSpoke ¶
func NewSpoke(ctx *pulumi.Context, name string, args *SpokeArgs, opts ...pulumi.ResourceOption) (*Spoke, error)
NewSpoke registers a new resource with the given unique name, arguments, and options.
func (*Spoke) ElementType ¶
func (*Spoke) ToSpokeOutput ¶
func (i *Spoke) ToSpokeOutput() SpokeOutput
func (*Spoke) ToSpokeOutputWithContext ¶
func (i *Spoke) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
type SpokeArgs ¶
type SpokeArgs struct { // The time when the Spoke was created. CreateTime pulumi.StringPtrInput // Short description of the spoke resource Description pulumi.StringPtrInput // The resource URL of the hub resource that the spoke is attached to Hub pulumi.StringPtrInput // User-defined labels. Labels pulumi.StringMapInput // The URIs of linked interconnect attachment resources LinkedInterconnectAttachments pulumi.StringArrayInput // The URIs of linked Router appliance resources LinkedRouterApplianceInstances RouterApplianceInstanceArrayInput // The URIs of linked VPN tunnel resources LinkedVpnTunnels pulumi.StringArrayInput Location pulumi.StringPtrInput // Immutable. The name of a Spoke resource. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). RequestId pulumi.StringPtrInput // Optional. Unique id for the Spoke to create. SpokeId pulumi.StringPtrInput // The time when the Spoke was updated. UpdateTime pulumi.StringPtrInput }
The set of arguments for constructing a Spoke resource.
func (SpokeArgs) ElementType ¶
type SpokeIamBinding ¶ added in v0.26.0
type SpokeIamBinding 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 GetSpokeIamBinding ¶ added in v0.26.0
func GetSpokeIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpokeIamBindingState, opts ...pulumi.ResourceOption) (*SpokeIamBinding, error)
GetSpokeIamBinding gets an existing SpokeIamBinding 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 NewSpokeIamBinding ¶ added in v0.26.0
func NewSpokeIamBinding(ctx *pulumi.Context, name string, args *SpokeIamBindingArgs, opts ...pulumi.ResourceOption) (*SpokeIamBinding, error)
NewSpokeIamBinding registers a new resource with the given unique name, arguments, and options.
func (*SpokeIamBinding) ElementType ¶ added in v0.26.0
func (*SpokeIamBinding) ElementType() reflect.Type
func (*SpokeIamBinding) ToSpokeIamBindingOutput ¶ added in v0.26.0
func (i *SpokeIamBinding) ToSpokeIamBindingOutput() SpokeIamBindingOutput
func (*SpokeIamBinding) ToSpokeIamBindingOutputWithContext ¶ added in v0.26.0
func (i *SpokeIamBinding) ToSpokeIamBindingOutputWithContext(ctx context.Context) SpokeIamBindingOutput
type SpokeIamBindingArgs ¶ added in v0.26.0
type SpokeIamBindingArgs 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 SpokeIamBinding resource.
func (SpokeIamBindingArgs) ElementType ¶ added in v0.26.0
func (SpokeIamBindingArgs) ElementType() reflect.Type
type SpokeIamBindingInput ¶ added in v0.26.0
type SpokeIamBindingInput interface { pulumi.Input ToSpokeIamBindingOutput() SpokeIamBindingOutput ToSpokeIamBindingOutputWithContext(ctx context.Context) SpokeIamBindingOutput }
type SpokeIamBindingOutput ¶ added in v0.26.0
type SpokeIamBindingOutput struct{ *pulumi.OutputState }
func (SpokeIamBindingOutput) Condition ¶ added in v0.26.0
func (o SpokeIamBindingOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (SpokeIamBindingOutput) ElementType ¶ added in v0.26.0
func (SpokeIamBindingOutput) ElementType() reflect.Type
func (SpokeIamBindingOutput) Etag ¶ added in v0.26.0
func (o SpokeIamBindingOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (SpokeIamBindingOutput) Members ¶ added in v0.26.0
func (o SpokeIamBindingOutput) 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 (SpokeIamBindingOutput) Name ¶ added in v0.26.0
func (o SpokeIamBindingOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (SpokeIamBindingOutput) Project ¶ added in v0.26.0
func (o SpokeIamBindingOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (SpokeIamBindingOutput) Role ¶ added in v0.26.0
func (o SpokeIamBindingOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (SpokeIamBindingOutput) ToSpokeIamBindingOutput ¶ added in v0.26.0
func (o SpokeIamBindingOutput) ToSpokeIamBindingOutput() SpokeIamBindingOutput
func (SpokeIamBindingOutput) ToSpokeIamBindingOutputWithContext ¶ added in v0.26.0
func (o SpokeIamBindingOutput) ToSpokeIamBindingOutputWithContext(ctx context.Context) SpokeIamBindingOutput
type SpokeIamBindingState ¶ added in v0.26.0
type SpokeIamBindingState struct { }
func (SpokeIamBindingState) ElementType ¶ added in v0.26.0
func (SpokeIamBindingState) ElementType() reflect.Type
type SpokeIamMember ¶ added in v0.26.0
type SpokeIamMember 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 GetSpokeIamMember ¶ added in v0.26.0
func GetSpokeIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpokeIamMemberState, opts ...pulumi.ResourceOption) (*SpokeIamMember, error)
GetSpokeIamMember gets an existing SpokeIamMember 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 NewSpokeIamMember ¶ added in v0.26.0
func NewSpokeIamMember(ctx *pulumi.Context, name string, args *SpokeIamMemberArgs, opts ...pulumi.ResourceOption) (*SpokeIamMember, error)
NewSpokeIamMember registers a new resource with the given unique name, arguments, and options.
func (*SpokeIamMember) ElementType ¶ added in v0.26.0
func (*SpokeIamMember) ElementType() reflect.Type
func (*SpokeIamMember) ToSpokeIamMemberOutput ¶ added in v0.26.0
func (i *SpokeIamMember) ToSpokeIamMemberOutput() SpokeIamMemberOutput
func (*SpokeIamMember) ToSpokeIamMemberOutputWithContext ¶ added in v0.26.0
func (i *SpokeIamMember) ToSpokeIamMemberOutputWithContext(ctx context.Context) SpokeIamMemberOutput
type SpokeIamMemberArgs ¶ added in v0.26.0
type SpokeIamMemberArgs 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 SpokeIamMember resource.
func (SpokeIamMemberArgs) ElementType ¶ added in v0.26.0
func (SpokeIamMemberArgs) ElementType() reflect.Type
type SpokeIamMemberInput ¶ added in v0.26.0
type SpokeIamMemberInput interface { pulumi.Input ToSpokeIamMemberOutput() SpokeIamMemberOutput ToSpokeIamMemberOutputWithContext(ctx context.Context) SpokeIamMemberOutput }
type SpokeIamMemberOutput ¶ added in v0.26.0
type SpokeIamMemberOutput struct{ *pulumi.OutputState }
func (SpokeIamMemberOutput) Condition ¶ added in v0.26.0
func (o SpokeIamMemberOutput) Condition() iam.ConditionPtrOutput
An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
func (SpokeIamMemberOutput) ElementType ¶ added in v0.26.0
func (SpokeIamMemberOutput) ElementType() reflect.Type
func (SpokeIamMemberOutput) Etag ¶ added in v0.26.0
func (o SpokeIamMemberOutput) Etag() pulumi.StringOutput
The etag of the resource's IAM policy.
func (SpokeIamMemberOutput) Member ¶ added in v0.26.0
func (o SpokeIamMemberOutput) 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 (SpokeIamMemberOutput) Name ¶ added in v0.26.0
func (o SpokeIamMemberOutput) Name() pulumi.StringOutput
The name of the resource to manage IAM policies for.
func (SpokeIamMemberOutput) Project ¶ added in v0.26.0
func (o SpokeIamMemberOutput) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, a default will be supplied.
func (SpokeIamMemberOutput) Role ¶ added in v0.26.0
func (o SpokeIamMemberOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (SpokeIamMemberOutput) ToSpokeIamMemberOutput ¶ added in v0.26.0
func (o SpokeIamMemberOutput) ToSpokeIamMemberOutput() SpokeIamMemberOutput
func (SpokeIamMemberOutput) ToSpokeIamMemberOutputWithContext ¶ added in v0.26.0
func (o SpokeIamMemberOutput) ToSpokeIamMemberOutputWithContext(ctx context.Context) SpokeIamMemberOutput
type SpokeIamMemberState ¶ added in v0.26.0
type SpokeIamMemberState struct { }
func (SpokeIamMemberState) ElementType ¶ added in v0.26.0
func (SpokeIamMemberState) ElementType() reflect.Type
type SpokeIamPolicy ¶
type SpokeIamPolicy 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"` // `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"` SpokeId pulumi.StringOutput `pulumi:"spokeId"` // 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 GetSpokeIamPolicy ¶
func GetSpokeIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpokeIamPolicyState, opts ...pulumi.ResourceOption) (*SpokeIamPolicy, error)
GetSpokeIamPolicy gets an existing SpokeIamPolicy 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 NewSpokeIamPolicy ¶
func NewSpokeIamPolicy(ctx *pulumi.Context, name string, args *SpokeIamPolicyArgs, opts ...pulumi.ResourceOption) (*SpokeIamPolicy, error)
NewSpokeIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*SpokeIamPolicy) ElementType ¶
func (*SpokeIamPolicy) ElementType() reflect.Type
func (*SpokeIamPolicy) ToSpokeIamPolicyOutput ¶
func (i *SpokeIamPolicy) ToSpokeIamPolicyOutput() SpokeIamPolicyOutput
func (*SpokeIamPolicy) ToSpokeIamPolicyOutputWithContext ¶
func (i *SpokeIamPolicy) ToSpokeIamPolicyOutputWithContext(ctx context.Context) SpokeIamPolicyOutput
type SpokeIamPolicyArgs ¶
type SpokeIamPolicyArgs 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 // `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 SpokeId pulumi.StringInput // 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 SpokeIamPolicy resource.
func (SpokeIamPolicyArgs) ElementType ¶
func (SpokeIamPolicyArgs) ElementType() reflect.Type
type SpokeIamPolicyInput ¶
type SpokeIamPolicyInput interface { pulumi.Input ToSpokeIamPolicyOutput() SpokeIamPolicyOutput ToSpokeIamPolicyOutputWithContext(ctx context.Context) SpokeIamPolicyOutput }
type SpokeIamPolicyOutput ¶
type SpokeIamPolicyOutput struct{ *pulumi.OutputState }
func (SpokeIamPolicyOutput) AuditConfigs ¶ added in v0.19.0
func (o SpokeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput
Specifies cloud audit logging configuration for this policy.
func (SpokeIamPolicyOutput) Bindings ¶ added in v0.19.0
func (o SpokeIamPolicyOutput) 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 (SpokeIamPolicyOutput) ElementType ¶
func (SpokeIamPolicyOutput) ElementType() reflect.Type
func (SpokeIamPolicyOutput) Etag ¶ added in v0.19.0
func (o SpokeIamPolicyOutput) 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 (SpokeIamPolicyOutput) Location ¶ added in v0.21.0
func (o SpokeIamPolicyOutput) Location() pulumi.StringOutput
func (SpokeIamPolicyOutput) Project ¶ added in v0.21.0
func (o SpokeIamPolicyOutput) Project() pulumi.StringOutput
func (SpokeIamPolicyOutput) SpokeId ¶ added in v0.21.0
func (o SpokeIamPolicyOutput) SpokeId() pulumi.StringOutput
func (SpokeIamPolicyOutput) ToSpokeIamPolicyOutput ¶
func (o SpokeIamPolicyOutput) ToSpokeIamPolicyOutput() SpokeIamPolicyOutput
func (SpokeIamPolicyOutput) ToSpokeIamPolicyOutputWithContext ¶
func (o SpokeIamPolicyOutput) ToSpokeIamPolicyOutputWithContext(ctx context.Context) SpokeIamPolicyOutput
func (SpokeIamPolicyOutput) Version ¶ added in v0.19.0
func (o SpokeIamPolicyOutput) 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 SpokeIamPolicyState ¶
type SpokeIamPolicyState struct { }
func (SpokeIamPolicyState) ElementType ¶
func (SpokeIamPolicyState) ElementType() reflect.Type
type SpokeInput ¶
type SpokeInput interface { pulumi.Input ToSpokeOutput() SpokeOutput ToSpokeOutputWithContext(ctx context.Context) SpokeOutput }
type SpokeOutput ¶
type SpokeOutput struct{ *pulumi.OutputState }
func (SpokeOutput) CreateTime ¶ added in v0.19.0
func (o SpokeOutput) CreateTime() pulumi.StringOutput
The time when the Spoke was created.
func (SpokeOutput) Description ¶ added in v0.19.0
func (o SpokeOutput) Description() pulumi.StringOutput
Short description of the spoke resource
func (SpokeOutput) ElementType ¶
func (SpokeOutput) ElementType() reflect.Type
func (SpokeOutput) Hub ¶ added in v0.19.0
func (o SpokeOutput) Hub() pulumi.StringOutput
The resource URL of the hub resource that the spoke is attached to
func (SpokeOutput) Labels ¶ added in v0.19.0
func (o SpokeOutput) Labels() pulumi.StringMapOutput
User-defined labels.
func (SpokeOutput) LinkedInterconnectAttachments ¶ added in v0.19.0
func (o SpokeOutput) LinkedInterconnectAttachments() pulumi.StringArrayOutput
The URIs of linked interconnect attachment resources
func (SpokeOutput) LinkedRouterApplianceInstances ¶ added in v0.19.0
func (o SpokeOutput) LinkedRouterApplianceInstances() RouterApplianceInstanceResponseArrayOutput
The URIs of linked Router appliance resources
func (SpokeOutput) LinkedVpnTunnels ¶ added in v0.19.0
func (o SpokeOutput) LinkedVpnTunnels() pulumi.StringArrayOutput
The URIs of linked VPN tunnel resources
func (SpokeOutput) Location ¶ added in v0.21.0
func (o SpokeOutput) Location() pulumi.StringOutput
func (SpokeOutput) Name ¶ added in v0.19.0
func (o SpokeOutput) Name() pulumi.StringOutput
Immutable. The name of a Spoke resource.
func (SpokeOutput) Project ¶ added in v0.21.0
func (o SpokeOutput) Project() pulumi.StringOutput
func (SpokeOutput) RequestId ¶ added in v0.21.0
func (o SpokeOutput) RequestId() pulumi.StringPtrOutput
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
func (SpokeOutput) SpokeId ¶ added in v0.21.0
func (o SpokeOutput) SpokeId() pulumi.StringPtrOutput
Optional. Unique id for the Spoke to create.
func (SpokeOutput) State ¶ added in v0.19.0
func (o SpokeOutput) State() pulumi.StringOutput
The current lifecycle state of this Hub.
func (SpokeOutput) ToSpokeOutput ¶
func (o SpokeOutput) ToSpokeOutput() SpokeOutput
func (SpokeOutput) ToSpokeOutputWithContext ¶
func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput
func (SpokeOutput) UniqueId ¶ added in v0.19.0
func (o SpokeOutput) UniqueId() pulumi.StringOutput
Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
func (SpokeOutput) UpdateTime ¶ added in v0.19.0
func (o SpokeOutput) UpdateTime() pulumi.StringOutput
The time when the Spoke was updated.
type SpokeState ¶
type SpokeState struct { }
func (SpokeState) ElementType ¶
func (SpokeState) ElementType() reflect.Type
Source Files
¶
- getHub.go
- getHubIamPolicy.go
- getInternalRange.go
- getInternalRangeIamPolicy.go
- getSpoke.go
- getSpokeIamPolicy.go
- hub.go
- hubIamBinding.go
- hubIamMember.go
- hubIamPolicy.go
- init.go
- internalRange.go
- internalRangeIamBinding.go
- internalRangeIamMember.go
- internalRangeIamPolicy.go
- pulumiEnums.go
- pulumiTypes.go
- spoke.go
- spokeIamBinding.go
- spokeIamMember.go
- spokeIamPolicy.go