Documentation
¶
Index ¶
- type Api
- type ApiArgs
- type ApiConfig
- type ApiConfigArgs
- type ApiConfigGatewayConfig
- type ApiConfigGatewayConfigArgs
- func (ApiConfigGatewayConfigArgs) ElementType() reflect.Type
- func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigOutput() ApiConfigGatewayConfigOutput
- func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigOutput
- func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigPtrOutput() ApiConfigGatewayConfigPtrOutput
- func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigPtrOutput
- type ApiConfigGatewayConfigBackendConfig
- type ApiConfigGatewayConfigBackendConfigArgs
- func (ApiConfigGatewayConfigBackendConfigArgs) ElementType() reflect.Type
- func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigOutput() ApiConfigGatewayConfigBackendConfigOutput
- func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigOutput
- func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigPtrOutput() ApiConfigGatewayConfigBackendConfigPtrOutput
- func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigPtrOutput
- type ApiConfigGatewayConfigBackendConfigInput
- type ApiConfigGatewayConfigBackendConfigOutput
- func (ApiConfigGatewayConfigBackendConfigOutput) ElementType() reflect.Type
- func (o ApiConfigGatewayConfigBackendConfigOutput) GoogleServiceAccount() pulumi.StringOutput
- func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigOutput() ApiConfigGatewayConfigBackendConfigOutput
- func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigOutput
- func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigPtrOutput() ApiConfigGatewayConfigBackendConfigPtrOutput
- func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigPtrOutput
- type ApiConfigGatewayConfigBackendConfigPtrInput
- type ApiConfigGatewayConfigBackendConfigPtrOutput
- func (o ApiConfigGatewayConfigBackendConfigPtrOutput) Elem() ApiConfigGatewayConfigBackendConfigOutput
- func (ApiConfigGatewayConfigBackendConfigPtrOutput) ElementType() reflect.Type
- func (o ApiConfigGatewayConfigBackendConfigPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput
- func (o ApiConfigGatewayConfigBackendConfigPtrOutput) ToApiConfigGatewayConfigBackendConfigPtrOutput() ApiConfigGatewayConfigBackendConfigPtrOutput
- func (o ApiConfigGatewayConfigBackendConfigPtrOutput) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigPtrOutput
- type ApiConfigGatewayConfigInput
- type ApiConfigGatewayConfigOutput
- func (o ApiConfigGatewayConfigOutput) BackendConfig() ApiConfigGatewayConfigBackendConfigOutput
- func (ApiConfigGatewayConfigOutput) ElementType() reflect.Type
- func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigOutput() ApiConfigGatewayConfigOutput
- func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigOutput
- func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigPtrOutput() ApiConfigGatewayConfigPtrOutput
- func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigPtrOutput
- type ApiConfigGatewayConfigPtrInput
- type ApiConfigGatewayConfigPtrOutput
- func (o ApiConfigGatewayConfigPtrOutput) BackendConfig() ApiConfigGatewayConfigBackendConfigPtrOutput
- func (o ApiConfigGatewayConfigPtrOutput) Elem() ApiConfigGatewayConfigOutput
- func (ApiConfigGatewayConfigPtrOutput) ElementType() reflect.Type
- func (o ApiConfigGatewayConfigPtrOutput) ToApiConfigGatewayConfigPtrOutput() ApiConfigGatewayConfigPtrOutput
- func (o ApiConfigGatewayConfigPtrOutput) ToApiConfigGatewayConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigPtrOutput
- type ApiConfigIamBinding
- type ApiConfigIamBindingArgs
- type ApiConfigIamBindingCondition
- type ApiConfigIamBindingConditionArgs
- func (ApiConfigIamBindingConditionArgs) ElementType() reflect.Type
- func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionOutput() ApiConfigIamBindingConditionOutput
- func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionOutput
- func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionPtrOutput() ApiConfigIamBindingConditionPtrOutput
- func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionPtrOutput
- type ApiConfigIamBindingConditionInput
- type ApiConfigIamBindingConditionOutput
- func (o ApiConfigIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (ApiConfigIamBindingConditionOutput) ElementType() reflect.Type
- func (o ApiConfigIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o ApiConfigIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionOutput() ApiConfigIamBindingConditionOutput
- func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionOutput
- func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionPtrOutput() ApiConfigIamBindingConditionPtrOutput
- func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionPtrOutput
- type ApiConfigIamBindingConditionPtrInput
- type ApiConfigIamBindingConditionPtrOutput
- func (o ApiConfigIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ApiConfigIamBindingConditionPtrOutput) Elem() ApiConfigIamBindingConditionOutput
- func (ApiConfigIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o ApiConfigIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ApiConfigIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ApiConfigIamBindingConditionPtrOutput) ToApiConfigIamBindingConditionPtrOutput() ApiConfigIamBindingConditionPtrOutput
- func (o ApiConfigIamBindingConditionPtrOutput) ToApiConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionPtrOutput
- type ApiConfigIamBindingInput
- type ApiConfigIamBindingOutput
- type ApiConfigIamBindingState
- type ApiConfigIamMember
- type ApiConfigIamMemberArgs
- type ApiConfigIamMemberCondition
- type ApiConfigIamMemberConditionArgs
- func (ApiConfigIamMemberConditionArgs) ElementType() reflect.Type
- func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionOutput() ApiConfigIamMemberConditionOutput
- func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionOutput
- func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionPtrOutput() ApiConfigIamMemberConditionPtrOutput
- func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionPtrOutput
- type ApiConfigIamMemberConditionInput
- type ApiConfigIamMemberConditionOutput
- func (o ApiConfigIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (ApiConfigIamMemberConditionOutput) ElementType() reflect.Type
- func (o ApiConfigIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o ApiConfigIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionOutput() ApiConfigIamMemberConditionOutput
- func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionOutput
- func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionPtrOutput() ApiConfigIamMemberConditionPtrOutput
- func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionPtrOutput
- type ApiConfigIamMemberConditionPtrInput
- type ApiConfigIamMemberConditionPtrOutput
- func (o ApiConfigIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ApiConfigIamMemberConditionPtrOutput) Elem() ApiConfigIamMemberConditionOutput
- func (ApiConfigIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o ApiConfigIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ApiConfigIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ApiConfigIamMemberConditionPtrOutput) ToApiConfigIamMemberConditionPtrOutput() ApiConfigIamMemberConditionPtrOutput
- func (o ApiConfigIamMemberConditionPtrOutput) ToApiConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionPtrOutput
- type ApiConfigIamMemberInput
- type ApiConfigIamMemberOutput
- type ApiConfigIamMemberState
- type ApiConfigIamPolicy
- type ApiConfigIamPolicyArgs
- type ApiConfigIamPolicyInput
- type ApiConfigIamPolicyOutput
- type ApiConfigIamPolicyState
- type ApiConfigInput
- type ApiConfigOpenapiDocument
- type ApiConfigOpenapiDocumentArgs
- func (ApiConfigOpenapiDocumentArgs) ElementType() reflect.Type
- func (i ApiConfigOpenapiDocumentArgs) ToApiConfigOpenapiDocumentOutput() ApiConfigOpenapiDocumentOutput
- func (i ApiConfigOpenapiDocumentArgs) ToApiConfigOpenapiDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentOutput
- type ApiConfigOpenapiDocumentArray
- func (ApiConfigOpenapiDocumentArray) ElementType() reflect.Type
- func (i ApiConfigOpenapiDocumentArray) ToApiConfigOpenapiDocumentArrayOutput() ApiConfigOpenapiDocumentArrayOutput
- func (i ApiConfigOpenapiDocumentArray) ToApiConfigOpenapiDocumentArrayOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentArrayOutput
- type ApiConfigOpenapiDocumentArrayInput
- type ApiConfigOpenapiDocumentArrayOutput
- func (ApiConfigOpenapiDocumentArrayOutput) ElementType() reflect.Type
- func (o ApiConfigOpenapiDocumentArrayOutput) Index(i pulumi.IntInput) ApiConfigOpenapiDocumentOutput
- func (o ApiConfigOpenapiDocumentArrayOutput) ToApiConfigOpenapiDocumentArrayOutput() ApiConfigOpenapiDocumentArrayOutput
- func (o ApiConfigOpenapiDocumentArrayOutput) ToApiConfigOpenapiDocumentArrayOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentArrayOutput
- type ApiConfigOpenapiDocumentDocument
- type ApiConfigOpenapiDocumentDocumentArgs
- func (ApiConfigOpenapiDocumentDocumentArgs) ElementType() reflect.Type
- func (i ApiConfigOpenapiDocumentDocumentArgs) ToApiConfigOpenapiDocumentDocumentOutput() ApiConfigOpenapiDocumentDocumentOutput
- func (i ApiConfigOpenapiDocumentDocumentArgs) ToApiConfigOpenapiDocumentDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentDocumentOutput
- type ApiConfigOpenapiDocumentDocumentInput
- type ApiConfigOpenapiDocumentDocumentOutput
- func (o ApiConfigOpenapiDocumentDocumentOutput) Contents() pulumi.StringOutput
- func (ApiConfigOpenapiDocumentDocumentOutput) ElementType() reflect.Type
- func (o ApiConfigOpenapiDocumentDocumentOutput) Path() pulumi.StringOutput
- func (o ApiConfigOpenapiDocumentDocumentOutput) ToApiConfigOpenapiDocumentDocumentOutput() ApiConfigOpenapiDocumentDocumentOutput
- func (o ApiConfigOpenapiDocumentDocumentOutput) ToApiConfigOpenapiDocumentDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentDocumentOutput
- type ApiConfigOpenapiDocumentInput
- type ApiConfigOpenapiDocumentOutput
- func (o ApiConfigOpenapiDocumentOutput) Document() ApiConfigOpenapiDocumentDocumentOutput
- func (ApiConfigOpenapiDocumentOutput) ElementType() reflect.Type
- func (o ApiConfigOpenapiDocumentOutput) ToApiConfigOpenapiDocumentOutput() ApiConfigOpenapiDocumentOutput
- func (o ApiConfigOpenapiDocumentOutput) ToApiConfigOpenapiDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentOutput
- type ApiConfigOutput
- type ApiConfigState
- type ApiIamBinding
- type ApiIamBindingArgs
- type ApiIamBindingCondition
- type ApiIamBindingConditionArgs
- func (ApiIamBindingConditionArgs) ElementType() reflect.Type
- func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionOutput() ApiIamBindingConditionOutput
- func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionOutputWithContext(ctx context.Context) ApiIamBindingConditionOutput
- func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionPtrOutput() ApiIamBindingConditionPtrOutput
- func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiIamBindingConditionPtrOutput
- type ApiIamBindingConditionInput
- type ApiIamBindingConditionOutput
- func (o ApiIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (ApiIamBindingConditionOutput) ElementType() reflect.Type
- func (o ApiIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o ApiIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionOutput() ApiIamBindingConditionOutput
- func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionOutputWithContext(ctx context.Context) ApiIamBindingConditionOutput
- func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionPtrOutput() ApiIamBindingConditionPtrOutput
- func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiIamBindingConditionPtrOutput
- type ApiIamBindingConditionPtrInput
- type ApiIamBindingConditionPtrOutput
- func (o ApiIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ApiIamBindingConditionPtrOutput) Elem() ApiIamBindingConditionOutput
- func (ApiIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o ApiIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ApiIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ApiIamBindingConditionPtrOutput) ToApiIamBindingConditionPtrOutput() ApiIamBindingConditionPtrOutput
- func (o ApiIamBindingConditionPtrOutput) ToApiIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiIamBindingConditionPtrOutput
- type ApiIamBindingInput
- type ApiIamBindingOutput
- type ApiIamBindingState
- type ApiIamMember
- type ApiIamMemberArgs
- type ApiIamMemberCondition
- type ApiIamMemberConditionArgs
- func (ApiIamMemberConditionArgs) ElementType() reflect.Type
- func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionOutput() ApiIamMemberConditionOutput
- func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionOutputWithContext(ctx context.Context) ApiIamMemberConditionOutput
- func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionPtrOutput() ApiIamMemberConditionPtrOutput
- func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiIamMemberConditionPtrOutput
- type ApiIamMemberConditionInput
- type ApiIamMemberConditionOutput
- func (o ApiIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (ApiIamMemberConditionOutput) ElementType() reflect.Type
- func (o ApiIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o ApiIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionOutput() ApiIamMemberConditionOutput
- func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionOutputWithContext(ctx context.Context) ApiIamMemberConditionOutput
- func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionPtrOutput() ApiIamMemberConditionPtrOutput
- func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiIamMemberConditionPtrOutput
- type ApiIamMemberConditionPtrInput
- type ApiIamMemberConditionPtrOutput
- func (o ApiIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ApiIamMemberConditionPtrOutput) Elem() ApiIamMemberConditionOutput
- func (ApiIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o ApiIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ApiIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ApiIamMemberConditionPtrOutput) ToApiIamMemberConditionPtrOutput() ApiIamMemberConditionPtrOutput
- func (o ApiIamMemberConditionPtrOutput) ToApiIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiIamMemberConditionPtrOutput
- type ApiIamMemberInput
- type ApiIamMemberOutput
- type ApiIamMemberState
- type ApiIamPolicy
- type ApiIamPolicyArgs
- type ApiIamPolicyInput
- type ApiIamPolicyOutput
- type ApiIamPolicyState
- type ApiInput
- type ApiOutput
- type ApiState
- type Gateway
- type GatewayArgs
- type GatewayIamBinding
- type GatewayIamBindingArgs
- type GatewayIamBindingCondition
- type GatewayIamBindingConditionArgs
- func (GatewayIamBindingConditionArgs) ElementType() reflect.Type
- func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionOutput() GatewayIamBindingConditionOutput
- func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionOutputWithContext(ctx context.Context) GatewayIamBindingConditionOutput
- func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionPtrOutput() GatewayIamBindingConditionPtrOutput
- func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionPtrOutputWithContext(ctx context.Context) GatewayIamBindingConditionPtrOutput
- type GatewayIamBindingConditionInput
- type GatewayIamBindingConditionOutput
- func (o GatewayIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (GatewayIamBindingConditionOutput) ElementType() reflect.Type
- func (o GatewayIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o GatewayIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionOutput() GatewayIamBindingConditionOutput
- func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionOutputWithContext(ctx context.Context) GatewayIamBindingConditionOutput
- func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionPtrOutput() GatewayIamBindingConditionPtrOutput
- func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionPtrOutputWithContext(ctx context.Context) GatewayIamBindingConditionPtrOutput
- type GatewayIamBindingConditionPtrInput
- type GatewayIamBindingConditionPtrOutput
- func (o GatewayIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o GatewayIamBindingConditionPtrOutput) Elem() GatewayIamBindingConditionOutput
- func (GatewayIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o GatewayIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o GatewayIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o GatewayIamBindingConditionPtrOutput) ToGatewayIamBindingConditionPtrOutput() GatewayIamBindingConditionPtrOutput
- func (o GatewayIamBindingConditionPtrOutput) ToGatewayIamBindingConditionPtrOutputWithContext(ctx context.Context) GatewayIamBindingConditionPtrOutput
- type GatewayIamBindingInput
- type GatewayIamBindingOutput
- type GatewayIamBindingState
- type GatewayIamMember
- type GatewayIamMemberArgs
- type GatewayIamMemberCondition
- type GatewayIamMemberConditionArgs
- func (GatewayIamMemberConditionArgs) ElementType() reflect.Type
- func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionOutput() GatewayIamMemberConditionOutput
- func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionOutputWithContext(ctx context.Context) GatewayIamMemberConditionOutput
- func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionPtrOutput() GatewayIamMemberConditionPtrOutput
- func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionPtrOutputWithContext(ctx context.Context) GatewayIamMemberConditionPtrOutput
- type GatewayIamMemberConditionInput
- type GatewayIamMemberConditionOutput
- func (o GatewayIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (GatewayIamMemberConditionOutput) ElementType() reflect.Type
- func (o GatewayIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o GatewayIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionOutput() GatewayIamMemberConditionOutput
- func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionOutputWithContext(ctx context.Context) GatewayIamMemberConditionOutput
- func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionPtrOutput() GatewayIamMemberConditionPtrOutput
- func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionPtrOutputWithContext(ctx context.Context) GatewayIamMemberConditionPtrOutput
- type GatewayIamMemberConditionPtrInput
- type GatewayIamMemberConditionPtrOutput
- func (o GatewayIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o GatewayIamMemberConditionPtrOutput) Elem() GatewayIamMemberConditionOutput
- func (GatewayIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o GatewayIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o GatewayIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o GatewayIamMemberConditionPtrOutput) ToGatewayIamMemberConditionPtrOutput() GatewayIamMemberConditionPtrOutput
- func (o GatewayIamMemberConditionPtrOutput) ToGatewayIamMemberConditionPtrOutputWithContext(ctx context.Context) GatewayIamMemberConditionPtrOutput
- type GatewayIamMemberInput
- type GatewayIamMemberOutput
- type GatewayIamMemberState
- type GatewayIamPolicy
- type GatewayIamPolicyArgs
- type GatewayIamPolicyInput
- type GatewayIamPolicyOutput
- type GatewayIamPolicyState
- type GatewayInput
- type GatewayOutput
- type GatewayState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { pulumi.CustomResourceState // Identifier to assign to the API. Must be unique within scope of the parent resource(project) ApiId pulumi.StringOutput `pulumi:"apiId"` // Creation timestamp in RFC3339 text format. CreateTime pulumi.StringOutput `pulumi:"createTime"` // A user-visible name for the API. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Resource labels to represent user-provided metadata. Labels pulumi.StringMapOutput `pulumi:"labels"` // Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). // If not specified, a new Service will automatically be created in the same project as this API. ManagedService pulumi.StringOutput `pulumi:"managedService"` // The resource name of the API. Format 'projects/{{project}}/locations/global/apis/{{apiId}}' Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
## Import
Api can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigateway/api:Api default projects/{{project}}/locations/global/apis/{{name}}
```
```sh
$ pulumi import gcp:apigateway/api:Api default {{project}}/{{name}}
```
```sh
$ pulumi import gcp:apigateway/api:Api default {{name}}
```
func GetApi ¶
func GetApi(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiState, opts ...pulumi.ResourceOption) (*Api, error)
GetApi gets an existing Api 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 NewApi ¶
func NewApi(ctx *pulumi.Context, name string, args *ApiArgs, opts ...pulumi.ResourceOption) (*Api, error)
NewApi registers a new resource with the given unique name, arguments, and options.
func (Api) ElementType ¶ added in v4.4.0
func (Api) ToApiOutput ¶ added in v4.4.0
type ApiArgs ¶
type ApiArgs struct { // Identifier to assign to the API. Must be unique within scope of the parent resource(project) ApiId pulumi.StringInput // A user-visible name for the API. DisplayName pulumi.StringPtrInput // Resource labels to represent user-provided metadata. Labels pulumi.StringMapInput // Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). // If not specified, a new Service will automatically be created in the same project as this API. ManagedService pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Api resource.
func (ApiArgs) ElementType ¶
type ApiConfig ¶
type ApiConfig struct { pulumi.CustomResourceState // The API to attach the config to. Api pulumi.StringOutput `pulumi:"api"` // Identifier to assign to the API Config. Must be unique within scope of the parent resource(api). ApiConfigId pulumi.StringOutput `pulumi:"apiConfigId"` // Creates a unique name beginning with the // specified prefix. If this and apiConfigId are unspecified, a random value is chosen for the name. ApiConfigIdPrefix pulumi.StringOutput `pulumi:"apiConfigIdPrefix"` // A user-visible name for the API. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Immutable. Gateway specific configuration. // If not specified, backend authentication will be set to use OIDC authentication using the default compute service account // Structure is documented below. GatewayConfig ApiConfigGatewayConfigPtrOutput `pulumi:"gatewayConfig"` // Resource labels to represent user-provided metadata. Labels pulumi.StringMapOutput `pulumi:"labels"` // The resource name of the API Config. Name pulumi.StringOutput `pulumi:"name"` // An OpenAPI Specification Document describing an API. // Structure is documented below. OpenapiDocuments ApiConfigOpenapiDocumentArrayOutput `pulumi:"openapiDocuments"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The ID of the associated Service Config (https://cloud.google.com/service-infrastructure/docs/glossary#config). ServiceConfigId pulumi.StringOutput `pulumi:"serviceConfigId"` }
## Import
ApiConfig can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigateway/apiConfig:ApiConfig default projects/{{project}}/locations/global/apis/{{api}}/configs/{{name}}
```
```sh
$ pulumi import gcp:apigateway/apiConfig:ApiConfig default {{project}}/{{api}}/{{name}}
```
```sh
$ pulumi import gcp:apigateway/apiConfig:ApiConfig default {{api}}/{{name}}
```
func GetApiConfig ¶
func GetApiConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiConfigState, opts ...pulumi.ResourceOption) (*ApiConfig, error)
GetApiConfig gets an existing ApiConfig 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 NewApiConfig ¶
func NewApiConfig(ctx *pulumi.Context, name string, args *ApiConfigArgs, opts ...pulumi.ResourceOption) (*ApiConfig, error)
NewApiConfig registers a new resource with the given unique name, arguments, and options.
func (ApiConfig) ElementType ¶ added in v4.4.0
func (ApiConfig) ToApiConfigOutput ¶ added in v4.4.0
func (i ApiConfig) ToApiConfigOutput() ApiConfigOutput
func (ApiConfig) ToApiConfigOutputWithContext ¶ added in v4.4.0
func (i ApiConfig) ToApiConfigOutputWithContext(ctx context.Context) ApiConfigOutput
type ApiConfigArgs ¶
type ApiConfigArgs struct { // The API to attach the config to. Api pulumi.StringInput // Identifier to assign to the API Config. Must be unique within scope of the parent resource(api). ApiConfigId pulumi.StringPtrInput // Creates a unique name beginning with the // specified prefix. If this and apiConfigId are unspecified, a random value is chosen for the name. ApiConfigIdPrefix pulumi.StringPtrInput // A user-visible name for the API. DisplayName pulumi.StringPtrInput // Immutable. Gateway specific configuration. // If not specified, backend authentication will be set to use OIDC authentication using the default compute service account // Structure is documented below. GatewayConfig ApiConfigGatewayConfigPtrInput // Resource labels to represent user-provided metadata. Labels pulumi.StringMapInput // An OpenAPI Specification Document describing an API. // Structure is documented below. OpenapiDocuments ApiConfigOpenapiDocumentArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a ApiConfig resource.
func (ApiConfigArgs) ElementType ¶
func (ApiConfigArgs) ElementType() reflect.Type
type ApiConfigGatewayConfig ¶
type ApiConfigGatewayConfig struct { // Backend settings that are applied to all backends of the Gateway. // Structure is documented below. BackendConfig ApiConfigGatewayConfigBackendConfig `pulumi:"backendConfig"` }
type ApiConfigGatewayConfigArgs ¶
type ApiConfigGatewayConfigArgs struct { // Backend settings that are applied to all backends of the Gateway. // Structure is documented below. BackendConfig ApiConfigGatewayConfigBackendConfigInput `pulumi:"backendConfig"` }
func (ApiConfigGatewayConfigArgs) ElementType ¶
func (ApiConfigGatewayConfigArgs) ElementType() reflect.Type
func (ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigOutput ¶
func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigOutput() ApiConfigGatewayConfigOutput
func (ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigOutputWithContext ¶
func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigOutput
func (ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigPtrOutput ¶
func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigPtrOutput() ApiConfigGatewayConfigPtrOutput
func (ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigPtrOutputWithContext ¶
func (i ApiConfigGatewayConfigArgs) ToApiConfigGatewayConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigPtrOutput
type ApiConfigGatewayConfigBackendConfig ¶
type ApiConfigGatewayConfigBackendConfig struct { // Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured // (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). GoogleServiceAccount string `pulumi:"googleServiceAccount"` }
type ApiConfigGatewayConfigBackendConfigArgs ¶
type ApiConfigGatewayConfigBackendConfigArgs struct { // Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured // (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). GoogleServiceAccount pulumi.StringInput `pulumi:"googleServiceAccount"` }
func (ApiConfigGatewayConfigBackendConfigArgs) ElementType ¶
func (ApiConfigGatewayConfigBackendConfigArgs) ElementType() reflect.Type
func (ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigOutput ¶
func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigOutput() ApiConfigGatewayConfigBackendConfigOutput
func (ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigOutputWithContext ¶
func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigOutput
func (ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigPtrOutput ¶
func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigPtrOutput() ApiConfigGatewayConfigBackendConfigPtrOutput
func (ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext ¶
func (i ApiConfigGatewayConfigBackendConfigArgs) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigPtrOutput
type ApiConfigGatewayConfigBackendConfigInput ¶
type ApiConfigGatewayConfigBackendConfigInput interface { pulumi.Input ToApiConfigGatewayConfigBackendConfigOutput() ApiConfigGatewayConfigBackendConfigOutput ToApiConfigGatewayConfigBackendConfigOutputWithContext(context.Context) ApiConfigGatewayConfigBackendConfigOutput }
ApiConfigGatewayConfigBackendConfigInput is an input type that accepts ApiConfigGatewayConfigBackendConfigArgs and ApiConfigGatewayConfigBackendConfigOutput values. You can construct a concrete instance of `ApiConfigGatewayConfigBackendConfigInput` via:
ApiConfigGatewayConfigBackendConfigArgs{...}
type ApiConfigGatewayConfigBackendConfigOutput ¶
type ApiConfigGatewayConfigBackendConfigOutput struct{ *pulumi.OutputState }
func (ApiConfigGatewayConfigBackendConfigOutput) ElementType ¶
func (ApiConfigGatewayConfigBackendConfigOutput) ElementType() reflect.Type
func (ApiConfigGatewayConfigBackendConfigOutput) GoogleServiceAccount ¶
func (o ApiConfigGatewayConfigBackendConfigOutput) GoogleServiceAccount() pulumi.StringOutput
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend).
func (ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigOutput ¶
func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigOutput() ApiConfigGatewayConfigBackendConfigOutput
func (ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigOutputWithContext ¶
func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigOutput
func (ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigPtrOutput ¶
func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigPtrOutput() ApiConfigGatewayConfigBackendConfigPtrOutput
func (ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext ¶
func (o ApiConfigGatewayConfigBackendConfigOutput) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigPtrOutput
type ApiConfigGatewayConfigBackendConfigPtrInput ¶
type ApiConfigGatewayConfigBackendConfigPtrInput interface { pulumi.Input ToApiConfigGatewayConfigBackendConfigPtrOutput() ApiConfigGatewayConfigBackendConfigPtrOutput ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext(context.Context) ApiConfigGatewayConfigBackendConfigPtrOutput }
ApiConfigGatewayConfigBackendConfigPtrInput is an input type that accepts ApiConfigGatewayConfigBackendConfigArgs, ApiConfigGatewayConfigBackendConfigPtr and ApiConfigGatewayConfigBackendConfigPtrOutput values. You can construct a concrete instance of `ApiConfigGatewayConfigBackendConfigPtrInput` via:
ApiConfigGatewayConfigBackendConfigArgs{...} or: nil
func ApiConfigGatewayConfigBackendConfigPtr ¶
func ApiConfigGatewayConfigBackendConfigPtr(v *ApiConfigGatewayConfigBackendConfigArgs) ApiConfigGatewayConfigBackendConfigPtrInput
type ApiConfigGatewayConfigBackendConfigPtrOutput ¶
type ApiConfigGatewayConfigBackendConfigPtrOutput struct{ *pulumi.OutputState }
func (ApiConfigGatewayConfigBackendConfigPtrOutput) ElementType ¶
func (ApiConfigGatewayConfigBackendConfigPtrOutput) ElementType() reflect.Type
func (ApiConfigGatewayConfigBackendConfigPtrOutput) GoogleServiceAccount ¶
func (o ApiConfigGatewayConfigBackendConfigPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend).
func (ApiConfigGatewayConfigBackendConfigPtrOutput) ToApiConfigGatewayConfigBackendConfigPtrOutput ¶
func (o ApiConfigGatewayConfigBackendConfigPtrOutput) ToApiConfigGatewayConfigBackendConfigPtrOutput() ApiConfigGatewayConfigBackendConfigPtrOutput
func (ApiConfigGatewayConfigBackendConfigPtrOutput) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext ¶
func (o ApiConfigGatewayConfigBackendConfigPtrOutput) ToApiConfigGatewayConfigBackendConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigBackendConfigPtrOutput
type ApiConfigGatewayConfigInput ¶
type ApiConfigGatewayConfigInput interface { pulumi.Input ToApiConfigGatewayConfigOutput() ApiConfigGatewayConfigOutput ToApiConfigGatewayConfigOutputWithContext(context.Context) ApiConfigGatewayConfigOutput }
ApiConfigGatewayConfigInput is an input type that accepts ApiConfigGatewayConfigArgs and ApiConfigGatewayConfigOutput values. You can construct a concrete instance of `ApiConfigGatewayConfigInput` via:
ApiConfigGatewayConfigArgs{...}
type ApiConfigGatewayConfigOutput ¶
type ApiConfigGatewayConfigOutput struct{ *pulumi.OutputState }
func (ApiConfigGatewayConfigOutput) BackendConfig ¶
func (o ApiConfigGatewayConfigOutput) BackendConfig() ApiConfigGatewayConfigBackendConfigOutput
Backend settings that are applied to all backends of the Gateway. Structure is documented below.
func (ApiConfigGatewayConfigOutput) ElementType ¶
func (ApiConfigGatewayConfigOutput) ElementType() reflect.Type
func (ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigOutput ¶
func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigOutput() ApiConfigGatewayConfigOutput
func (ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigOutputWithContext ¶
func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigOutputWithContext(ctx context.Context) ApiConfigGatewayConfigOutput
func (ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigPtrOutput ¶
func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigPtrOutput() ApiConfigGatewayConfigPtrOutput
func (ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigPtrOutputWithContext ¶
func (o ApiConfigGatewayConfigOutput) ToApiConfigGatewayConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigPtrOutput
type ApiConfigGatewayConfigPtrInput ¶
type ApiConfigGatewayConfigPtrInput interface { pulumi.Input ToApiConfigGatewayConfigPtrOutput() ApiConfigGatewayConfigPtrOutput ToApiConfigGatewayConfigPtrOutputWithContext(context.Context) ApiConfigGatewayConfigPtrOutput }
ApiConfigGatewayConfigPtrInput is an input type that accepts ApiConfigGatewayConfigArgs, ApiConfigGatewayConfigPtr and ApiConfigGatewayConfigPtrOutput values. You can construct a concrete instance of `ApiConfigGatewayConfigPtrInput` via:
ApiConfigGatewayConfigArgs{...} or: nil
func ApiConfigGatewayConfigPtr ¶
func ApiConfigGatewayConfigPtr(v *ApiConfigGatewayConfigArgs) ApiConfigGatewayConfigPtrInput
type ApiConfigGatewayConfigPtrOutput ¶
type ApiConfigGatewayConfigPtrOutput struct{ *pulumi.OutputState }
func (ApiConfigGatewayConfigPtrOutput) BackendConfig ¶
func (o ApiConfigGatewayConfigPtrOutput) BackendConfig() ApiConfigGatewayConfigBackendConfigPtrOutput
Backend settings that are applied to all backends of the Gateway. Structure is documented below.
func (ApiConfigGatewayConfigPtrOutput) Elem ¶
func (o ApiConfigGatewayConfigPtrOutput) Elem() ApiConfigGatewayConfigOutput
func (ApiConfigGatewayConfigPtrOutput) ElementType ¶
func (ApiConfigGatewayConfigPtrOutput) ElementType() reflect.Type
func (ApiConfigGatewayConfigPtrOutput) ToApiConfigGatewayConfigPtrOutput ¶
func (o ApiConfigGatewayConfigPtrOutput) ToApiConfigGatewayConfigPtrOutput() ApiConfigGatewayConfigPtrOutput
func (ApiConfigGatewayConfigPtrOutput) ToApiConfigGatewayConfigPtrOutputWithContext ¶
func (o ApiConfigGatewayConfigPtrOutput) ToApiConfigGatewayConfigPtrOutputWithContext(ctx context.Context) ApiConfigGatewayConfigPtrOutput
type ApiConfigIamBinding ¶
type ApiConfigIamBinding struct { pulumi.CustomResourceState // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringOutput `pulumi:"api"` ApiConfig pulumi.StringOutput `pulumi:"apiConfig"` Condition ApiConfigIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `apigateway.ApiConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} * {{project}}/{{api}}/{{api_config}} * {{api}}/{{api_config}} * {{api_config}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway apiconfig IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamBinding:ApiConfigIamBinding editor "projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamBinding:ApiConfigIamBinding editor "projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamBinding:ApiConfigIamBinding editor projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetApiConfigIamBinding ¶
func GetApiConfigIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiConfigIamBindingState, opts ...pulumi.ResourceOption) (*ApiConfigIamBinding, error)
GetApiConfigIamBinding gets an existing ApiConfigIamBinding 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 NewApiConfigIamBinding ¶
func NewApiConfigIamBinding(ctx *pulumi.Context, name string, args *ApiConfigIamBindingArgs, opts ...pulumi.ResourceOption) (*ApiConfigIamBinding, error)
NewApiConfigIamBinding registers a new resource with the given unique name, arguments, and options.
func (ApiConfigIamBinding) ElementType ¶ added in v4.4.0
func (ApiConfigIamBinding) ElementType() reflect.Type
func (ApiConfigIamBinding) ToApiConfigIamBindingOutput ¶ added in v4.4.0
func (i ApiConfigIamBinding) ToApiConfigIamBindingOutput() ApiConfigIamBindingOutput
func (ApiConfigIamBinding) ToApiConfigIamBindingOutputWithContext ¶ added in v4.4.0
func (i ApiConfigIamBinding) ToApiConfigIamBindingOutputWithContext(ctx context.Context) ApiConfigIamBindingOutput
type ApiConfigIamBindingArgs ¶
type ApiConfigIamBindingArgs struct { // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringInput ApiConfig pulumi.StringInput Condition ApiConfigIamBindingConditionPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ApiConfigIamBinding resource.
func (ApiConfigIamBindingArgs) ElementType ¶
func (ApiConfigIamBindingArgs) ElementType() reflect.Type
type ApiConfigIamBindingConditionArgs ¶
type ApiConfigIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ApiConfigIamBindingConditionArgs) ElementType ¶
func (ApiConfigIamBindingConditionArgs) ElementType() reflect.Type
func (ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionOutput ¶
func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionOutput() ApiConfigIamBindingConditionOutput
func (ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionOutputWithContext ¶
func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionOutput
func (ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionPtrOutput ¶
func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionPtrOutput() ApiConfigIamBindingConditionPtrOutput
func (ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionPtrOutputWithContext ¶
func (i ApiConfigIamBindingConditionArgs) ToApiConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionPtrOutput
type ApiConfigIamBindingConditionInput ¶
type ApiConfigIamBindingConditionInput interface { pulumi.Input ToApiConfigIamBindingConditionOutput() ApiConfigIamBindingConditionOutput ToApiConfigIamBindingConditionOutputWithContext(context.Context) ApiConfigIamBindingConditionOutput }
ApiConfigIamBindingConditionInput is an input type that accepts ApiConfigIamBindingConditionArgs and ApiConfigIamBindingConditionOutput values. You can construct a concrete instance of `ApiConfigIamBindingConditionInput` via:
ApiConfigIamBindingConditionArgs{...}
type ApiConfigIamBindingConditionOutput ¶
type ApiConfigIamBindingConditionOutput struct{ *pulumi.OutputState }
func (ApiConfigIamBindingConditionOutput) Description ¶
func (o ApiConfigIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (ApiConfigIamBindingConditionOutput) ElementType ¶
func (ApiConfigIamBindingConditionOutput) ElementType() reflect.Type
func (ApiConfigIamBindingConditionOutput) Expression ¶
func (o ApiConfigIamBindingConditionOutput) Expression() pulumi.StringOutput
func (ApiConfigIamBindingConditionOutput) Title ¶
func (o ApiConfigIamBindingConditionOutput) Title() pulumi.StringOutput
func (ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionOutput ¶
func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionOutput() ApiConfigIamBindingConditionOutput
func (ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionOutputWithContext ¶
func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionOutput
func (ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionPtrOutput ¶
func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionPtrOutput() ApiConfigIamBindingConditionPtrOutput
func (ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionPtrOutputWithContext ¶
func (o ApiConfigIamBindingConditionOutput) ToApiConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionPtrOutput
type ApiConfigIamBindingConditionPtrInput ¶
type ApiConfigIamBindingConditionPtrInput interface { pulumi.Input ToApiConfigIamBindingConditionPtrOutput() ApiConfigIamBindingConditionPtrOutput ToApiConfigIamBindingConditionPtrOutputWithContext(context.Context) ApiConfigIamBindingConditionPtrOutput }
ApiConfigIamBindingConditionPtrInput is an input type that accepts ApiConfigIamBindingConditionArgs, ApiConfigIamBindingConditionPtr and ApiConfigIamBindingConditionPtrOutput values. You can construct a concrete instance of `ApiConfigIamBindingConditionPtrInput` via:
ApiConfigIamBindingConditionArgs{...} or: nil
func ApiConfigIamBindingConditionPtr ¶
func ApiConfigIamBindingConditionPtr(v *ApiConfigIamBindingConditionArgs) ApiConfigIamBindingConditionPtrInput
type ApiConfigIamBindingConditionPtrOutput ¶
type ApiConfigIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (ApiConfigIamBindingConditionPtrOutput) Description ¶
func (o ApiConfigIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ApiConfigIamBindingConditionPtrOutput) ElementType ¶
func (ApiConfigIamBindingConditionPtrOutput) ElementType() reflect.Type
func (ApiConfigIamBindingConditionPtrOutput) Expression ¶
func (o ApiConfigIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ApiConfigIamBindingConditionPtrOutput) Title ¶
func (o ApiConfigIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ApiConfigIamBindingConditionPtrOutput) ToApiConfigIamBindingConditionPtrOutput ¶
func (o ApiConfigIamBindingConditionPtrOutput) ToApiConfigIamBindingConditionPtrOutput() ApiConfigIamBindingConditionPtrOutput
func (ApiConfigIamBindingConditionPtrOutput) ToApiConfigIamBindingConditionPtrOutputWithContext ¶
func (o ApiConfigIamBindingConditionPtrOutput) ToApiConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamBindingConditionPtrOutput
type ApiConfigIamBindingInput ¶ added in v4.4.0
type ApiConfigIamBindingInput interface { pulumi.Input ToApiConfigIamBindingOutput() ApiConfigIamBindingOutput ToApiConfigIamBindingOutputWithContext(ctx context.Context) ApiConfigIamBindingOutput }
type ApiConfigIamBindingOutput ¶ added in v4.4.0
type ApiConfigIamBindingOutput struct {
*pulumi.OutputState
}
func (ApiConfigIamBindingOutput) ElementType ¶ added in v4.4.0
func (ApiConfigIamBindingOutput) ElementType() reflect.Type
func (ApiConfigIamBindingOutput) ToApiConfigIamBindingOutput ¶ added in v4.4.0
func (o ApiConfigIamBindingOutput) ToApiConfigIamBindingOutput() ApiConfigIamBindingOutput
func (ApiConfigIamBindingOutput) ToApiConfigIamBindingOutputWithContext ¶ added in v4.4.0
func (o ApiConfigIamBindingOutput) ToApiConfigIamBindingOutputWithContext(ctx context.Context) ApiConfigIamBindingOutput
type ApiConfigIamBindingState ¶
type ApiConfigIamBindingState struct { // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringPtrInput ApiConfig pulumi.StringPtrInput Condition ApiConfigIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ApiConfigIamBindingState) ElementType ¶
func (ApiConfigIamBindingState) ElementType() reflect.Type
type ApiConfigIamMember ¶
type ApiConfigIamMember struct { pulumi.CustomResourceState // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringOutput `pulumi:"api"` ApiConfig pulumi.StringOutput `pulumi:"apiConfig"` Condition ApiConfigIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `apigateway.ApiConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} * {{project}}/{{api}}/{{api_config}} * {{api}}/{{api_config}} * {{api_config}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway apiconfig IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamMember:ApiConfigIamMember editor "projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamMember:ApiConfigIamMember editor "projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamMember:ApiConfigIamMember editor projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetApiConfigIamMember ¶
func GetApiConfigIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiConfigIamMemberState, opts ...pulumi.ResourceOption) (*ApiConfigIamMember, error)
GetApiConfigIamMember gets an existing ApiConfigIamMember 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 NewApiConfigIamMember ¶
func NewApiConfigIamMember(ctx *pulumi.Context, name string, args *ApiConfigIamMemberArgs, opts ...pulumi.ResourceOption) (*ApiConfigIamMember, error)
NewApiConfigIamMember registers a new resource with the given unique name, arguments, and options.
func (ApiConfigIamMember) ElementType ¶ added in v4.4.0
func (ApiConfigIamMember) ElementType() reflect.Type
func (ApiConfigIamMember) ToApiConfigIamMemberOutput ¶ added in v4.4.0
func (i ApiConfigIamMember) ToApiConfigIamMemberOutput() ApiConfigIamMemberOutput
func (ApiConfigIamMember) ToApiConfigIamMemberOutputWithContext ¶ added in v4.4.0
func (i ApiConfigIamMember) ToApiConfigIamMemberOutputWithContext(ctx context.Context) ApiConfigIamMemberOutput
type ApiConfigIamMemberArgs ¶
type ApiConfigIamMemberArgs struct { // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringInput ApiConfig pulumi.StringInput Condition ApiConfigIamMemberConditionPtrInput Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ApiConfigIamMember resource.
func (ApiConfigIamMemberArgs) ElementType ¶
func (ApiConfigIamMemberArgs) ElementType() reflect.Type
type ApiConfigIamMemberConditionArgs ¶
type ApiConfigIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ApiConfigIamMemberConditionArgs) ElementType ¶
func (ApiConfigIamMemberConditionArgs) ElementType() reflect.Type
func (ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionOutput ¶
func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionOutput() ApiConfigIamMemberConditionOutput
func (ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionOutputWithContext ¶
func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionOutput
func (ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionPtrOutput ¶
func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionPtrOutput() ApiConfigIamMemberConditionPtrOutput
func (ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionPtrOutputWithContext ¶
func (i ApiConfigIamMemberConditionArgs) ToApiConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionPtrOutput
type ApiConfigIamMemberConditionInput ¶
type ApiConfigIamMemberConditionInput interface { pulumi.Input ToApiConfigIamMemberConditionOutput() ApiConfigIamMemberConditionOutput ToApiConfigIamMemberConditionOutputWithContext(context.Context) ApiConfigIamMemberConditionOutput }
ApiConfigIamMemberConditionInput is an input type that accepts ApiConfigIamMemberConditionArgs and ApiConfigIamMemberConditionOutput values. You can construct a concrete instance of `ApiConfigIamMemberConditionInput` via:
ApiConfigIamMemberConditionArgs{...}
type ApiConfigIamMemberConditionOutput ¶
type ApiConfigIamMemberConditionOutput struct{ *pulumi.OutputState }
func (ApiConfigIamMemberConditionOutput) Description ¶
func (o ApiConfigIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (ApiConfigIamMemberConditionOutput) ElementType ¶
func (ApiConfigIamMemberConditionOutput) ElementType() reflect.Type
func (ApiConfigIamMemberConditionOutput) Expression ¶
func (o ApiConfigIamMemberConditionOutput) Expression() pulumi.StringOutput
func (ApiConfigIamMemberConditionOutput) Title ¶
func (o ApiConfigIamMemberConditionOutput) Title() pulumi.StringOutput
func (ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionOutput ¶
func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionOutput() ApiConfigIamMemberConditionOutput
func (ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionOutputWithContext ¶
func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionOutput
func (ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionPtrOutput ¶
func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionPtrOutput() ApiConfigIamMemberConditionPtrOutput
func (ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionPtrOutputWithContext ¶
func (o ApiConfigIamMemberConditionOutput) ToApiConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionPtrOutput
type ApiConfigIamMemberConditionPtrInput ¶
type ApiConfigIamMemberConditionPtrInput interface { pulumi.Input ToApiConfigIamMemberConditionPtrOutput() ApiConfigIamMemberConditionPtrOutput ToApiConfigIamMemberConditionPtrOutputWithContext(context.Context) ApiConfigIamMemberConditionPtrOutput }
ApiConfigIamMemberConditionPtrInput is an input type that accepts ApiConfigIamMemberConditionArgs, ApiConfigIamMemberConditionPtr and ApiConfigIamMemberConditionPtrOutput values. You can construct a concrete instance of `ApiConfigIamMemberConditionPtrInput` via:
ApiConfigIamMemberConditionArgs{...} or: nil
func ApiConfigIamMemberConditionPtr ¶
func ApiConfigIamMemberConditionPtr(v *ApiConfigIamMemberConditionArgs) ApiConfigIamMemberConditionPtrInput
type ApiConfigIamMemberConditionPtrOutput ¶
type ApiConfigIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (ApiConfigIamMemberConditionPtrOutput) Description ¶
func (o ApiConfigIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ApiConfigIamMemberConditionPtrOutput) ElementType ¶
func (ApiConfigIamMemberConditionPtrOutput) ElementType() reflect.Type
func (ApiConfigIamMemberConditionPtrOutput) Expression ¶
func (o ApiConfigIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ApiConfigIamMemberConditionPtrOutput) Title ¶
func (o ApiConfigIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ApiConfigIamMemberConditionPtrOutput) ToApiConfigIamMemberConditionPtrOutput ¶
func (o ApiConfigIamMemberConditionPtrOutput) ToApiConfigIamMemberConditionPtrOutput() ApiConfigIamMemberConditionPtrOutput
func (ApiConfigIamMemberConditionPtrOutput) ToApiConfigIamMemberConditionPtrOutputWithContext ¶
func (o ApiConfigIamMemberConditionPtrOutput) ToApiConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiConfigIamMemberConditionPtrOutput
type ApiConfigIamMemberInput ¶ added in v4.4.0
type ApiConfigIamMemberInput interface { pulumi.Input ToApiConfigIamMemberOutput() ApiConfigIamMemberOutput ToApiConfigIamMemberOutputWithContext(ctx context.Context) ApiConfigIamMemberOutput }
type ApiConfigIamMemberOutput ¶ added in v4.4.0
type ApiConfigIamMemberOutput struct {
*pulumi.OutputState
}
func (ApiConfigIamMemberOutput) ElementType ¶ added in v4.4.0
func (ApiConfigIamMemberOutput) ElementType() reflect.Type
func (ApiConfigIamMemberOutput) ToApiConfigIamMemberOutput ¶ added in v4.4.0
func (o ApiConfigIamMemberOutput) ToApiConfigIamMemberOutput() ApiConfigIamMemberOutput
func (ApiConfigIamMemberOutput) ToApiConfigIamMemberOutputWithContext ¶ added in v4.4.0
func (o ApiConfigIamMemberOutput) ToApiConfigIamMemberOutputWithContext(ctx context.Context) ApiConfigIamMemberOutput
type ApiConfigIamMemberState ¶
type ApiConfigIamMemberState struct { // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringPtrInput ApiConfig pulumi.StringPtrInput Condition ApiConfigIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ApiConfigIamMemberState) ElementType ¶
func (ApiConfigIamMemberState) ElementType() reflect.Type
type ApiConfigIamPolicy ¶
type ApiConfigIamPolicy struct { pulumi.CustomResourceState // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringOutput `pulumi:"api"` ApiConfig pulumi.StringOutput `pulumi:"apiConfig"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} * {{project}}/{{api}}/{{api_config}} * {{api}}/{{api_config}} * {{api_config}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway apiconfig IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamPolicy:ApiConfigIamPolicy editor "projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamPolicy:ApiConfigIamPolicy editor "projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/apiConfigIamPolicy:ApiConfigIamPolicy editor projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetApiConfigIamPolicy ¶
func GetApiConfigIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiConfigIamPolicyState, opts ...pulumi.ResourceOption) (*ApiConfigIamPolicy, error)
GetApiConfigIamPolicy gets an existing ApiConfigIamPolicy 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 NewApiConfigIamPolicy ¶
func NewApiConfigIamPolicy(ctx *pulumi.Context, name string, args *ApiConfigIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiConfigIamPolicy, error)
NewApiConfigIamPolicy registers a new resource with the given unique name, arguments, and options.
func (ApiConfigIamPolicy) ElementType ¶ added in v4.4.0
func (ApiConfigIamPolicy) ElementType() reflect.Type
func (ApiConfigIamPolicy) ToApiConfigIamPolicyOutput ¶ added in v4.4.0
func (i ApiConfigIamPolicy) ToApiConfigIamPolicyOutput() ApiConfigIamPolicyOutput
func (ApiConfigIamPolicy) ToApiConfigIamPolicyOutputWithContext ¶ added in v4.4.0
func (i ApiConfigIamPolicy) ToApiConfigIamPolicyOutputWithContext(ctx context.Context) ApiConfigIamPolicyOutput
type ApiConfigIamPolicyArgs ¶
type ApiConfigIamPolicyArgs struct { // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringInput ApiConfig pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a ApiConfigIamPolicy resource.
func (ApiConfigIamPolicyArgs) ElementType ¶
func (ApiConfigIamPolicyArgs) ElementType() reflect.Type
type ApiConfigIamPolicyInput ¶ added in v4.4.0
type ApiConfigIamPolicyInput interface { pulumi.Input ToApiConfigIamPolicyOutput() ApiConfigIamPolicyOutput ToApiConfigIamPolicyOutputWithContext(ctx context.Context) ApiConfigIamPolicyOutput }
type ApiConfigIamPolicyOutput ¶ added in v4.4.0
type ApiConfigIamPolicyOutput struct {
*pulumi.OutputState
}
func (ApiConfigIamPolicyOutput) ElementType ¶ added in v4.4.0
func (ApiConfigIamPolicyOutput) ElementType() reflect.Type
func (ApiConfigIamPolicyOutput) ToApiConfigIamPolicyOutput ¶ added in v4.4.0
func (o ApiConfigIamPolicyOutput) ToApiConfigIamPolicyOutput() ApiConfigIamPolicyOutput
func (ApiConfigIamPolicyOutput) ToApiConfigIamPolicyOutputWithContext ¶ added in v4.4.0
func (o ApiConfigIamPolicyOutput) ToApiConfigIamPolicyOutputWithContext(ctx context.Context) ApiConfigIamPolicyOutput
type ApiConfigIamPolicyState ¶
type ApiConfigIamPolicyState struct { // The API to attach the config to. // Used to find the parent resource to bind the IAM policy to Api pulumi.StringPtrInput ApiConfig pulumi.StringPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
func (ApiConfigIamPolicyState) ElementType ¶
func (ApiConfigIamPolicyState) ElementType() reflect.Type
type ApiConfigInput ¶ added in v4.4.0
type ApiConfigInput interface { pulumi.Input ToApiConfigOutput() ApiConfigOutput ToApiConfigOutputWithContext(ctx context.Context) ApiConfigOutput }
type ApiConfigOpenapiDocument ¶
type ApiConfigOpenapiDocument struct { // The OpenAPI Specification document file. // Structure is documented below. Document ApiConfigOpenapiDocumentDocument `pulumi:"document"` }
type ApiConfigOpenapiDocumentArgs ¶
type ApiConfigOpenapiDocumentArgs struct { // The OpenAPI Specification document file. // Structure is documented below. Document ApiConfigOpenapiDocumentDocumentInput `pulumi:"document"` }
func (ApiConfigOpenapiDocumentArgs) ElementType ¶
func (ApiConfigOpenapiDocumentArgs) ElementType() reflect.Type
func (ApiConfigOpenapiDocumentArgs) ToApiConfigOpenapiDocumentOutput ¶
func (i ApiConfigOpenapiDocumentArgs) ToApiConfigOpenapiDocumentOutput() ApiConfigOpenapiDocumentOutput
func (ApiConfigOpenapiDocumentArgs) ToApiConfigOpenapiDocumentOutputWithContext ¶
func (i ApiConfigOpenapiDocumentArgs) ToApiConfigOpenapiDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentOutput
type ApiConfigOpenapiDocumentArray ¶
type ApiConfigOpenapiDocumentArray []ApiConfigOpenapiDocumentInput
func (ApiConfigOpenapiDocumentArray) ElementType ¶
func (ApiConfigOpenapiDocumentArray) ElementType() reflect.Type
func (ApiConfigOpenapiDocumentArray) ToApiConfigOpenapiDocumentArrayOutput ¶
func (i ApiConfigOpenapiDocumentArray) ToApiConfigOpenapiDocumentArrayOutput() ApiConfigOpenapiDocumentArrayOutput
func (ApiConfigOpenapiDocumentArray) ToApiConfigOpenapiDocumentArrayOutputWithContext ¶
func (i ApiConfigOpenapiDocumentArray) ToApiConfigOpenapiDocumentArrayOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentArrayOutput
type ApiConfigOpenapiDocumentArrayInput ¶
type ApiConfigOpenapiDocumentArrayInput interface { pulumi.Input ToApiConfigOpenapiDocumentArrayOutput() ApiConfigOpenapiDocumentArrayOutput ToApiConfigOpenapiDocumentArrayOutputWithContext(context.Context) ApiConfigOpenapiDocumentArrayOutput }
ApiConfigOpenapiDocumentArrayInput is an input type that accepts ApiConfigOpenapiDocumentArray and ApiConfigOpenapiDocumentArrayOutput values. You can construct a concrete instance of `ApiConfigOpenapiDocumentArrayInput` via:
ApiConfigOpenapiDocumentArray{ ApiConfigOpenapiDocumentArgs{...} }
type ApiConfigOpenapiDocumentArrayOutput ¶
type ApiConfigOpenapiDocumentArrayOutput struct{ *pulumi.OutputState }
func (ApiConfigOpenapiDocumentArrayOutput) ElementType ¶
func (ApiConfigOpenapiDocumentArrayOutput) ElementType() reflect.Type
func (ApiConfigOpenapiDocumentArrayOutput) Index ¶
func (o ApiConfigOpenapiDocumentArrayOutput) Index(i pulumi.IntInput) ApiConfigOpenapiDocumentOutput
func (ApiConfigOpenapiDocumentArrayOutput) ToApiConfigOpenapiDocumentArrayOutput ¶
func (o ApiConfigOpenapiDocumentArrayOutput) ToApiConfigOpenapiDocumentArrayOutput() ApiConfigOpenapiDocumentArrayOutput
func (ApiConfigOpenapiDocumentArrayOutput) ToApiConfigOpenapiDocumentArrayOutputWithContext ¶
func (o ApiConfigOpenapiDocumentArrayOutput) ToApiConfigOpenapiDocumentArrayOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentArrayOutput
type ApiConfigOpenapiDocumentDocumentArgs ¶
type ApiConfigOpenapiDocumentDocumentArgs struct { // Base64 encoded content of the file. Contents pulumi.StringInput `pulumi:"contents"` // The file path (full or relative path). This is typically the path of the file when it is uploaded. Path pulumi.StringInput `pulumi:"path"` }
func (ApiConfigOpenapiDocumentDocumentArgs) ElementType ¶
func (ApiConfigOpenapiDocumentDocumentArgs) ElementType() reflect.Type
func (ApiConfigOpenapiDocumentDocumentArgs) ToApiConfigOpenapiDocumentDocumentOutput ¶
func (i ApiConfigOpenapiDocumentDocumentArgs) ToApiConfigOpenapiDocumentDocumentOutput() ApiConfigOpenapiDocumentDocumentOutput
func (ApiConfigOpenapiDocumentDocumentArgs) ToApiConfigOpenapiDocumentDocumentOutputWithContext ¶
func (i ApiConfigOpenapiDocumentDocumentArgs) ToApiConfigOpenapiDocumentDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentDocumentOutput
type ApiConfigOpenapiDocumentDocumentInput ¶
type ApiConfigOpenapiDocumentDocumentInput interface { pulumi.Input ToApiConfigOpenapiDocumentDocumentOutput() ApiConfigOpenapiDocumentDocumentOutput ToApiConfigOpenapiDocumentDocumentOutputWithContext(context.Context) ApiConfigOpenapiDocumentDocumentOutput }
ApiConfigOpenapiDocumentDocumentInput is an input type that accepts ApiConfigOpenapiDocumentDocumentArgs and ApiConfigOpenapiDocumentDocumentOutput values. You can construct a concrete instance of `ApiConfigOpenapiDocumentDocumentInput` via:
ApiConfigOpenapiDocumentDocumentArgs{...}
type ApiConfigOpenapiDocumentDocumentOutput ¶
type ApiConfigOpenapiDocumentDocumentOutput struct{ *pulumi.OutputState }
func (ApiConfigOpenapiDocumentDocumentOutput) Contents ¶
func (o ApiConfigOpenapiDocumentDocumentOutput) Contents() pulumi.StringOutput
Base64 encoded content of the file.
func (ApiConfigOpenapiDocumentDocumentOutput) ElementType ¶
func (ApiConfigOpenapiDocumentDocumentOutput) ElementType() reflect.Type
func (ApiConfigOpenapiDocumentDocumentOutput) Path ¶
func (o ApiConfigOpenapiDocumentDocumentOutput) Path() pulumi.StringOutput
The file path (full or relative path). This is typically the path of the file when it is uploaded.
func (ApiConfigOpenapiDocumentDocumentOutput) ToApiConfigOpenapiDocumentDocumentOutput ¶
func (o ApiConfigOpenapiDocumentDocumentOutput) ToApiConfigOpenapiDocumentDocumentOutput() ApiConfigOpenapiDocumentDocumentOutput
func (ApiConfigOpenapiDocumentDocumentOutput) ToApiConfigOpenapiDocumentDocumentOutputWithContext ¶
func (o ApiConfigOpenapiDocumentDocumentOutput) ToApiConfigOpenapiDocumentDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentDocumentOutput
type ApiConfigOpenapiDocumentInput ¶
type ApiConfigOpenapiDocumentInput interface { pulumi.Input ToApiConfigOpenapiDocumentOutput() ApiConfigOpenapiDocumentOutput ToApiConfigOpenapiDocumentOutputWithContext(context.Context) ApiConfigOpenapiDocumentOutput }
ApiConfigOpenapiDocumentInput is an input type that accepts ApiConfigOpenapiDocumentArgs and ApiConfigOpenapiDocumentOutput values. You can construct a concrete instance of `ApiConfigOpenapiDocumentInput` via:
ApiConfigOpenapiDocumentArgs{...}
type ApiConfigOpenapiDocumentOutput ¶
type ApiConfigOpenapiDocumentOutput struct{ *pulumi.OutputState }
func (ApiConfigOpenapiDocumentOutput) Document ¶
func (o ApiConfigOpenapiDocumentOutput) Document() ApiConfigOpenapiDocumentDocumentOutput
The OpenAPI Specification document file. Structure is documented below.
func (ApiConfigOpenapiDocumentOutput) ElementType ¶
func (ApiConfigOpenapiDocumentOutput) ElementType() reflect.Type
func (ApiConfigOpenapiDocumentOutput) ToApiConfigOpenapiDocumentOutput ¶
func (o ApiConfigOpenapiDocumentOutput) ToApiConfigOpenapiDocumentOutput() ApiConfigOpenapiDocumentOutput
func (ApiConfigOpenapiDocumentOutput) ToApiConfigOpenapiDocumentOutputWithContext ¶
func (o ApiConfigOpenapiDocumentOutput) ToApiConfigOpenapiDocumentOutputWithContext(ctx context.Context) ApiConfigOpenapiDocumentOutput
type ApiConfigOutput ¶ added in v4.4.0
type ApiConfigOutput struct {
*pulumi.OutputState
}
func (ApiConfigOutput) ElementType ¶ added in v4.4.0
func (ApiConfigOutput) ElementType() reflect.Type
func (ApiConfigOutput) ToApiConfigOutput ¶ added in v4.4.0
func (o ApiConfigOutput) ToApiConfigOutput() ApiConfigOutput
func (ApiConfigOutput) ToApiConfigOutputWithContext ¶ added in v4.4.0
func (o ApiConfigOutput) ToApiConfigOutputWithContext(ctx context.Context) ApiConfigOutput
type ApiConfigState ¶
type ApiConfigState struct { // The API to attach the config to. Api pulumi.StringPtrInput // Identifier to assign to the API Config. Must be unique within scope of the parent resource(api). ApiConfigId pulumi.StringPtrInput // Creates a unique name beginning with the // specified prefix. If this and apiConfigId are unspecified, a random value is chosen for the name. ApiConfigIdPrefix pulumi.StringPtrInput // A user-visible name for the API. DisplayName pulumi.StringPtrInput // Immutable. Gateway specific configuration. // If not specified, backend authentication will be set to use OIDC authentication using the default compute service account // Structure is documented below. GatewayConfig ApiConfigGatewayConfigPtrInput // Resource labels to represent user-provided metadata. Labels pulumi.StringMapInput // The resource name of the API Config. Name pulumi.StringPtrInput // An OpenAPI Specification Document describing an API. // Structure is documented below. OpenapiDocuments ApiConfigOpenapiDocumentArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The ID of the associated Service Config (https://cloud.google.com/service-infrastructure/docs/glossary#config). ServiceConfigId pulumi.StringPtrInput }
func (ApiConfigState) ElementType ¶
func (ApiConfigState) ElementType() reflect.Type
type ApiIamBinding ¶
type ApiIamBinding struct { pulumi.CustomResourceState Api pulumi.StringOutput `pulumi:"api"` Condition ApiIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `apigateway.ApiIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/global/apis/{{name}} * {{project}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway api IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamBinding:ApiIamBinding editor "projects/{{project}}/locations/global/apis/{{api}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamBinding:ApiIamBinding editor "projects/{{project}}/locations/global/apis/{{api}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamBinding:ApiIamBinding editor projects/{{project}}/locations/global/apis/{{api}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetApiIamBinding ¶
func GetApiIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiIamBindingState, opts ...pulumi.ResourceOption) (*ApiIamBinding, error)
GetApiIamBinding gets an existing ApiIamBinding 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 NewApiIamBinding ¶
func NewApiIamBinding(ctx *pulumi.Context, name string, args *ApiIamBindingArgs, opts ...pulumi.ResourceOption) (*ApiIamBinding, error)
NewApiIamBinding registers a new resource with the given unique name, arguments, and options.
func (ApiIamBinding) ElementType ¶ added in v4.4.0
func (ApiIamBinding) ElementType() reflect.Type
func (ApiIamBinding) ToApiIamBindingOutput ¶ added in v4.4.0
func (i ApiIamBinding) ToApiIamBindingOutput() ApiIamBindingOutput
func (ApiIamBinding) ToApiIamBindingOutputWithContext ¶ added in v4.4.0
func (i ApiIamBinding) ToApiIamBindingOutputWithContext(ctx context.Context) ApiIamBindingOutput
type ApiIamBindingArgs ¶
type ApiIamBindingArgs struct { Api pulumi.StringInput Condition ApiIamBindingConditionPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ApiIamBinding resource.
func (ApiIamBindingArgs) ElementType ¶
func (ApiIamBindingArgs) ElementType() reflect.Type
type ApiIamBindingCondition ¶
type ApiIamBindingConditionArgs ¶
type ApiIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ApiIamBindingConditionArgs) ElementType ¶
func (ApiIamBindingConditionArgs) ElementType() reflect.Type
func (ApiIamBindingConditionArgs) ToApiIamBindingConditionOutput ¶
func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionOutput() ApiIamBindingConditionOutput
func (ApiIamBindingConditionArgs) ToApiIamBindingConditionOutputWithContext ¶
func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionOutputWithContext(ctx context.Context) ApiIamBindingConditionOutput
func (ApiIamBindingConditionArgs) ToApiIamBindingConditionPtrOutput ¶
func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionPtrOutput() ApiIamBindingConditionPtrOutput
func (ApiIamBindingConditionArgs) ToApiIamBindingConditionPtrOutputWithContext ¶
func (i ApiIamBindingConditionArgs) ToApiIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiIamBindingConditionPtrOutput
type ApiIamBindingConditionInput ¶
type ApiIamBindingConditionInput interface { pulumi.Input ToApiIamBindingConditionOutput() ApiIamBindingConditionOutput ToApiIamBindingConditionOutputWithContext(context.Context) ApiIamBindingConditionOutput }
ApiIamBindingConditionInput is an input type that accepts ApiIamBindingConditionArgs and ApiIamBindingConditionOutput values. You can construct a concrete instance of `ApiIamBindingConditionInput` via:
ApiIamBindingConditionArgs{...}
type ApiIamBindingConditionOutput ¶
type ApiIamBindingConditionOutput struct{ *pulumi.OutputState }
func (ApiIamBindingConditionOutput) Description ¶
func (o ApiIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (ApiIamBindingConditionOutput) ElementType ¶
func (ApiIamBindingConditionOutput) ElementType() reflect.Type
func (ApiIamBindingConditionOutput) Expression ¶
func (o ApiIamBindingConditionOutput) Expression() pulumi.StringOutput
func (ApiIamBindingConditionOutput) Title ¶
func (o ApiIamBindingConditionOutput) Title() pulumi.StringOutput
func (ApiIamBindingConditionOutput) ToApiIamBindingConditionOutput ¶
func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionOutput() ApiIamBindingConditionOutput
func (ApiIamBindingConditionOutput) ToApiIamBindingConditionOutputWithContext ¶
func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionOutputWithContext(ctx context.Context) ApiIamBindingConditionOutput
func (ApiIamBindingConditionOutput) ToApiIamBindingConditionPtrOutput ¶
func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionPtrOutput() ApiIamBindingConditionPtrOutput
func (ApiIamBindingConditionOutput) ToApiIamBindingConditionPtrOutputWithContext ¶
func (o ApiIamBindingConditionOutput) ToApiIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiIamBindingConditionPtrOutput
type ApiIamBindingConditionPtrInput ¶
type ApiIamBindingConditionPtrInput interface { pulumi.Input ToApiIamBindingConditionPtrOutput() ApiIamBindingConditionPtrOutput ToApiIamBindingConditionPtrOutputWithContext(context.Context) ApiIamBindingConditionPtrOutput }
ApiIamBindingConditionPtrInput is an input type that accepts ApiIamBindingConditionArgs, ApiIamBindingConditionPtr and ApiIamBindingConditionPtrOutput values. You can construct a concrete instance of `ApiIamBindingConditionPtrInput` via:
ApiIamBindingConditionArgs{...} or: nil
func ApiIamBindingConditionPtr ¶
func ApiIamBindingConditionPtr(v *ApiIamBindingConditionArgs) ApiIamBindingConditionPtrInput
type ApiIamBindingConditionPtrOutput ¶
type ApiIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (ApiIamBindingConditionPtrOutput) Description ¶
func (o ApiIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ApiIamBindingConditionPtrOutput) Elem ¶
func (o ApiIamBindingConditionPtrOutput) Elem() ApiIamBindingConditionOutput
func (ApiIamBindingConditionPtrOutput) ElementType ¶
func (ApiIamBindingConditionPtrOutput) ElementType() reflect.Type
func (ApiIamBindingConditionPtrOutput) Expression ¶
func (o ApiIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ApiIamBindingConditionPtrOutput) Title ¶
func (o ApiIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ApiIamBindingConditionPtrOutput) ToApiIamBindingConditionPtrOutput ¶
func (o ApiIamBindingConditionPtrOutput) ToApiIamBindingConditionPtrOutput() ApiIamBindingConditionPtrOutput
func (ApiIamBindingConditionPtrOutput) ToApiIamBindingConditionPtrOutputWithContext ¶
func (o ApiIamBindingConditionPtrOutput) ToApiIamBindingConditionPtrOutputWithContext(ctx context.Context) ApiIamBindingConditionPtrOutput
type ApiIamBindingInput ¶ added in v4.4.0
type ApiIamBindingInput interface { pulumi.Input ToApiIamBindingOutput() ApiIamBindingOutput ToApiIamBindingOutputWithContext(ctx context.Context) ApiIamBindingOutput }
type ApiIamBindingOutput ¶ added in v4.4.0
type ApiIamBindingOutput struct {
*pulumi.OutputState
}
func (ApiIamBindingOutput) ElementType ¶ added in v4.4.0
func (ApiIamBindingOutput) ElementType() reflect.Type
func (ApiIamBindingOutput) ToApiIamBindingOutput ¶ added in v4.4.0
func (o ApiIamBindingOutput) ToApiIamBindingOutput() ApiIamBindingOutput
func (ApiIamBindingOutput) ToApiIamBindingOutputWithContext ¶ added in v4.4.0
func (o ApiIamBindingOutput) ToApiIamBindingOutputWithContext(ctx context.Context) ApiIamBindingOutput
type ApiIamBindingState ¶
type ApiIamBindingState struct { Api pulumi.StringPtrInput Condition ApiIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ApiIamBindingState) ElementType ¶
func (ApiIamBindingState) ElementType() reflect.Type
type ApiIamMember ¶
type ApiIamMember struct { pulumi.CustomResourceState Api pulumi.StringOutput `pulumi:"api"` Condition ApiIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `apigateway.ApiIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/global/apis/{{name}} * {{project}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway api IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamMember:ApiIamMember editor "projects/{{project}}/locations/global/apis/{{api}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamMember:ApiIamMember editor "projects/{{project}}/locations/global/apis/{{api}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamMember:ApiIamMember editor projects/{{project}}/locations/global/apis/{{api}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetApiIamMember ¶
func GetApiIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiIamMemberState, opts ...pulumi.ResourceOption) (*ApiIamMember, error)
GetApiIamMember gets an existing ApiIamMember 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 NewApiIamMember ¶
func NewApiIamMember(ctx *pulumi.Context, name string, args *ApiIamMemberArgs, opts ...pulumi.ResourceOption) (*ApiIamMember, error)
NewApiIamMember registers a new resource with the given unique name, arguments, and options.
func (ApiIamMember) ElementType ¶ added in v4.4.0
func (ApiIamMember) ElementType() reflect.Type
func (ApiIamMember) ToApiIamMemberOutput ¶ added in v4.4.0
func (i ApiIamMember) ToApiIamMemberOutput() ApiIamMemberOutput
func (ApiIamMember) ToApiIamMemberOutputWithContext ¶ added in v4.4.0
func (i ApiIamMember) ToApiIamMemberOutputWithContext(ctx context.Context) ApiIamMemberOutput
type ApiIamMemberArgs ¶
type ApiIamMemberArgs struct { Api pulumi.StringInput Condition ApiIamMemberConditionPtrInput Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ApiIamMember resource.
func (ApiIamMemberArgs) ElementType ¶
func (ApiIamMemberArgs) ElementType() reflect.Type
type ApiIamMemberCondition ¶
type ApiIamMemberConditionArgs ¶
type ApiIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ApiIamMemberConditionArgs) ElementType ¶
func (ApiIamMemberConditionArgs) ElementType() reflect.Type
func (ApiIamMemberConditionArgs) ToApiIamMemberConditionOutput ¶
func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionOutput() ApiIamMemberConditionOutput
func (ApiIamMemberConditionArgs) ToApiIamMemberConditionOutputWithContext ¶
func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionOutputWithContext(ctx context.Context) ApiIamMemberConditionOutput
func (ApiIamMemberConditionArgs) ToApiIamMemberConditionPtrOutput ¶
func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionPtrOutput() ApiIamMemberConditionPtrOutput
func (ApiIamMemberConditionArgs) ToApiIamMemberConditionPtrOutputWithContext ¶
func (i ApiIamMemberConditionArgs) ToApiIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiIamMemberConditionPtrOutput
type ApiIamMemberConditionInput ¶
type ApiIamMemberConditionInput interface { pulumi.Input ToApiIamMemberConditionOutput() ApiIamMemberConditionOutput ToApiIamMemberConditionOutputWithContext(context.Context) ApiIamMemberConditionOutput }
ApiIamMemberConditionInput is an input type that accepts ApiIamMemberConditionArgs and ApiIamMemberConditionOutput values. You can construct a concrete instance of `ApiIamMemberConditionInput` via:
ApiIamMemberConditionArgs{...}
type ApiIamMemberConditionOutput ¶
type ApiIamMemberConditionOutput struct{ *pulumi.OutputState }
func (ApiIamMemberConditionOutput) Description ¶
func (o ApiIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (ApiIamMemberConditionOutput) ElementType ¶
func (ApiIamMemberConditionOutput) ElementType() reflect.Type
func (ApiIamMemberConditionOutput) Expression ¶
func (o ApiIamMemberConditionOutput) Expression() pulumi.StringOutput
func (ApiIamMemberConditionOutput) Title ¶
func (o ApiIamMemberConditionOutput) Title() pulumi.StringOutput
func (ApiIamMemberConditionOutput) ToApiIamMemberConditionOutput ¶
func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionOutput() ApiIamMemberConditionOutput
func (ApiIamMemberConditionOutput) ToApiIamMemberConditionOutputWithContext ¶
func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionOutputWithContext(ctx context.Context) ApiIamMemberConditionOutput
func (ApiIamMemberConditionOutput) ToApiIamMemberConditionPtrOutput ¶
func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionPtrOutput() ApiIamMemberConditionPtrOutput
func (ApiIamMemberConditionOutput) ToApiIamMemberConditionPtrOutputWithContext ¶
func (o ApiIamMemberConditionOutput) ToApiIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiIamMemberConditionPtrOutput
type ApiIamMemberConditionPtrInput ¶
type ApiIamMemberConditionPtrInput interface { pulumi.Input ToApiIamMemberConditionPtrOutput() ApiIamMemberConditionPtrOutput ToApiIamMemberConditionPtrOutputWithContext(context.Context) ApiIamMemberConditionPtrOutput }
ApiIamMemberConditionPtrInput is an input type that accepts ApiIamMemberConditionArgs, ApiIamMemberConditionPtr and ApiIamMemberConditionPtrOutput values. You can construct a concrete instance of `ApiIamMemberConditionPtrInput` via:
ApiIamMemberConditionArgs{...} or: nil
func ApiIamMemberConditionPtr ¶
func ApiIamMemberConditionPtr(v *ApiIamMemberConditionArgs) ApiIamMemberConditionPtrInput
type ApiIamMemberConditionPtrOutput ¶
type ApiIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (ApiIamMemberConditionPtrOutput) Description ¶
func (o ApiIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ApiIamMemberConditionPtrOutput) Elem ¶
func (o ApiIamMemberConditionPtrOutput) Elem() ApiIamMemberConditionOutput
func (ApiIamMemberConditionPtrOutput) ElementType ¶
func (ApiIamMemberConditionPtrOutput) ElementType() reflect.Type
func (ApiIamMemberConditionPtrOutput) Expression ¶
func (o ApiIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ApiIamMemberConditionPtrOutput) Title ¶
func (o ApiIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ApiIamMemberConditionPtrOutput) ToApiIamMemberConditionPtrOutput ¶
func (o ApiIamMemberConditionPtrOutput) ToApiIamMemberConditionPtrOutput() ApiIamMemberConditionPtrOutput
func (ApiIamMemberConditionPtrOutput) ToApiIamMemberConditionPtrOutputWithContext ¶
func (o ApiIamMemberConditionPtrOutput) ToApiIamMemberConditionPtrOutputWithContext(ctx context.Context) ApiIamMemberConditionPtrOutput
type ApiIamMemberInput ¶ added in v4.4.0
type ApiIamMemberInput interface { pulumi.Input ToApiIamMemberOutput() ApiIamMemberOutput ToApiIamMemberOutputWithContext(ctx context.Context) ApiIamMemberOutput }
type ApiIamMemberOutput ¶ added in v4.4.0
type ApiIamMemberOutput struct {
*pulumi.OutputState
}
func (ApiIamMemberOutput) ElementType ¶ added in v4.4.0
func (ApiIamMemberOutput) ElementType() reflect.Type
func (ApiIamMemberOutput) ToApiIamMemberOutput ¶ added in v4.4.0
func (o ApiIamMemberOutput) ToApiIamMemberOutput() ApiIamMemberOutput
func (ApiIamMemberOutput) ToApiIamMemberOutputWithContext ¶ added in v4.4.0
func (o ApiIamMemberOutput) ToApiIamMemberOutputWithContext(ctx context.Context) ApiIamMemberOutput
type ApiIamMemberState ¶
type ApiIamMemberState struct { Api pulumi.StringPtrInput Condition ApiIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.ApiIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ApiIamMemberState) ElementType ¶
func (ApiIamMemberState) ElementType() reflect.Type
type ApiIamPolicy ¶
type ApiIamPolicy struct { pulumi.CustomResourceState Api pulumi.StringOutput `pulumi:"api"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/global/apis/{{name}} * {{project}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway api IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamPolicy:ApiIamPolicy editor "projects/{{project}}/locations/global/apis/{{api}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamPolicy:ApiIamPolicy editor "projects/{{project}}/locations/global/apis/{{api}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/apiIamPolicy:ApiIamPolicy editor projects/{{project}}/locations/global/apis/{{api}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetApiIamPolicy ¶
func GetApiIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiIamPolicyState, opts ...pulumi.ResourceOption) (*ApiIamPolicy, error)
GetApiIamPolicy gets an existing ApiIamPolicy 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 NewApiIamPolicy ¶
func NewApiIamPolicy(ctx *pulumi.Context, name string, args *ApiIamPolicyArgs, opts ...pulumi.ResourceOption) (*ApiIamPolicy, error)
NewApiIamPolicy registers a new resource with the given unique name, arguments, and options.
func (ApiIamPolicy) ElementType ¶ added in v4.4.0
func (ApiIamPolicy) ElementType() reflect.Type
func (ApiIamPolicy) ToApiIamPolicyOutput ¶ added in v4.4.0
func (i ApiIamPolicy) ToApiIamPolicyOutput() ApiIamPolicyOutput
func (ApiIamPolicy) ToApiIamPolicyOutputWithContext ¶ added in v4.4.0
func (i ApiIamPolicy) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiIamPolicyOutput
type ApiIamPolicyArgs ¶
type ApiIamPolicyArgs struct { Api pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a ApiIamPolicy resource.
func (ApiIamPolicyArgs) ElementType ¶
func (ApiIamPolicyArgs) ElementType() reflect.Type
type ApiIamPolicyInput ¶ added in v4.4.0
type ApiIamPolicyInput interface { pulumi.Input ToApiIamPolicyOutput() ApiIamPolicyOutput ToApiIamPolicyOutputWithContext(ctx context.Context) ApiIamPolicyOutput }
type ApiIamPolicyOutput ¶ added in v4.4.0
type ApiIamPolicyOutput struct {
*pulumi.OutputState
}
func (ApiIamPolicyOutput) ElementType ¶ added in v4.4.0
func (ApiIamPolicyOutput) ElementType() reflect.Type
func (ApiIamPolicyOutput) ToApiIamPolicyOutput ¶ added in v4.4.0
func (o ApiIamPolicyOutput) ToApiIamPolicyOutput() ApiIamPolicyOutput
func (ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext ¶ added in v4.4.0
func (o ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiIamPolicyOutput
type ApiIamPolicyState ¶
type ApiIamPolicyState struct { Api pulumi.StringPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
func (ApiIamPolicyState) ElementType ¶
func (ApiIamPolicyState) ElementType() reflect.Type
type ApiOutput ¶ added in v4.4.0
type ApiOutput struct {
*pulumi.OutputState
}
func (ApiOutput) ElementType ¶ added in v4.4.0
func (ApiOutput) ToApiOutput ¶ added in v4.4.0
type ApiState ¶
type ApiState struct { // Identifier to assign to the API. Must be unique within scope of the parent resource(project) ApiId pulumi.StringPtrInput // Creation timestamp in RFC3339 text format. CreateTime pulumi.StringPtrInput // A user-visible name for the API. DisplayName pulumi.StringPtrInput // Resource labels to represent user-provided metadata. Labels pulumi.StringMapInput // Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). // If not specified, a new Service will automatically be created in the same project as this API. ManagedService pulumi.StringPtrInput // The resource name of the API. Format 'projects/{{project}}/locations/global/apis/{{apiId}}' Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
func (ApiState) ElementType ¶
type Gateway ¶
type Gateway struct { pulumi.CustomResourceState // Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} ApiConfig pulumi.StringOutput `pulumi:"apiConfig"` // The default API Gateway host name of the form {gatewayId}-{hash}.{region_code}.gateway.dev. DefaultHostname pulumi.StringOutput `pulumi:"defaultHostname"` // A user-visible name for the API. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Identifier to assign to the Gateway. Must be unique within scope of the parent resource(project). GatewayId pulumi.StringOutput `pulumi:"gatewayId"` // Resource labels to represent user-provided metadata. Labels pulumi.StringMapOutput `pulumi:"labels"` // Resource name of the Gateway. Format: projects/{project}/locations/{region}/gateways/{gateway} Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The region of the gateway for the API. Region pulumi.StringOutput `pulumi:"region"` }
## Import
Gateway can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigateway/gateway:Gateway default projects/{{project}}/locations/{{region}}/gateways/{{name}}
```
```sh
$ pulumi import gcp:apigateway/gateway:Gateway default {{project}}/{{region}}/{{name}}
```
```sh
$ pulumi import gcp:apigateway/gateway:Gateway default {{region}}/{{name}}
```
```sh
$ pulumi import gcp:apigateway/gateway:Gateway default {{name}}
```
func GetGateway ¶
func GetGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)
GetGateway gets an existing Gateway 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 NewGateway ¶
func NewGateway(ctx *pulumi.Context, name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)
NewGateway registers a new resource with the given unique name, arguments, and options.
func (Gateway) ElementType ¶ added in v4.4.0
func (Gateway) ToGatewayOutput ¶ added in v4.4.0
func (i Gateway) ToGatewayOutput() GatewayOutput
func (Gateway) ToGatewayOutputWithContext ¶ added in v4.4.0
func (i Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayArgs ¶
type GatewayArgs struct { // Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} ApiConfig pulumi.StringInput // A user-visible name for the API. DisplayName pulumi.StringPtrInput // Identifier to assign to the Gateway. Must be unique within scope of the parent resource(project). GatewayId pulumi.StringInput // Resource labels to represent user-provided metadata. Labels pulumi.StringMapInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. Region pulumi.StringPtrInput }
The set of arguments for constructing a Gateway resource.
func (GatewayArgs) ElementType ¶
func (GatewayArgs) ElementType() reflect.Type
type GatewayIamBinding ¶
type GatewayIamBinding struct { pulumi.CustomResourceState Condition GatewayIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Gateway pulumi.StringOutput `pulumi:"gateway"` Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringOutput `pulumi:"region"` // The role that should be applied. Only one // `apigateway.GatewayIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/gateways/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway gateway IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamBinding:GatewayIamBinding editor "projects/{{project}}/locations/{{region}}/gateways/{{gateway}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamBinding:GatewayIamBinding editor "projects/{{project}}/locations/{{region}}/gateways/{{gateway}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamBinding:GatewayIamBinding editor projects/{{project}}/locations/{{region}}/gateways/{{gateway}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetGatewayIamBinding ¶
func GetGatewayIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayIamBindingState, opts ...pulumi.ResourceOption) (*GatewayIamBinding, error)
GetGatewayIamBinding gets an existing GatewayIamBinding 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 NewGatewayIamBinding ¶
func NewGatewayIamBinding(ctx *pulumi.Context, name string, args *GatewayIamBindingArgs, opts ...pulumi.ResourceOption) (*GatewayIamBinding, error)
NewGatewayIamBinding registers a new resource with the given unique name, arguments, and options.
func (GatewayIamBinding) ElementType ¶ added in v4.4.0
func (GatewayIamBinding) ElementType() reflect.Type
func (GatewayIamBinding) ToGatewayIamBindingOutput ¶ added in v4.4.0
func (i GatewayIamBinding) ToGatewayIamBindingOutput() GatewayIamBindingOutput
func (GatewayIamBinding) ToGatewayIamBindingOutputWithContext ¶ added in v4.4.0
func (i GatewayIamBinding) ToGatewayIamBindingOutputWithContext(ctx context.Context) GatewayIamBindingOutput
type GatewayIamBindingArgs ¶
type GatewayIamBindingArgs struct { Condition GatewayIamBindingConditionPtrInput Gateway pulumi.StringInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.GatewayIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a GatewayIamBinding resource.
func (GatewayIamBindingArgs) ElementType ¶
func (GatewayIamBindingArgs) ElementType() reflect.Type
type GatewayIamBindingConditionArgs ¶
type GatewayIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (GatewayIamBindingConditionArgs) ElementType ¶
func (GatewayIamBindingConditionArgs) ElementType() reflect.Type
func (GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionOutput ¶
func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionOutput() GatewayIamBindingConditionOutput
func (GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionOutputWithContext ¶
func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionOutputWithContext(ctx context.Context) GatewayIamBindingConditionOutput
func (GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionPtrOutput ¶
func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionPtrOutput() GatewayIamBindingConditionPtrOutput
func (GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionPtrOutputWithContext ¶
func (i GatewayIamBindingConditionArgs) ToGatewayIamBindingConditionPtrOutputWithContext(ctx context.Context) GatewayIamBindingConditionPtrOutput
type GatewayIamBindingConditionInput ¶
type GatewayIamBindingConditionInput interface { pulumi.Input ToGatewayIamBindingConditionOutput() GatewayIamBindingConditionOutput ToGatewayIamBindingConditionOutputWithContext(context.Context) GatewayIamBindingConditionOutput }
GatewayIamBindingConditionInput is an input type that accepts GatewayIamBindingConditionArgs and GatewayIamBindingConditionOutput values. You can construct a concrete instance of `GatewayIamBindingConditionInput` via:
GatewayIamBindingConditionArgs{...}
type GatewayIamBindingConditionOutput ¶
type GatewayIamBindingConditionOutput struct{ *pulumi.OutputState }
func (GatewayIamBindingConditionOutput) Description ¶
func (o GatewayIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (GatewayIamBindingConditionOutput) ElementType ¶
func (GatewayIamBindingConditionOutput) ElementType() reflect.Type
func (GatewayIamBindingConditionOutput) Expression ¶
func (o GatewayIamBindingConditionOutput) Expression() pulumi.StringOutput
func (GatewayIamBindingConditionOutput) Title ¶
func (o GatewayIamBindingConditionOutput) Title() pulumi.StringOutput
func (GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionOutput ¶
func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionOutput() GatewayIamBindingConditionOutput
func (GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionOutputWithContext ¶
func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionOutputWithContext(ctx context.Context) GatewayIamBindingConditionOutput
func (GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionPtrOutput ¶
func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionPtrOutput() GatewayIamBindingConditionPtrOutput
func (GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionPtrOutputWithContext ¶
func (o GatewayIamBindingConditionOutput) ToGatewayIamBindingConditionPtrOutputWithContext(ctx context.Context) GatewayIamBindingConditionPtrOutput
type GatewayIamBindingConditionPtrInput ¶
type GatewayIamBindingConditionPtrInput interface { pulumi.Input ToGatewayIamBindingConditionPtrOutput() GatewayIamBindingConditionPtrOutput ToGatewayIamBindingConditionPtrOutputWithContext(context.Context) GatewayIamBindingConditionPtrOutput }
GatewayIamBindingConditionPtrInput is an input type that accepts GatewayIamBindingConditionArgs, GatewayIamBindingConditionPtr and GatewayIamBindingConditionPtrOutput values. You can construct a concrete instance of `GatewayIamBindingConditionPtrInput` via:
GatewayIamBindingConditionArgs{...} or: nil
func GatewayIamBindingConditionPtr ¶
func GatewayIamBindingConditionPtr(v *GatewayIamBindingConditionArgs) GatewayIamBindingConditionPtrInput
type GatewayIamBindingConditionPtrOutput ¶
type GatewayIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (GatewayIamBindingConditionPtrOutput) Description ¶
func (o GatewayIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (GatewayIamBindingConditionPtrOutput) Elem ¶
func (o GatewayIamBindingConditionPtrOutput) Elem() GatewayIamBindingConditionOutput
func (GatewayIamBindingConditionPtrOutput) ElementType ¶
func (GatewayIamBindingConditionPtrOutput) ElementType() reflect.Type
func (GatewayIamBindingConditionPtrOutput) Expression ¶
func (o GatewayIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (GatewayIamBindingConditionPtrOutput) Title ¶
func (o GatewayIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (GatewayIamBindingConditionPtrOutput) ToGatewayIamBindingConditionPtrOutput ¶
func (o GatewayIamBindingConditionPtrOutput) ToGatewayIamBindingConditionPtrOutput() GatewayIamBindingConditionPtrOutput
func (GatewayIamBindingConditionPtrOutput) ToGatewayIamBindingConditionPtrOutputWithContext ¶
func (o GatewayIamBindingConditionPtrOutput) ToGatewayIamBindingConditionPtrOutputWithContext(ctx context.Context) GatewayIamBindingConditionPtrOutput
type GatewayIamBindingInput ¶ added in v4.4.0
type GatewayIamBindingInput interface { pulumi.Input ToGatewayIamBindingOutput() GatewayIamBindingOutput ToGatewayIamBindingOutputWithContext(ctx context.Context) GatewayIamBindingOutput }
type GatewayIamBindingOutput ¶ added in v4.4.0
type GatewayIamBindingOutput struct {
*pulumi.OutputState
}
func (GatewayIamBindingOutput) ElementType ¶ added in v4.4.0
func (GatewayIamBindingOutput) ElementType() reflect.Type
func (GatewayIamBindingOutput) ToGatewayIamBindingOutput ¶ added in v4.4.0
func (o GatewayIamBindingOutput) ToGatewayIamBindingOutput() GatewayIamBindingOutput
func (GatewayIamBindingOutput) ToGatewayIamBindingOutputWithContext ¶ added in v4.4.0
func (o GatewayIamBindingOutput) ToGatewayIamBindingOutputWithContext(ctx context.Context) GatewayIamBindingOutput
type GatewayIamBindingState ¶
type GatewayIamBindingState struct { Condition GatewayIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Gateway pulumi.StringPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.GatewayIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (GatewayIamBindingState) ElementType ¶
func (GatewayIamBindingState) ElementType() reflect.Type
type GatewayIamMember ¶
type GatewayIamMember struct { pulumi.CustomResourceState Condition GatewayIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Gateway pulumi.StringOutput `pulumi:"gateway"` Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringOutput `pulumi:"region"` // The role that should be applied. Only one // `apigateway.GatewayIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/gateways/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway gateway IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamMember:GatewayIamMember editor "projects/{{project}}/locations/{{region}}/gateways/{{gateway}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamMember:GatewayIamMember editor "projects/{{project}}/locations/{{region}}/gateways/{{gateway}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamMember:GatewayIamMember editor projects/{{project}}/locations/{{region}}/gateways/{{gateway}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetGatewayIamMember ¶
func GetGatewayIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayIamMemberState, opts ...pulumi.ResourceOption) (*GatewayIamMember, error)
GetGatewayIamMember gets an existing GatewayIamMember 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 NewGatewayIamMember ¶
func NewGatewayIamMember(ctx *pulumi.Context, name string, args *GatewayIamMemberArgs, opts ...pulumi.ResourceOption) (*GatewayIamMember, error)
NewGatewayIamMember registers a new resource with the given unique name, arguments, and options.
func (GatewayIamMember) ElementType ¶ added in v4.4.0
func (GatewayIamMember) ElementType() reflect.Type
func (GatewayIamMember) ToGatewayIamMemberOutput ¶ added in v4.4.0
func (i GatewayIamMember) ToGatewayIamMemberOutput() GatewayIamMemberOutput
func (GatewayIamMember) ToGatewayIamMemberOutputWithContext ¶ added in v4.4.0
func (i GatewayIamMember) ToGatewayIamMemberOutputWithContext(ctx context.Context) GatewayIamMemberOutput
type GatewayIamMemberArgs ¶
type GatewayIamMemberArgs struct { Condition GatewayIamMemberConditionPtrInput Gateway pulumi.StringInput Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.GatewayIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a GatewayIamMember resource.
func (GatewayIamMemberArgs) ElementType ¶
func (GatewayIamMemberArgs) ElementType() reflect.Type
type GatewayIamMemberConditionArgs ¶
type GatewayIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (GatewayIamMemberConditionArgs) ElementType ¶
func (GatewayIamMemberConditionArgs) ElementType() reflect.Type
func (GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionOutput ¶
func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionOutput() GatewayIamMemberConditionOutput
func (GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionOutputWithContext ¶
func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionOutputWithContext(ctx context.Context) GatewayIamMemberConditionOutput
func (GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionPtrOutput ¶
func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionPtrOutput() GatewayIamMemberConditionPtrOutput
func (GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionPtrOutputWithContext ¶
func (i GatewayIamMemberConditionArgs) ToGatewayIamMemberConditionPtrOutputWithContext(ctx context.Context) GatewayIamMemberConditionPtrOutput
type GatewayIamMemberConditionInput ¶
type GatewayIamMemberConditionInput interface { pulumi.Input ToGatewayIamMemberConditionOutput() GatewayIamMemberConditionOutput ToGatewayIamMemberConditionOutputWithContext(context.Context) GatewayIamMemberConditionOutput }
GatewayIamMemberConditionInput is an input type that accepts GatewayIamMemberConditionArgs and GatewayIamMemberConditionOutput values. You can construct a concrete instance of `GatewayIamMemberConditionInput` via:
GatewayIamMemberConditionArgs{...}
type GatewayIamMemberConditionOutput ¶
type GatewayIamMemberConditionOutput struct{ *pulumi.OutputState }
func (GatewayIamMemberConditionOutput) Description ¶
func (o GatewayIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (GatewayIamMemberConditionOutput) ElementType ¶
func (GatewayIamMemberConditionOutput) ElementType() reflect.Type
func (GatewayIamMemberConditionOutput) Expression ¶
func (o GatewayIamMemberConditionOutput) Expression() pulumi.StringOutput
func (GatewayIamMemberConditionOutput) Title ¶
func (o GatewayIamMemberConditionOutput) Title() pulumi.StringOutput
func (GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionOutput ¶
func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionOutput() GatewayIamMemberConditionOutput
func (GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionOutputWithContext ¶
func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionOutputWithContext(ctx context.Context) GatewayIamMemberConditionOutput
func (GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionPtrOutput ¶
func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionPtrOutput() GatewayIamMemberConditionPtrOutput
func (GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionPtrOutputWithContext ¶
func (o GatewayIamMemberConditionOutput) ToGatewayIamMemberConditionPtrOutputWithContext(ctx context.Context) GatewayIamMemberConditionPtrOutput
type GatewayIamMemberConditionPtrInput ¶
type GatewayIamMemberConditionPtrInput interface { pulumi.Input ToGatewayIamMemberConditionPtrOutput() GatewayIamMemberConditionPtrOutput ToGatewayIamMemberConditionPtrOutputWithContext(context.Context) GatewayIamMemberConditionPtrOutput }
GatewayIamMemberConditionPtrInput is an input type that accepts GatewayIamMemberConditionArgs, GatewayIamMemberConditionPtr and GatewayIamMemberConditionPtrOutput values. You can construct a concrete instance of `GatewayIamMemberConditionPtrInput` via:
GatewayIamMemberConditionArgs{...} or: nil
func GatewayIamMemberConditionPtr ¶
func GatewayIamMemberConditionPtr(v *GatewayIamMemberConditionArgs) GatewayIamMemberConditionPtrInput
type GatewayIamMemberConditionPtrOutput ¶
type GatewayIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (GatewayIamMemberConditionPtrOutput) Description ¶
func (o GatewayIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (GatewayIamMemberConditionPtrOutput) Elem ¶
func (o GatewayIamMemberConditionPtrOutput) Elem() GatewayIamMemberConditionOutput
func (GatewayIamMemberConditionPtrOutput) ElementType ¶
func (GatewayIamMemberConditionPtrOutput) ElementType() reflect.Type
func (GatewayIamMemberConditionPtrOutput) Expression ¶
func (o GatewayIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (GatewayIamMemberConditionPtrOutput) Title ¶
func (o GatewayIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (GatewayIamMemberConditionPtrOutput) ToGatewayIamMemberConditionPtrOutput ¶
func (o GatewayIamMemberConditionPtrOutput) ToGatewayIamMemberConditionPtrOutput() GatewayIamMemberConditionPtrOutput
func (GatewayIamMemberConditionPtrOutput) ToGatewayIamMemberConditionPtrOutputWithContext ¶
func (o GatewayIamMemberConditionPtrOutput) ToGatewayIamMemberConditionPtrOutputWithContext(ctx context.Context) GatewayIamMemberConditionPtrOutput
type GatewayIamMemberInput ¶ added in v4.4.0
type GatewayIamMemberInput interface { pulumi.Input ToGatewayIamMemberOutput() GatewayIamMemberOutput ToGatewayIamMemberOutputWithContext(ctx context.Context) GatewayIamMemberOutput }
type GatewayIamMemberOutput ¶ added in v4.4.0
type GatewayIamMemberOutput struct {
*pulumi.OutputState
}
func (GatewayIamMemberOutput) ElementType ¶ added in v4.4.0
func (GatewayIamMemberOutput) ElementType() reflect.Type
func (GatewayIamMemberOutput) ToGatewayIamMemberOutput ¶ added in v4.4.0
func (o GatewayIamMemberOutput) ToGatewayIamMemberOutput() GatewayIamMemberOutput
func (GatewayIamMemberOutput) ToGatewayIamMemberOutputWithContext ¶ added in v4.4.0
func (o GatewayIamMemberOutput) ToGatewayIamMemberOutputWithContext(ctx context.Context) GatewayIamMemberOutput
type GatewayIamMemberState ¶
type GatewayIamMemberState struct { Condition GatewayIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Gateway pulumi.StringPtrInput Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringPtrInput // The role that should be applied. Only one // `apigateway.GatewayIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (GatewayIamMemberState) ElementType ¶
func (GatewayIamMemberState) ElementType() reflect.Type
type GatewayIamPolicy ¶
type GatewayIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Gateway pulumi.StringOutput `pulumi:"gateway"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringOutput `pulumi:"region"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/gateways/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway gateway IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamPolicy:GatewayIamPolicy editor "projects/{{project}}/locations/{{region}}/gateways/{{gateway}} roles/apigateway.viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamPolicy:GatewayIamPolicy editor "projects/{{project}}/locations/{{region}}/gateways/{{gateway}} roles/apigateway.viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:apigateway/gatewayIamPolicy:GatewayIamPolicy editor projects/{{project}}/locations/{{region}}/gateways/{{gateway}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetGatewayIamPolicy ¶
func GetGatewayIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayIamPolicyState, opts ...pulumi.ResourceOption) (*GatewayIamPolicy, error)
GetGatewayIamPolicy gets an existing GatewayIamPolicy 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 NewGatewayIamPolicy ¶
func NewGatewayIamPolicy(ctx *pulumi.Context, name string, args *GatewayIamPolicyArgs, opts ...pulumi.ResourceOption) (*GatewayIamPolicy, error)
NewGatewayIamPolicy registers a new resource with the given unique name, arguments, and options.
func (GatewayIamPolicy) ElementType ¶ added in v4.4.0
func (GatewayIamPolicy) ElementType() reflect.Type
func (GatewayIamPolicy) ToGatewayIamPolicyOutput ¶ added in v4.4.0
func (i GatewayIamPolicy) ToGatewayIamPolicyOutput() GatewayIamPolicyOutput
func (GatewayIamPolicy) ToGatewayIamPolicyOutputWithContext ¶ added in v4.4.0
func (i GatewayIamPolicy) ToGatewayIamPolicyOutputWithContext(ctx context.Context) GatewayIamPolicyOutput
type GatewayIamPolicyArgs ¶
type GatewayIamPolicyArgs struct { Gateway pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringPtrInput }
The set of arguments for constructing a GatewayIamPolicy resource.
func (GatewayIamPolicyArgs) ElementType ¶
func (GatewayIamPolicyArgs) ElementType() reflect.Type
type GatewayIamPolicyInput ¶ added in v4.4.0
type GatewayIamPolicyInput interface { pulumi.Input ToGatewayIamPolicyOutput() GatewayIamPolicyOutput ToGatewayIamPolicyOutputWithContext(ctx context.Context) GatewayIamPolicyOutput }
type GatewayIamPolicyOutput ¶ added in v4.4.0
type GatewayIamPolicyOutput struct {
*pulumi.OutputState
}
func (GatewayIamPolicyOutput) ElementType ¶ added in v4.4.0
func (GatewayIamPolicyOutput) ElementType() reflect.Type
func (GatewayIamPolicyOutput) ToGatewayIamPolicyOutput ¶ added in v4.4.0
func (o GatewayIamPolicyOutput) ToGatewayIamPolicyOutput() GatewayIamPolicyOutput
func (GatewayIamPolicyOutput) ToGatewayIamPolicyOutputWithContext ¶ added in v4.4.0
func (o GatewayIamPolicyOutput) ToGatewayIamPolicyOutputWithContext(ctx context.Context) GatewayIamPolicyOutput
type GatewayIamPolicyState ¶
type GatewayIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Gateway pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no // region is specified, it is taken from the provider configuration. Region pulumi.StringPtrInput }
func (GatewayIamPolicyState) ElementType ¶
func (GatewayIamPolicyState) ElementType() reflect.Type
type GatewayInput ¶ added in v4.4.0
type GatewayInput interface { pulumi.Input ToGatewayOutput() GatewayOutput ToGatewayOutputWithContext(ctx context.Context) GatewayOutput }
type GatewayOutput ¶ added in v4.4.0
type GatewayOutput struct {
*pulumi.OutputState
}
func (GatewayOutput) ElementType ¶ added in v4.4.0
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) ToGatewayOutput ¶ added in v4.4.0
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶ added in v4.4.0
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayState ¶
type GatewayState struct { // Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} ApiConfig pulumi.StringPtrInput // The default API Gateway host name of the form {gatewayId}-{hash}.{region_code}.gateway.dev. DefaultHostname pulumi.StringPtrInput // A user-visible name for the API. DisplayName pulumi.StringPtrInput // Identifier to assign to the Gateway. Must be unique within scope of the parent resource(project). GatewayId pulumi.StringPtrInput // Resource labels to represent user-provided metadata. Labels pulumi.StringMapInput // Resource name of the Gateway. Format: projects/{project}/locations/{region}/gateways/{gateway} Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The region of the gateway for the API. Region pulumi.StringPtrInput }
func (GatewayState) ElementType ¶
func (GatewayState) ElementType() reflect.Type