Documentation
¶
Index ¶
- type Api
- type ApiArgs
- type ApiArray
- type ApiArrayInput
- type ApiArrayOutput
- func (ApiArrayOutput) ElementType() reflect.Type
- func (o ApiArrayOutput) Index(i pulumi.IntInput) ApiOutput
- func (o ApiArrayOutput) ToApiArrayOutput() ApiArrayOutput
- func (o ApiArrayOutput) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutput
- func (o ApiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Api]
- type ApiConstantParameter
- type ApiConstantParameterArgs
- func (ApiConstantParameterArgs) ElementType() reflect.Type
- func (i ApiConstantParameterArgs) ToApiConstantParameterOutput() ApiConstantParameterOutput
- func (i ApiConstantParameterArgs) ToApiConstantParameterOutputWithContext(ctx context.Context) ApiConstantParameterOutput
- func (i ApiConstantParameterArgs) ToOutput(ctx context.Context) pulumix.Output[ApiConstantParameter]
- type ApiConstantParameterArray
- func (ApiConstantParameterArray) ElementType() reflect.Type
- func (i ApiConstantParameterArray) ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput
- func (i ApiConstantParameterArray) ToApiConstantParameterArrayOutputWithContext(ctx context.Context) ApiConstantParameterArrayOutput
- func (i ApiConstantParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]ApiConstantParameter]
- type ApiConstantParameterArrayInput
- type ApiConstantParameterArrayOutput
- func (ApiConstantParameterArrayOutput) ElementType() reflect.Type
- func (o ApiConstantParameterArrayOutput) Index(i pulumi.IntInput) ApiConstantParameterOutput
- func (o ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput
- func (o ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutputWithContext(ctx context.Context) ApiConstantParameterArrayOutput
- func (o ApiConstantParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiConstantParameter]
- type ApiConstantParameterInput
- type ApiConstantParameterOutput
- func (o ApiConstantParameterOutput) Description() pulumi.StringPtrOutput
- func (ApiConstantParameterOutput) ElementType() reflect.Type
- func (o ApiConstantParameterOutput) In() pulumi.StringOutput
- func (o ApiConstantParameterOutput) Name() pulumi.StringOutput
- func (o ApiConstantParameterOutput) ToApiConstantParameterOutput() ApiConstantParameterOutput
- func (o ApiConstantParameterOutput) ToApiConstantParameterOutputWithContext(ctx context.Context) ApiConstantParameterOutput
- func (o ApiConstantParameterOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConstantParameter]
- func (o ApiConstantParameterOutput) Value() pulumi.StringOutput
- type ApiFcServiceConfig
- type ApiFcServiceConfigArgs
- func (ApiFcServiceConfigArgs) ElementType() reflect.Type
- func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigOutput() ApiFcServiceConfigOutput
- func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigOutputWithContext(ctx context.Context) ApiFcServiceConfigOutput
- func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigPtrOutput() ApiFcServiceConfigPtrOutput
- func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigPtrOutputWithContext(ctx context.Context) ApiFcServiceConfigPtrOutput
- func (i ApiFcServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiFcServiceConfig]
- type ApiFcServiceConfigInput
- type ApiFcServiceConfigOutput
- func (o ApiFcServiceConfigOutput) ArnRole() pulumi.StringPtrOutput
- func (ApiFcServiceConfigOutput) ElementType() reflect.Type
- func (o ApiFcServiceConfigOutput) FunctionName() pulumi.StringOutput
- func (o ApiFcServiceConfigOutput) Region() pulumi.StringOutput
- func (o ApiFcServiceConfigOutput) ServiceName() pulumi.StringOutput
- func (o ApiFcServiceConfigOutput) Timeout() pulumi.IntOutput
- func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigOutput() ApiFcServiceConfigOutput
- func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigOutputWithContext(ctx context.Context) ApiFcServiceConfigOutput
- func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigPtrOutput() ApiFcServiceConfigPtrOutput
- func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigPtrOutputWithContext(ctx context.Context) ApiFcServiceConfigPtrOutput
- func (o ApiFcServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiFcServiceConfig]
- type ApiFcServiceConfigPtrInput
- type ApiFcServiceConfigPtrOutput
- func (o ApiFcServiceConfigPtrOutput) ArnRole() pulumi.StringPtrOutput
- func (o ApiFcServiceConfigPtrOutput) Elem() ApiFcServiceConfigOutput
- func (ApiFcServiceConfigPtrOutput) ElementType() reflect.Type
- func (o ApiFcServiceConfigPtrOutput) FunctionName() pulumi.StringPtrOutput
- func (o ApiFcServiceConfigPtrOutput) Region() pulumi.StringPtrOutput
- func (o ApiFcServiceConfigPtrOutput) ServiceName() pulumi.StringPtrOutput
- func (o ApiFcServiceConfigPtrOutput) Timeout() pulumi.IntPtrOutput
- func (o ApiFcServiceConfigPtrOutput) ToApiFcServiceConfigPtrOutput() ApiFcServiceConfigPtrOutput
- func (o ApiFcServiceConfigPtrOutput) ToApiFcServiceConfigPtrOutputWithContext(ctx context.Context) ApiFcServiceConfigPtrOutput
- func (o ApiFcServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiFcServiceConfig]
- type ApiHttpServiceConfig
- type ApiHttpServiceConfigArgs
- func (ApiHttpServiceConfigArgs) ElementType() reflect.Type
- func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigOutput() ApiHttpServiceConfigOutput
- func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigOutputWithContext(ctx context.Context) ApiHttpServiceConfigOutput
- func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigPtrOutput() ApiHttpServiceConfigPtrOutput
- func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpServiceConfigPtrOutput
- func (i ApiHttpServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiHttpServiceConfig]
- type ApiHttpServiceConfigInput
- type ApiHttpServiceConfigOutput
- func (o ApiHttpServiceConfigOutput) Address() pulumi.StringOutput
- func (o ApiHttpServiceConfigOutput) AoneName() pulumi.StringPtrOutput
- func (ApiHttpServiceConfigOutput) ElementType() reflect.Type
- func (o ApiHttpServiceConfigOutput) Method() pulumi.StringOutput
- func (o ApiHttpServiceConfigOutput) Path() pulumi.StringOutput
- func (o ApiHttpServiceConfigOutput) Timeout() pulumi.IntOutput
- func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigOutput() ApiHttpServiceConfigOutput
- func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigOutputWithContext(ctx context.Context) ApiHttpServiceConfigOutput
- func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigPtrOutput() ApiHttpServiceConfigPtrOutput
- func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpServiceConfigPtrOutput
- func (o ApiHttpServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiHttpServiceConfig]
- type ApiHttpServiceConfigPtrInput
- type ApiHttpServiceConfigPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) Address() pulumi.StringPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) AoneName() pulumi.StringPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) Elem() ApiHttpServiceConfigOutput
- func (ApiHttpServiceConfigPtrOutput) ElementType() reflect.Type
- func (o ApiHttpServiceConfigPtrOutput) Method() pulumi.StringPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) Path() pulumi.StringPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) Timeout() pulumi.IntPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) ToApiHttpServiceConfigPtrOutput() ApiHttpServiceConfigPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) ToApiHttpServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpServiceConfigPtrOutput
- func (o ApiHttpServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiHttpServiceConfig]
- type ApiHttpVpcServiceConfig
- type ApiHttpVpcServiceConfigArgs
- func (ApiHttpVpcServiceConfigArgs) ElementType() reflect.Type
- func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigOutput() ApiHttpVpcServiceConfigOutput
- func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigOutput
- func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigPtrOutput() ApiHttpVpcServiceConfigPtrOutput
- func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigPtrOutput
- func (i ApiHttpVpcServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiHttpVpcServiceConfig]
- type ApiHttpVpcServiceConfigInput
- type ApiHttpVpcServiceConfigOutput
- func (o ApiHttpVpcServiceConfigOutput) AoneName() pulumi.StringPtrOutput
- func (ApiHttpVpcServiceConfigOutput) ElementType() reflect.Type
- func (o ApiHttpVpcServiceConfigOutput) Method() pulumi.StringOutput
- func (o ApiHttpVpcServiceConfigOutput) Name() pulumi.StringOutput
- func (o ApiHttpVpcServiceConfigOutput) Path() pulumi.StringOutput
- func (o ApiHttpVpcServiceConfigOutput) Timeout() pulumi.IntOutput
- func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigOutput() ApiHttpVpcServiceConfigOutput
- func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigOutput
- func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigPtrOutput() ApiHttpVpcServiceConfigPtrOutput
- func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigPtrOutput
- func (o ApiHttpVpcServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiHttpVpcServiceConfig]
- type ApiHttpVpcServiceConfigPtrInput
- type ApiHttpVpcServiceConfigPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) AoneName() pulumi.StringPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) Elem() ApiHttpVpcServiceConfigOutput
- func (ApiHttpVpcServiceConfigPtrOutput) ElementType() reflect.Type
- func (o ApiHttpVpcServiceConfigPtrOutput) Method() pulumi.StringPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) Name() pulumi.StringPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) Path() pulumi.StringPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) Timeout() pulumi.IntPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) ToApiHttpVpcServiceConfigPtrOutput() ApiHttpVpcServiceConfigPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) ToApiHttpVpcServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigPtrOutput
- func (o ApiHttpVpcServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiHttpVpcServiceConfig]
- type ApiInput
- type ApiMap
- type ApiMapInput
- type ApiMapOutput
- func (ApiMapOutput) ElementType() reflect.Type
- func (o ApiMapOutput) MapIndex(k pulumi.StringInput) ApiOutput
- func (o ApiMapOutput) ToApiMapOutput() ApiMapOutput
- func (o ApiMapOutput) ToApiMapOutputWithContext(ctx context.Context) ApiMapOutput
- func (o ApiMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Api]
- type ApiMockServiceConfig
- type ApiMockServiceConfigArgs
- func (ApiMockServiceConfigArgs) ElementType() reflect.Type
- func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigOutput() ApiMockServiceConfigOutput
- func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigOutputWithContext(ctx context.Context) ApiMockServiceConfigOutput
- func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigPtrOutput() ApiMockServiceConfigPtrOutput
- func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigPtrOutputWithContext(ctx context.Context) ApiMockServiceConfigPtrOutput
- func (i ApiMockServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiMockServiceConfig]
- type ApiMockServiceConfigInput
- type ApiMockServiceConfigOutput
- func (o ApiMockServiceConfigOutput) AoneName() pulumi.StringPtrOutput
- func (ApiMockServiceConfigOutput) ElementType() reflect.Type
- func (o ApiMockServiceConfigOutput) Result() pulumi.StringOutput
- func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigOutput() ApiMockServiceConfigOutput
- func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigOutputWithContext(ctx context.Context) ApiMockServiceConfigOutput
- func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigPtrOutput() ApiMockServiceConfigPtrOutput
- func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigPtrOutputWithContext(ctx context.Context) ApiMockServiceConfigPtrOutput
- func (o ApiMockServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiMockServiceConfig]
- type ApiMockServiceConfigPtrInput
- type ApiMockServiceConfigPtrOutput
- func (o ApiMockServiceConfigPtrOutput) AoneName() pulumi.StringPtrOutput
- func (o ApiMockServiceConfigPtrOutput) Elem() ApiMockServiceConfigOutput
- func (ApiMockServiceConfigPtrOutput) ElementType() reflect.Type
- func (o ApiMockServiceConfigPtrOutput) Result() pulumi.StringPtrOutput
- func (o ApiMockServiceConfigPtrOutput) ToApiMockServiceConfigPtrOutput() ApiMockServiceConfigPtrOutput
- func (o ApiMockServiceConfigPtrOutput) ToApiMockServiceConfigPtrOutputWithContext(ctx context.Context) ApiMockServiceConfigPtrOutput
- func (o ApiMockServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiMockServiceConfig]
- type ApiOutput
- func (o ApiOutput) ApiId() pulumi.StringOutput
- func (o ApiOutput) AuthType() pulumi.StringOutput
- func (o ApiOutput) ConstantParameters() ApiConstantParameterArrayOutput
- func (o ApiOutput) Description() pulumi.StringOutput
- func (ApiOutput) ElementType() reflect.Type
- func (o ApiOutput) FcServiceConfig() ApiFcServiceConfigPtrOutput
- func (o ApiOutput) ForceNonceCheck() pulumi.BoolOutput
- func (o ApiOutput) GroupId() pulumi.StringOutput
- func (o ApiOutput) HttpServiceConfig() ApiHttpServiceConfigPtrOutput
- func (o ApiOutput) HttpVpcServiceConfig() ApiHttpVpcServiceConfigPtrOutput
- func (o ApiOutput) MockServiceConfig() ApiMockServiceConfigPtrOutput
- func (o ApiOutput) Name() pulumi.StringOutput
- func (o ApiOutput) RequestConfig() ApiRequestConfigOutput
- func (o ApiOutput) RequestParameters() ApiRequestParameterArrayOutput
- func (o ApiOutput) ServiceType() pulumi.StringOutput
- func (o ApiOutput) StageNames() pulumi.StringArrayOutput
- func (o ApiOutput) SystemParameters() ApiSystemParameterArrayOutput
- func (o ApiOutput) ToApiOutput() ApiOutput
- func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput
- func (o ApiOutput) ToOutput(ctx context.Context) pulumix.Output[*Api]
- type ApiRequestConfig
- type ApiRequestConfigArgs
- func (ApiRequestConfigArgs) ElementType() reflect.Type
- func (i ApiRequestConfigArgs) ToApiRequestConfigOutput() ApiRequestConfigOutput
- func (i ApiRequestConfigArgs) ToApiRequestConfigOutputWithContext(ctx context.Context) ApiRequestConfigOutput
- func (i ApiRequestConfigArgs) ToApiRequestConfigPtrOutput() ApiRequestConfigPtrOutput
- func (i ApiRequestConfigArgs) ToApiRequestConfigPtrOutputWithContext(ctx context.Context) ApiRequestConfigPtrOutput
- func (i ApiRequestConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiRequestConfig]
- type ApiRequestConfigInput
- type ApiRequestConfigOutput
- func (o ApiRequestConfigOutput) BodyFormat() pulumi.StringPtrOutput
- func (ApiRequestConfigOutput) ElementType() reflect.Type
- func (o ApiRequestConfigOutput) Method() pulumi.StringOutput
- func (o ApiRequestConfigOutput) Mode() pulumi.StringOutput
- func (o ApiRequestConfigOutput) Path() pulumi.StringOutput
- func (o ApiRequestConfigOutput) Protocol() pulumi.StringOutput
- func (o ApiRequestConfigOutput) ToApiRequestConfigOutput() ApiRequestConfigOutput
- func (o ApiRequestConfigOutput) ToApiRequestConfigOutputWithContext(ctx context.Context) ApiRequestConfigOutput
- func (o ApiRequestConfigOutput) ToApiRequestConfigPtrOutput() ApiRequestConfigPtrOutput
- func (o ApiRequestConfigOutput) ToApiRequestConfigPtrOutputWithContext(ctx context.Context) ApiRequestConfigPtrOutput
- func (o ApiRequestConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiRequestConfig]
- type ApiRequestConfigPtrInput
- type ApiRequestConfigPtrOutput
- func (o ApiRequestConfigPtrOutput) BodyFormat() pulumi.StringPtrOutput
- func (o ApiRequestConfigPtrOutput) Elem() ApiRequestConfigOutput
- func (ApiRequestConfigPtrOutput) ElementType() reflect.Type
- func (o ApiRequestConfigPtrOutput) Method() pulumi.StringPtrOutput
- func (o ApiRequestConfigPtrOutput) Mode() pulumi.StringPtrOutput
- func (o ApiRequestConfigPtrOutput) Path() pulumi.StringPtrOutput
- func (o ApiRequestConfigPtrOutput) Protocol() pulumi.StringPtrOutput
- func (o ApiRequestConfigPtrOutput) ToApiRequestConfigPtrOutput() ApiRequestConfigPtrOutput
- func (o ApiRequestConfigPtrOutput) ToApiRequestConfigPtrOutputWithContext(ctx context.Context) ApiRequestConfigPtrOutput
- func (o ApiRequestConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiRequestConfig]
- type ApiRequestParameter
- type ApiRequestParameterArgs
- func (ApiRequestParameterArgs) ElementType() reflect.Type
- func (i ApiRequestParameterArgs) ToApiRequestParameterOutput() ApiRequestParameterOutput
- func (i ApiRequestParameterArgs) ToApiRequestParameterOutputWithContext(ctx context.Context) ApiRequestParameterOutput
- func (i ApiRequestParameterArgs) ToOutput(ctx context.Context) pulumix.Output[ApiRequestParameter]
- type ApiRequestParameterArray
- func (ApiRequestParameterArray) ElementType() reflect.Type
- func (i ApiRequestParameterArray) ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput
- func (i ApiRequestParameterArray) ToApiRequestParameterArrayOutputWithContext(ctx context.Context) ApiRequestParameterArrayOutput
- func (i ApiRequestParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]ApiRequestParameter]
- type ApiRequestParameterArrayInput
- type ApiRequestParameterArrayOutput
- func (ApiRequestParameterArrayOutput) ElementType() reflect.Type
- func (o ApiRequestParameterArrayOutput) Index(i pulumi.IntInput) ApiRequestParameterOutput
- func (o ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput
- func (o ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutputWithContext(ctx context.Context) ApiRequestParameterArrayOutput
- func (o ApiRequestParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiRequestParameter]
- type ApiRequestParameterInput
- type ApiRequestParameterOutput
- func (o ApiRequestParameterOutput) DefaultValue() pulumi.StringPtrOutput
- func (o ApiRequestParameterOutput) Description() pulumi.StringPtrOutput
- func (ApiRequestParameterOutput) ElementType() reflect.Type
- func (o ApiRequestParameterOutput) In() pulumi.StringOutput
- func (o ApiRequestParameterOutput) InService() pulumi.StringOutput
- func (o ApiRequestParameterOutput) Name() pulumi.StringOutput
- func (o ApiRequestParameterOutput) NameService() pulumi.StringOutput
- func (o ApiRequestParameterOutput) Required() pulumi.StringOutput
- func (o ApiRequestParameterOutput) ToApiRequestParameterOutput() ApiRequestParameterOutput
- func (o ApiRequestParameterOutput) ToApiRequestParameterOutputWithContext(ctx context.Context) ApiRequestParameterOutput
- func (o ApiRequestParameterOutput) ToOutput(ctx context.Context) pulumix.Output[ApiRequestParameter]
- func (o ApiRequestParameterOutput) Type() pulumi.StringOutput
- type ApiState
- type ApiSystemParameter
- type ApiSystemParameterArgs
- func (ApiSystemParameterArgs) ElementType() reflect.Type
- func (i ApiSystemParameterArgs) ToApiSystemParameterOutput() ApiSystemParameterOutput
- func (i ApiSystemParameterArgs) ToApiSystemParameterOutputWithContext(ctx context.Context) ApiSystemParameterOutput
- func (i ApiSystemParameterArgs) ToOutput(ctx context.Context) pulumix.Output[ApiSystemParameter]
- type ApiSystemParameterArray
- func (ApiSystemParameterArray) ElementType() reflect.Type
- func (i ApiSystemParameterArray) ToApiSystemParameterArrayOutput() ApiSystemParameterArrayOutput
- func (i ApiSystemParameterArray) ToApiSystemParameterArrayOutputWithContext(ctx context.Context) ApiSystemParameterArrayOutput
- func (i ApiSystemParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]ApiSystemParameter]
- type ApiSystemParameterArrayInput
- type ApiSystemParameterArrayOutput
- func (ApiSystemParameterArrayOutput) ElementType() reflect.Type
- func (o ApiSystemParameterArrayOutput) Index(i pulumi.IntInput) ApiSystemParameterOutput
- func (o ApiSystemParameterArrayOutput) ToApiSystemParameterArrayOutput() ApiSystemParameterArrayOutput
- func (o ApiSystemParameterArrayOutput) ToApiSystemParameterArrayOutputWithContext(ctx context.Context) ApiSystemParameterArrayOutput
- func (o ApiSystemParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiSystemParameter]
- type ApiSystemParameterInput
- type ApiSystemParameterOutput
- func (ApiSystemParameterOutput) ElementType() reflect.Type
- func (o ApiSystemParameterOutput) In() pulumi.StringOutput
- func (o ApiSystemParameterOutput) Name() pulumi.StringOutput
- func (o ApiSystemParameterOutput) NameService() pulumi.StringOutput
- func (o ApiSystemParameterOutput) ToApiSystemParameterOutput() ApiSystemParameterOutput
- func (o ApiSystemParameterOutput) ToApiSystemParameterOutputWithContext(ctx context.Context) ApiSystemParameterOutput
- func (o ApiSystemParameterOutput) ToOutput(ctx context.Context) pulumix.Output[ApiSystemParameter]
- type App
- type AppArgs
- type AppArray
- type AppArrayInput
- type AppArrayOutput
- func (AppArrayOutput) ElementType() reflect.Type
- func (o AppArrayOutput) Index(i pulumi.IntInput) AppOutput
- func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput
- func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
- func (o AppArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*App]
- type AppAttachment
- type AppAttachmentArgs
- type AppAttachmentArray
- func (AppAttachmentArray) ElementType() reflect.Type
- func (i AppAttachmentArray) ToAppAttachmentArrayOutput() AppAttachmentArrayOutput
- func (i AppAttachmentArray) ToAppAttachmentArrayOutputWithContext(ctx context.Context) AppAttachmentArrayOutput
- func (i AppAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*AppAttachment]
- type AppAttachmentArrayInput
- type AppAttachmentArrayOutput
- func (AppAttachmentArrayOutput) ElementType() reflect.Type
- func (o AppAttachmentArrayOutput) Index(i pulumi.IntInput) AppAttachmentOutput
- func (o AppAttachmentArrayOutput) ToAppAttachmentArrayOutput() AppAttachmentArrayOutput
- func (o AppAttachmentArrayOutput) ToAppAttachmentArrayOutputWithContext(ctx context.Context) AppAttachmentArrayOutput
- func (o AppAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AppAttachment]
- type AppAttachmentInput
- type AppAttachmentMap
- func (AppAttachmentMap) ElementType() reflect.Type
- func (i AppAttachmentMap) ToAppAttachmentMapOutput() AppAttachmentMapOutput
- func (i AppAttachmentMap) ToAppAttachmentMapOutputWithContext(ctx context.Context) AppAttachmentMapOutput
- func (i AppAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AppAttachment]
- type AppAttachmentMapInput
- type AppAttachmentMapOutput
- func (AppAttachmentMapOutput) ElementType() reflect.Type
- func (o AppAttachmentMapOutput) MapIndex(k pulumi.StringInput) AppAttachmentOutput
- func (o AppAttachmentMapOutput) ToAppAttachmentMapOutput() AppAttachmentMapOutput
- func (o AppAttachmentMapOutput) ToAppAttachmentMapOutputWithContext(ctx context.Context) AppAttachmentMapOutput
- func (o AppAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AppAttachment]
- type AppAttachmentOutput
- func (o AppAttachmentOutput) ApiId() pulumi.StringOutput
- func (o AppAttachmentOutput) AppId() pulumi.StringOutput
- func (AppAttachmentOutput) ElementType() reflect.Type
- func (o AppAttachmentOutput) GroupId() pulumi.StringOutput
- func (o AppAttachmentOutput) StageName() pulumi.StringOutput
- func (o AppAttachmentOutput) ToAppAttachmentOutput() AppAttachmentOutput
- func (o AppAttachmentOutput) ToAppAttachmentOutputWithContext(ctx context.Context) AppAttachmentOutput
- func (o AppAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*AppAttachment]
- type AppAttachmentState
- type AppInput
- type AppMap
- type AppMapInput
- type AppMapOutput
- func (AppMapOutput) ElementType() reflect.Type
- func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput
- func (o AppMapOutput) ToAppMapOutput() AppMapOutput
- func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
- func (o AppMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*App]
- type AppOutput
- func (o AppOutput) Description() pulumi.StringPtrOutput
- func (AppOutput) ElementType() reflect.Type
- func (o AppOutput) Name() pulumi.StringOutput
- func (o AppOutput) Tags() pulumi.MapOutput
- func (o AppOutput) ToAppOutput() AppOutput
- func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput
- func (o AppOutput) ToOutput(ctx context.Context) pulumix.Output[*App]
- type AppState
- type Backend
- type BackendArgs
- type BackendArray
- type BackendArrayInput
- type BackendArrayOutput
- func (BackendArrayOutput) ElementType() reflect.Type
- func (o BackendArrayOutput) Index(i pulumi.IntInput) BackendOutput
- func (o BackendArrayOutput) ToBackendArrayOutput() BackendArrayOutput
- func (o BackendArrayOutput) ToBackendArrayOutputWithContext(ctx context.Context) BackendArrayOutput
- func (o BackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Backend]
- type BackendInput
- type BackendMap
- type BackendMapInput
- type BackendMapOutput
- func (BackendMapOutput) ElementType() reflect.Type
- func (o BackendMapOutput) MapIndex(k pulumi.StringInput) BackendOutput
- func (o BackendMapOutput) ToBackendMapOutput() BackendMapOutput
- func (o BackendMapOutput) ToBackendMapOutputWithContext(ctx context.Context) BackendMapOutput
- func (o BackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Backend]
- type BackendOutput
- func (o BackendOutput) BackendName() pulumi.StringOutput
- func (o BackendOutput) BackendType() pulumi.StringOutput
- func (o BackendOutput) CreateEventBridgeServiceLinkedRole() pulumi.BoolPtrOutput
- func (o BackendOutput) Description() pulumi.StringPtrOutput
- func (BackendOutput) ElementType() reflect.Type
- func (o BackendOutput) ToBackendOutput() BackendOutput
- func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOutput
- func (o BackendOutput) ToOutput(ctx context.Context) pulumix.Output[*Backend]
- type BackendState
- type GetApisApi
- type GetApisApiArgs
- type GetApisApiArray
- func (GetApisApiArray) ElementType() reflect.Type
- func (i GetApisApiArray) ToGetApisApiArrayOutput() GetApisApiArrayOutput
- func (i GetApisApiArray) ToGetApisApiArrayOutputWithContext(ctx context.Context) GetApisApiArrayOutput
- func (i GetApisApiArray) ToOutput(ctx context.Context) pulumix.Output[[]GetApisApi]
- type GetApisApiArrayInput
- type GetApisApiArrayOutput
- func (GetApisApiArrayOutput) ElementType() reflect.Type
- func (o GetApisApiArrayOutput) Index(i pulumi.IntInput) GetApisApiOutput
- func (o GetApisApiArrayOutput) ToGetApisApiArrayOutput() GetApisApiArrayOutput
- func (o GetApisApiArrayOutput) ToGetApisApiArrayOutputWithContext(ctx context.Context) GetApisApiArrayOutput
- func (o GetApisApiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetApisApi]
- type GetApisApiInput
- type GetApisApiOutput
- func (o GetApisApiOutput) Description() pulumi.StringOutput
- func (GetApisApiOutput) ElementType() reflect.Type
- func (o GetApisApiOutput) GroupId() pulumi.StringOutput
- func (o GetApisApiOutput) GroupName() pulumi.StringOutput
- func (o GetApisApiOutput) Id() pulumi.StringOutput
- func (o GetApisApiOutput) Name() pulumi.StringOutput
- func (o GetApisApiOutput) RegionId() pulumi.StringOutput
- func (o GetApisApiOutput) ToGetApisApiOutput() GetApisApiOutput
- func (o GetApisApiOutput) ToGetApisApiOutputWithContext(ctx context.Context) GetApisApiOutput
- func (o GetApisApiOutput) ToOutput(ctx context.Context) pulumix.Output[GetApisApi]
- type GetApisArgs
- type GetApisOutputArgs
- type GetApisResult
- type GetApisResultOutput
- func (o GetApisResultOutput) ApiId() pulumi.StringPtrOutputdeprecated
- func (o GetApisResultOutput) Apis() GetApisApiArrayOutput
- func (GetApisResultOutput) ElementType() reflect.Type
- func (o GetApisResultOutput) GroupId() pulumi.StringPtrOutput
- func (o GetApisResultOutput) Id() pulumi.StringOutput
- func (o GetApisResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetApisResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetApisResultOutput) Names() pulumi.StringArrayOutput
- func (o GetApisResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetApisResultOutput) ToGetApisResultOutput() GetApisResultOutput
- func (o GetApisResultOutput) ToGetApisResultOutputWithContext(ctx context.Context) GetApisResultOutput
- func (o GetApisResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetApisResult]
- type GetAppsApp
- type GetAppsAppArgs
- type GetAppsAppArray
- func (GetAppsAppArray) ElementType() reflect.Type
- func (i GetAppsAppArray) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput
- func (i GetAppsAppArray) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput
- func (i GetAppsAppArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAppsApp]
- type GetAppsAppArrayInput
- type GetAppsAppArrayOutput
- func (GetAppsAppArrayOutput) ElementType() reflect.Type
- func (o GetAppsAppArrayOutput) Index(i pulumi.IntInput) GetAppsAppOutput
- func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput
- func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput
- func (o GetAppsAppArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAppsApp]
- type GetAppsAppInput
- type GetAppsAppOutput
- func (o GetAppsAppOutput) AppCode() pulumi.StringOutput
- func (o GetAppsAppOutput) CreatedTime() pulumi.StringOutput
- func (o GetAppsAppOutput) Description() pulumi.StringOutput
- func (GetAppsAppOutput) ElementType() reflect.Type
- func (o GetAppsAppOutput) Id() pulumi.IntOutput
- func (o GetAppsAppOutput) ModifiedTime() pulumi.StringOutput
- func (o GetAppsAppOutput) Name() pulumi.StringOutput
- func (o GetAppsAppOutput) ToGetAppsAppOutput() GetAppsAppOutput
- func (o GetAppsAppOutput) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput
- func (o GetAppsAppOutput) ToOutput(ctx context.Context) pulumix.Output[GetAppsApp]
- type GetAppsArgs
- type GetAppsOutputArgs
- type GetAppsResult
- type GetAppsResultOutput
- func (o GetAppsResultOutput) Apps() GetAppsAppArrayOutput
- func (GetAppsResultOutput) ElementType() reflect.Type
- func (o GetAppsResultOutput) Id() pulumi.StringOutput
- func (o GetAppsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAppsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAppsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAppsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAppsResultOutput) Tags() pulumi.MapOutput
- func (o GetAppsResultOutput) ToGetAppsResultOutput() GetAppsResultOutput
- func (o GetAppsResultOutput) ToGetAppsResultOutputWithContext(ctx context.Context) GetAppsResultOutput
- func (o GetAppsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAppsResult]
- type GetBackendsArgs
- type GetBackendsBackend
- type GetBackendsBackendArgs
- func (GetBackendsBackendArgs) ElementType() reflect.Type
- func (i GetBackendsBackendArgs) ToGetBackendsBackendOutput() GetBackendsBackendOutput
- func (i GetBackendsBackendArgs) ToGetBackendsBackendOutputWithContext(ctx context.Context) GetBackendsBackendOutput
- func (i GetBackendsBackendArgs) ToOutput(ctx context.Context) pulumix.Output[GetBackendsBackend]
- type GetBackendsBackendArray
- func (GetBackendsBackendArray) ElementType() reflect.Type
- func (i GetBackendsBackendArray) ToGetBackendsBackendArrayOutput() GetBackendsBackendArrayOutput
- func (i GetBackendsBackendArray) ToGetBackendsBackendArrayOutputWithContext(ctx context.Context) GetBackendsBackendArrayOutput
- func (i GetBackendsBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]GetBackendsBackend]
- type GetBackendsBackendArrayInput
- type GetBackendsBackendArrayOutput
- func (GetBackendsBackendArrayOutput) ElementType() reflect.Type
- func (o GetBackendsBackendArrayOutput) Index(i pulumi.IntInput) GetBackendsBackendOutput
- func (o GetBackendsBackendArrayOutput) ToGetBackendsBackendArrayOutput() GetBackendsBackendArrayOutput
- func (o GetBackendsBackendArrayOutput) ToGetBackendsBackendArrayOutputWithContext(ctx context.Context) GetBackendsBackendArrayOutput
- func (o GetBackendsBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetBackendsBackend]
- type GetBackendsBackendInput
- type GetBackendsBackendOutput
- func (o GetBackendsBackendOutput) BackendId() pulumi.StringOutput
- func (o GetBackendsBackendOutput) BackendName() pulumi.StringOutput
- func (o GetBackendsBackendOutput) BackendType() pulumi.StringOutput
- func (o GetBackendsBackendOutput) CreateTime() pulumi.StringOutput
- func (o GetBackendsBackendOutput) Description() pulumi.StringOutput
- func (GetBackendsBackendOutput) ElementType() reflect.Type
- func (o GetBackendsBackendOutput) Id() pulumi.StringOutput
- func (o GetBackendsBackendOutput) ModifiedTime() pulumi.StringOutput
- func (o GetBackendsBackendOutput) ToGetBackendsBackendOutput() GetBackendsBackendOutput
- func (o GetBackendsBackendOutput) ToGetBackendsBackendOutputWithContext(ctx context.Context) GetBackendsBackendOutput
- func (o GetBackendsBackendOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendsBackend]
- type GetBackendsOutputArgs
- type GetBackendsResult
- type GetBackendsResultOutput
- func (o GetBackendsResultOutput) Backends() GetBackendsBackendArrayOutput
- func (GetBackendsResultOutput) ElementType() reflect.Type
- func (o GetBackendsResultOutput) Id() pulumi.StringOutput
- func (o GetBackendsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetBackendsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetBackendsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetBackendsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetBackendsResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetBackendsResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetBackendsResultOutput) ToGetBackendsResultOutput() GetBackendsResultOutput
- func (o GetBackendsResultOutput) ToGetBackendsResultOutputWithContext(ctx context.Context) GetBackendsResultOutput
- func (o GetBackendsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendsResult]
- type GetGroupsArgs
- type GetGroupsGroup
- type GetGroupsGroupArgs
- func (GetGroupsGroupArgs) ElementType() reflect.Type
- func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput
- func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput
- func (i GetGroupsGroupArgs) ToOutput(ctx context.Context) pulumix.Output[GetGroupsGroup]
- type GetGroupsGroupArray
- func (GetGroupsGroupArray) ElementType() reflect.Type
- func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
- func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput
- func (i GetGroupsGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]GetGroupsGroup]
- type GetGroupsGroupArrayInput
- type GetGroupsGroupArrayOutput
- func (GetGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupOutput
- func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
- func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput
- func (o GetGroupsGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetGroupsGroup]
- type GetGroupsGroupInput
- type GetGroupsGroupOutput
- func (o GetGroupsGroupOutput) BillingStatus() pulumi.StringOutput
- func (o GetGroupsGroupOutput) CreatedTime() pulumi.StringOutput
- func (o GetGroupsGroupOutput) Description() pulumi.StringOutput
- func (GetGroupsGroupOutput) ElementType() reflect.Type
- func (o GetGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetGroupsGroupOutput) IllegalStatus() pulumi.StringOutput
- func (o GetGroupsGroupOutput) ModifiedTime() pulumi.StringOutput
- func (o GetGroupsGroupOutput) Name() pulumi.StringOutput
- func (o GetGroupsGroupOutput) RegionId() pulumi.StringOutput
- func (o GetGroupsGroupOutput) SubDomain() pulumi.StringOutput
- func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput
- func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput
- func (o GetGroupsGroupOutput) ToOutput(ctx context.Context) pulumix.Output[GetGroupsGroup]
- func (o GetGroupsGroupOutput) TrafficLimit() pulumi.IntOutput
- type GetGroupsOutputArgs
- type GetGroupsResult
- type GetGroupsResultOutput
- func (GetGroupsResultOutput) ElementType() reflect.Type
- func (o GetGroupsResultOutput) Groups() GetGroupsGroupArrayOutput
- func (o GetGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGroupsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGroupsResultOutput) ToGetGroupsResultOutput() GetGroupsResultOutput
- func (o GetGroupsResultOutput) ToGetGroupsResultOutputWithContext(ctx context.Context) GetGroupsResultOutput
- func (o GetGroupsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetGroupsResult]
- type GetLogConfigsArgs
- type GetLogConfigsConfig
- type GetLogConfigsConfigArgs
- func (GetLogConfigsConfigArgs) ElementType() reflect.Type
- func (i GetLogConfigsConfigArgs) ToGetLogConfigsConfigOutput() GetLogConfigsConfigOutput
- func (i GetLogConfigsConfigArgs) ToGetLogConfigsConfigOutputWithContext(ctx context.Context) GetLogConfigsConfigOutput
- func (i GetLogConfigsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetLogConfigsConfig]
- type GetLogConfigsConfigArray
- func (GetLogConfigsConfigArray) ElementType() reflect.Type
- func (i GetLogConfigsConfigArray) ToGetLogConfigsConfigArrayOutput() GetLogConfigsConfigArrayOutput
- func (i GetLogConfigsConfigArray) ToGetLogConfigsConfigArrayOutputWithContext(ctx context.Context) GetLogConfigsConfigArrayOutput
- func (i GetLogConfigsConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetLogConfigsConfig]
- type GetLogConfigsConfigArrayInput
- type GetLogConfigsConfigArrayOutput
- func (GetLogConfigsConfigArrayOutput) ElementType() reflect.Type
- func (o GetLogConfigsConfigArrayOutput) Index(i pulumi.IntInput) GetLogConfigsConfigOutput
- func (o GetLogConfigsConfigArrayOutput) ToGetLogConfigsConfigArrayOutput() GetLogConfigsConfigArrayOutput
- func (o GetLogConfigsConfigArrayOutput) ToGetLogConfigsConfigArrayOutputWithContext(ctx context.Context) GetLogConfigsConfigArrayOutput
- func (o GetLogConfigsConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetLogConfigsConfig]
- type GetLogConfigsConfigInput
- type GetLogConfigsConfigOutput
- func (GetLogConfigsConfigOutput) ElementType() reflect.Type
- func (o GetLogConfigsConfigOutput) Id() pulumi.StringOutput
- func (o GetLogConfigsConfigOutput) LogType() pulumi.StringOutput
- func (o GetLogConfigsConfigOutput) RegionId() pulumi.StringOutput
- func (o GetLogConfigsConfigOutput) SlsLogStore() pulumi.StringOutput
- func (o GetLogConfigsConfigOutput) SlsProject() pulumi.StringOutput
- func (o GetLogConfigsConfigOutput) ToGetLogConfigsConfigOutput() GetLogConfigsConfigOutput
- func (o GetLogConfigsConfigOutput) ToGetLogConfigsConfigOutputWithContext(ctx context.Context) GetLogConfigsConfigOutput
- func (o GetLogConfigsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetLogConfigsConfig]
- type GetLogConfigsOutputArgs
- type GetLogConfigsResult
- type GetLogConfigsResultOutput
- func (o GetLogConfigsResultOutput) Configs() GetLogConfigsConfigArrayOutput
- func (GetLogConfigsResultOutput) ElementType() reflect.Type
- func (o GetLogConfigsResultOutput) Id() pulumi.StringOutput
- func (o GetLogConfigsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetLogConfigsResultOutput) LogType() pulumi.StringPtrOutput
- func (o GetLogConfigsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetLogConfigsResultOutput) ToGetLogConfigsResultOutput() GetLogConfigsResultOutput
- func (o GetLogConfigsResultOutput) ToGetLogConfigsResultOutputWithContext(ctx context.Context) GetLogConfigsResultOutput
- func (o GetLogConfigsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetLogConfigsResult]
- type GetModelsArgs
- type GetModelsModel
- type GetModelsModelArgs
- func (GetModelsModelArgs) ElementType() reflect.Type
- func (i GetModelsModelArgs) ToGetModelsModelOutput() GetModelsModelOutput
- func (i GetModelsModelArgs) ToGetModelsModelOutputWithContext(ctx context.Context) GetModelsModelOutput
- func (i GetModelsModelArgs) ToOutput(ctx context.Context) pulumix.Output[GetModelsModel]
- type GetModelsModelArray
- func (GetModelsModelArray) ElementType() reflect.Type
- func (i GetModelsModelArray) ToGetModelsModelArrayOutput() GetModelsModelArrayOutput
- func (i GetModelsModelArray) ToGetModelsModelArrayOutputWithContext(ctx context.Context) GetModelsModelArrayOutput
- func (i GetModelsModelArray) ToOutput(ctx context.Context) pulumix.Output[[]GetModelsModel]
- type GetModelsModelArrayInput
- type GetModelsModelArrayOutput
- func (GetModelsModelArrayOutput) ElementType() reflect.Type
- func (o GetModelsModelArrayOutput) Index(i pulumi.IntInput) GetModelsModelOutput
- func (o GetModelsModelArrayOutput) ToGetModelsModelArrayOutput() GetModelsModelArrayOutput
- func (o GetModelsModelArrayOutput) ToGetModelsModelArrayOutputWithContext(ctx context.Context) GetModelsModelArrayOutput
- func (o GetModelsModelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetModelsModel]
- type GetModelsModelInput
- type GetModelsModelOutput
- func (o GetModelsModelOutput) CreateTime() pulumi.StringOutput
- func (o GetModelsModelOutput) Description() pulumi.StringOutput
- func (GetModelsModelOutput) ElementType() reflect.Type
- func (o GetModelsModelOutput) GroupId() pulumi.StringOutput
- func (o GetModelsModelOutput) Id() pulumi.StringOutput
- func (o GetModelsModelOutput) ModelId() pulumi.StringOutput
- func (o GetModelsModelOutput) ModelName() pulumi.StringOutput
- func (o GetModelsModelOutput) ModelRef() pulumi.StringOutput
- func (o GetModelsModelOutput) ModifiedTime() pulumi.StringOutput
- func (o GetModelsModelOutput) Schema() pulumi.StringOutput
- func (o GetModelsModelOutput) ToGetModelsModelOutput() GetModelsModelOutput
- func (o GetModelsModelOutput) ToGetModelsModelOutputWithContext(ctx context.Context) GetModelsModelOutput
- func (o GetModelsModelOutput) ToOutput(ctx context.Context) pulumix.Output[GetModelsModel]
- type GetModelsOutputArgs
- type GetModelsResult
- type GetModelsResultOutput
- func (GetModelsResultOutput) ElementType() reflect.Type
- func (o GetModelsResultOutput) GroupId() pulumi.StringOutput
- func (o GetModelsResultOutput) Id() pulumi.StringOutput
- func (o GetModelsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetModelsResultOutput) ModelName() pulumi.StringPtrOutput
- func (o GetModelsResultOutput) Models() GetModelsModelArrayOutput
- func (o GetModelsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetModelsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetModelsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetModelsResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetModelsResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetModelsResultOutput) ToGetModelsResultOutput() GetModelsResultOutput
- func (o GetModelsResultOutput) ToGetModelsResultOutputWithContext(ctx context.Context) GetModelsResultOutput
- func (o GetModelsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetModelsResult]
- type GetPluginsArgs
- type GetPluginsOutputArgs
- type GetPluginsPlugin
- type GetPluginsPluginArgs
- func (GetPluginsPluginArgs) ElementType() reflect.Type
- func (i GetPluginsPluginArgs) ToGetPluginsPluginOutput() GetPluginsPluginOutput
- func (i GetPluginsPluginArgs) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput
- func (i GetPluginsPluginArgs) ToOutput(ctx context.Context) pulumix.Output[GetPluginsPlugin]
- type GetPluginsPluginArray
- func (GetPluginsPluginArray) ElementType() reflect.Type
- func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
- func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput
- func (i GetPluginsPluginArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPluginsPlugin]
- type GetPluginsPluginArrayInput
- type GetPluginsPluginArrayOutput
- func (GetPluginsPluginArrayOutput) ElementType() reflect.Type
- func (o GetPluginsPluginArrayOutput) Index(i pulumi.IntInput) GetPluginsPluginOutput
- func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
- func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput
- func (o GetPluginsPluginArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPluginsPlugin]
- type GetPluginsPluginInput
- type GetPluginsPluginOutput
- func (o GetPluginsPluginOutput) CreateTime() pulumi.StringOutput
- func (o GetPluginsPluginOutput) Description() pulumi.StringOutput
- func (GetPluginsPluginOutput) ElementType() reflect.Type
- func (o GetPluginsPluginOutput) Id() pulumi.StringOutput
- func (o GetPluginsPluginOutput) ModifiedTime() pulumi.StringOutput
- func (o GetPluginsPluginOutput) PluginData() pulumi.StringOutput
- func (o GetPluginsPluginOutput) PluginId() pulumi.StringOutput
- func (o GetPluginsPluginOutput) PluginName() pulumi.StringOutput
- func (o GetPluginsPluginOutput) PluginType() pulumi.StringOutput
- func (o GetPluginsPluginOutput) Tags() pulumi.MapOutput
- func (o GetPluginsPluginOutput) ToGetPluginsPluginOutput() GetPluginsPluginOutput
- func (o GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput
- func (o GetPluginsPluginOutput) ToOutput(ctx context.Context) pulumix.Output[GetPluginsPlugin]
- type GetPluginsResult
- type GetPluginsResultOutput
- func (GetPluginsResultOutput) ElementType() reflect.Type
- func (o GetPluginsResultOutput) Id() pulumi.StringOutput
- func (o GetPluginsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetPluginsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetPluginsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetPluginsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetPluginsResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetPluginsResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetPluginsResultOutput) PluginName() pulumi.StringPtrOutput
- func (o GetPluginsResultOutput) PluginType() pulumi.StringPtrOutput
- func (o GetPluginsResultOutput) Plugins() GetPluginsPluginArrayOutput
- func (o GetPluginsResultOutput) Tags() pulumi.MapOutput
- func (o GetPluginsResultOutput) ToGetPluginsResultOutput() GetPluginsResultOutput
- func (o GetPluginsResultOutput) ToGetPluginsResultOutputWithContext(ctx context.Context) GetPluginsResultOutput
- func (o GetPluginsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPluginsResult]
- type GetServiceArgs
- type GetServiceOutputArgs
- type GetServiceResult
- type GetServiceResultOutput
- func (GetServiceResultOutput) ElementType() reflect.Type
- func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
- func (o GetServiceResultOutput) Id() pulumi.StringOutput
- func (o GetServiceResultOutput) Status() pulumi.StringOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
- func (o GetServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceResult]
- type Group
- type GroupArgs
- type GroupArray
- type GroupArrayInput
- type GroupArrayOutput
- func (GroupArrayOutput) ElementType() reflect.Type
- func (o GroupArrayOutput) Index(i pulumi.IntInput) GroupOutput
- func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput
- func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
- func (o GroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Group]
- type GroupInput
- type GroupMap
- type GroupMapInput
- type GroupMapOutput
- func (GroupMapOutput) ElementType() reflect.Type
- func (o GroupMapOutput) MapIndex(k pulumi.StringInput) GroupOutput
- func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput
- func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
- func (o GroupMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Group]
- type GroupOutput
- func (o GroupOutput) Description() pulumi.StringOutput
- func (GroupOutput) ElementType() reflect.Type
- func (o GroupOutput) InstanceId() pulumi.StringOutput
- func (o GroupOutput) Name() pulumi.StringOutput
- func (o GroupOutput) SubDomain() pulumi.StringOutput
- func (o GroupOutput) ToGroupOutput() GroupOutput
- func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
- func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group]
- func (o GroupOutput) VpcDomain() pulumi.StringOutput
- type GroupState
- type LogConfig
- type LogConfigArgs
- type LogConfigArray
- func (LogConfigArray) ElementType() reflect.Type
- func (i LogConfigArray) ToLogConfigArrayOutput() LogConfigArrayOutput
- func (i LogConfigArray) ToLogConfigArrayOutputWithContext(ctx context.Context) LogConfigArrayOutput
- func (i LogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*LogConfig]
- type LogConfigArrayInput
- type LogConfigArrayOutput
- func (LogConfigArrayOutput) ElementType() reflect.Type
- func (o LogConfigArrayOutput) Index(i pulumi.IntInput) LogConfigOutput
- func (o LogConfigArrayOutput) ToLogConfigArrayOutput() LogConfigArrayOutput
- func (o LogConfigArrayOutput) ToLogConfigArrayOutputWithContext(ctx context.Context) LogConfigArrayOutput
- func (o LogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LogConfig]
- type LogConfigInput
- type LogConfigMap
- type LogConfigMapInput
- type LogConfigMapOutput
- func (LogConfigMapOutput) ElementType() reflect.Type
- func (o LogConfigMapOutput) MapIndex(k pulumi.StringInput) LogConfigOutput
- func (o LogConfigMapOutput) ToLogConfigMapOutput() LogConfigMapOutput
- func (o LogConfigMapOutput) ToLogConfigMapOutputWithContext(ctx context.Context) LogConfigMapOutput
- func (o LogConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LogConfig]
- type LogConfigOutput
- func (LogConfigOutput) ElementType() reflect.Type
- func (o LogConfigOutput) LogType() pulumi.StringOutput
- func (o LogConfigOutput) SlsLogStore() pulumi.StringOutput
- func (o LogConfigOutput) SlsProject() pulumi.StringOutput
- func (o LogConfigOutput) ToLogConfigOutput() LogConfigOutput
- func (o LogConfigOutput) ToLogConfigOutputWithContext(ctx context.Context) LogConfigOutput
- func (o LogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfig]
- type LogConfigState
- type Model
- type ModelArgs
- type ModelArray
- type ModelArrayInput
- type ModelArrayOutput
- func (ModelArrayOutput) ElementType() reflect.Type
- func (o ModelArrayOutput) Index(i pulumi.IntInput) ModelOutput
- func (o ModelArrayOutput) ToModelArrayOutput() ModelArrayOutput
- func (o ModelArrayOutput) ToModelArrayOutputWithContext(ctx context.Context) ModelArrayOutput
- func (o ModelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Model]
- type ModelInput
- type ModelMap
- type ModelMapInput
- type ModelMapOutput
- func (ModelMapOutput) ElementType() reflect.Type
- func (o ModelMapOutput) MapIndex(k pulumi.StringInput) ModelOutput
- func (o ModelMapOutput) ToModelMapOutput() ModelMapOutput
- func (o ModelMapOutput) ToModelMapOutputWithContext(ctx context.Context) ModelMapOutput
- func (o ModelMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Model]
- type ModelOutput
- func (o ModelOutput) Description() pulumi.StringPtrOutput
- func (ModelOutput) ElementType() reflect.Type
- func (o ModelOutput) GroupId() pulumi.StringOutput
- func (o ModelOutput) ModelName() pulumi.StringOutput
- func (o ModelOutput) Schema() pulumi.StringOutput
- func (o ModelOutput) ToModelOutput() ModelOutput
- func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput
- func (o ModelOutput) ToOutput(ctx context.Context) pulumix.Output[*Model]
- type ModelState
- type Plugin
- type PluginArgs
- type PluginArray
- type PluginArrayInput
- type PluginArrayOutput
- func (PluginArrayOutput) ElementType() reflect.Type
- func (o PluginArrayOutput) Index(i pulumi.IntInput) PluginOutput
- func (o PluginArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Plugin]
- func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput
- func (o PluginArrayOutput) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
- type PluginInput
- type PluginMap
- type PluginMapInput
- type PluginMapOutput
- func (PluginMapOutput) ElementType() reflect.Type
- func (o PluginMapOutput) MapIndex(k pulumi.StringInput) PluginOutput
- func (o PluginMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Plugin]
- func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput
- func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
- type PluginOutput
- func (o PluginOutput) Description() pulumi.StringPtrOutput
- func (PluginOutput) ElementType() reflect.Type
- func (o PluginOutput) PluginData() pulumi.StringOutput
- func (o PluginOutput) PluginName() pulumi.StringOutput
- func (o PluginOutput) PluginType() pulumi.StringOutput
- func (o PluginOutput) Tags() pulumi.MapOutput
- func (o PluginOutput) ToOutput(ctx context.Context) pulumix.Output[*Plugin]
- func (o PluginOutput) ToPluginOutput() PluginOutput
- func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput
- type PluginState
- type VpcAccess
- type VpcAccessArgs
- type VpcAccessArray
- func (VpcAccessArray) ElementType() reflect.Type
- func (i VpcAccessArray) ToOutput(ctx context.Context) pulumix.Output[[]*VpcAccess]
- func (i VpcAccessArray) ToVpcAccessArrayOutput() VpcAccessArrayOutput
- func (i VpcAccessArray) ToVpcAccessArrayOutputWithContext(ctx context.Context) VpcAccessArrayOutput
- type VpcAccessArrayInput
- type VpcAccessArrayOutput
- func (VpcAccessArrayOutput) ElementType() reflect.Type
- func (o VpcAccessArrayOutput) Index(i pulumi.IntInput) VpcAccessOutput
- func (o VpcAccessArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*VpcAccess]
- func (o VpcAccessArrayOutput) ToVpcAccessArrayOutput() VpcAccessArrayOutput
- func (o VpcAccessArrayOutput) ToVpcAccessArrayOutputWithContext(ctx context.Context) VpcAccessArrayOutput
- type VpcAccessInput
- type VpcAccessMap
- type VpcAccessMapInput
- type VpcAccessMapOutput
- func (VpcAccessMapOutput) ElementType() reflect.Type
- func (o VpcAccessMapOutput) MapIndex(k pulumi.StringInput) VpcAccessOutput
- func (o VpcAccessMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*VpcAccess]
- func (o VpcAccessMapOutput) ToVpcAccessMapOutput() VpcAccessMapOutput
- func (o VpcAccessMapOutput) ToVpcAccessMapOutputWithContext(ctx context.Context) VpcAccessMapOutput
- type VpcAccessOutput
- func (VpcAccessOutput) ElementType() reflect.Type
- func (o VpcAccessOutput) InstanceId() pulumi.StringOutput
- func (o VpcAccessOutput) Name() pulumi.StringOutput
- func (o VpcAccessOutput) Port() pulumi.IntOutput
- func (o VpcAccessOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcAccess]
- func (o VpcAccessOutput) ToVpcAccessOutput() VpcAccessOutput
- func (o VpcAccessOutput) ToVpcAccessOutputWithContext(ctx context.Context) VpcAccessOutput
- func (o VpcAccessOutput) VpcId() pulumi.StringOutput
- type VpcAccessState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { pulumi.CustomResourceState // The ID of the api of api gateway. ApiId pulumi.StringOutput `pulumi:"apiId"` // The authorization Type including APP and ANONYMOUS. Defaults to null. AuthType pulumi.StringOutput `pulumi:"authType"` // constant_parameters defines the constant parameters of the api. See `constantParameters` below. ConstantParameters ApiConstantParameterArrayOutput `pulumi:"constantParameters"` // The description of the api. Defaults to null. Description pulumi.StringOutput `pulumi:"description"` // fc_service_config defines the config when serviceType selected 'FunctionCompute'. See `fcServiceConfig` below. FcServiceConfig ApiFcServiceConfigPtrOutput `pulumi:"fcServiceConfig"` // Whether to prevent API replay attack. Default value: `false`. ForceNonceCheck pulumi.BoolOutput `pulumi:"forceNonceCheck"` // The api gateway that the api belongs to. Defaults to null. GroupId pulumi.StringOutput `pulumi:"groupId"` // http_service_config defines the config when serviceType selected 'HTTP'. See `httpServiceConfig` below. HttpServiceConfig ApiHttpServiceConfigPtrOutput `pulumi:"httpServiceConfig"` // http_vpc_service_config defines the config when serviceType selected 'HTTP-VPC'. See `httpVpcServiceConfig` below. HttpVpcServiceConfig ApiHttpVpcServiceConfigPtrOutput `pulumi:"httpVpcServiceConfig"` // http_service_config defines the config when serviceType selected 'MOCK'. See `mockServiceConfig` below. MockServiceConfig ApiMockServiceConfigPtrOutput `pulumi:"mockServiceConfig"` // The name of the api gateway api. Defaults to null. Name pulumi.StringOutput `pulumi:"name"` // Request_config defines how users can send requests to your API. See `requestConfig` below. RequestConfig ApiRequestConfigOutput `pulumi:"requestConfig"` // request_parameters defines the request parameters of the api. See `requestParameters` below. RequestParameters ApiRequestParameterArrayOutput `pulumi:"requestParameters"` // The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null. ServiceType pulumi.StringOutput `pulumi:"serviceType"` // Stages that the api need to be deployed. Valid value: `RELEASE`,`PRE`,`TEST`. StageNames pulumi.StringArrayOutput `pulumi:"stageNames"` // system_parameters defines the system parameters of the api. See `systemParameters` below. SystemParameters ApiSystemParameterArrayOutput `pulumi:"systemParameters"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGroup, err := apigateway.NewGroup(ctx, "exampleGroup", &apigateway.GroupArgs{ Description: pulumi.String("tf-example"), }) if err != nil { return err } _, err = apigateway.NewApi(ctx, "exampleApi", &apigateway.ApiArgs{ GroupId: exampleGroup.ID(), Description: pulumi.String("tf-example"), AuthType: pulumi.String("APP"), ForceNonceCheck: pulumi.Bool(false), RequestConfig: &apigateway.ApiRequestConfigArgs{ Protocol: pulumi.String("HTTP"), Method: pulumi.String("GET"), Path: pulumi.String("/example/path"), Mode: pulumi.String("MAPPING"), }, ServiceType: pulumi.String("HTTP"), HttpServiceConfig: &apigateway.ApiHttpServiceConfigArgs{ Address: pulumi.String("http://apigateway-backend.alicloudapi.com:8080"), Method: pulumi.String("GET"), Path: pulumi.String("/web/cloudapi"), Timeout: pulumi.Int(12), AoneName: pulumi.String("cloudapi-openapi"), }, RequestParameters: apigateway.ApiRequestParameterArray{ &apigateway.ApiRequestParameterArgs{ Name: pulumi.String("example"), Type: pulumi.String("STRING"), Required: pulumi.String("OPTIONAL"), In: pulumi.String("QUERY"), InService: pulumi.String("QUERY"), NameService: pulumi.String("exampleservice"), }, }, StageNames: pulumi.StringArray{ pulumi.String("RELEASE"), pulumi.String("TEST"), }, }) if err != nil { return err } return nil }) }
```
## Import
Api gateway api can be imported using the id.Format to `<API Group Id>:<API Id>` e.g.
```sh
$ pulumi import alicloud:apigateway/api:Api example "ab2351f2ce904edaa8d92a0510832b91:e4f728fca5a94148b023b99a3e5d0b62"
```
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 ¶
func (*Api) ToApiOutput ¶
func (*Api) ToApiOutputWithContext ¶
type ApiArgs ¶
type ApiArgs struct { // The authorization Type including APP and ANONYMOUS. Defaults to null. AuthType pulumi.StringInput // constant_parameters defines the constant parameters of the api. See `constantParameters` below. ConstantParameters ApiConstantParameterArrayInput // The description of the api. Defaults to null. Description pulumi.StringInput // fc_service_config defines the config when serviceType selected 'FunctionCompute'. See `fcServiceConfig` below. FcServiceConfig ApiFcServiceConfigPtrInput // Whether to prevent API replay attack. Default value: `false`. ForceNonceCheck pulumi.BoolPtrInput // The api gateway that the api belongs to. Defaults to null. GroupId pulumi.StringInput // http_service_config defines the config when serviceType selected 'HTTP'. See `httpServiceConfig` below. HttpServiceConfig ApiHttpServiceConfigPtrInput // http_vpc_service_config defines the config when serviceType selected 'HTTP-VPC'. See `httpVpcServiceConfig` below. HttpVpcServiceConfig ApiHttpVpcServiceConfigPtrInput // http_service_config defines the config when serviceType selected 'MOCK'. See `mockServiceConfig` below. MockServiceConfig ApiMockServiceConfigPtrInput // The name of the api gateway api. Defaults to null. Name pulumi.StringPtrInput // Request_config defines how users can send requests to your API. See `requestConfig` below. RequestConfig ApiRequestConfigInput // request_parameters defines the request parameters of the api. See `requestParameters` below. RequestParameters ApiRequestParameterArrayInput // The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null. ServiceType pulumi.StringInput // Stages that the api need to be deployed. Valid value: `RELEASE`,`PRE`,`TEST`. StageNames pulumi.StringArrayInput // system_parameters defines the system parameters of the api. See `systemParameters` below. SystemParameters ApiSystemParameterArrayInput }
The set of arguments for constructing a Api resource.
func (ApiArgs) ElementType ¶
type ApiArray ¶
type ApiArray []ApiInput
func (ApiArray) ElementType ¶
func (ApiArray) ToApiArrayOutput ¶
func (i ApiArray) ToApiArrayOutput() ApiArrayOutput
func (ApiArray) ToApiArrayOutputWithContext ¶
func (i ApiArray) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutput
type ApiArrayInput ¶
type ApiArrayInput interface { pulumi.Input ToApiArrayOutput() ApiArrayOutput ToApiArrayOutputWithContext(context.Context) ApiArrayOutput }
ApiArrayInput is an input type that accepts ApiArray and ApiArrayOutput values. You can construct a concrete instance of `ApiArrayInput` via:
ApiArray{ ApiArgs{...} }
type ApiArrayOutput ¶
type ApiArrayOutput struct{ *pulumi.OutputState }
func (ApiArrayOutput) ElementType ¶
func (ApiArrayOutput) ElementType() reflect.Type
func (ApiArrayOutput) ToApiArrayOutput ¶
func (o ApiArrayOutput) ToApiArrayOutput() ApiArrayOutput
func (ApiArrayOutput) ToApiArrayOutputWithContext ¶
func (o ApiArrayOutput) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutput
type ApiConstantParameter ¶
type ApiConstantParameter struct { // The description of Constant parameter. Description *string `pulumi:"description"` // Constant parameter location; values: 'HEAD' and 'QUERY'. In string `pulumi:"in"` // Constant parameter name. Name string `pulumi:"name"` // Constant parameter value. Value string `pulumi:"value"` }
type ApiConstantParameterArgs ¶
type ApiConstantParameterArgs struct { // The description of Constant parameter. Description pulumi.StringPtrInput `pulumi:"description"` // Constant parameter location; values: 'HEAD' and 'QUERY'. In pulumi.StringInput `pulumi:"in"` // Constant parameter name. Name pulumi.StringInput `pulumi:"name"` // Constant parameter value. Value pulumi.StringInput `pulumi:"value"` }
func (ApiConstantParameterArgs) ElementType ¶
func (ApiConstantParameterArgs) ElementType() reflect.Type
func (ApiConstantParameterArgs) ToApiConstantParameterOutput ¶
func (i ApiConstantParameterArgs) ToApiConstantParameterOutput() ApiConstantParameterOutput
func (ApiConstantParameterArgs) ToApiConstantParameterOutputWithContext ¶
func (i ApiConstantParameterArgs) ToApiConstantParameterOutputWithContext(ctx context.Context) ApiConstantParameterOutput
func (ApiConstantParameterArgs) ToOutput ¶ added in v3.43.1
func (i ApiConstantParameterArgs) ToOutput(ctx context.Context) pulumix.Output[ApiConstantParameter]
type ApiConstantParameterArray ¶
type ApiConstantParameterArray []ApiConstantParameterInput
func (ApiConstantParameterArray) ElementType ¶
func (ApiConstantParameterArray) ElementType() reflect.Type
func (ApiConstantParameterArray) ToApiConstantParameterArrayOutput ¶
func (i ApiConstantParameterArray) ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput
func (ApiConstantParameterArray) ToApiConstantParameterArrayOutputWithContext ¶
func (i ApiConstantParameterArray) ToApiConstantParameterArrayOutputWithContext(ctx context.Context) ApiConstantParameterArrayOutput
func (ApiConstantParameterArray) ToOutput ¶ added in v3.43.1
func (i ApiConstantParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]ApiConstantParameter]
type ApiConstantParameterArrayInput ¶
type ApiConstantParameterArrayInput interface { pulumi.Input ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput ToApiConstantParameterArrayOutputWithContext(context.Context) ApiConstantParameterArrayOutput }
ApiConstantParameterArrayInput is an input type that accepts ApiConstantParameterArray and ApiConstantParameterArrayOutput values. You can construct a concrete instance of `ApiConstantParameterArrayInput` via:
ApiConstantParameterArray{ ApiConstantParameterArgs{...} }
type ApiConstantParameterArrayOutput ¶
type ApiConstantParameterArrayOutput struct{ *pulumi.OutputState }
func (ApiConstantParameterArrayOutput) ElementType ¶
func (ApiConstantParameterArrayOutput) ElementType() reflect.Type
func (ApiConstantParameterArrayOutput) Index ¶
func (o ApiConstantParameterArrayOutput) Index(i pulumi.IntInput) ApiConstantParameterOutput
func (ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutput ¶
func (o ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutput() ApiConstantParameterArrayOutput
func (ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutputWithContext ¶
func (o ApiConstantParameterArrayOutput) ToApiConstantParameterArrayOutputWithContext(ctx context.Context) ApiConstantParameterArrayOutput
func (ApiConstantParameterArrayOutput) ToOutput ¶ added in v3.43.1
func (o ApiConstantParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiConstantParameter]
type ApiConstantParameterInput ¶
type ApiConstantParameterInput interface { pulumi.Input ToApiConstantParameterOutput() ApiConstantParameterOutput ToApiConstantParameterOutputWithContext(context.Context) ApiConstantParameterOutput }
ApiConstantParameterInput is an input type that accepts ApiConstantParameterArgs and ApiConstantParameterOutput values. You can construct a concrete instance of `ApiConstantParameterInput` via:
ApiConstantParameterArgs{...}
type ApiConstantParameterOutput ¶
type ApiConstantParameterOutput struct{ *pulumi.OutputState }
func (ApiConstantParameterOutput) Description ¶
func (o ApiConstantParameterOutput) Description() pulumi.StringPtrOutput
The description of Constant parameter.
func (ApiConstantParameterOutput) ElementType ¶
func (ApiConstantParameterOutput) ElementType() reflect.Type
func (ApiConstantParameterOutput) In ¶
func (o ApiConstantParameterOutput) In() pulumi.StringOutput
Constant parameter location; values: 'HEAD' and 'QUERY'.
func (ApiConstantParameterOutput) Name ¶
func (o ApiConstantParameterOutput) Name() pulumi.StringOutput
Constant parameter name.
func (ApiConstantParameterOutput) ToApiConstantParameterOutput ¶
func (o ApiConstantParameterOutput) ToApiConstantParameterOutput() ApiConstantParameterOutput
func (ApiConstantParameterOutput) ToApiConstantParameterOutputWithContext ¶
func (o ApiConstantParameterOutput) ToApiConstantParameterOutputWithContext(ctx context.Context) ApiConstantParameterOutput
func (ApiConstantParameterOutput) ToOutput ¶ added in v3.43.1
func (o ApiConstantParameterOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConstantParameter]
func (ApiConstantParameterOutput) Value ¶
func (o ApiConstantParameterOutput) Value() pulumi.StringOutput
Constant parameter value.
type ApiFcServiceConfig ¶
type ApiFcServiceConfig struct { // RAM role arn attached to the Function Compute service. This governs both who / what can invoke your Function, as well as what resources our Function has access to. See [User Permissions](https://www.alibabacloud.com/help/doc-detail/52885.htm) for more details. ArnRole *string `pulumi:"arnRole"` // The function name of function compute service. FunctionName string `pulumi:"functionName"` // The region that the function compute service belongs to. Region string `pulumi:"region"` // The service name of function compute service. ServiceName string `pulumi:"serviceName"` // Backend service time-out time; unit: millisecond. Timeout int `pulumi:"timeout"` }
type ApiFcServiceConfigArgs ¶
type ApiFcServiceConfigArgs struct { // RAM role arn attached to the Function Compute service. This governs both who / what can invoke your Function, as well as what resources our Function has access to. See [User Permissions](https://www.alibabacloud.com/help/doc-detail/52885.htm) for more details. ArnRole pulumi.StringPtrInput `pulumi:"arnRole"` // The function name of function compute service. FunctionName pulumi.StringInput `pulumi:"functionName"` // The region that the function compute service belongs to. Region pulumi.StringInput `pulumi:"region"` // The service name of function compute service. ServiceName pulumi.StringInput `pulumi:"serviceName"` // Backend service time-out time; unit: millisecond. Timeout pulumi.IntInput `pulumi:"timeout"` }
func (ApiFcServiceConfigArgs) ElementType ¶
func (ApiFcServiceConfigArgs) ElementType() reflect.Type
func (ApiFcServiceConfigArgs) ToApiFcServiceConfigOutput ¶
func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigOutput() ApiFcServiceConfigOutput
func (ApiFcServiceConfigArgs) ToApiFcServiceConfigOutputWithContext ¶
func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigOutputWithContext(ctx context.Context) ApiFcServiceConfigOutput
func (ApiFcServiceConfigArgs) ToApiFcServiceConfigPtrOutput ¶
func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigPtrOutput() ApiFcServiceConfigPtrOutput
func (ApiFcServiceConfigArgs) ToApiFcServiceConfigPtrOutputWithContext ¶
func (i ApiFcServiceConfigArgs) ToApiFcServiceConfigPtrOutputWithContext(ctx context.Context) ApiFcServiceConfigPtrOutput
func (ApiFcServiceConfigArgs) ToOutput ¶ added in v3.43.1
func (i ApiFcServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiFcServiceConfig]
type ApiFcServiceConfigInput ¶
type ApiFcServiceConfigInput interface { pulumi.Input ToApiFcServiceConfigOutput() ApiFcServiceConfigOutput ToApiFcServiceConfigOutputWithContext(context.Context) ApiFcServiceConfigOutput }
ApiFcServiceConfigInput is an input type that accepts ApiFcServiceConfigArgs and ApiFcServiceConfigOutput values. You can construct a concrete instance of `ApiFcServiceConfigInput` via:
ApiFcServiceConfigArgs{...}
type ApiFcServiceConfigOutput ¶
type ApiFcServiceConfigOutput struct{ *pulumi.OutputState }
func (ApiFcServiceConfigOutput) ArnRole ¶
func (o ApiFcServiceConfigOutput) ArnRole() pulumi.StringPtrOutput
RAM role arn attached to the Function Compute service. This governs both who / what can invoke your Function, as well as what resources our Function has access to. See [User Permissions](https://www.alibabacloud.com/help/doc-detail/52885.htm) for more details.
func (ApiFcServiceConfigOutput) ElementType ¶
func (ApiFcServiceConfigOutput) ElementType() reflect.Type
func (ApiFcServiceConfigOutput) FunctionName ¶
func (o ApiFcServiceConfigOutput) FunctionName() pulumi.StringOutput
The function name of function compute service.
func (ApiFcServiceConfigOutput) Region ¶
func (o ApiFcServiceConfigOutput) Region() pulumi.StringOutput
The region that the function compute service belongs to.
func (ApiFcServiceConfigOutput) ServiceName ¶
func (o ApiFcServiceConfigOutput) ServiceName() pulumi.StringOutput
The service name of function compute service.
func (ApiFcServiceConfigOutput) Timeout ¶
func (o ApiFcServiceConfigOutput) Timeout() pulumi.IntOutput
Backend service time-out time; unit: millisecond.
func (ApiFcServiceConfigOutput) ToApiFcServiceConfigOutput ¶
func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigOutput() ApiFcServiceConfigOutput
func (ApiFcServiceConfigOutput) ToApiFcServiceConfigOutputWithContext ¶
func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigOutputWithContext(ctx context.Context) ApiFcServiceConfigOutput
func (ApiFcServiceConfigOutput) ToApiFcServiceConfigPtrOutput ¶
func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigPtrOutput() ApiFcServiceConfigPtrOutput
func (ApiFcServiceConfigOutput) ToApiFcServiceConfigPtrOutputWithContext ¶
func (o ApiFcServiceConfigOutput) ToApiFcServiceConfigPtrOutputWithContext(ctx context.Context) ApiFcServiceConfigPtrOutput
func (ApiFcServiceConfigOutput) ToOutput ¶ added in v3.43.1
func (o ApiFcServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiFcServiceConfig]
type ApiFcServiceConfigPtrInput ¶
type ApiFcServiceConfigPtrInput interface { pulumi.Input ToApiFcServiceConfigPtrOutput() ApiFcServiceConfigPtrOutput ToApiFcServiceConfigPtrOutputWithContext(context.Context) ApiFcServiceConfigPtrOutput }
ApiFcServiceConfigPtrInput is an input type that accepts ApiFcServiceConfigArgs, ApiFcServiceConfigPtr and ApiFcServiceConfigPtrOutput values. You can construct a concrete instance of `ApiFcServiceConfigPtrInput` via:
ApiFcServiceConfigArgs{...} or: nil
func ApiFcServiceConfigPtr ¶
func ApiFcServiceConfigPtr(v *ApiFcServiceConfigArgs) ApiFcServiceConfigPtrInput
type ApiFcServiceConfigPtrOutput ¶
type ApiFcServiceConfigPtrOutput struct{ *pulumi.OutputState }
func (ApiFcServiceConfigPtrOutput) ArnRole ¶
func (o ApiFcServiceConfigPtrOutput) ArnRole() pulumi.StringPtrOutput
RAM role arn attached to the Function Compute service. This governs both who / what can invoke your Function, as well as what resources our Function has access to. See [User Permissions](https://www.alibabacloud.com/help/doc-detail/52885.htm) for more details.
func (ApiFcServiceConfigPtrOutput) Elem ¶
func (o ApiFcServiceConfigPtrOutput) Elem() ApiFcServiceConfigOutput
func (ApiFcServiceConfigPtrOutput) ElementType ¶
func (ApiFcServiceConfigPtrOutput) ElementType() reflect.Type
func (ApiFcServiceConfigPtrOutput) FunctionName ¶
func (o ApiFcServiceConfigPtrOutput) FunctionName() pulumi.StringPtrOutput
The function name of function compute service.
func (ApiFcServiceConfigPtrOutput) Region ¶
func (o ApiFcServiceConfigPtrOutput) Region() pulumi.StringPtrOutput
The region that the function compute service belongs to.
func (ApiFcServiceConfigPtrOutput) ServiceName ¶
func (o ApiFcServiceConfigPtrOutput) ServiceName() pulumi.StringPtrOutput
The service name of function compute service.
func (ApiFcServiceConfigPtrOutput) Timeout ¶
func (o ApiFcServiceConfigPtrOutput) Timeout() pulumi.IntPtrOutput
Backend service time-out time; unit: millisecond.
func (ApiFcServiceConfigPtrOutput) ToApiFcServiceConfigPtrOutput ¶
func (o ApiFcServiceConfigPtrOutput) ToApiFcServiceConfigPtrOutput() ApiFcServiceConfigPtrOutput
func (ApiFcServiceConfigPtrOutput) ToApiFcServiceConfigPtrOutputWithContext ¶
func (o ApiFcServiceConfigPtrOutput) ToApiFcServiceConfigPtrOutputWithContext(ctx context.Context) ApiFcServiceConfigPtrOutput
func (ApiFcServiceConfigPtrOutput) ToOutput ¶ added in v3.43.1
func (o ApiFcServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiFcServiceConfig]
type ApiHttpServiceConfig ¶
type ApiHttpServiceConfig struct { // The address of backend service. Address string `pulumi:"address"` // The name of aone. AoneName *string `pulumi:"aoneName"` // The http method of backend service. Method string `pulumi:"method"` // The path of backend service. Path string `pulumi:"path"` // Backend service time-out time; unit: millisecond. Timeout int `pulumi:"timeout"` }
type ApiHttpServiceConfigArgs ¶
type ApiHttpServiceConfigArgs struct { // The address of backend service. Address pulumi.StringInput `pulumi:"address"` // The name of aone. AoneName pulumi.StringPtrInput `pulumi:"aoneName"` // The http method of backend service. Method pulumi.StringInput `pulumi:"method"` // The path of backend service. Path pulumi.StringInput `pulumi:"path"` // Backend service time-out time; unit: millisecond. Timeout pulumi.IntInput `pulumi:"timeout"` }
func (ApiHttpServiceConfigArgs) ElementType ¶
func (ApiHttpServiceConfigArgs) ElementType() reflect.Type
func (ApiHttpServiceConfigArgs) ToApiHttpServiceConfigOutput ¶
func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigOutput() ApiHttpServiceConfigOutput
func (ApiHttpServiceConfigArgs) ToApiHttpServiceConfigOutputWithContext ¶
func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigOutputWithContext(ctx context.Context) ApiHttpServiceConfigOutput
func (ApiHttpServiceConfigArgs) ToApiHttpServiceConfigPtrOutput ¶
func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigPtrOutput() ApiHttpServiceConfigPtrOutput
func (ApiHttpServiceConfigArgs) ToApiHttpServiceConfigPtrOutputWithContext ¶
func (i ApiHttpServiceConfigArgs) ToApiHttpServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpServiceConfigPtrOutput
func (ApiHttpServiceConfigArgs) ToOutput ¶ added in v3.43.1
func (i ApiHttpServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiHttpServiceConfig]
type ApiHttpServiceConfigInput ¶
type ApiHttpServiceConfigInput interface { pulumi.Input ToApiHttpServiceConfigOutput() ApiHttpServiceConfigOutput ToApiHttpServiceConfigOutputWithContext(context.Context) ApiHttpServiceConfigOutput }
ApiHttpServiceConfigInput is an input type that accepts ApiHttpServiceConfigArgs and ApiHttpServiceConfigOutput values. You can construct a concrete instance of `ApiHttpServiceConfigInput` via:
ApiHttpServiceConfigArgs{...}
type ApiHttpServiceConfigOutput ¶
type ApiHttpServiceConfigOutput struct{ *pulumi.OutputState }
func (ApiHttpServiceConfigOutput) Address ¶
func (o ApiHttpServiceConfigOutput) Address() pulumi.StringOutput
The address of backend service.
func (ApiHttpServiceConfigOutput) AoneName ¶
func (o ApiHttpServiceConfigOutput) AoneName() pulumi.StringPtrOutput
The name of aone.
func (ApiHttpServiceConfigOutput) ElementType ¶
func (ApiHttpServiceConfigOutput) ElementType() reflect.Type
func (ApiHttpServiceConfigOutput) Method ¶
func (o ApiHttpServiceConfigOutput) Method() pulumi.StringOutput
The http method of backend service.
func (ApiHttpServiceConfigOutput) Path ¶
func (o ApiHttpServiceConfigOutput) Path() pulumi.StringOutput
The path of backend service.
func (ApiHttpServiceConfigOutput) Timeout ¶
func (o ApiHttpServiceConfigOutput) Timeout() pulumi.IntOutput
Backend service time-out time; unit: millisecond.
func (ApiHttpServiceConfigOutput) ToApiHttpServiceConfigOutput ¶
func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigOutput() ApiHttpServiceConfigOutput
func (ApiHttpServiceConfigOutput) ToApiHttpServiceConfigOutputWithContext ¶
func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigOutputWithContext(ctx context.Context) ApiHttpServiceConfigOutput
func (ApiHttpServiceConfigOutput) ToApiHttpServiceConfigPtrOutput ¶
func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigPtrOutput() ApiHttpServiceConfigPtrOutput
func (ApiHttpServiceConfigOutput) ToApiHttpServiceConfigPtrOutputWithContext ¶
func (o ApiHttpServiceConfigOutput) ToApiHttpServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpServiceConfigPtrOutput
func (ApiHttpServiceConfigOutput) ToOutput ¶ added in v3.43.1
func (o ApiHttpServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiHttpServiceConfig]
type ApiHttpServiceConfigPtrInput ¶
type ApiHttpServiceConfigPtrInput interface { pulumi.Input ToApiHttpServiceConfigPtrOutput() ApiHttpServiceConfigPtrOutput ToApiHttpServiceConfigPtrOutputWithContext(context.Context) ApiHttpServiceConfigPtrOutput }
ApiHttpServiceConfigPtrInput is an input type that accepts ApiHttpServiceConfigArgs, ApiHttpServiceConfigPtr and ApiHttpServiceConfigPtrOutput values. You can construct a concrete instance of `ApiHttpServiceConfigPtrInput` via:
ApiHttpServiceConfigArgs{...} or: nil
func ApiHttpServiceConfigPtr ¶
func ApiHttpServiceConfigPtr(v *ApiHttpServiceConfigArgs) ApiHttpServiceConfigPtrInput
type ApiHttpServiceConfigPtrOutput ¶
type ApiHttpServiceConfigPtrOutput struct{ *pulumi.OutputState }
func (ApiHttpServiceConfigPtrOutput) Address ¶
func (o ApiHttpServiceConfigPtrOutput) Address() pulumi.StringPtrOutput
The address of backend service.
func (ApiHttpServiceConfigPtrOutput) AoneName ¶
func (o ApiHttpServiceConfigPtrOutput) AoneName() pulumi.StringPtrOutput
The name of aone.
func (ApiHttpServiceConfigPtrOutput) Elem ¶
func (o ApiHttpServiceConfigPtrOutput) Elem() ApiHttpServiceConfigOutput
func (ApiHttpServiceConfigPtrOutput) ElementType ¶
func (ApiHttpServiceConfigPtrOutput) ElementType() reflect.Type
func (ApiHttpServiceConfigPtrOutput) Method ¶
func (o ApiHttpServiceConfigPtrOutput) Method() pulumi.StringPtrOutput
The http method of backend service.
func (ApiHttpServiceConfigPtrOutput) Path ¶
func (o ApiHttpServiceConfigPtrOutput) Path() pulumi.StringPtrOutput
The path of backend service.
func (ApiHttpServiceConfigPtrOutput) Timeout ¶
func (o ApiHttpServiceConfigPtrOutput) Timeout() pulumi.IntPtrOutput
Backend service time-out time; unit: millisecond.
func (ApiHttpServiceConfigPtrOutput) ToApiHttpServiceConfigPtrOutput ¶
func (o ApiHttpServiceConfigPtrOutput) ToApiHttpServiceConfigPtrOutput() ApiHttpServiceConfigPtrOutput
func (ApiHttpServiceConfigPtrOutput) ToApiHttpServiceConfigPtrOutputWithContext ¶
func (o ApiHttpServiceConfigPtrOutput) ToApiHttpServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpServiceConfigPtrOutput
func (ApiHttpServiceConfigPtrOutput) ToOutput ¶ added in v3.43.1
func (o ApiHttpServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiHttpServiceConfig]
type ApiHttpVpcServiceConfig ¶
type ApiHttpVpcServiceConfig struct { // The name of aone. AoneName *string `pulumi:"aoneName"` // The http method of backend service. Method string `pulumi:"method"` // The name of vpc instance. Name string `pulumi:"name"` // The path of backend service. Path string `pulumi:"path"` // Backend service time-out time. Unit: millisecond. Timeout int `pulumi:"timeout"` }
type ApiHttpVpcServiceConfigArgs ¶
type ApiHttpVpcServiceConfigArgs struct { // The name of aone. AoneName pulumi.StringPtrInput `pulumi:"aoneName"` // The http method of backend service. Method pulumi.StringInput `pulumi:"method"` // The name of vpc instance. Name pulumi.StringInput `pulumi:"name"` // The path of backend service. Path pulumi.StringInput `pulumi:"path"` // Backend service time-out time. Unit: millisecond. Timeout pulumi.IntInput `pulumi:"timeout"` }
func (ApiHttpVpcServiceConfigArgs) ElementType ¶
func (ApiHttpVpcServiceConfigArgs) ElementType() reflect.Type
func (ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigOutput ¶
func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigOutput() ApiHttpVpcServiceConfigOutput
func (ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigOutputWithContext ¶
func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigOutput
func (ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigPtrOutput ¶
func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigPtrOutput() ApiHttpVpcServiceConfigPtrOutput
func (ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigPtrOutputWithContext ¶
func (i ApiHttpVpcServiceConfigArgs) ToApiHttpVpcServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigPtrOutput
func (ApiHttpVpcServiceConfigArgs) ToOutput ¶ added in v3.43.1
func (i ApiHttpVpcServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiHttpVpcServiceConfig]
type ApiHttpVpcServiceConfigInput ¶
type ApiHttpVpcServiceConfigInput interface { pulumi.Input ToApiHttpVpcServiceConfigOutput() ApiHttpVpcServiceConfigOutput ToApiHttpVpcServiceConfigOutputWithContext(context.Context) ApiHttpVpcServiceConfigOutput }
ApiHttpVpcServiceConfigInput is an input type that accepts ApiHttpVpcServiceConfigArgs and ApiHttpVpcServiceConfigOutput values. You can construct a concrete instance of `ApiHttpVpcServiceConfigInput` via:
ApiHttpVpcServiceConfigArgs{...}
type ApiHttpVpcServiceConfigOutput ¶
type ApiHttpVpcServiceConfigOutput struct{ *pulumi.OutputState }
func (ApiHttpVpcServiceConfigOutput) AoneName ¶
func (o ApiHttpVpcServiceConfigOutput) AoneName() pulumi.StringPtrOutput
The name of aone.
func (ApiHttpVpcServiceConfigOutput) ElementType ¶
func (ApiHttpVpcServiceConfigOutput) ElementType() reflect.Type
func (ApiHttpVpcServiceConfigOutput) Method ¶
func (o ApiHttpVpcServiceConfigOutput) Method() pulumi.StringOutput
The http method of backend service.
func (ApiHttpVpcServiceConfigOutput) Name ¶
func (o ApiHttpVpcServiceConfigOutput) Name() pulumi.StringOutput
The name of vpc instance.
func (ApiHttpVpcServiceConfigOutput) Path ¶
func (o ApiHttpVpcServiceConfigOutput) Path() pulumi.StringOutput
The path of backend service.
func (ApiHttpVpcServiceConfigOutput) Timeout ¶
func (o ApiHttpVpcServiceConfigOutput) Timeout() pulumi.IntOutput
Backend service time-out time. Unit: millisecond.
func (ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigOutput ¶
func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigOutput() ApiHttpVpcServiceConfigOutput
func (ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigOutputWithContext ¶
func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigOutput
func (ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigPtrOutput ¶
func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigPtrOutput() ApiHttpVpcServiceConfigPtrOutput
func (ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigPtrOutputWithContext ¶
func (o ApiHttpVpcServiceConfigOutput) ToApiHttpVpcServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigPtrOutput
func (ApiHttpVpcServiceConfigOutput) ToOutput ¶ added in v3.43.1
func (o ApiHttpVpcServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiHttpVpcServiceConfig]
type ApiHttpVpcServiceConfigPtrInput ¶
type ApiHttpVpcServiceConfigPtrInput interface { pulumi.Input ToApiHttpVpcServiceConfigPtrOutput() ApiHttpVpcServiceConfigPtrOutput ToApiHttpVpcServiceConfigPtrOutputWithContext(context.Context) ApiHttpVpcServiceConfigPtrOutput }
ApiHttpVpcServiceConfigPtrInput is an input type that accepts ApiHttpVpcServiceConfigArgs, ApiHttpVpcServiceConfigPtr and ApiHttpVpcServiceConfigPtrOutput values. You can construct a concrete instance of `ApiHttpVpcServiceConfigPtrInput` via:
ApiHttpVpcServiceConfigArgs{...} or: nil
func ApiHttpVpcServiceConfigPtr ¶
func ApiHttpVpcServiceConfigPtr(v *ApiHttpVpcServiceConfigArgs) ApiHttpVpcServiceConfigPtrInput
type ApiHttpVpcServiceConfigPtrOutput ¶
type ApiHttpVpcServiceConfigPtrOutput struct{ *pulumi.OutputState }
func (ApiHttpVpcServiceConfigPtrOutput) AoneName ¶
func (o ApiHttpVpcServiceConfigPtrOutput) AoneName() pulumi.StringPtrOutput
The name of aone.
func (ApiHttpVpcServiceConfigPtrOutput) Elem ¶
func (o ApiHttpVpcServiceConfigPtrOutput) Elem() ApiHttpVpcServiceConfigOutput
func (ApiHttpVpcServiceConfigPtrOutput) ElementType ¶
func (ApiHttpVpcServiceConfigPtrOutput) ElementType() reflect.Type
func (ApiHttpVpcServiceConfigPtrOutput) Method ¶
func (o ApiHttpVpcServiceConfigPtrOutput) Method() pulumi.StringPtrOutput
The http method of backend service.
func (ApiHttpVpcServiceConfigPtrOutput) Name ¶
func (o ApiHttpVpcServiceConfigPtrOutput) Name() pulumi.StringPtrOutput
The name of vpc instance.
func (ApiHttpVpcServiceConfigPtrOutput) Path ¶
func (o ApiHttpVpcServiceConfigPtrOutput) Path() pulumi.StringPtrOutput
The path of backend service.
func (ApiHttpVpcServiceConfigPtrOutput) Timeout ¶
func (o ApiHttpVpcServiceConfigPtrOutput) Timeout() pulumi.IntPtrOutput
Backend service time-out time. Unit: millisecond.
func (ApiHttpVpcServiceConfigPtrOutput) ToApiHttpVpcServiceConfigPtrOutput ¶
func (o ApiHttpVpcServiceConfigPtrOutput) ToApiHttpVpcServiceConfigPtrOutput() ApiHttpVpcServiceConfigPtrOutput
func (ApiHttpVpcServiceConfigPtrOutput) ToApiHttpVpcServiceConfigPtrOutputWithContext ¶
func (o ApiHttpVpcServiceConfigPtrOutput) ToApiHttpVpcServiceConfigPtrOutputWithContext(ctx context.Context) ApiHttpVpcServiceConfigPtrOutput
func (ApiHttpVpcServiceConfigPtrOutput) ToOutput ¶ added in v3.43.1
func (o ApiHttpVpcServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiHttpVpcServiceConfig]
type ApiMap ¶
func (ApiMap) ElementType ¶
func (ApiMap) ToApiMapOutput ¶
func (i ApiMap) ToApiMapOutput() ApiMapOutput
func (ApiMap) ToApiMapOutputWithContext ¶
func (i ApiMap) ToApiMapOutputWithContext(ctx context.Context) ApiMapOutput
type ApiMapInput ¶
type ApiMapInput interface { pulumi.Input ToApiMapOutput() ApiMapOutput ToApiMapOutputWithContext(context.Context) ApiMapOutput }
ApiMapInput is an input type that accepts ApiMap and ApiMapOutput values. You can construct a concrete instance of `ApiMapInput` via:
ApiMap{ "key": ApiArgs{...} }
type ApiMapOutput ¶
type ApiMapOutput struct{ *pulumi.OutputState }
func (ApiMapOutput) ElementType ¶
func (ApiMapOutput) ElementType() reflect.Type
func (ApiMapOutput) MapIndex ¶
func (o ApiMapOutput) MapIndex(k pulumi.StringInput) ApiOutput
func (ApiMapOutput) ToApiMapOutput ¶
func (o ApiMapOutput) ToApiMapOutput() ApiMapOutput
func (ApiMapOutput) ToApiMapOutputWithContext ¶
func (o ApiMapOutput) ToApiMapOutputWithContext(ctx context.Context) ApiMapOutput
type ApiMockServiceConfig ¶
type ApiMockServiceConfigArgs ¶
type ApiMockServiceConfigArgs struct { // The name of aone. AoneName pulumi.StringPtrInput `pulumi:"aoneName"` // The result of the mock service. Result pulumi.StringInput `pulumi:"result"` }
func (ApiMockServiceConfigArgs) ElementType ¶
func (ApiMockServiceConfigArgs) ElementType() reflect.Type
func (ApiMockServiceConfigArgs) ToApiMockServiceConfigOutput ¶
func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigOutput() ApiMockServiceConfigOutput
func (ApiMockServiceConfigArgs) ToApiMockServiceConfigOutputWithContext ¶
func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigOutputWithContext(ctx context.Context) ApiMockServiceConfigOutput
func (ApiMockServiceConfigArgs) ToApiMockServiceConfigPtrOutput ¶
func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigPtrOutput() ApiMockServiceConfigPtrOutput
func (ApiMockServiceConfigArgs) ToApiMockServiceConfigPtrOutputWithContext ¶
func (i ApiMockServiceConfigArgs) ToApiMockServiceConfigPtrOutputWithContext(ctx context.Context) ApiMockServiceConfigPtrOutput
func (ApiMockServiceConfigArgs) ToOutput ¶ added in v3.43.1
func (i ApiMockServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiMockServiceConfig]
type ApiMockServiceConfigInput ¶
type ApiMockServiceConfigInput interface { pulumi.Input ToApiMockServiceConfigOutput() ApiMockServiceConfigOutput ToApiMockServiceConfigOutputWithContext(context.Context) ApiMockServiceConfigOutput }
ApiMockServiceConfigInput is an input type that accepts ApiMockServiceConfigArgs and ApiMockServiceConfigOutput values. You can construct a concrete instance of `ApiMockServiceConfigInput` via:
ApiMockServiceConfigArgs{...}
type ApiMockServiceConfigOutput ¶
type ApiMockServiceConfigOutput struct{ *pulumi.OutputState }
func (ApiMockServiceConfigOutput) AoneName ¶
func (o ApiMockServiceConfigOutput) AoneName() pulumi.StringPtrOutput
The name of aone.
func (ApiMockServiceConfigOutput) ElementType ¶
func (ApiMockServiceConfigOutput) ElementType() reflect.Type
func (ApiMockServiceConfigOutput) Result ¶
func (o ApiMockServiceConfigOutput) Result() pulumi.StringOutput
The result of the mock service.
func (ApiMockServiceConfigOutput) ToApiMockServiceConfigOutput ¶
func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigOutput() ApiMockServiceConfigOutput
func (ApiMockServiceConfigOutput) ToApiMockServiceConfigOutputWithContext ¶
func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigOutputWithContext(ctx context.Context) ApiMockServiceConfigOutput
func (ApiMockServiceConfigOutput) ToApiMockServiceConfigPtrOutput ¶
func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigPtrOutput() ApiMockServiceConfigPtrOutput
func (ApiMockServiceConfigOutput) ToApiMockServiceConfigPtrOutputWithContext ¶
func (o ApiMockServiceConfigOutput) ToApiMockServiceConfigPtrOutputWithContext(ctx context.Context) ApiMockServiceConfigPtrOutput
func (ApiMockServiceConfigOutput) ToOutput ¶ added in v3.43.1
func (o ApiMockServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiMockServiceConfig]
type ApiMockServiceConfigPtrInput ¶
type ApiMockServiceConfigPtrInput interface { pulumi.Input ToApiMockServiceConfigPtrOutput() ApiMockServiceConfigPtrOutput ToApiMockServiceConfigPtrOutputWithContext(context.Context) ApiMockServiceConfigPtrOutput }
ApiMockServiceConfigPtrInput is an input type that accepts ApiMockServiceConfigArgs, ApiMockServiceConfigPtr and ApiMockServiceConfigPtrOutput values. You can construct a concrete instance of `ApiMockServiceConfigPtrInput` via:
ApiMockServiceConfigArgs{...} or: nil
func ApiMockServiceConfigPtr ¶
func ApiMockServiceConfigPtr(v *ApiMockServiceConfigArgs) ApiMockServiceConfigPtrInput
type ApiMockServiceConfigPtrOutput ¶
type ApiMockServiceConfigPtrOutput struct{ *pulumi.OutputState }
func (ApiMockServiceConfigPtrOutput) AoneName ¶
func (o ApiMockServiceConfigPtrOutput) AoneName() pulumi.StringPtrOutput
The name of aone.
func (ApiMockServiceConfigPtrOutput) Elem ¶
func (o ApiMockServiceConfigPtrOutput) Elem() ApiMockServiceConfigOutput
func (ApiMockServiceConfigPtrOutput) ElementType ¶
func (ApiMockServiceConfigPtrOutput) ElementType() reflect.Type
func (ApiMockServiceConfigPtrOutput) Result ¶
func (o ApiMockServiceConfigPtrOutput) Result() pulumi.StringPtrOutput
The result of the mock service.
func (ApiMockServiceConfigPtrOutput) ToApiMockServiceConfigPtrOutput ¶
func (o ApiMockServiceConfigPtrOutput) ToApiMockServiceConfigPtrOutput() ApiMockServiceConfigPtrOutput
func (ApiMockServiceConfigPtrOutput) ToApiMockServiceConfigPtrOutputWithContext ¶
func (o ApiMockServiceConfigPtrOutput) ToApiMockServiceConfigPtrOutputWithContext(ctx context.Context) ApiMockServiceConfigPtrOutput
func (ApiMockServiceConfigPtrOutput) ToOutput ¶ added in v3.43.1
func (o ApiMockServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiMockServiceConfig]
type ApiOutput ¶
type ApiOutput struct{ *pulumi.OutputState }
func (ApiOutput) ApiId ¶ added in v3.27.0
func (o ApiOutput) ApiId() pulumi.StringOutput
The ID of the api of api gateway.
func (ApiOutput) AuthType ¶ added in v3.27.0
func (o ApiOutput) AuthType() pulumi.StringOutput
The authorization Type including APP and ANONYMOUS. Defaults to null.
func (ApiOutput) ConstantParameters ¶ added in v3.27.0
func (o ApiOutput) ConstantParameters() ApiConstantParameterArrayOutput
constant_parameters defines the constant parameters of the api. See `constantParameters` below.
func (ApiOutput) Description ¶ added in v3.27.0
func (o ApiOutput) Description() pulumi.StringOutput
The description of the api. Defaults to null.
func (ApiOutput) ElementType ¶
func (ApiOutput) FcServiceConfig ¶ added in v3.27.0
func (o ApiOutput) FcServiceConfig() ApiFcServiceConfigPtrOutput
fc_service_config defines the config when serviceType selected 'FunctionCompute'. See `fcServiceConfig` below.
func (ApiOutput) ForceNonceCheck ¶ added in v3.27.0
func (o ApiOutput) ForceNonceCheck() pulumi.BoolOutput
Whether to prevent API replay attack. Default value: `false`.
func (ApiOutput) GroupId ¶ added in v3.27.0
func (o ApiOutput) GroupId() pulumi.StringOutput
The api gateway that the api belongs to. Defaults to null.
func (ApiOutput) HttpServiceConfig ¶ added in v3.27.0
func (o ApiOutput) HttpServiceConfig() ApiHttpServiceConfigPtrOutput
http_service_config defines the config when serviceType selected 'HTTP'. See `httpServiceConfig` below.
func (ApiOutput) HttpVpcServiceConfig ¶ added in v3.27.0
func (o ApiOutput) HttpVpcServiceConfig() ApiHttpVpcServiceConfigPtrOutput
http_vpc_service_config defines the config when serviceType selected 'HTTP-VPC'. See `httpVpcServiceConfig` below.
func (ApiOutput) MockServiceConfig ¶ added in v3.27.0
func (o ApiOutput) MockServiceConfig() ApiMockServiceConfigPtrOutput
http_service_config defines the config when serviceType selected 'MOCK'. See `mockServiceConfig` below.
func (ApiOutput) Name ¶ added in v3.27.0
func (o ApiOutput) Name() pulumi.StringOutput
The name of the api gateway api. Defaults to null.
func (ApiOutput) RequestConfig ¶ added in v3.27.0
func (o ApiOutput) RequestConfig() ApiRequestConfigOutput
Request_config defines how users can send requests to your API. See `requestConfig` below.
func (ApiOutput) RequestParameters ¶ added in v3.27.0
func (o ApiOutput) RequestParameters() ApiRequestParameterArrayOutput
request_parameters defines the request parameters of the api. See `requestParameters` below.
func (ApiOutput) ServiceType ¶ added in v3.27.0
func (o ApiOutput) ServiceType() pulumi.StringOutput
The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null.
func (ApiOutput) StageNames ¶ added in v3.27.0
func (o ApiOutput) StageNames() pulumi.StringArrayOutput
Stages that the api need to be deployed. Valid value: `RELEASE`,`PRE`,`TEST`.
func (ApiOutput) SystemParameters ¶ added in v3.27.0
func (o ApiOutput) SystemParameters() ApiSystemParameterArrayOutput
system_parameters defines the system parameters of the api. See `systemParameters` below.
func (ApiOutput) ToApiOutput ¶
func (ApiOutput) ToApiOutputWithContext ¶
type ApiRequestConfig ¶
type ApiRequestConfig struct { // The body format of the api, which support the values of 'STREAM' and 'FORM'. BodyFormat *string `pulumi:"bodyFormat"` // The method of the api, including 'GET','POST','PUT' etc. Method string `pulumi:"method"` // The mode of the parameters between request parameters and service parameters, which support the values of 'MAPPING' and 'PASSTHROUGH'. Mode string `pulumi:"mode"` // The request path of the api. Path string `pulumi:"path"` // The protocol of api which supports values of 'HTTP','HTTPS' or 'HTTP,HTTPS'. Protocol string `pulumi:"protocol"` }
type ApiRequestConfigArgs ¶
type ApiRequestConfigArgs struct { // The body format of the api, which support the values of 'STREAM' and 'FORM'. BodyFormat pulumi.StringPtrInput `pulumi:"bodyFormat"` // The method of the api, including 'GET','POST','PUT' etc. Method pulumi.StringInput `pulumi:"method"` // The mode of the parameters between request parameters and service parameters, which support the values of 'MAPPING' and 'PASSTHROUGH'. Mode pulumi.StringInput `pulumi:"mode"` // The request path of the api. Path pulumi.StringInput `pulumi:"path"` // The protocol of api which supports values of 'HTTP','HTTPS' or 'HTTP,HTTPS'. Protocol pulumi.StringInput `pulumi:"protocol"` }
func (ApiRequestConfigArgs) ElementType ¶
func (ApiRequestConfigArgs) ElementType() reflect.Type
func (ApiRequestConfigArgs) ToApiRequestConfigOutput ¶
func (i ApiRequestConfigArgs) ToApiRequestConfigOutput() ApiRequestConfigOutput
func (ApiRequestConfigArgs) ToApiRequestConfigOutputWithContext ¶
func (i ApiRequestConfigArgs) ToApiRequestConfigOutputWithContext(ctx context.Context) ApiRequestConfigOutput
func (ApiRequestConfigArgs) ToApiRequestConfigPtrOutput ¶
func (i ApiRequestConfigArgs) ToApiRequestConfigPtrOutput() ApiRequestConfigPtrOutput
func (ApiRequestConfigArgs) ToApiRequestConfigPtrOutputWithContext ¶
func (i ApiRequestConfigArgs) ToApiRequestConfigPtrOutputWithContext(ctx context.Context) ApiRequestConfigPtrOutput
func (ApiRequestConfigArgs) ToOutput ¶ added in v3.43.1
func (i ApiRequestConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApiRequestConfig]
type ApiRequestConfigInput ¶
type ApiRequestConfigInput interface { pulumi.Input ToApiRequestConfigOutput() ApiRequestConfigOutput ToApiRequestConfigOutputWithContext(context.Context) ApiRequestConfigOutput }
ApiRequestConfigInput is an input type that accepts ApiRequestConfigArgs and ApiRequestConfigOutput values. You can construct a concrete instance of `ApiRequestConfigInput` via:
ApiRequestConfigArgs{...}
type ApiRequestConfigOutput ¶
type ApiRequestConfigOutput struct{ *pulumi.OutputState }
func (ApiRequestConfigOutput) BodyFormat ¶
func (o ApiRequestConfigOutput) BodyFormat() pulumi.StringPtrOutput
The body format of the api, which support the values of 'STREAM' and 'FORM'.
func (ApiRequestConfigOutput) ElementType ¶
func (ApiRequestConfigOutput) ElementType() reflect.Type
func (ApiRequestConfigOutput) Method ¶
func (o ApiRequestConfigOutput) Method() pulumi.StringOutput
The method of the api, including 'GET','POST','PUT' etc.
func (ApiRequestConfigOutput) Mode ¶
func (o ApiRequestConfigOutput) Mode() pulumi.StringOutput
The mode of the parameters between request parameters and service parameters, which support the values of 'MAPPING' and 'PASSTHROUGH'.
func (ApiRequestConfigOutput) Path ¶
func (o ApiRequestConfigOutput) Path() pulumi.StringOutput
The request path of the api.
func (ApiRequestConfigOutput) Protocol ¶
func (o ApiRequestConfigOutput) Protocol() pulumi.StringOutput
The protocol of api which supports values of 'HTTP','HTTPS' or 'HTTP,HTTPS'.
func (ApiRequestConfigOutput) ToApiRequestConfigOutput ¶
func (o ApiRequestConfigOutput) ToApiRequestConfigOutput() ApiRequestConfigOutput
func (ApiRequestConfigOutput) ToApiRequestConfigOutputWithContext ¶
func (o ApiRequestConfigOutput) ToApiRequestConfigOutputWithContext(ctx context.Context) ApiRequestConfigOutput
func (ApiRequestConfigOutput) ToApiRequestConfigPtrOutput ¶
func (o ApiRequestConfigOutput) ToApiRequestConfigPtrOutput() ApiRequestConfigPtrOutput
func (ApiRequestConfigOutput) ToApiRequestConfigPtrOutputWithContext ¶
func (o ApiRequestConfigOutput) ToApiRequestConfigPtrOutputWithContext(ctx context.Context) ApiRequestConfigPtrOutput
func (ApiRequestConfigOutput) ToOutput ¶ added in v3.43.1
func (o ApiRequestConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApiRequestConfig]
type ApiRequestConfigPtrInput ¶
type ApiRequestConfigPtrInput interface { pulumi.Input ToApiRequestConfigPtrOutput() ApiRequestConfigPtrOutput ToApiRequestConfigPtrOutputWithContext(context.Context) ApiRequestConfigPtrOutput }
ApiRequestConfigPtrInput is an input type that accepts ApiRequestConfigArgs, ApiRequestConfigPtr and ApiRequestConfigPtrOutput values. You can construct a concrete instance of `ApiRequestConfigPtrInput` via:
ApiRequestConfigArgs{...} or: nil
func ApiRequestConfigPtr ¶
func ApiRequestConfigPtr(v *ApiRequestConfigArgs) ApiRequestConfigPtrInput
type ApiRequestConfigPtrOutput ¶
type ApiRequestConfigPtrOutput struct{ *pulumi.OutputState }
func (ApiRequestConfigPtrOutput) BodyFormat ¶
func (o ApiRequestConfigPtrOutput) BodyFormat() pulumi.StringPtrOutput
The body format of the api, which support the values of 'STREAM' and 'FORM'.
func (ApiRequestConfigPtrOutput) Elem ¶
func (o ApiRequestConfigPtrOutput) Elem() ApiRequestConfigOutput
func (ApiRequestConfigPtrOutput) ElementType ¶
func (ApiRequestConfigPtrOutput) ElementType() reflect.Type
func (ApiRequestConfigPtrOutput) Method ¶
func (o ApiRequestConfigPtrOutput) Method() pulumi.StringPtrOutput
The method of the api, including 'GET','POST','PUT' etc.
func (ApiRequestConfigPtrOutput) Mode ¶
func (o ApiRequestConfigPtrOutput) Mode() pulumi.StringPtrOutput
The mode of the parameters between request parameters and service parameters, which support the values of 'MAPPING' and 'PASSTHROUGH'.
func (ApiRequestConfigPtrOutput) Path ¶
func (o ApiRequestConfigPtrOutput) Path() pulumi.StringPtrOutput
The request path of the api.
func (ApiRequestConfigPtrOutput) Protocol ¶
func (o ApiRequestConfigPtrOutput) Protocol() pulumi.StringPtrOutput
The protocol of api which supports values of 'HTTP','HTTPS' or 'HTTP,HTTPS'.
func (ApiRequestConfigPtrOutput) ToApiRequestConfigPtrOutput ¶
func (o ApiRequestConfigPtrOutput) ToApiRequestConfigPtrOutput() ApiRequestConfigPtrOutput
func (ApiRequestConfigPtrOutput) ToApiRequestConfigPtrOutputWithContext ¶
func (o ApiRequestConfigPtrOutput) ToApiRequestConfigPtrOutputWithContext(ctx context.Context) ApiRequestConfigPtrOutput
func (ApiRequestConfigPtrOutput) ToOutput ¶ added in v3.43.1
func (o ApiRequestConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiRequestConfig]
type ApiRequestParameter ¶
type ApiRequestParameter struct { // The default value of the parameter. DefaultValue *string `pulumi:"defaultValue"` // The description of parameter. Description *string `pulumi:"description"` // Request's parameter location; values: BODY, HEAD, QUERY, and PATH. In string `pulumi:"in"` // Backend service's parameter location; values: BODY, HEAD, QUERY, and PATH. InService string `pulumi:"inService"` // Request's parameter name. Name string `pulumi:"name"` // Backend service's parameter name. NameService string `pulumi:"nameService"` // Parameter required or not; values: REQUIRED and OPTIONAL. Required string `pulumi:"required"` // Parameter type which supports values of 'STRING','INT','BOOLEAN','LONG',"FLOAT" and "DOUBLE". Type string `pulumi:"type"` }
type ApiRequestParameterArgs ¶
type ApiRequestParameterArgs struct { // The default value of the parameter. DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"` // The description of parameter. Description pulumi.StringPtrInput `pulumi:"description"` // Request's parameter location; values: BODY, HEAD, QUERY, and PATH. In pulumi.StringInput `pulumi:"in"` // Backend service's parameter location; values: BODY, HEAD, QUERY, and PATH. InService pulumi.StringInput `pulumi:"inService"` // Request's parameter name. Name pulumi.StringInput `pulumi:"name"` // Backend service's parameter name. NameService pulumi.StringInput `pulumi:"nameService"` // Parameter required or not; values: REQUIRED and OPTIONAL. Required pulumi.StringInput `pulumi:"required"` // Parameter type which supports values of 'STRING','INT','BOOLEAN','LONG',"FLOAT" and "DOUBLE". Type pulumi.StringInput `pulumi:"type"` }
func (ApiRequestParameterArgs) ElementType ¶
func (ApiRequestParameterArgs) ElementType() reflect.Type
func (ApiRequestParameterArgs) ToApiRequestParameterOutput ¶
func (i ApiRequestParameterArgs) ToApiRequestParameterOutput() ApiRequestParameterOutput
func (ApiRequestParameterArgs) ToApiRequestParameterOutputWithContext ¶
func (i ApiRequestParameterArgs) ToApiRequestParameterOutputWithContext(ctx context.Context) ApiRequestParameterOutput
func (ApiRequestParameterArgs) ToOutput ¶ added in v3.43.1
func (i ApiRequestParameterArgs) ToOutput(ctx context.Context) pulumix.Output[ApiRequestParameter]
type ApiRequestParameterArray ¶
type ApiRequestParameterArray []ApiRequestParameterInput
func (ApiRequestParameterArray) ElementType ¶
func (ApiRequestParameterArray) ElementType() reflect.Type
func (ApiRequestParameterArray) ToApiRequestParameterArrayOutput ¶
func (i ApiRequestParameterArray) ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput
func (ApiRequestParameterArray) ToApiRequestParameterArrayOutputWithContext ¶
func (i ApiRequestParameterArray) ToApiRequestParameterArrayOutputWithContext(ctx context.Context) ApiRequestParameterArrayOutput
func (ApiRequestParameterArray) ToOutput ¶ added in v3.43.1
func (i ApiRequestParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]ApiRequestParameter]
type ApiRequestParameterArrayInput ¶
type ApiRequestParameterArrayInput interface { pulumi.Input ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput ToApiRequestParameterArrayOutputWithContext(context.Context) ApiRequestParameterArrayOutput }
ApiRequestParameterArrayInput is an input type that accepts ApiRequestParameterArray and ApiRequestParameterArrayOutput values. You can construct a concrete instance of `ApiRequestParameterArrayInput` via:
ApiRequestParameterArray{ ApiRequestParameterArgs{...} }
type ApiRequestParameterArrayOutput ¶
type ApiRequestParameterArrayOutput struct{ *pulumi.OutputState }
func (ApiRequestParameterArrayOutput) ElementType ¶
func (ApiRequestParameterArrayOutput) ElementType() reflect.Type
func (ApiRequestParameterArrayOutput) Index ¶
func (o ApiRequestParameterArrayOutput) Index(i pulumi.IntInput) ApiRequestParameterOutput
func (ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutput ¶
func (o ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutput() ApiRequestParameterArrayOutput
func (ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutputWithContext ¶
func (o ApiRequestParameterArrayOutput) ToApiRequestParameterArrayOutputWithContext(ctx context.Context) ApiRequestParameterArrayOutput
func (ApiRequestParameterArrayOutput) ToOutput ¶ added in v3.43.1
func (o ApiRequestParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiRequestParameter]
type ApiRequestParameterInput ¶
type ApiRequestParameterInput interface { pulumi.Input ToApiRequestParameterOutput() ApiRequestParameterOutput ToApiRequestParameterOutputWithContext(context.Context) ApiRequestParameterOutput }
ApiRequestParameterInput is an input type that accepts ApiRequestParameterArgs and ApiRequestParameterOutput values. You can construct a concrete instance of `ApiRequestParameterInput` via:
ApiRequestParameterArgs{...}
type ApiRequestParameterOutput ¶
type ApiRequestParameterOutput struct{ *pulumi.OutputState }
func (ApiRequestParameterOutput) DefaultValue ¶
func (o ApiRequestParameterOutput) DefaultValue() pulumi.StringPtrOutput
The default value of the parameter.
func (ApiRequestParameterOutput) Description ¶
func (o ApiRequestParameterOutput) Description() pulumi.StringPtrOutput
The description of parameter.
func (ApiRequestParameterOutput) ElementType ¶
func (ApiRequestParameterOutput) ElementType() reflect.Type
func (ApiRequestParameterOutput) In ¶
func (o ApiRequestParameterOutput) In() pulumi.StringOutput
Request's parameter location; values: BODY, HEAD, QUERY, and PATH.
func (ApiRequestParameterOutput) InService ¶
func (o ApiRequestParameterOutput) InService() pulumi.StringOutput
Backend service's parameter location; values: BODY, HEAD, QUERY, and PATH.
func (ApiRequestParameterOutput) Name ¶
func (o ApiRequestParameterOutput) Name() pulumi.StringOutput
Request's parameter name.
func (ApiRequestParameterOutput) NameService ¶
func (o ApiRequestParameterOutput) NameService() pulumi.StringOutput
Backend service's parameter name.
func (ApiRequestParameterOutput) Required ¶
func (o ApiRequestParameterOutput) Required() pulumi.StringOutput
Parameter required or not; values: REQUIRED and OPTIONAL.
func (ApiRequestParameterOutput) ToApiRequestParameterOutput ¶
func (o ApiRequestParameterOutput) ToApiRequestParameterOutput() ApiRequestParameterOutput
func (ApiRequestParameterOutput) ToApiRequestParameterOutputWithContext ¶
func (o ApiRequestParameterOutput) ToApiRequestParameterOutputWithContext(ctx context.Context) ApiRequestParameterOutput
func (ApiRequestParameterOutput) ToOutput ¶ added in v3.43.1
func (o ApiRequestParameterOutput) ToOutput(ctx context.Context) pulumix.Output[ApiRequestParameter]
func (ApiRequestParameterOutput) Type ¶
func (o ApiRequestParameterOutput) Type() pulumi.StringOutput
Parameter type which supports values of 'STRING','INT','BOOLEAN','LONG',"FLOAT" and "DOUBLE".
type ApiState ¶
type ApiState struct { // The ID of the api of api gateway. ApiId pulumi.StringPtrInput // The authorization Type including APP and ANONYMOUS. Defaults to null. AuthType pulumi.StringPtrInput // constant_parameters defines the constant parameters of the api. See `constantParameters` below. ConstantParameters ApiConstantParameterArrayInput // The description of the api. Defaults to null. Description pulumi.StringPtrInput // fc_service_config defines the config when serviceType selected 'FunctionCompute'. See `fcServiceConfig` below. FcServiceConfig ApiFcServiceConfigPtrInput // Whether to prevent API replay attack. Default value: `false`. ForceNonceCheck pulumi.BoolPtrInput // The api gateway that the api belongs to. Defaults to null. GroupId pulumi.StringPtrInput // http_service_config defines the config when serviceType selected 'HTTP'. See `httpServiceConfig` below. HttpServiceConfig ApiHttpServiceConfigPtrInput // http_vpc_service_config defines the config when serviceType selected 'HTTP-VPC'. See `httpVpcServiceConfig` below. HttpVpcServiceConfig ApiHttpVpcServiceConfigPtrInput // http_service_config defines the config when serviceType selected 'MOCK'. See `mockServiceConfig` below. MockServiceConfig ApiMockServiceConfigPtrInput // The name of the api gateway api. Defaults to null. Name pulumi.StringPtrInput // Request_config defines how users can send requests to your API. See `requestConfig` below. RequestConfig ApiRequestConfigPtrInput // request_parameters defines the request parameters of the api. See `requestParameters` below. RequestParameters ApiRequestParameterArrayInput // The type of backend service. Type including HTTP,VPC and MOCK. Defaults to null. ServiceType pulumi.StringPtrInput // Stages that the api need to be deployed. Valid value: `RELEASE`,`PRE`,`TEST`. StageNames pulumi.StringArrayInput // system_parameters defines the system parameters of the api. See `systemParameters` below. SystemParameters ApiSystemParameterArrayInput }
func (ApiState) ElementType ¶
type ApiSystemParameter ¶
type ApiSystemParameter struct { // System parameter location; values: 'HEAD' and 'QUERY'. In string `pulumi:"in"` // System parameter name which supports values including in [system parameter list](https://www.alibabacloud.com/help/doc-detail/43677.html). Name string `pulumi:"name"` // Backend service's parameter name. NameService string `pulumi:"nameService"` }
type ApiSystemParameterArgs ¶
type ApiSystemParameterArgs struct { // System parameter location; values: 'HEAD' and 'QUERY'. In pulumi.StringInput `pulumi:"in"` // System parameter name which supports values including in [system parameter list](https://www.alibabacloud.com/help/doc-detail/43677.html). Name pulumi.StringInput `pulumi:"name"` // Backend service's parameter name. NameService pulumi.StringInput `pulumi:"nameService"` }
func (ApiSystemParameterArgs) ElementType ¶
func (ApiSystemParameterArgs) ElementType() reflect.Type
func (ApiSystemParameterArgs) ToApiSystemParameterOutput ¶
func (i ApiSystemParameterArgs) ToApiSystemParameterOutput() ApiSystemParameterOutput
func (ApiSystemParameterArgs) ToApiSystemParameterOutputWithContext ¶
func (i ApiSystemParameterArgs) ToApiSystemParameterOutputWithContext(ctx context.Context) ApiSystemParameterOutput
func (ApiSystemParameterArgs) ToOutput ¶ added in v3.43.1
func (i ApiSystemParameterArgs) ToOutput(ctx context.Context) pulumix.Output[ApiSystemParameter]
type ApiSystemParameterArray ¶
type ApiSystemParameterArray []ApiSystemParameterInput
func (ApiSystemParameterArray) ElementType ¶
func (ApiSystemParameterArray) ElementType() reflect.Type
func (ApiSystemParameterArray) ToApiSystemParameterArrayOutput ¶
func (i ApiSystemParameterArray) ToApiSystemParameterArrayOutput() ApiSystemParameterArrayOutput
func (ApiSystemParameterArray) ToApiSystemParameterArrayOutputWithContext ¶
func (i ApiSystemParameterArray) ToApiSystemParameterArrayOutputWithContext(ctx context.Context) ApiSystemParameterArrayOutput
func (ApiSystemParameterArray) ToOutput ¶ added in v3.43.1
func (i ApiSystemParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]ApiSystemParameter]
type ApiSystemParameterArrayInput ¶
type ApiSystemParameterArrayInput interface { pulumi.Input ToApiSystemParameterArrayOutput() ApiSystemParameterArrayOutput ToApiSystemParameterArrayOutputWithContext(context.Context) ApiSystemParameterArrayOutput }
ApiSystemParameterArrayInput is an input type that accepts ApiSystemParameterArray and ApiSystemParameterArrayOutput values. You can construct a concrete instance of `ApiSystemParameterArrayInput` via:
ApiSystemParameterArray{ ApiSystemParameterArgs{...} }
type ApiSystemParameterArrayOutput ¶
type ApiSystemParameterArrayOutput struct{ *pulumi.OutputState }
func (ApiSystemParameterArrayOutput) ElementType ¶
func (ApiSystemParameterArrayOutput) ElementType() reflect.Type
func (ApiSystemParameterArrayOutput) Index ¶
func (o ApiSystemParameterArrayOutput) Index(i pulumi.IntInput) ApiSystemParameterOutput
func (ApiSystemParameterArrayOutput) ToApiSystemParameterArrayOutput ¶
func (o ApiSystemParameterArrayOutput) ToApiSystemParameterArrayOutput() ApiSystemParameterArrayOutput
func (ApiSystemParameterArrayOutput) ToApiSystemParameterArrayOutputWithContext ¶
func (o ApiSystemParameterArrayOutput) ToApiSystemParameterArrayOutputWithContext(ctx context.Context) ApiSystemParameterArrayOutput
func (ApiSystemParameterArrayOutput) ToOutput ¶ added in v3.43.1
func (o ApiSystemParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiSystemParameter]
type ApiSystemParameterInput ¶
type ApiSystemParameterInput interface { pulumi.Input ToApiSystemParameterOutput() ApiSystemParameterOutput ToApiSystemParameterOutputWithContext(context.Context) ApiSystemParameterOutput }
ApiSystemParameterInput is an input type that accepts ApiSystemParameterArgs and ApiSystemParameterOutput values. You can construct a concrete instance of `ApiSystemParameterInput` via:
ApiSystemParameterArgs{...}
type ApiSystemParameterOutput ¶
type ApiSystemParameterOutput struct{ *pulumi.OutputState }
func (ApiSystemParameterOutput) ElementType ¶
func (ApiSystemParameterOutput) ElementType() reflect.Type
func (ApiSystemParameterOutput) In ¶
func (o ApiSystemParameterOutput) In() pulumi.StringOutput
System parameter location; values: 'HEAD' and 'QUERY'.
func (ApiSystemParameterOutput) Name ¶
func (o ApiSystemParameterOutput) Name() pulumi.StringOutput
System parameter name which supports values including in [system parameter list](https://www.alibabacloud.com/help/doc-detail/43677.html).
func (ApiSystemParameterOutput) NameService ¶
func (o ApiSystemParameterOutput) NameService() pulumi.StringOutput
Backend service's parameter name.
func (ApiSystemParameterOutput) ToApiSystemParameterOutput ¶
func (o ApiSystemParameterOutput) ToApiSystemParameterOutput() ApiSystemParameterOutput
func (ApiSystemParameterOutput) ToApiSystemParameterOutputWithContext ¶
func (o ApiSystemParameterOutput) ToApiSystemParameterOutputWithContext(ctx context.Context) ApiSystemParameterOutput
func (ApiSystemParameterOutput) ToOutput ¶ added in v3.43.1
func (o ApiSystemParameterOutput) ToOutput(ctx context.Context) pulumix.Output[ApiSystemParameter]
type App ¶
type App struct { pulumi.CustomResourceState // The description of the app. Defaults to null. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the app. Name pulumi.StringOutput `pulumi:"name"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := apigateway.NewApp(ctx, "example", &apigateway.AppArgs{ Description: pulumi.String("tf_example"), }) if err != nil { return err } return nil }) }
```
## Import
Api gateway app can be imported using the id, e.g.
```sh
$ pulumi import alicloud:apigateway/app:App example "7379660"
```
func GetApp ¶
func GetApp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error)
GetApp gets an existing App 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 NewApp ¶
func NewApp(ctx *pulumi.Context, name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error)
NewApp registers a new resource with the given unique name, arguments, and options.
func (*App) ElementType ¶
func (*App) ToAppOutput ¶
func (*App) ToAppOutputWithContext ¶
type AppArgs ¶
type AppArgs struct { // The description of the app. Defaults to null. Description pulumi.StringPtrInput // The name of the app. Name pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a App resource.
func (AppArgs) ElementType ¶
type AppArray ¶
type AppArray []AppInput
func (AppArray) ElementType ¶
func (AppArray) ToAppArrayOutput ¶
func (i AppArray) ToAppArrayOutput() AppArrayOutput
func (AppArray) ToAppArrayOutputWithContext ¶
func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
type AppArrayInput ¶
type AppArrayInput interface { pulumi.Input ToAppArrayOutput() AppArrayOutput ToAppArrayOutputWithContext(context.Context) AppArrayOutput }
AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. You can construct a concrete instance of `AppArrayInput` via:
AppArray{ AppArgs{...} }
type AppArrayOutput ¶
type AppArrayOutput struct{ *pulumi.OutputState }
func (AppArrayOutput) ElementType ¶
func (AppArrayOutput) ElementType() reflect.Type
func (AppArrayOutput) ToAppArrayOutput ¶
func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput
func (AppArrayOutput) ToAppArrayOutputWithContext ¶
func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
type AppAttachment ¶
type AppAttachment struct { pulumi.CustomResourceState // The apiId that app apply to access. ApiId pulumi.StringOutput `pulumi:"apiId"` // The app that apply to the authorization. AppId pulumi.StringOutput `pulumi:"appId"` // The group that the api belongs to. GroupId pulumi.StringOutput `pulumi:"groupId"` // Stage that the app apply to access. StageName pulumi.StringOutput `pulumi:"stageName"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "terraform_example" if param := cfg.Get("name"); param != "" { name = param } exampleGroup, err := apigateway.NewGroup(ctx, "exampleGroup", &apigateway.GroupArgs{ Description: pulumi.String(name), }) if err != nil { return err } exampleApi, err := apigateway.NewApi(ctx, "exampleApi", &apigateway.ApiArgs{ GroupId: exampleGroup.ID(), Description: pulumi.String(name), AuthType: pulumi.String("APP"), ForceNonceCheck: pulumi.Bool(false), RequestConfig: &apigateway.ApiRequestConfigArgs{ Protocol: pulumi.String("HTTP"), Method: pulumi.String("GET"), Path: pulumi.String("/example/path"), Mode: pulumi.String("MAPPING"), }, ServiceType: pulumi.String("HTTP"), HttpServiceConfig: &apigateway.ApiHttpServiceConfigArgs{ Address: pulumi.String("http://apigateway-backend.alicloudapi.com:8080"), Method: pulumi.String("GET"), Path: pulumi.String("/web/cloudapi"), Timeout: pulumi.Int(12), AoneName: pulumi.String("cloudapi-openapi"), }, RequestParameters: apigateway.ApiRequestParameterArray{ &apigateway.ApiRequestParameterArgs{ Name: pulumi.String("example"), Type: pulumi.String("STRING"), Required: pulumi.String("OPTIONAL"), In: pulumi.String("QUERY"), InService: pulumi.String("QUERY"), NameService: pulumi.String("exampleservice"), }, }, StageNames: pulumi.StringArray{ pulumi.String("RELEASE"), pulumi.String("TEST"), }, }) if err != nil { return err } exampleApp, err := apigateway.NewApp(ctx, "exampleApp", &apigateway.AppArgs{ Description: pulumi.String(name), }) if err != nil { return err } _, err = apigateway.NewAppAttachment(ctx, "exampleAppAttachment", &apigateway.AppAttachmentArgs{ ApiId: exampleApi.ApiId, GroupId: exampleGroup.ID(), AppId: exampleApp.ID(), StageName: pulumi.String("PRE"), }) if err != nil { return err } return nil }) }
```
func GetAppAttachment ¶
func GetAppAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AppAttachmentState, opts ...pulumi.ResourceOption) (*AppAttachment, error)
GetAppAttachment gets an existing AppAttachment 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 NewAppAttachment ¶
func NewAppAttachment(ctx *pulumi.Context, name string, args *AppAttachmentArgs, opts ...pulumi.ResourceOption) (*AppAttachment, error)
NewAppAttachment registers a new resource with the given unique name, arguments, and options.
func (*AppAttachment) ElementType ¶
func (*AppAttachment) ElementType() reflect.Type
func (*AppAttachment) ToAppAttachmentOutput ¶
func (i *AppAttachment) ToAppAttachmentOutput() AppAttachmentOutput
func (*AppAttachment) ToAppAttachmentOutputWithContext ¶
func (i *AppAttachment) ToAppAttachmentOutputWithContext(ctx context.Context) AppAttachmentOutput
func (*AppAttachment) ToOutput ¶ added in v3.43.1
func (i *AppAttachment) ToOutput(ctx context.Context) pulumix.Output[*AppAttachment]
type AppAttachmentArgs ¶
type AppAttachmentArgs struct { // The apiId that app apply to access. ApiId pulumi.StringInput // The app that apply to the authorization. AppId pulumi.StringInput // The group that the api belongs to. GroupId pulumi.StringInput // Stage that the app apply to access. StageName pulumi.StringInput }
The set of arguments for constructing a AppAttachment resource.
func (AppAttachmentArgs) ElementType ¶
func (AppAttachmentArgs) ElementType() reflect.Type
type AppAttachmentArray ¶
type AppAttachmentArray []AppAttachmentInput
func (AppAttachmentArray) ElementType ¶
func (AppAttachmentArray) ElementType() reflect.Type
func (AppAttachmentArray) ToAppAttachmentArrayOutput ¶
func (i AppAttachmentArray) ToAppAttachmentArrayOutput() AppAttachmentArrayOutput
func (AppAttachmentArray) ToAppAttachmentArrayOutputWithContext ¶
func (i AppAttachmentArray) ToAppAttachmentArrayOutputWithContext(ctx context.Context) AppAttachmentArrayOutput
func (AppAttachmentArray) ToOutput ¶ added in v3.43.1
func (i AppAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*AppAttachment]
type AppAttachmentArrayInput ¶
type AppAttachmentArrayInput interface { pulumi.Input ToAppAttachmentArrayOutput() AppAttachmentArrayOutput ToAppAttachmentArrayOutputWithContext(context.Context) AppAttachmentArrayOutput }
AppAttachmentArrayInput is an input type that accepts AppAttachmentArray and AppAttachmentArrayOutput values. You can construct a concrete instance of `AppAttachmentArrayInput` via:
AppAttachmentArray{ AppAttachmentArgs{...} }
type AppAttachmentArrayOutput ¶
type AppAttachmentArrayOutput struct{ *pulumi.OutputState }
func (AppAttachmentArrayOutput) ElementType ¶
func (AppAttachmentArrayOutput) ElementType() reflect.Type
func (AppAttachmentArrayOutput) Index ¶
func (o AppAttachmentArrayOutput) Index(i pulumi.IntInput) AppAttachmentOutput
func (AppAttachmentArrayOutput) ToAppAttachmentArrayOutput ¶
func (o AppAttachmentArrayOutput) ToAppAttachmentArrayOutput() AppAttachmentArrayOutput
func (AppAttachmentArrayOutput) ToAppAttachmentArrayOutputWithContext ¶
func (o AppAttachmentArrayOutput) ToAppAttachmentArrayOutputWithContext(ctx context.Context) AppAttachmentArrayOutput
func (AppAttachmentArrayOutput) ToOutput ¶ added in v3.43.1
func (o AppAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AppAttachment]
type AppAttachmentInput ¶
type AppAttachmentInput interface { pulumi.Input ToAppAttachmentOutput() AppAttachmentOutput ToAppAttachmentOutputWithContext(ctx context.Context) AppAttachmentOutput }
type AppAttachmentMap ¶
type AppAttachmentMap map[string]AppAttachmentInput
func (AppAttachmentMap) ElementType ¶
func (AppAttachmentMap) ElementType() reflect.Type
func (AppAttachmentMap) ToAppAttachmentMapOutput ¶
func (i AppAttachmentMap) ToAppAttachmentMapOutput() AppAttachmentMapOutput
func (AppAttachmentMap) ToAppAttachmentMapOutputWithContext ¶
func (i AppAttachmentMap) ToAppAttachmentMapOutputWithContext(ctx context.Context) AppAttachmentMapOutput
func (AppAttachmentMap) ToOutput ¶ added in v3.43.1
func (i AppAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AppAttachment]
type AppAttachmentMapInput ¶
type AppAttachmentMapInput interface { pulumi.Input ToAppAttachmentMapOutput() AppAttachmentMapOutput ToAppAttachmentMapOutputWithContext(context.Context) AppAttachmentMapOutput }
AppAttachmentMapInput is an input type that accepts AppAttachmentMap and AppAttachmentMapOutput values. You can construct a concrete instance of `AppAttachmentMapInput` via:
AppAttachmentMap{ "key": AppAttachmentArgs{...} }
type AppAttachmentMapOutput ¶
type AppAttachmentMapOutput struct{ *pulumi.OutputState }
func (AppAttachmentMapOutput) ElementType ¶
func (AppAttachmentMapOutput) ElementType() reflect.Type
func (AppAttachmentMapOutput) MapIndex ¶
func (o AppAttachmentMapOutput) MapIndex(k pulumi.StringInput) AppAttachmentOutput
func (AppAttachmentMapOutput) ToAppAttachmentMapOutput ¶
func (o AppAttachmentMapOutput) ToAppAttachmentMapOutput() AppAttachmentMapOutput
func (AppAttachmentMapOutput) ToAppAttachmentMapOutputWithContext ¶
func (o AppAttachmentMapOutput) ToAppAttachmentMapOutputWithContext(ctx context.Context) AppAttachmentMapOutput
func (AppAttachmentMapOutput) ToOutput ¶ added in v3.43.1
func (o AppAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AppAttachment]
type AppAttachmentOutput ¶
type AppAttachmentOutput struct{ *pulumi.OutputState }
func (AppAttachmentOutput) ApiId ¶ added in v3.27.0
func (o AppAttachmentOutput) ApiId() pulumi.StringOutput
The apiId that app apply to access.
func (AppAttachmentOutput) AppId ¶ added in v3.27.0
func (o AppAttachmentOutput) AppId() pulumi.StringOutput
The app that apply to the authorization.
func (AppAttachmentOutput) ElementType ¶
func (AppAttachmentOutput) ElementType() reflect.Type
func (AppAttachmentOutput) GroupId ¶ added in v3.27.0
func (o AppAttachmentOutput) GroupId() pulumi.StringOutput
The group that the api belongs to.
func (AppAttachmentOutput) StageName ¶ added in v3.27.0
func (o AppAttachmentOutput) StageName() pulumi.StringOutput
Stage that the app apply to access.
func (AppAttachmentOutput) ToAppAttachmentOutput ¶
func (o AppAttachmentOutput) ToAppAttachmentOutput() AppAttachmentOutput
func (AppAttachmentOutput) ToAppAttachmentOutputWithContext ¶
func (o AppAttachmentOutput) ToAppAttachmentOutputWithContext(ctx context.Context) AppAttachmentOutput
func (AppAttachmentOutput) ToOutput ¶ added in v3.43.1
func (o AppAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*AppAttachment]
type AppAttachmentState ¶
type AppAttachmentState struct { // The apiId that app apply to access. ApiId pulumi.StringPtrInput // The app that apply to the authorization. AppId pulumi.StringPtrInput // The group that the api belongs to. GroupId pulumi.StringPtrInput // Stage that the app apply to access. StageName pulumi.StringPtrInput }
func (AppAttachmentState) ElementType ¶
func (AppAttachmentState) ElementType() reflect.Type
type AppMap ¶
func (AppMap) ElementType ¶
func (AppMap) ToAppMapOutput ¶
func (i AppMap) ToAppMapOutput() AppMapOutput
func (AppMap) ToAppMapOutputWithContext ¶
func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppMapInput ¶
type AppMapInput interface { pulumi.Input ToAppMapOutput() AppMapOutput ToAppMapOutputWithContext(context.Context) AppMapOutput }
AppMapInput is an input type that accepts AppMap and AppMapOutput values. You can construct a concrete instance of `AppMapInput` via:
AppMap{ "key": AppArgs{...} }
type AppMapOutput ¶
type AppMapOutput struct{ *pulumi.OutputState }
func (AppMapOutput) ElementType ¶
func (AppMapOutput) ElementType() reflect.Type
func (AppMapOutput) MapIndex ¶
func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput
func (AppMapOutput) ToAppMapOutput ¶
func (o AppMapOutput) ToAppMapOutput() AppMapOutput
func (AppMapOutput) ToAppMapOutputWithContext ¶
func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppOutput ¶
type AppOutput struct{ *pulumi.OutputState }
func (AppOutput) Description ¶ added in v3.27.0
func (o AppOutput) Description() pulumi.StringPtrOutput
The description of the app. Defaults to null.
func (AppOutput) ElementType ¶
func (AppOutput) Name ¶ added in v3.27.0
func (o AppOutput) Name() pulumi.StringOutput
The name of the app.
func (AppOutput) ToAppOutput ¶
func (AppOutput) ToAppOutputWithContext ¶
type AppState ¶
type AppState struct { // The description of the app. Defaults to null. Description pulumi.StringPtrInput // The name of the app. Name pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (AppState) ElementType ¶
type Backend ¶ added in v3.28.0
type Backend struct { pulumi.CustomResourceState // The name of the Backend. BackendName pulumi.StringOutput `pulumi:"backendName"` // The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`. BackendType pulumi.StringOutput `pulumi:"backendType"` // Whether to create an Event bus service association role. CreateEventBridgeServiceLinkedRole pulumi.BoolPtrOutput `pulumi:"createEventBridgeServiceLinkedRole"` // The description of the Backend. Description pulumi.StringPtrOutput `pulumi:"description"` }
Provides a Api Gateway Backend resource.
For information about Api Gateway Backend and how to use it, see [What is Backend](https://www.alibabacloud.com/help/en/api-gateway/latest/api-doc-cloudapi-2016-07-14-api-doc-createbackend).
> **NOTE:** Available since v1.181.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } _, err := apigateway.NewBackend(ctx, "default", &apigateway.BackendArgs{ BackendName: pulumi.String(name), Description: pulumi.String(name), BackendType: pulumi.String("HTTP"), }) if err != nil { return err } return nil }) }
```
## Import
Api Gateway Backend can be imported using the id, e.g.
```sh
$ pulumi import alicloud:apigateway/backend:Backend example <id>
```
func GetBackend ¶ added in v3.28.0
func GetBackend(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackendState, opts ...pulumi.ResourceOption) (*Backend, error)
GetBackend gets an existing Backend 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 NewBackend ¶ added in v3.28.0
func NewBackend(ctx *pulumi.Context, name string, args *BackendArgs, opts ...pulumi.ResourceOption) (*Backend, error)
NewBackend registers a new resource with the given unique name, arguments, and options.
func (*Backend) ElementType ¶ added in v3.28.0
func (*Backend) ToBackendOutput ¶ added in v3.28.0
func (i *Backend) ToBackendOutput() BackendOutput
func (*Backend) ToBackendOutputWithContext ¶ added in v3.28.0
func (i *Backend) ToBackendOutputWithContext(ctx context.Context) BackendOutput
type BackendArgs ¶ added in v3.28.0
type BackendArgs struct { // The name of the Backend. BackendName pulumi.StringInput // The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`. BackendType pulumi.StringInput // Whether to create an Event bus service association role. CreateEventBridgeServiceLinkedRole pulumi.BoolPtrInput // The description of the Backend. Description pulumi.StringPtrInput }
The set of arguments for constructing a Backend resource.
func (BackendArgs) ElementType ¶ added in v3.28.0
func (BackendArgs) ElementType() reflect.Type
type BackendArray ¶ added in v3.28.0
type BackendArray []BackendInput
func (BackendArray) ElementType ¶ added in v3.28.0
func (BackendArray) ElementType() reflect.Type
func (BackendArray) ToBackendArrayOutput ¶ added in v3.28.0
func (i BackendArray) ToBackendArrayOutput() BackendArrayOutput
func (BackendArray) ToBackendArrayOutputWithContext ¶ added in v3.28.0
func (i BackendArray) ToBackendArrayOutputWithContext(ctx context.Context) BackendArrayOutput
type BackendArrayInput ¶ added in v3.28.0
type BackendArrayInput interface { pulumi.Input ToBackendArrayOutput() BackendArrayOutput ToBackendArrayOutputWithContext(context.Context) BackendArrayOutput }
BackendArrayInput is an input type that accepts BackendArray and BackendArrayOutput values. You can construct a concrete instance of `BackendArrayInput` via:
BackendArray{ BackendArgs{...} }
type BackendArrayOutput ¶ added in v3.28.0
type BackendArrayOutput struct{ *pulumi.OutputState }
func (BackendArrayOutput) ElementType ¶ added in v3.28.0
func (BackendArrayOutput) ElementType() reflect.Type
func (BackendArrayOutput) Index ¶ added in v3.28.0
func (o BackendArrayOutput) Index(i pulumi.IntInput) BackendOutput
func (BackendArrayOutput) ToBackendArrayOutput ¶ added in v3.28.0
func (o BackendArrayOutput) ToBackendArrayOutput() BackendArrayOutput
func (BackendArrayOutput) ToBackendArrayOutputWithContext ¶ added in v3.28.0
func (o BackendArrayOutput) ToBackendArrayOutputWithContext(ctx context.Context) BackendArrayOutput
type BackendInput ¶ added in v3.28.0
type BackendInput interface { pulumi.Input ToBackendOutput() BackendOutput ToBackendOutputWithContext(ctx context.Context) BackendOutput }
type BackendMap ¶ added in v3.28.0
type BackendMap map[string]BackendInput
func (BackendMap) ElementType ¶ added in v3.28.0
func (BackendMap) ElementType() reflect.Type
func (BackendMap) ToBackendMapOutput ¶ added in v3.28.0
func (i BackendMap) ToBackendMapOutput() BackendMapOutput
func (BackendMap) ToBackendMapOutputWithContext ¶ added in v3.28.0
func (i BackendMap) ToBackendMapOutputWithContext(ctx context.Context) BackendMapOutput
type BackendMapInput ¶ added in v3.28.0
type BackendMapInput interface { pulumi.Input ToBackendMapOutput() BackendMapOutput ToBackendMapOutputWithContext(context.Context) BackendMapOutput }
BackendMapInput is an input type that accepts BackendMap and BackendMapOutput values. You can construct a concrete instance of `BackendMapInput` via:
BackendMap{ "key": BackendArgs{...} }
type BackendMapOutput ¶ added in v3.28.0
type BackendMapOutput struct{ *pulumi.OutputState }
func (BackendMapOutput) ElementType ¶ added in v3.28.0
func (BackendMapOutput) ElementType() reflect.Type
func (BackendMapOutput) MapIndex ¶ added in v3.28.0
func (o BackendMapOutput) MapIndex(k pulumi.StringInput) BackendOutput
func (BackendMapOutput) ToBackendMapOutput ¶ added in v3.28.0
func (o BackendMapOutput) ToBackendMapOutput() BackendMapOutput
func (BackendMapOutput) ToBackendMapOutputWithContext ¶ added in v3.28.0
func (o BackendMapOutput) ToBackendMapOutputWithContext(ctx context.Context) BackendMapOutput
type BackendOutput ¶ added in v3.28.0
type BackendOutput struct{ *pulumi.OutputState }
func (BackendOutput) BackendName ¶ added in v3.28.0
func (o BackendOutput) BackendName() pulumi.StringOutput
The name of the Backend.
func (BackendOutput) BackendType ¶ added in v3.28.0
func (o BackendOutput) BackendType() pulumi.StringOutput
The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
func (BackendOutput) CreateEventBridgeServiceLinkedRole ¶ added in v3.28.0
func (o BackendOutput) CreateEventBridgeServiceLinkedRole() pulumi.BoolPtrOutput
Whether to create an Event bus service association role.
func (BackendOutput) Description ¶ added in v3.28.0
func (o BackendOutput) Description() pulumi.StringPtrOutput
The description of the Backend.
func (BackendOutput) ElementType ¶ added in v3.28.0
func (BackendOutput) ElementType() reflect.Type
func (BackendOutput) ToBackendOutput ¶ added in v3.28.0
func (o BackendOutput) ToBackendOutput() BackendOutput
func (BackendOutput) ToBackendOutputWithContext ¶ added in v3.28.0
func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOutput
type BackendState ¶ added in v3.28.0
type BackendState struct { // The name of the Backend. BackendName pulumi.StringPtrInput // The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`. BackendType pulumi.StringPtrInput // Whether to create an Event bus service association role. CreateEventBridgeServiceLinkedRole pulumi.BoolPtrInput // The description of the Backend. Description pulumi.StringPtrInput }
func (BackendState) ElementType ¶ added in v3.28.0
func (BackendState) ElementType() reflect.Type
type GetApisApi ¶
type GetApisApi struct { // API description. Description string `pulumi:"description"` // ID of the specified group. GroupId string `pulumi:"groupId"` // The group name that the apis belong to. GroupName string `pulumi:"groupName"` // API ID, which is generated by the system and globally unique. Id string `pulumi:"id"` // API name. Name string `pulumi:"name"` // The ID of the region where the API is located. RegionId string `pulumi:"regionId"` }
type GetApisApiArgs ¶
type GetApisApiArgs struct { // API description. Description pulumi.StringInput `pulumi:"description"` // ID of the specified group. GroupId pulumi.StringInput `pulumi:"groupId"` // The group name that the apis belong to. GroupName pulumi.StringInput `pulumi:"groupName"` // API ID, which is generated by the system and globally unique. Id pulumi.StringInput `pulumi:"id"` // API name. Name pulumi.StringInput `pulumi:"name"` // The ID of the region where the API is located. RegionId pulumi.StringInput `pulumi:"regionId"` }
func (GetApisApiArgs) ElementType ¶
func (GetApisApiArgs) ElementType() reflect.Type
func (GetApisApiArgs) ToGetApisApiOutput ¶
func (i GetApisApiArgs) ToGetApisApiOutput() GetApisApiOutput
func (GetApisApiArgs) ToGetApisApiOutputWithContext ¶
func (i GetApisApiArgs) ToGetApisApiOutputWithContext(ctx context.Context) GetApisApiOutput
func (GetApisApiArgs) ToOutput ¶ added in v3.43.1
func (i GetApisApiArgs) ToOutput(ctx context.Context) pulumix.Output[GetApisApi]
type GetApisApiArray ¶
type GetApisApiArray []GetApisApiInput
func (GetApisApiArray) ElementType ¶
func (GetApisApiArray) ElementType() reflect.Type
func (GetApisApiArray) ToGetApisApiArrayOutput ¶
func (i GetApisApiArray) ToGetApisApiArrayOutput() GetApisApiArrayOutput
func (GetApisApiArray) ToGetApisApiArrayOutputWithContext ¶
func (i GetApisApiArray) ToGetApisApiArrayOutputWithContext(ctx context.Context) GetApisApiArrayOutput
func (GetApisApiArray) ToOutput ¶ added in v3.43.1
func (i GetApisApiArray) ToOutput(ctx context.Context) pulumix.Output[[]GetApisApi]
type GetApisApiArrayInput ¶
type GetApisApiArrayInput interface { pulumi.Input ToGetApisApiArrayOutput() GetApisApiArrayOutput ToGetApisApiArrayOutputWithContext(context.Context) GetApisApiArrayOutput }
GetApisApiArrayInput is an input type that accepts GetApisApiArray and GetApisApiArrayOutput values. You can construct a concrete instance of `GetApisApiArrayInput` via:
GetApisApiArray{ GetApisApiArgs{...} }
type GetApisApiArrayOutput ¶
type GetApisApiArrayOutput struct{ *pulumi.OutputState }
func (GetApisApiArrayOutput) ElementType ¶
func (GetApisApiArrayOutput) ElementType() reflect.Type
func (GetApisApiArrayOutput) Index ¶
func (o GetApisApiArrayOutput) Index(i pulumi.IntInput) GetApisApiOutput
func (GetApisApiArrayOutput) ToGetApisApiArrayOutput ¶
func (o GetApisApiArrayOutput) ToGetApisApiArrayOutput() GetApisApiArrayOutput
func (GetApisApiArrayOutput) ToGetApisApiArrayOutputWithContext ¶
func (o GetApisApiArrayOutput) ToGetApisApiArrayOutputWithContext(ctx context.Context) GetApisApiArrayOutput
func (GetApisApiArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetApisApiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetApisApi]
type GetApisApiInput ¶
type GetApisApiInput interface { pulumi.Input ToGetApisApiOutput() GetApisApiOutput ToGetApisApiOutputWithContext(context.Context) GetApisApiOutput }
GetApisApiInput is an input type that accepts GetApisApiArgs and GetApisApiOutput values. You can construct a concrete instance of `GetApisApiInput` via:
GetApisApiArgs{...}
type GetApisApiOutput ¶
type GetApisApiOutput struct{ *pulumi.OutputState }
func (GetApisApiOutput) Description ¶
func (o GetApisApiOutput) Description() pulumi.StringOutput
API description.
func (GetApisApiOutput) ElementType ¶
func (GetApisApiOutput) ElementType() reflect.Type
func (GetApisApiOutput) GroupId ¶
func (o GetApisApiOutput) GroupId() pulumi.StringOutput
ID of the specified group.
func (GetApisApiOutput) GroupName ¶
func (o GetApisApiOutput) GroupName() pulumi.StringOutput
The group name that the apis belong to.
func (GetApisApiOutput) Id ¶
func (o GetApisApiOutput) Id() pulumi.StringOutput
API ID, which is generated by the system and globally unique.
func (GetApisApiOutput) RegionId ¶
func (o GetApisApiOutput) RegionId() pulumi.StringOutput
The ID of the region where the API is located.
func (GetApisApiOutput) ToGetApisApiOutput ¶
func (o GetApisApiOutput) ToGetApisApiOutput() GetApisApiOutput
func (GetApisApiOutput) ToGetApisApiOutputWithContext ¶
func (o GetApisApiOutput) ToGetApisApiOutputWithContext(ctx context.Context) GetApisApiOutput
func (GetApisApiOutput) ToOutput ¶ added in v3.43.1
func (o GetApisApiOutput) ToOutput(ctx context.Context) pulumix.Output[GetApisApi]
type GetApisArgs ¶
type GetApisArgs struct { // (It has been deprecated from version 1.52.2, and use field 'ids' to replace.) ID of the specified API. // // Deprecated: Field 'api_id' has been deprecated from provider version 1.52.2. New field 'ids' replaces it. ApiId *string `pulumi:"apiId"` // ID of the specified group. GroupId *string `pulumi:"groupId"` // A list of api IDs. Ids []string `pulumi:"ids"` // A regex string to filter api gateway apis by name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getApis.
type GetApisOutputArgs ¶ added in v3.9.0
type GetApisOutputArgs struct { // (It has been deprecated from version 1.52.2, and use field 'ids' to replace.) ID of the specified API. // // Deprecated: Field 'api_id' has been deprecated from provider version 1.52.2. New field 'ids' replaces it. ApiId pulumi.StringPtrInput `pulumi:"apiId"` // ID of the specified group. GroupId pulumi.StringPtrInput `pulumi:"groupId"` // A list of api IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter api gateway apis by name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getApis.
func (GetApisOutputArgs) ElementType ¶ added in v3.9.0
func (GetApisOutputArgs) ElementType() reflect.Type
type GetApisResult ¶
type GetApisResult struct { // Deprecated: Field 'api_id' has been deprecated from provider version 1.52.2. New field 'ids' replaces it. ApiId *string `pulumi:"apiId"` // A list of apis. Each element contains the following attributes: Apis []GetApisApi `pulumi:"apis"` // The group id that the apis belong to. GroupId *string `pulumi:"groupId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of api IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of api names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getApis.
func GetApis ¶
func GetApis(ctx *pulumi.Context, args *GetApisArgs, opts ...pulumi.InvokeOption) (*GetApisResult, error)
This data source provides the apis of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := apigateway.GetApis(ctx, &apigateway.GetApisArgs{ OutputFile: pulumi.StringRef("output_ApiGatawayApis"), }, nil) if err != nil { return err } ctx.Export("firstApiId", data.Alicloud_api_gateway_apis.Data_apigatway.Apis[0].Id) return nil }) }
```
type GetApisResultOutput ¶ added in v3.9.0
type GetApisResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getApis.
func GetApisOutput ¶ added in v3.9.0
func GetApisOutput(ctx *pulumi.Context, args GetApisOutputArgs, opts ...pulumi.InvokeOption) GetApisResultOutput
func (GetApisResultOutput) ApiId
deprecated
added in
v3.9.0
func (o GetApisResultOutput) ApiId() pulumi.StringPtrOutput
Deprecated: Field 'api_id' has been deprecated from provider version 1.52.2. New field 'ids' replaces it.
func (GetApisResultOutput) Apis ¶ added in v3.9.0
func (o GetApisResultOutput) Apis() GetApisApiArrayOutput
A list of apis. Each element contains the following attributes:
func (GetApisResultOutput) ElementType ¶ added in v3.9.0
func (GetApisResultOutput) ElementType() reflect.Type
func (GetApisResultOutput) GroupId ¶ added in v3.9.0
func (o GetApisResultOutput) GroupId() pulumi.StringPtrOutput
The group id that the apis belong to.
func (GetApisResultOutput) Id ¶ added in v3.9.0
func (o GetApisResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetApisResultOutput) Ids ¶ added in v3.9.0
func (o GetApisResultOutput) Ids() pulumi.StringArrayOutput
A list of api IDs.
func (GetApisResultOutput) NameRegex ¶ added in v3.9.0
func (o GetApisResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetApisResultOutput) Names ¶ added in v3.9.0
func (o GetApisResultOutput) Names() pulumi.StringArrayOutput
A list of api names.
func (GetApisResultOutput) OutputFile ¶ added in v3.9.0
func (o GetApisResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetApisResultOutput) ToGetApisResultOutput ¶ added in v3.9.0
func (o GetApisResultOutput) ToGetApisResultOutput() GetApisResultOutput
func (GetApisResultOutput) ToGetApisResultOutputWithContext ¶ added in v3.9.0
func (o GetApisResultOutput) ToGetApisResultOutputWithContext(ctx context.Context) GetApisResultOutput
func (GetApisResultOutput) ToOutput ¶ added in v3.43.1
func (o GetApisResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetApisResult]
type GetAppsApp ¶
type GetAppsApp struct { // App code. AppCode string `pulumi:"appCode"` // Creation time (Greenwich mean time). CreatedTime string `pulumi:"createdTime"` // App description. Description string `pulumi:"description"` // App ID, which is generated by the system and globally unique. Id int `pulumi:"id"` // Last modification time (Greenwich mean time). ModifiedTime string `pulumi:"modifiedTime"` // App name. Name string `pulumi:"name"` }
type GetAppsAppArgs ¶
type GetAppsAppArgs struct { // App code. AppCode pulumi.StringInput `pulumi:"appCode"` // Creation time (Greenwich mean time). CreatedTime pulumi.StringInput `pulumi:"createdTime"` // App description. Description pulumi.StringInput `pulumi:"description"` // App ID, which is generated by the system and globally unique. Id pulumi.IntInput `pulumi:"id"` // Last modification time (Greenwich mean time). ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"` // App name. Name pulumi.StringInput `pulumi:"name"` }
func (GetAppsAppArgs) ElementType ¶
func (GetAppsAppArgs) ElementType() reflect.Type
func (GetAppsAppArgs) ToGetAppsAppOutput ¶
func (i GetAppsAppArgs) ToGetAppsAppOutput() GetAppsAppOutput
func (GetAppsAppArgs) ToGetAppsAppOutputWithContext ¶
func (i GetAppsAppArgs) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput
func (GetAppsAppArgs) ToOutput ¶ added in v3.43.1
func (i GetAppsAppArgs) ToOutput(ctx context.Context) pulumix.Output[GetAppsApp]
type GetAppsAppArray ¶
type GetAppsAppArray []GetAppsAppInput
func (GetAppsAppArray) ElementType ¶
func (GetAppsAppArray) ElementType() reflect.Type
func (GetAppsAppArray) ToGetAppsAppArrayOutput ¶
func (i GetAppsAppArray) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput
func (GetAppsAppArray) ToGetAppsAppArrayOutputWithContext ¶
func (i GetAppsAppArray) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput
func (GetAppsAppArray) ToOutput ¶ added in v3.43.1
func (i GetAppsAppArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAppsApp]
type GetAppsAppArrayInput ¶
type GetAppsAppArrayInput interface { pulumi.Input ToGetAppsAppArrayOutput() GetAppsAppArrayOutput ToGetAppsAppArrayOutputWithContext(context.Context) GetAppsAppArrayOutput }
GetAppsAppArrayInput is an input type that accepts GetAppsAppArray and GetAppsAppArrayOutput values. You can construct a concrete instance of `GetAppsAppArrayInput` via:
GetAppsAppArray{ GetAppsAppArgs{...} }
type GetAppsAppArrayOutput ¶
type GetAppsAppArrayOutput struct{ *pulumi.OutputState }
func (GetAppsAppArrayOutput) ElementType ¶
func (GetAppsAppArrayOutput) ElementType() reflect.Type
func (GetAppsAppArrayOutput) Index ¶
func (o GetAppsAppArrayOutput) Index(i pulumi.IntInput) GetAppsAppOutput
func (GetAppsAppArrayOutput) ToGetAppsAppArrayOutput ¶
func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput
func (GetAppsAppArrayOutput) ToGetAppsAppArrayOutputWithContext ¶
func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput
func (GetAppsAppArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetAppsAppArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAppsApp]
type GetAppsAppInput ¶
type GetAppsAppInput interface { pulumi.Input ToGetAppsAppOutput() GetAppsAppOutput ToGetAppsAppOutputWithContext(context.Context) GetAppsAppOutput }
GetAppsAppInput is an input type that accepts GetAppsAppArgs and GetAppsAppOutput values. You can construct a concrete instance of `GetAppsAppInput` via:
GetAppsAppArgs{...}
type GetAppsAppOutput ¶
type GetAppsAppOutput struct{ *pulumi.OutputState }
func (GetAppsAppOutput) CreatedTime ¶
func (o GetAppsAppOutput) CreatedTime() pulumi.StringOutput
Creation time (Greenwich mean time).
func (GetAppsAppOutput) Description ¶
func (o GetAppsAppOutput) Description() pulumi.StringOutput
App description.
func (GetAppsAppOutput) ElementType ¶
func (GetAppsAppOutput) ElementType() reflect.Type
func (GetAppsAppOutput) Id ¶
func (o GetAppsAppOutput) Id() pulumi.IntOutput
App ID, which is generated by the system and globally unique.
func (GetAppsAppOutput) ModifiedTime ¶
func (o GetAppsAppOutput) ModifiedTime() pulumi.StringOutput
Last modification time (Greenwich mean time).
func (GetAppsAppOutput) ToGetAppsAppOutput ¶
func (o GetAppsAppOutput) ToGetAppsAppOutput() GetAppsAppOutput
func (GetAppsAppOutput) ToGetAppsAppOutputWithContext ¶
func (o GetAppsAppOutput) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput
func (GetAppsAppOutput) ToOutput ¶ added in v3.43.1
func (o GetAppsAppOutput) ToOutput(ctx context.Context) pulumix.Output[GetAppsApp]
type GetAppsArgs ¶
type GetAppsArgs struct { // A list of app IDs. Ids []string `pulumi:"ids"` // A regex string to filter apps by name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getApps.
type GetAppsOutputArgs ¶ added in v3.9.0
type GetAppsOutputArgs struct { // A list of app IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter apps by name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getApps.
func (GetAppsOutputArgs) ElementType ¶ added in v3.9.0
func (GetAppsOutputArgs) ElementType() reflect.Type
type GetAppsResult ¶
type GetAppsResult struct { // A list of apps. Each element contains the following attributes: Apps []GetAppsApp `pulumi:"apps"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of app IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of app names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getApps.
func GetApps ¶
func GetApps(ctx *pulumi.Context, args *GetAppsArgs, opts ...pulumi.InvokeOption) (*GetAppsResult, error)
This data source provides the apps of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { dataApigatway, err := apigateway.GetApps(ctx, &apigateway.GetAppsArgs{ OutputFile: pulumi.StringRef("outapps"), }, nil) if err != nil { return err } ctx.Export("firstAppId", dataApigatway.Apps[0].Id) return nil }) }
```
type GetAppsResultOutput ¶ added in v3.9.0
type GetAppsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getApps.
func GetAppsOutput ¶ added in v3.9.0
func GetAppsOutput(ctx *pulumi.Context, args GetAppsOutputArgs, opts ...pulumi.InvokeOption) GetAppsResultOutput
func (GetAppsResultOutput) Apps ¶ added in v3.9.0
func (o GetAppsResultOutput) Apps() GetAppsAppArrayOutput
A list of apps. Each element contains the following attributes:
func (GetAppsResultOutput) ElementType ¶ added in v3.9.0
func (GetAppsResultOutput) ElementType() reflect.Type
func (GetAppsResultOutput) Id ¶ added in v3.9.0
func (o GetAppsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAppsResultOutput) Ids ¶ added in v3.9.0
func (o GetAppsResultOutput) Ids() pulumi.StringArrayOutput
A list of app IDs.
func (GetAppsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetAppsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAppsResultOutput) Names ¶ added in v3.9.0
func (o GetAppsResultOutput) Names() pulumi.StringArrayOutput
A list of app names.
func (GetAppsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetAppsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAppsResultOutput) Tags ¶ added in v3.9.0
func (o GetAppsResultOutput) Tags() pulumi.MapOutput
func (GetAppsResultOutput) ToGetAppsResultOutput ¶ added in v3.9.0
func (o GetAppsResultOutput) ToGetAppsResultOutput() GetAppsResultOutput
func (GetAppsResultOutput) ToGetAppsResultOutputWithContext ¶ added in v3.9.0
func (o GetAppsResultOutput) ToGetAppsResultOutputWithContext(ctx context.Context) GetAppsResultOutput
func (GetAppsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetAppsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAppsResult]
type GetBackendsArgs ¶ added in v3.28.0
type GetBackendsArgs struct { // A list of Backends IDs. Ids []string `pulumi:"ids"` // A regex string to filter Api Gateway Backends by name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of arguments for invoking getBackends.
type GetBackendsBackend ¶ added in v3.28.0
type GetBackendsBackend struct { // The id of the Backend. BackendId string `pulumi:"backendId"` // The name of the Backend. BackendName string `pulumi:"backendName"` // The type of the Backend. BackendType string `pulumi:"backendType"` // The created time of the Backend. CreateTime string `pulumi:"createTime"` // The description of the Backend. Description string `pulumi:"description"` Id string `pulumi:"id"` // The modified time of the Backend. ModifiedTime string `pulumi:"modifiedTime"` }
type GetBackendsBackendArgs ¶ added in v3.28.0
type GetBackendsBackendArgs struct { // The id of the Backend. BackendId pulumi.StringInput `pulumi:"backendId"` // The name of the Backend. BackendName pulumi.StringInput `pulumi:"backendName"` // The type of the Backend. BackendType pulumi.StringInput `pulumi:"backendType"` // The created time of the Backend. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of the Backend. Description pulumi.StringInput `pulumi:"description"` Id pulumi.StringInput `pulumi:"id"` // The modified time of the Backend. ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"` }
func (GetBackendsBackendArgs) ElementType ¶ added in v3.28.0
func (GetBackendsBackendArgs) ElementType() reflect.Type
func (GetBackendsBackendArgs) ToGetBackendsBackendOutput ¶ added in v3.28.0
func (i GetBackendsBackendArgs) ToGetBackendsBackendOutput() GetBackendsBackendOutput
func (GetBackendsBackendArgs) ToGetBackendsBackendOutputWithContext ¶ added in v3.28.0
func (i GetBackendsBackendArgs) ToGetBackendsBackendOutputWithContext(ctx context.Context) GetBackendsBackendOutput
func (GetBackendsBackendArgs) ToOutput ¶ added in v3.43.1
func (i GetBackendsBackendArgs) ToOutput(ctx context.Context) pulumix.Output[GetBackendsBackend]
type GetBackendsBackendArray ¶ added in v3.28.0
type GetBackendsBackendArray []GetBackendsBackendInput
func (GetBackendsBackendArray) ElementType ¶ added in v3.28.0
func (GetBackendsBackendArray) ElementType() reflect.Type
func (GetBackendsBackendArray) ToGetBackendsBackendArrayOutput ¶ added in v3.28.0
func (i GetBackendsBackendArray) ToGetBackendsBackendArrayOutput() GetBackendsBackendArrayOutput
func (GetBackendsBackendArray) ToGetBackendsBackendArrayOutputWithContext ¶ added in v3.28.0
func (i GetBackendsBackendArray) ToGetBackendsBackendArrayOutputWithContext(ctx context.Context) GetBackendsBackendArrayOutput
func (GetBackendsBackendArray) ToOutput ¶ added in v3.43.1
func (i GetBackendsBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]GetBackendsBackend]
type GetBackendsBackendArrayInput ¶ added in v3.28.0
type GetBackendsBackendArrayInput interface { pulumi.Input ToGetBackendsBackendArrayOutput() GetBackendsBackendArrayOutput ToGetBackendsBackendArrayOutputWithContext(context.Context) GetBackendsBackendArrayOutput }
GetBackendsBackendArrayInput is an input type that accepts GetBackendsBackendArray and GetBackendsBackendArrayOutput values. You can construct a concrete instance of `GetBackendsBackendArrayInput` via:
GetBackendsBackendArray{ GetBackendsBackendArgs{...} }
type GetBackendsBackendArrayOutput ¶ added in v3.28.0
type GetBackendsBackendArrayOutput struct{ *pulumi.OutputState }
func (GetBackendsBackendArrayOutput) ElementType ¶ added in v3.28.0
func (GetBackendsBackendArrayOutput) ElementType() reflect.Type
func (GetBackendsBackendArrayOutput) Index ¶ added in v3.28.0
func (o GetBackendsBackendArrayOutput) Index(i pulumi.IntInput) GetBackendsBackendOutput
func (GetBackendsBackendArrayOutput) ToGetBackendsBackendArrayOutput ¶ added in v3.28.0
func (o GetBackendsBackendArrayOutput) ToGetBackendsBackendArrayOutput() GetBackendsBackendArrayOutput
func (GetBackendsBackendArrayOutput) ToGetBackendsBackendArrayOutputWithContext ¶ added in v3.28.0
func (o GetBackendsBackendArrayOutput) ToGetBackendsBackendArrayOutputWithContext(ctx context.Context) GetBackendsBackendArrayOutput
func (GetBackendsBackendArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetBackendsBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetBackendsBackend]
type GetBackendsBackendInput ¶ added in v3.28.0
type GetBackendsBackendInput interface { pulumi.Input ToGetBackendsBackendOutput() GetBackendsBackendOutput ToGetBackendsBackendOutputWithContext(context.Context) GetBackendsBackendOutput }
GetBackendsBackendInput is an input type that accepts GetBackendsBackendArgs and GetBackendsBackendOutput values. You can construct a concrete instance of `GetBackendsBackendInput` via:
GetBackendsBackendArgs{...}
type GetBackendsBackendOutput ¶ added in v3.28.0
type GetBackendsBackendOutput struct{ *pulumi.OutputState }
func (GetBackendsBackendOutput) BackendId ¶ added in v3.28.0
func (o GetBackendsBackendOutput) BackendId() pulumi.StringOutput
The id of the Backend.
func (GetBackendsBackendOutput) BackendName ¶ added in v3.28.0
func (o GetBackendsBackendOutput) BackendName() pulumi.StringOutput
The name of the Backend.
func (GetBackendsBackendOutput) BackendType ¶ added in v3.28.0
func (o GetBackendsBackendOutput) BackendType() pulumi.StringOutput
The type of the Backend.
func (GetBackendsBackendOutput) CreateTime ¶ added in v3.28.0
func (o GetBackendsBackendOutput) CreateTime() pulumi.StringOutput
The created time of the Backend.
func (GetBackendsBackendOutput) Description ¶ added in v3.28.0
func (o GetBackendsBackendOutput) Description() pulumi.StringOutput
The description of the Backend.
func (GetBackendsBackendOutput) ElementType ¶ added in v3.28.0
func (GetBackendsBackendOutput) ElementType() reflect.Type
func (GetBackendsBackendOutput) Id ¶ added in v3.28.0
func (o GetBackendsBackendOutput) Id() pulumi.StringOutput
func (GetBackendsBackendOutput) ModifiedTime ¶ added in v3.28.0
func (o GetBackendsBackendOutput) ModifiedTime() pulumi.StringOutput
The modified time of the Backend.
func (GetBackendsBackendOutput) ToGetBackendsBackendOutput ¶ added in v3.28.0
func (o GetBackendsBackendOutput) ToGetBackendsBackendOutput() GetBackendsBackendOutput
func (GetBackendsBackendOutput) ToGetBackendsBackendOutputWithContext ¶ added in v3.28.0
func (o GetBackendsBackendOutput) ToGetBackendsBackendOutputWithContext(ctx context.Context) GetBackendsBackendOutput
func (GetBackendsBackendOutput) ToOutput ¶ added in v3.43.1
func (o GetBackendsBackendOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendsBackend]
type GetBackendsOutputArgs ¶ added in v3.28.0
type GetBackendsOutputArgs struct { // A list of Backends IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter Api Gateway Backends by name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` }
A collection of arguments for invoking getBackends.
func (GetBackendsOutputArgs) ElementType ¶ added in v3.28.0
func (GetBackendsOutputArgs) ElementType() reflect.Type
type GetBackendsResult ¶ added in v3.28.0
type GetBackendsResult struct { Backends []GetBackendsBackend `pulumi:"backends"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of values returned by getBackends.
func GetBackends ¶ added in v3.28.0
func GetBackends(ctx *pulumi.Context, args *GetBackendsArgs, opts ...pulumi.InvokeOption) (*GetBackendsResult, error)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user.
> **NOTE:** Available in v1.181.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := apigateway.GetBackends(ctx, nil, nil) if err != nil { return err } ctx.Export("apiGatewayBackendId1", ids.Backends[0].Id) return nil }) }
```
type GetBackendsResultOutput ¶ added in v3.28.0
type GetBackendsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getBackends.
func GetBackendsOutput ¶ added in v3.28.0
func GetBackendsOutput(ctx *pulumi.Context, args GetBackendsOutputArgs, opts ...pulumi.InvokeOption) GetBackendsResultOutput
func (GetBackendsResultOutput) Backends ¶ added in v3.28.0
func (o GetBackendsResultOutput) Backends() GetBackendsBackendArrayOutput
func (GetBackendsResultOutput) ElementType ¶ added in v3.28.0
func (GetBackendsResultOutput) ElementType() reflect.Type
func (GetBackendsResultOutput) Id ¶ added in v3.28.0
func (o GetBackendsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetBackendsResultOutput) Ids ¶ added in v3.28.0
func (o GetBackendsResultOutput) Ids() pulumi.StringArrayOutput
func (GetBackendsResultOutput) NameRegex ¶ added in v3.28.0
func (o GetBackendsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetBackendsResultOutput) Names ¶ added in v3.28.0
func (o GetBackendsResultOutput) Names() pulumi.StringArrayOutput
func (GetBackendsResultOutput) OutputFile ¶ added in v3.28.0
func (o GetBackendsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetBackendsResultOutput) PageNumber ¶ added in v3.28.0
func (o GetBackendsResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetBackendsResultOutput) PageSize ¶ added in v3.28.0
func (o GetBackendsResultOutput) PageSize() pulumi.IntPtrOutput
func (GetBackendsResultOutput) ToGetBackendsResultOutput ¶ added in v3.28.0
func (o GetBackendsResultOutput) ToGetBackendsResultOutput() GetBackendsResultOutput
func (GetBackendsResultOutput) ToGetBackendsResultOutputWithContext ¶ added in v3.28.0
func (o GetBackendsResultOutput) ToGetBackendsResultOutputWithContext(ctx context.Context) GetBackendsResultOutput
func (GetBackendsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetBackendsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendsResult]
type GetGroupsArgs ¶
type GetGroupsArgs struct { // A list of api group IDs. Ids []string `pulumi:"ids"` // A regex string to filter api gateway groups by name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getGroups.
type GetGroupsGroup ¶
type GetGroupsGroup struct { // Billing status. // - NORMAL: The API group is normal. // - LOCKED: Locked due to outstanding payment. BillingStatus string `pulumi:"billingStatus"` // Creation time (Greenwich mean time). CreatedTime string `pulumi:"createdTime"` // API group description. Description string `pulumi:"description"` // API group ID, which is generated by the system and globally unique. Id string `pulumi:"id"` // Locking in invalid state. // - NORMAL: The API group is normal. // - LOCKED: Locked due to illegality. IllegalStatus string `pulumi:"illegalStatus"` // Last modification time (Greenwich mean time). ModifiedTime string `pulumi:"modifiedTime"` // API group name. Name string `pulumi:"name"` // The ID of the region where the API group is located. RegionId string `pulumi:"regionId"` // Second-level domain name automatically assigned to the API group. SubDomain string `pulumi:"subDomain"` // Upper QPS limit of the API group; default value: 500, which can be increased by submitting an application. TrafficLimit int `pulumi:"trafficLimit"` }
type GetGroupsGroupArgs ¶
type GetGroupsGroupArgs struct { // Billing status. // - NORMAL: The API group is normal. // - LOCKED: Locked due to outstanding payment. BillingStatus pulumi.StringInput `pulumi:"billingStatus"` // Creation time (Greenwich mean time). CreatedTime pulumi.StringInput `pulumi:"createdTime"` // API group description. Description pulumi.StringInput `pulumi:"description"` // API group ID, which is generated by the system and globally unique. Id pulumi.StringInput `pulumi:"id"` // Locking in invalid state. // - NORMAL: The API group is normal. // - LOCKED: Locked due to illegality. IllegalStatus pulumi.StringInput `pulumi:"illegalStatus"` // Last modification time (Greenwich mean time). ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"` // API group name. Name pulumi.StringInput `pulumi:"name"` // The ID of the region where the API group is located. RegionId pulumi.StringInput `pulumi:"regionId"` // Second-level domain name automatically assigned to the API group. SubDomain pulumi.StringInput `pulumi:"subDomain"` // Upper QPS limit of the API group; default value: 500, which can be increased by submitting an application. TrafficLimit pulumi.IntInput `pulumi:"trafficLimit"` }
func (GetGroupsGroupArgs) ElementType ¶
func (GetGroupsGroupArgs) ElementType() reflect.Type
func (GetGroupsGroupArgs) ToGetGroupsGroupOutput ¶
func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput
func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext ¶
func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput
func (GetGroupsGroupArgs) ToOutput ¶ added in v3.43.1
func (i GetGroupsGroupArgs) ToOutput(ctx context.Context) pulumix.Output[GetGroupsGroup]
type GetGroupsGroupArray ¶
type GetGroupsGroupArray []GetGroupsGroupInput
func (GetGroupsGroupArray) ElementType ¶
func (GetGroupsGroupArray) ElementType() reflect.Type
func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput ¶
func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext ¶
func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput
func (GetGroupsGroupArray) ToOutput ¶ added in v3.43.1
func (i GetGroupsGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]GetGroupsGroup]
type GetGroupsGroupArrayInput ¶
type GetGroupsGroupArrayInput interface { pulumi.Input ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput }
GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:
GetGroupsGroupArray{ GetGroupsGroupArgs{...} }
type GetGroupsGroupArrayOutput ¶
type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetGroupsGroupArrayOutput) ElementType ¶
func (GetGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetGroupsGroupArrayOutput) Index ¶
func (o GetGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupOutput
func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput ¶
func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext ¶
func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput
func (GetGroupsGroupArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetGroupsGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetGroupsGroup]
type GetGroupsGroupInput ¶
type GetGroupsGroupInput interface { pulumi.Input ToGetGroupsGroupOutput() GetGroupsGroupOutput ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput }
GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:
GetGroupsGroupArgs{...}
type GetGroupsGroupOutput ¶
type GetGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetGroupsGroupOutput) BillingStatus ¶
func (o GetGroupsGroupOutput) BillingStatus() pulumi.StringOutput
Billing status. - NORMAL: The API group is normal. - LOCKED: Locked due to outstanding payment.
func (GetGroupsGroupOutput) CreatedTime ¶
func (o GetGroupsGroupOutput) CreatedTime() pulumi.StringOutput
Creation time (Greenwich mean time).
func (GetGroupsGroupOutput) Description ¶
func (o GetGroupsGroupOutput) Description() pulumi.StringOutput
API group description.
func (GetGroupsGroupOutput) ElementType ¶
func (GetGroupsGroupOutput) ElementType() reflect.Type
func (GetGroupsGroupOutput) Id ¶
func (o GetGroupsGroupOutput) Id() pulumi.StringOutput
API group ID, which is generated by the system and globally unique.
func (GetGroupsGroupOutput) IllegalStatus ¶
func (o GetGroupsGroupOutput) IllegalStatus() pulumi.StringOutput
Locking in invalid state. - NORMAL: The API group is normal. - LOCKED: Locked due to illegality.
func (GetGroupsGroupOutput) ModifiedTime ¶
func (o GetGroupsGroupOutput) ModifiedTime() pulumi.StringOutput
Last modification time (Greenwich mean time).
func (GetGroupsGroupOutput) Name ¶
func (o GetGroupsGroupOutput) Name() pulumi.StringOutput
API group name.
func (GetGroupsGroupOutput) RegionId ¶
func (o GetGroupsGroupOutput) RegionId() pulumi.StringOutput
The ID of the region where the API group is located.
func (GetGroupsGroupOutput) SubDomain ¶
func (o GetGroupsGroupOutput) SubDomain() pulumi.StringOutput
Second-level domain name automatically assigned to the API group.
func (GetGroupsGroupOutput) ToGetGroupsGroupOutput ¶
func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput
func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext ¶
func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput
func (GetGroupsGroupOutput) ToOutput ¶ added in v3.43.1
func (o GetGroupsGroupOutput) ToOutput(ctx context.Context) pulumix.Output[GetGroupsGroup]
func (GetGroupsGroupOutput) TrafficLimit ¶
func (o GetGroupsGroupOutput) TrafficLimit() pulumi.IntOutput
Upper QPS limit of the API group; default value: 500, which can be increased by submitting an application.
type GetGroupsOutputArgs ¶ added in v3.9.0
type GetGroupsOutputArgs struct { // A list of api group IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter api gateway groups by name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getGroups.
func (GetGroupsOutputArgs) ElementType ¶ added in v3.9.0
func (GetGroupsOutputArgs) ElementType() reflect.Type
type GetGroupsResult ¶
type GetGroupsResult struct { // A list of api groups. Each element contains the following attributes: Groups []GetGroupsGroup `pulumi:"groups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of api group IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of api group names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getGroups.
func GetGroups ¶
func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)
This data source provides the api groups of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { dataApigatway, err := apigateway.GetGroups(ctx, &apigateway.GetGroupsArgs{ OutputFile: pulumi.StringRef("outgroups"), }, nil) if err != nil { return err } ctx.Export("firstGroupId", dataApigatway.Groups[0].Id) return nil }) }
```
type GetGroupsResultOutput ¶ added in v3.9.0
type GetGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGroups.
func GetGroupsOutput ¶ added in v3.9.0
func GetGroupsOutput(ctx *pulumi.Context, args GetGroupsOutputArgs, opts ...pulumi.InvokeOption) GetGroupsResultOutput
func (GetGroupsResultOutput) ElementType ¶ added in v3.9.0
func (GetGroupsResultOutput) ElementType() reflect.Type
func (GetGroupsResultOutput) Groups ¶ added in v3.9.0
func (o GetGroupsResultOutput) Groups() GetGroupsGroupArrayOutput
A list of api groups. Each element contains the following attributes:
func (GetGroupsResultOutput) Id ¶ added in v3.9.0
func (o GetGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGroupsResultOutput) Ids ¶ added in v3.9.0
func (o GetGroupsResultOutput) Ids() pulumi.StringArrayOutput
A list of api group IDs.
func (GetGroupsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGroupsResultOutput) Names ¶ added in v3.9.0
func (o GetGroupsResultOutput) Names() pulumi.StringArrayOutput
A list of api group names.
func (GetGroupsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGroupsResultOutput) ToGetGroupsResultOutput ¶ added in v3.9.0
func (o GetGroupsResultOutput) ToGetGroupsResultOutput() GetGroupsResultOutput
func (GetGroupsResultOutput) ToGetGroupsResultOutputWithContext ¶ added in v3.9.0
func (o GetGroupsResultOutput) ToGetGroupsResultOutputWithContext(ctx context.Context) GetGroupsResultOutput
func (GetGroupsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetGroupsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetGroupsResult]
type GetLogConfigsArgs ¶ added in v3.29.0
type GetLogConfigsArgs struct { // A list of Log Config IDs. Ids []string `pulumi:"ids"` // The type the of log. LogType *string `pulumi:"logType"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getLogConfigs.
type GetLogConfigsConfig ¶ added in v3.29.0
type GetLogConfigsConfig struct { // The ID of the Log Config. Id string `pulumi:"id"` // The type the of log. LogType string `pulumi:"logType"` // The region ID of the Log Config. RegionId string `pulumi:"regionId"` // The name of the Log Store. SlsLogStore string `pulumi:"slsLogStore"` // The name of the Project. SlsProject string `pulumi:"slsProject"` }
type GetLogConfigsConfigArgs ¶ added in v3.29.0
type GetLogConfigsConfigArgs struct { // The ID of the Log Config. Id pulumi.StringInput `pulumi:"id"` // The type the of log. LogType pulumi.StringInput `pulumi:"logType"` // The region ID of the Log Config. RegionId pulumi.StringInput `pulumi:"regionId"` // The name of the Log Store. SlsLogStore pulumi.StringInput `pulumi:"slsLogStore"` // The name of the Project. SlsProject pulumi.StringInput `pulumi:"slsProject"` }
func (GetLogConfigsConfigArgs) ElementType ¶ added in v3.29.0
func (GetLogConfigsConfigArgs) ElementType() reflect.Type
func (GetLogConfigsConfigArgs) ToGetLogConfigsConfigOutput ¶ added in v3.29.0
func (i GetLogConfigsConfigArgs) ToGetLogConfigsConfigOutput() GetLogConfigsConfigOutput
func (GetLogConfigsConfigArgs) ToGetLogConfigsConfigOutputWithContext ¶ added in v3.29.0
func (i GetLogConfigsConfigArgs) ToGetLogConfigsConfigOutputWithContext(ctx context.Context) GetLogConfigsConfigOutput
func (GetLogConfigsConfigArgs) ToOutput ¶ added in v3.43.1
func (i GetLogConfigsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetLogConfigsConfig]
type GetLogConfigsConfigArray ¶ added in v3.29.0
type GetLogConfigsConfigArray []GetLogConfigsConfigInput
func (GetLogConfigsConfigArray) ElementType ¶ added in v3.29.0
func (GetLogConfigsConfigArray) ElementType() reflect.Type
func (GetLogConfigsConfigArray) ToGetLogConfigsConfigArrayOutput ¶ added in v3.29.0
func (i GetLogConfigsConfigArray) ToGetLogConfigsConfigArrayOutput() GetLogConfigsConfigArrayOutput
func (GetLogConfigsConfigArray) ToGetLogConfigsConfigArrayOutputWithContext ¶ added in v3.29.0
func (i GetLogConfigsConfigArray) ToGetLogConfigsConfigArrayOutputWithContext(ctx context.Context) GetLogConfigsConfigArrayOutput
func (GetLogConfigsConfigArray) ToOutput ¶ added in v3.43.1
func (i GetLogConfigsConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetLogConfigsConfig]
type GetLogConfigsConfigArrayInput ¶ added in v3.29.0
type GetLogConfigsConfigArrayInput interface { pulumi.Input ToGetLogConfigsConfigArrayOutput() GetLogConfigsConfigArrayOutput ToGetLogConfigsConfigArrayOutputWithContext(context.Context) GetLogConfigsConfigArrayOutput }
GetLogConfigsConfigArrayInput is an input type that accepts GetLogConfigsConfigArray and GetLogConfigsConfigArrayOutput values. You can construct a concrete instance of `GetLogConfigsConfigArrayInput` via:
GetLogConfigsConfigArray{ GetLogConfigsConfigArgs{...} }
type GetLogConfigsConfigArrayOutput ¶ added in v3.29.0
type GetLogConfigsConfigArrayOutput struct{ *pulumi.OutputState }
func (GetLogConfigsConfigArrayOutput) ElementType ¶ added in v3.29.0
func (GetLogConfigsConfigArrayOutput) ElementType() reflect.Type
func (GetLogConfigsConfigArrayOutput) Index ¶ added in v3.29.0
func (o GetLogConfigsConfigArrayOutput) Index(i pulumi.IntInput) GetLogConfigsConfigOutput
func (GetLogConfigsConfigArrayOutput) ToGetLogConfigsConfigArrayOutput ¶ added in v3.29.0
func (o GetLogConfigsConfigArrayOutput) ToGetLogConfigsConfigArrayOutput() GetLogConfigsConfigArrayOutput
func (GetLogConfigsConfigArrayOutput) ToGetLogConfigsConfigArrayOutputWithContext ¶ added in v3.29.0
func (o GetLogConfigsConfigArrayOutput) ToGetLogConfigsConfigArrayOutputWithContext(ctx context.Context) GetLogConfigsConfigArrayOutput
func (GetLogConfigsConfigArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetLogConfigsConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetLogConfigsConfig]
type GetLogConfigsConfigInput ¶ added in v3.29.0
type GetLogConfigsConfigInput interface { pulumi.Input ToGetLogConfigsConfigOutput() GetLogConfigsConfigOutput ToGetLogConfigsConfigOutputWithContext(context.Context) GetLogConfigsConfigOutput }
GetLogConfigsConfigInput is an input type that accepts GetLogConfigsConfigArgs and GetLogConfigsConfigOutput values. You can construct a concrete instance of `GetLogConfigsConfigInput` via:
GetLogConfigsConfigArgs{...}
type GetLogConfigsConfigOutput ¶ added in v3.29.0
type GetLogConfigsConfigOutput struct{ *pulumi.OutputState }
func (GetLogConfigsConfigOutput) ElementType ¶ added in v3.29.0
func (GetLogConfigsConfigOutput) ElementType() reflect.Type
func (GetLogConfigsConfigOutput) Id ¶ added in v3.29.0
func (o GetLogConfigsConfigOutput) Id() pulumi.StringOutput
The ID of the Log Config.
func (GetLogConfigsConfigOutput) LogType ¶ added in v3.29.0
func (o GetLogConfigsConfigOutput) LogType() pulumi.StringOutput
The type the of log.
func (GetLogConfigsConfigOutput) RegionId ¶ added in v3.29.0
func (o GetLogConfigsConfigOutput) RegionId() pulumi.StringOutput
The region ID of the Log Config.
func (GetLogConfigsConfigOutput) SlsLogStore ¶ added in v3.29.0
func (o GetLogConfigsConfigOutput) SlsLogStore() pulumi.StringOutput
The name of the Log Store.
func (GetLogConfigsConfigOutput) SlsProject ¶ added in v3.29.0
func (o GetLogConfigsConfigOutput) SlsProject() pulumi.StringOutput
The name of the Project.
func (GetLogConfigsConfigOutput) ToGetLogConfigsConfigOutput ¶ added in v3.29.0
func (o GetLogConfigsConfigOutput) ToGetLogConfigsConfigOutput() GetLogConfigsConfigOutput
func (GetLogConfigsConfigOutput) ToGetLogConfigsConfigOutputWithContext ¶ added in v3.29.0
func (o GetLogConfigsConfigOutput) ToGetLogConfigsConfigOutputWithContext(ctx context.Context) GetLogConfigsConfigOutput
func (GetLogConfigsConfigOutput) ToOutput ¶ added in v3.43.1
func (o GetLogConfigsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetLogConfigsConfig]
type GetLogConfigsOutputArgs ¶ added in v3.29.0
type GetLogConfigsOutputArgs struct { // A list of Log Config IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The type the of log. LogType pulumi.StringPtrInput `pulumi:"logType"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getLogConfigs.
func (GetLogConfigsOutputArgs) ElementType ¶ added in v3.29.0
func (GetLogConfigsOutputArgs) ElementType() reflect.Type
type GetLogConfigsResult ¶ added in v3.29.0
type GetLogConfigsResult struct { Configs []GetLogConfigsConfig `pulumi:"configs"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` LogType *string `pulumi:"logType"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getLogConfigs.
func GetLogConfigs ¶ added in v3.29.0
func GetLogConfigs(ctx *pulumi.Context, args *GetLogConfigsArgs, opts ...pulumi.InvokeOption) (*GetLogConfigsResult, error)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.
> **NOTE:** Available in v1.185.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := apigateway.GetLogConfigs(ctx, &apigateway.GetLogConfigsArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("apiGatewayLogConfigId1", ids.Configs[0].Id) logType, err := apigateway.GetLogConfigs(ctx, &apigateway.GetLogConfigsArgs{ LogType: pulumi.StringRef("PROVIDER"), }, nil) if err != nil { return err } ctx.Export("apiGatewayLogConfigId2", logType.Configs[0].Id) return nil }) }
```
type GetLogConfigsResultOutput ¶ added in v3.29.0
type GetLogConfigsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLogConfigs.
func GetLogConfigsOutput ¶ added in v3.29.0
func GetLogConfigsOutput(ctx *pulumi.Context, args GetLogConfigsOutputArgs, opts ...pulumi.InvokeOption) GetLogConfigsResultOutput
func (GetLogConfigsResultOutput) Configs ¶ added in v3.29.0
func (o GetLogConfigsResultOutput) Configs() GetLogConfigsConfigArrayOutput
func (GetLogConfigsResultOutput) ElementType ¶ added in v3.29.0
func (GetLogConfigsResultOutput) ElementType() reflect.Type
func (GetLogConfigsResultOutput) Id ¶ added in v3.29.0
func (o GetLogConfigsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLogConfigsResultOutput) Ids ¶ added in v3.29.0
func (o GetLogConfigsResultOutput) Ids() pulumi.StringArrayOutput
func (GetLogConfigsResultOutput) LogType ¶ added in v3.29.0
func (o GetLogConfigsResultOutput) LogType() pulumi.StringPtrOutput
func (GetLogConfigsResultOutput) OutputFile ¶ added in v3.29.0
func (o GetLogConfigsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetLogConfigsResultOutput) ToGetLogConfigsResultOutput ¶ added in v3.29.0
func (o GetLogConfigsResultOutput) ToGetLogConfigsResultOutput() GetLogConfigsResultOutput
func (GetLogConfigsResultOutput) ToGetLogConfigsResultOutputWithContext ¶ added in v3.29.0
func (o GetLogConfigsResultOutput) ToGetLogConfigsResultOutputWithContext(ctx context.Context) GetLogConfigsResultOutput
func (GetLogConfigsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetLogConfigsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetLogConfigsResult]
type GetModelsArgs ¶ added in v3.29.0
type GetModelsArgs struct { // The ID of the api group. GroupId string `pulumi:"groupId"` // A list of Model IDs. Ids []string `pulumi:"ids"` // The name of the Model. ModelName *string `pulumi:"modelName"` // A regex string to filter results by Model name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of arguments for invoking getModels.
type GetModelsModel ¶ added in v3.29.0
type GetModelsModel struct { // The creation time of the model. CreateTime string `pulumi:"createTime"` // The description of the model. Description string `pulumi:"description"` // The ID of the api group. GroupId string `pulumi:"groupId"` // The ID of the Api Gateway Model. Id string `pulumi:"id"` // The id of the model. ModelId string `pulumi:"modelId"` // The name of the Model. ModelName string `pulumi:"modelName"` // The reference of the model. ModelRef string `pulumi:"modelRef"` // The modified time of the model. ModifiedTime string `pulumi:"modifiedTime"` // The schema of the model. Schema string `pulumi:"schema"` }
type GetModelsModelArgs ¶ added in v3.29.0
type GetModelsModelArgs struct { // The creation time of the model. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of the model. Description pulumi.StringInput `pulumi:"description"` // The ID of the api group. GroupId pulumi.StringInput `pulumi:"groupId"` // The ID of the Api Gateway Model. Id pulumi.StringInput `pulumi:"id"` // The id of the model. ModelId pulumi.StringInput `pulumi:"modelId"` // The name of the Model. ModelName pulumi.StringInput `pulumi:"modelName"` // The reference of the model. ModelRef pulumi.StringInput `pulumi:"modelRef"` // The modified time of the model. ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"` // The schema of the model. Schema pulumi.StringInput `pulumi:"schema"` }
func (GetModelsModelArgs) ElementType ¶ added in v3.29.0
func (GetModelsModelArgs) ElementType() reflect.Type
func (GetModelsModelArgs) ToGetModelsModelOutput ¶ added in v3.29.0
func (i GetModelsModelArgs) ToGetModelsModelOutput() GetModelsModelOutput
func (GetModelsModelArgs) ToGetModelsModelOutputWithContext ¶ added in v3.29.0
func (i GetModelsModelArgs) ToGetModelsModelOutputWithContext(ctx context.Context) GetModelsModelOutput
func (GetModelsModelArgs) ToOutput ¶ added in v3.43.1
func (i GetModelsModelArgs) ToOutput(ctx context.Context) pulumix.Output[GetModelsModel]
type GetModelsModelArray ¶ added in v3.29.0
type GetModelsModelArray []GetModelsModelInput
func (GetModelsModelArray) ElementType ¶ added in v3.29.0
func (GetModelsModelArray) ElementType() reflect.Type
func (GetModelsModelArray) ToGetModelsModelArrayOutput ¶ added in v3.29.0
func (i GetModelsModelArray) ToGetModelsModelArrayOutput() GetModelsModelArrayOutput
func (GetModelsModelArray) ToGetModelsModelArrayOutputWithContext ¶ added in v3.29.0
func (i GetModelsModelArray) ToGetModelsModelArrayOutputWithContext(ctx context.Context) GetModelsModelArrayOutput
func (GetModelsModelArray) ToOutput ¶ added in v3.43.1
func (i GetModelsModelArray) ToOutput(ctx context.Context) pulumix.Output[[]GetModelsModel]
type GetModelsModelArrayInput ¶ added in v3.29.0
type GetModelsModelArrayInput interface { pulumi.Input ToGetModelsModelArrayOutput() GetModelsModelArrayOutput ToGetModelsModelArrayOutputWithContext(context.Context) GetModelsModelArrayOutput }
GetModelsModelArrayInput is an input type that accepts GetModelsModelArray and GetModelsModelArrayOutput values. You can construct a concrete instance of `GetModelsModelArrayInput` via:
GetModelsModelArray{ GetModelsModelArgs{...} }
type GetModelsModelArrayOutput ¶ added in v3.29.0
type GetModelsModelArrayOutput struct{ *pulumi.OutputState }
func (GetModelsModelArrayOutput) ElementType ¶ added in v3.29.0
func (GetModelsModelArrayOutput) ElementType() reflect.Type
func (GetModelsModelArrayOutput) Index ¶ added in v3.29.0
func (o GetModelsModelArrayOutput) Index(i pulumi.IntInput) GetModelsModelOutput
func (GetModelsModelArrayOutput) ToGetModelsModelArrayOutput ¶ added in v3.29.0
func (o GetModelsModelArrayOutput) ToGetModelsModelArrayOutput() GetModelsModelArrayOutput
func (GetModelsModelArrayOutput) ToGetModelsModelArrayOutputWithContext ¶ added in v3.29.0
func (o GetModelsModelArrayOutput) ToGetModelsModelArrayOutputWithContext(ctx context.Context) GetModelsModelArrayOutput
func (GetModelsModelArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetModelsModelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetModelsModel]
type GetModelsModelInput ¶ added in v3.29.0
type GetModelsModelInput interface { pulumi.Input ToGetModelsModelOutput() GetModelsModelOutput ToGetModelsModelOutputWithContext(context.Context) GetModelsModelOutput }
GetModelsModelInput is an input type that accepts GetModelsModelArgs and GetModelsModelOutput values. You can construct a concrete instance of `GetModelsModelInput` via:
GetModelsModelArgs{...}
type GetModelsModelOutput ¶ added in v3.29.0
type GetModelsModelOutput struct{ *pulumi.OutputState }
func (GetModelsModelOutput) CreateTime ¶ added in v3.29.0
func (o GetModelsModelOutput) CreateTime() pulumi.StringOutput
The creation time of the model.
func (GetModelsModelOutput) Description ¶ added in v3.29.0
func (o GetModelsModelOutput) Description() pulumi.StringOutput
The description of the model.
func (GetModelsModelOutput) ElementType ¶ added in v3.29.0
func (GetModelsModelOutput) ElementType() reflect.Type
func (GetModelsModelOutput) GroupId ¶ added in v3.29.0
func (o GetModelsModelOutput) GroupId() pulumi.StringOutput
The ID of the api group.
func (GetModelsModelOutput) Id ¶ added in v3.29.0
func (o GetModelsModelOutput) Id() pulumi.StringOutput
The ID of the Api Gateway Model.
func (GetModelsModelOutput) ModelId ¶ added in v3.29.0
func (o GetModelsModelOutput) ModelId() pulumi.StringOutput
The id of the model.
func (GetModelsModelOutput) ModelName ¶ added in v3.29.0
func (o GetModelsModelOutput) ModelName() pulumi.StringOutput
The name of the Model.
func (GetModelsModelOutput) ModelRef ¶ added in v3.29.0
func (o GetModelsModelOutput) ModelRef() pulumi.StringOutput
The reference of the model.
func (GetModelsModelOutput) ModifiedTime ¶ added in v3.29.0
func (o GetModelsModelOutput) ModifiedTime() pulumi.StringOutput
The modified time of the model.
func (GetModelsModelOutput) Schema ¶ added in v3.29.0
func (o GetModelsModelOutput) Schema() pulumi.StringOutput
The schema of the model.
func (GetModelsModelOutput) ToGetModelsModelOutput ¶ added in v3.29.0
func (o GetModelsModelOutput) ToGetModelsModelOutput() GetModelsModelOutput
func (GetModelsModelOutput) ToGetModelsModelOutputWithContext ¶ added in v3.29.0
func (o GetModelsModelOutput) ToGetModelsModelOutputWithContext(ctx context.Context) GetModelsModelOutput
func (GetModelsModelOutput) ToOutput ¶ added in v3.43.1
func (o GetModelsModelOutput) ToOutput(ctx context.Context) pulumix.Output[GetModelsModel]
type GetModelsOutputArgs ¶ added in v3.29.0
type GetModelsOutputArgs struct { // The ID of the api group. GroupId pulumi.StringInput `pulumi:"groupId"` // A list of Model IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The name of the Model. ModelName pulumi.StringPtrInput `pulumi:"modelName"` // A regex string to filter results by Model name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` }
A collection of arguments for invoking getModels.
func (GetModelsOutputArgs) ElementType ¶ added in v3.29.0
func (GetModelsOutputArgs) ElementType() reflect.Type
type GetModelsResult ¶ added in v3.29.0
type GetModelsResult struct { // The group of the model belongs to. GroupId string `pulumi:"groupId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // The name of the Model. ModelName *string `pulumi:"modelName"` // A list of Api Gateway Models. Each element contains the following attributes: Models []GetModelsModel `pulumi:"models"` NameRegex *string `pulumi:"nameRegex"` // A list of Model names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of values returned by getModels.
func GetModels ¶ added in v3.29.0
func GetModels(ctx *pulumi.Context, args *GetModelsArgs, opts ...pulumi.InvokeOption) (*GetModelsResult, error)
This data source provides the Api Gateway Models of the current Alibaba Cloud user.
> **NOTE:** Available in v1.187.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := apigateway.GetModels(ctx, &apigateway.GetModelsArgs{ Ids: []string{ "example_id", }, GroupId: "example_group_id", }, nil) if err != nil { return err } ctx.Export("apiGatewayModelId1", ids.Models[0].Id) groupId, err := apigateway.GetModels(ctx, &apigateway.GetModelsArgs{ GroupId: "example_group_id", }, nil) if err != nil { return err } ctx.Export("apiGatewayModelId2", groupId.Models[0].Id) return nil }) }
```
type GetModelsResultOutput ¶ added in v3.29.0
type GetModelsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getModels.
func GetModelsOutput ¶ added in v3.29.0
func GetModelsOutput(ctx *pulumi.Context, args GetModelsOutputArgs, opts ...pulumi.InvokeOption) GetModelsResultOutput
func (GetModelsResultOutput) ElementType ¶ added in v3.29.0
func (GetModelsResultOutput) ElementType() reflect.Type
func (GetModelsResultOutput) GroupId ¶ added in v3.29.0
func (o GetModelsResultOutput) GroupId() pulumi.StringOutput
The group of the model belongs to.
func (GetModelsResultOutput) Id ¶ added in v3.29.0
func (o GetModelsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetModelsResultOutput) Ids ¶ added in v3.29.0
func (o GetModelsResultOutput) Ids() pulumi.StringArrayOutput
func (GetModelsResultOutput) ModelName ¶ added in v3.29.0
func (o GetModelsResultOutput) ModelName() pulumi.StringPtrOutput
The name of the Model.
func (GetModelsResultOutput) Models ¶ added in v3.29.0
func (o GetModelsResultOutput) Models() GetModelsModelArrayOutput
A list of Api Gateway Models. Each element contains the following attributes:
func (GetModelsResultOutput) NameRegex ¶ added in v3.29.0
func (o GetModelsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetModelsResultOutput) Names ¶ added in v3.29.0
func (o GetModelsResultOutput) Names() pulumi.StringArrayOutput
A list of Model names.
func (GetModelsResultOutput) OutputFile ¶ added in v3.29.0
func (o GetModelsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetModelsResultOutput) PageNumber ¶ added in v3.29.0
func (o GetModelsResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetModelsResultOutput) PageSize ¶ added in v3.29.0
func (o GetModelsResultOutput) PageSize() pulumi.IntPtrOutput
func (GetModelsResultOutput) ToGetModelsResultOutput ¶ added in v3.29.0
func (o GetModelsResultOutput) ToGetModelsResultOutput() GetModelsResultOutput
func (GetModelsResultOutput) ToGetModelsResultOutputWithContext ¶ added in v3.29.0
func (o GetModelsResultOutput) ToGetModelsResultOutputWithContext(ctx context.Context) GetModelsResultOutput
func (GetModelsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetModelsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetModelsResult]
type GetPluginsArgs ¶ added in v3.29.0
type GetPluginsArgs struct { // A list of Plugin IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Plugin name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The name of the plug-in that you want to create. PluginName *string `pulumi:"pluginName"` // The type of the plug-in. PluginType *string `pulumi:"pluginType"` // The tag of the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getPlugins.
type GetPluginsOutputArgs ¶ added in v3.29.0
type GetPluginsOutputArgs struct { // A list of Plugin IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Plugin name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The name of the plug-in that you want to create. PluginName pulumi.StringPtrInput `pulumi:"pluginName"` // The type of the plug-in. PluginType pulumi.StringPtrInput `pulumi:"pluginType"` // The tag of the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getPlugins.
func (GetPluginsOutputArgs) ElementType ¶ added in v3.29.0
func (GetPluginsOutputArgs) ElementType() reflect.Type
type GetPluginsPlugin ¶ added in v3.29.0
type GetPluginsPlugin struct { // The CreateTime of the resource. CreateTime string `pulumi:"createTime"` // The description of the plug-in, which cannot exceed 200 characters. Description string `pulumi:"description"` // The ID of the Plugin. Id string `pulumi:"id"` // The ModifiedTime of the resource. ModifiedTime string `pulumi:"modifiedTime"` // The definition statement of the plug-in. Plug-in definition statements in the JSON and YAML formats are supported. PluginData string `pulumi:"pluginData"` // The first ID of the resource. PluginId string `pulumi:"pluginId"` // The name of the plug-in that you want to create. PluginName string `pulumi:"pluginName"` // The type of the plug-in. PluginType string `pulumi:"pluginType"` // The tag of the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetPluginsPluginArgs ¶ added in v3.29.0
type GetPluginsPluginArgs struct { // The CreateTime of the resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of the plug-in, which cannot exceed 200 characters. Description pulumi.StringInput `pulumi:"description"` // The ID of the Plugin. Id pulumi.StringInput `pulumi:"id"` // The ModifiedTime of the resource. ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"` // The definition statement of the plug-in. Plug-in definition statements in the JSON and YAML formats are supported. PluginData pulumi.StringInput `pulumi:"pluginData"` // The first ID of the resource. PluginId pulumi.StringInput `pulumi:"pluginId"` // The name of the plug-in that you want to create. PluginName pulumi.StringInput `pulumi:"pluginName"` // The type of the plug-in. PluginType pulumi.StringInput `pulumi:"pluginType"` // The tag of the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetPluginsPluginArgs) ElementType ¶ added in v3.29.0
func (GetPluginsPluginArgs) ElementType() reflect.Type
func (GetPluginsPluginArgs) ToGetPluginsPluginOutput ¶ added in v3.29.0
func (i GetPluginsPluginArgs) ToGetPluginsPluginOutput() GetPluginsPluginOutput
func (GetPluginsPluginArgs) ToGetPluginsPluginOutputWithContext ¶ added in v3.29.0
func (i GetPluginsPluginArgs) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput
func (GetPluginsPluginArgs) ToOutput ¶ added in v3.43.1
func (i GetPluginsPluginArgs) ToOutput(ctx context.Context) pulumix.Output[GetPluginsPlugin]
type GetPluginsPluginArray ¶ added in v3.29.0
type GetPluginsPluginArray []GetPluginsPluginInput
func (GetPluginsPluginArray) ElementType ¶ added in v3.29.0
func (GetPluginsPluginArray) ElementType() reflect.Type
func (GetPluginsPluginArray) ToGetPluginsPluginArrayOutput ¶ added in v3.29.0
func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
func (GetPluginsPluginArray) ToGetPluginsPluginArrayOutputWithContext ¶ added in v3.29.0
func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput
func (GetPluginsPluginArray) ToOutput ¶ added in v3.43.1
func (i GetPluginsPluginArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPluginsPlugin]
type GetPluginsPluginArrayInput ¶ added in v3.29.0
type GetPluginsPluginArrayInput interface { pulumi.Input ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput ToGetPluginsPluginArrayOutputWithContext(context.Context) GetPluginsPluginArrayOutput }
GetPluginsPluginArrayInput is an input type that accepts GetPluginsPluginArray and GetPluginsPluginArrayOutput values. You can construct a concrete instance of `GetPluginsPluginArrayInput` via:
GetPluginsPluginArray{ GetPluginsPluginArgs{...} }
type GetPluginsPluginArrayOutput ¶ added in v3.29.0
type GetPluginsPluginArrayOutput struct{ *pulumi.OutputState }
func (GetPluginsPluginArrayOutput) ElementType ¶ added in v3.29.0
func (GetPluginsPluginArrayOutput) ElementType() reflect.Type
func (GetPluginsPluginArrayOutput) Index ¶ added in v3.29.0
func (o GetPluginsPluginArrayOutput) Index(i pulumi.IntInput) GetPluginsPluginOutput
func (GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput ¶ added in v3.29.0
func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
func (GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext ¶ added in v3.29.0
func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput
func (GetPluginsPluginArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetPluginsPluginArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPluginsPlugin]
type GetPluginsPluginInput ¶ added in v3.29.0
type GetPluginsPluginInput interface { pulumi.Input ToGetPluginsPluginOutput() GetPluginsPluginOutput ToGetPluginsPluginOutputWithContext(context.Context) GetPluginsPluginOutput }
GetPluginsPluginInput is an input type that accepts GetPluginsPluginArgs and GetPluginsPluginOutput values. You can construct a concrete instance of `GetPluginsPluginInput` via:
GetPluginsPluginArgs{...}
type GetPluginsPluginOutput ¶ added in v3.29.0
type GetPluginsPluginOutput struct{ *pulumi.OutputState }
func (GetPluginsPluginOutput) CreateTime ¶ added in v3.29.0
func (o GetPluginsPluginOutput) CreateTime() pulumi.StringOutput
The CreateTime of the resource.
func (GetPluginsPluginOutput) Description ¶ added in v3.29.0
func (o GetPluginsPluginOutput) Description() pulumi.StringOutput
The description of the plug-in, which cannot exceed 200 characters.
func (GetPluginsPluginOutput) ElementType ¶ added in v3.29.0
func (GetPluginsPluginOutput) ElementType() reflect.Type
func (GetPluginsPluginOutput) Id ¶ added in v3.29.0
func (o GetPluginsPluginOutput) Id() pulumi.StringOutput
The ID of the Plugin.
func (GetPluginsPluginOutput) ModifiedTime ¶ added in v3.29.0
func (o GetPluginsPluginOutput) ModifiedTime() pulumi.StringOutput
The ModifiedTime of the resource.
func (GetPluginsPluginOutput) PluginData ¶ added in v3.29.0
func (o GetPluginsPluginOutput) PluginData() pulumi.StringOutput
The definition statement of the plug-in. Plug-in definition statements in the JSON and YAML formats are supported.
func (GetPluginsPluginOutput) PluginId ¶ added in v3.29.0
func (o GetPluginsPluginOutput) PluginId() pulumi.StringOutput
The first ID of the resource.
func (GetPluginsPluginOutput) PluginName ¶ added in v3.29.0
func (o GetPluginsPluginOutput) PluginName() pulumi.StringOutput
The name of the plug-in that you want to create.
func (GetPluginsPluginOutput) PluginType ¶ added in v3.29.0
func (o GetPluginsPluginOutput) PluginType() pulumi.StringOutput
The type of the plug-in.
func (GetPluginsPluginOutput) Tags ¶ added in v3.29.0
func (o GetPluginsPluginOutput) Tags() pulumi.MapOutput
The tag of the resource.
func (GetPluginsPluginOutput) ToGetPluginsPluginOutput ¶ added in v3.29.0
func (o GetPluginsPluginOutput) ToGetPluginsPluginOutput() GetPluginsPluginOutput
func (GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext ¶ added in v3.29.0
func (o GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput
func (GetPluginsPluginOutput) ToOutput ¶ added in v3.43.1
func (o GetPluginsPluginOutput) ToOutput(ctx context.Context) pulumix.Output[GetPluginsPlugin]
type GetPluginsResult ¶ added in v3.29.0
type GetPluginsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` PluginName *string `pulumi:"pluginName"` PluginType *string `pulumi:"pluginType"` Plugins []GetPluginsPlugin `pulumi:"plugins"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getPlugins.
func GetPlugins ¶ added in v3.29.0
func GetPlugins(ctx *pulumi.Context, args *GetPluginsArgs, opts ...pulumi.InvokeOption) (*GetPluginsResult, error)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.
> **NOTE:** Available in v1.187.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := apigateway.GetPlugins(ctx, nil, nil) if err != nil { return err } ctx.Export("apiGatewayPluginId1", ids.Plugins[0].Id) nameRegex, err := apigateway.GetPlugins(ctx, &apigateway.GetPluginsArgs{ NameRegex: pulumi.StringRef("^my-Plugin"), }, nil) if err != nil { return err } ctx.Export("apiGatewayPluginId2", nameRegex.Plugins[0].Id) return nil }) }
```
type GetPluginsResultOutput ¶ added in v3.29.0
type GetPluginsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPlugins.
func GetPluginsOutput ¶ added in v3.29.0
func GetPluginsOutput(ctx *pulumi.Context, args GetPluginsOutputArgs, opts ...pulumi.InvokeOption) GetPluginsResultOutput
func (GetPluginsResultOutput) ElementType ¶ added in v3.29.0
func (GetPluginsResultOutput) ElementType() reflect.Type
func (GetPluginsResultOutput) Id ¶ added in v3.29.0
func (o GetPluginsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPluginsResultOutput) Ids ¶ added in v3.29.0
func (o GetPluginsResultOutput) Ids() pulumi.StringArrayOutput
func (GetPluginsResultOutput) NameRegex ¶ added in v3.29.0
func (o GetPluginsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetPluginsResultOutput) Names ¶ added in v3.29.0
func (o GetPluginsResultOutput) Names() pulumi.StringArrayOutput
func (GetPluginsResultOutput) OutputFile ¶ added in v3.29.0
func (o GetPluginsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetPluginsResultOutput) PageNumber ¶ added in v3.29.0
func (o GetPluginsResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetPluginsResultOutput) PageSize ¶ added in v3.29.0
func (o GetPluginsResultOutput) PageSize() pulumi.IntPtrOutput
func (GetPluginsResultOutput) PluginName ¶ added in v3.29.0
func (o GetPluginsResultOutput) PluginName() pulumi.StringPtrOutput
func (GetPluginsResultOutput) PluginType ¶ added in v3.29.0
func (o GetPluginsResultOutput) PluginType() pulumi.StringPtrOutput
func (GetPluginsResultOutput) Plugins ¶ added in v3.29.0
func (o GetPluginsResultOutput) Plugins() GetPluginsPluginArrayOutput
func (GetPluginsResultOutput) Tags ¶ added in v3.29.0
func (o GetPluginsResultOutput) Tags() pulumi.MapOutput
func (GetPluginsResultOutput) ToGetPluginsResultOutput ¶ added in v3.29.0
func (o GetPluginsResultOutput) ToGetPluginsResultOutput() GetPluginsResultOutput
func (GetPluginsResultOutput) ToGetPluginsResultOutputWithContext ¶ added in v3.29.0
func (o GetPluginsResultOutput) ToGetPluginsResultOutputWithContext(ctx context.Context) GetPluginsResultOutput
func (GetPluginsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetPluginsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPluginsResult]
type GetServiceArgs ¶
type GetServiceArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off". // // > **NOTE:** Setting `enable = "On"` to open the API gateway service that means you have read and agreed the [API Gateway Terms of Service](https://help.aliyun.com/document_detail/35391.html). The service can not closed once it is opened. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶ added in v3.9.0
type GetServiceOutputArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off". // // > **NOTE:** Setting `enable = "On"` to open the API gateway service that means you have read and agreed the [API Gateway Terms of Service](https://help.aliyun.com/document_detail/35391.html). The service can not closed once it is opened. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶ added in v3.9.0
func (GetServiceOutputArgs) ElementType() reflect.Type
type GetServiceResult ¶
type GetServiceResult struct { Enable *string `pulumi:"enable"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current service enable status. Status string `pulumi:"status"` }
A collection of values returned by getService.
func GetService ¶
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Using this data source can enable API gateway service automatically. If the service has been enabled, it will return `Opened`.
For information about API Gateway and how to use it, see [What is API Gateway](https://www.alibabacloud.com/help/product/29462.htm).
> **NOTE:** Available in v1.96.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := apigateway.GetService(ctx, &apigateway.GetServiceArgs{ Enable: pulumi.StringRef("On"), }, nil) if err != nil { return err } return nil }) }
```
type GetServiceResultOutput ¶ added in v3.9.0
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶ added in v3.9.0
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶ added in v3.9.0
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶ added in v3.9.0
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶ added in v3.9.0
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶ added in v3.9.0
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
func (GetServiceResultOutput) ToOutput ¶ added in v3.43.1
func (o GetServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceResult]
type Group ¶
type Group struct { pulumi.CustomResourceState // The description of the api gateway group. Defaults to null. Description pulumi.StringOutput `pulumi:"description"` // The id of the api gateway. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The name of the api gateway group. Defaults to null. Name pulumi.StringOutput `pulumi:"name"` // (Available in 1.69.0+) Second-level domain name automatically assigned to the API group. SubDomain pulumi.StringOutput `pulumi:"subDomain"` // (Available in 1.69.0+) Second-level VPC domain name automatically assigned to the API group. VpcDomain pulumi.StringOutput `pulumi:"vpcDomain"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := apigateway.NewGroup(ctx, "default", &apigateway.GroupArgs{ Description: pulumi.String("tf_example"), }) if err != nil { return err } return nil }) }
```
## Import
Api gateway group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:apigateway/group:Group example "ab2351f2ce904edaa8d92a0510832b91"
```
func GetGroup ¶
func GetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)
GetGroup gets an existing Group 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 NewGroup ¶
func NewGroup(ctx *pulumi.Context, name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)
NewGroup registers a new resource with the given unique name, arguments, and options.
func (*Group) ElementType ¶
func (*Group) ToGroupOutput ¶
func (i *Group) ToGroupOutput() GroupOutput
func (*Group) ToGroupOutputWithContext ¶
func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupArgs ¶
type GroupArgs struct { // The description of the api gateway group. Defaults to null. Description pulumi.StringInput // The id of the api gateway. InstanceId pulumi.StringPtrInput // The name of the api gateway group. Defaults to null. Name pulumi.StringPtrInput }
The set of arguments for constructing a Group resource.
func (GroupArgs) ElementType ¶
type GroupArray ¶
type GroupArray []GroupInput
func (GroupArray) ElementType ¶
func (GroupArray) ElementType() reflect.Type
func (GroupArray) ToGroupArrayOutput ¶
func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput
func (GroupArray) ToGroupArrayOutputWithContext ¶
func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupArrayInput ¶
type GroupArrayInput interface { pulumi.Input ToGroupArrayOutput() GroupArrayOutput ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput }
GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:
GroupArray{ GroupArgs{...} }
type GroupArrayOutput ¶
type GroupArrayOutput struct{ *pulumi.OutputState }
func (GroupArrayOutput) ElementType ¶
func (GroupArrayOutput) ElementType() reflect.Type
func (GroupArrayOutput) Index ¶
func (o GroupArrayOutput) Index(i pulumi.IntInput) GroupOutput
func (GroupArrayOutput) ToGroupArrayOutput ¶
func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput
func (GroupArrayOutput) ToGroupArrayOutputWithContext ¶
func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupInput ¶
type GroupInput interface { pulumi.Input ToGroupOutput() GroupOutput ToGroupOutputWithContext(ctx context.Context) GroupOutput }
type GroupMap ¶
type GroupMap map[string]GroupInput
func (GroupMap) ElementType ¶
func (GroupMap) ToGroupMapOutput ¶
func (i GroupMap) ToGroupMapOutput() GroupMapOutput
func (GroupMap) ToGroupMapOutputWithContext ¶
func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupMapInput ¶
type GroupMapInput interface { pulumi.Input ToGroupMapOutput() GroupMapOutput ToGroupMapOutputWithContext(context.Context) GroupMapOutput }
GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:
GroupMap{ "key": GroupArgs{...} }
type GroupMapOutput ¶
type GroupMapOutput struct{ *pulumi.OutputState }
func (GroupMapOutput) ElementType ¶
func (GroupMapOutput) ElementType() reflect.Type
func (GroupMapOutput) MapIndex ¶
func (o GroupMapOutput) MapIndex(k pulumi.StringInput) GroupOutput
func (GroupMapOutput) ToGroupMapOutput ¶
func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput
func (GroupMapOutput) ToGroupMapOutputWithContext ¶
func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupOutput ¶
type GroupOutput struct{ *pulumi.OutputState }
func (GroupOutput) Description ¶ added in v3.27.0
func (o GroupOutput) Description() pulumi.StringOutput
The description of the api gateway group. Defaults to null.
func (GroupOutput) ElementType ¶
func (GroupOutput) ElementType() reflect.Type
func (GroupOutput) InstanceId ¶ added in v3.27.0
func (o GroupOutput) InstanceId() pulumi.StringOutput
The id of the api gateway.
func (GroupOutput) Name ¶ added in v3.27.0
func (o GroupOutput) Name() pulumi.StringOutput
The name of the api gateway group. Defaults to null.
func (GroupOutput) SubDomain ¶ added in v3.27.0
func (o GroupOutput) SubDomain() pulumi.StringOutput
(Available in 1.69.0+) Second-level domain name automatically assigned to the API group.
func (GroupOutput) ToGroupOutput ¶
func (o GroupOutput) ToGroupOutput() GroupOutput
func (GroupOutput) ToGroupOutputWithContext ¶
func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
func (GroupOutput) VpcDomain ¶ added in v3.27.0
func (o GroupOutput) VpcDomain() pulumi.StringOutput
(Available in 1.69.0+) Second-level VPC domain name automatically assigned to the API group.
type GroupState ¶
type GroupState struct { // The description of the api gateway group. Defaults to null. Description pulumi.StringPtrInput // The id of the api gateway. InstanceId pulumi.StringPtrInput // The name of the api gateway group. Defaults to null. Name pulumi.StringPtrInput // (Available in 1.69.0+) Second-level domain name automatically assigned to the API group. SubDomain pulumi.StringPtrInput // (Available in 1.69.0+) Second-level VPC domain name automatically assigned to the API group. VpcDomain pulumi.StringPtrInput }
func (GroupState) ElementType ¶
func (GroupState) ElementType() reflect.Type
type LogConfig ¶ added in v3.29.0
type LogConfig struct { pulumi.CustomResourceState // The type the of log. Valid values: `PROVIDER`. LogType pulumi.StringOutput `pulumi:"logType"` // The name of the Log Store. SlsLogStore pulumi.StringOutput `pulumi:"slsLogStore"` // The name of the Project. SlsProject pulumi.StringOutput `pulumi:"slsProject"` }
Provides a Api Gateway Log Config resource.
For information about Api Gateway Log Config and how to use it, see [What is Log Config](https://www.alibabacloud.com/help/en/api-gateway/latest/api-cloudapi-2016-07-14-createlogconfig).
> **NOTE:** Available since v1.185.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultLogConfigs, err := apigateway.GetLogConfigs(ctx, &apigateway.GetLogConfigsArgs{ LogType: pulumi.StringRef("PROVIDER"), }, nil) if err != nil { return err } var tmp0 float64 if len(defaultLogConfigs.Configs) > 0 { tmp0 = 0 } else { tmp0 = 1 } count := tmp0 var defaultRandomInteger []*random.RandomInteger for index := 0; index < count; index++ { key0 := index _ := index __res, err := random.NewRandomInteger(ctx, fmt.Sprintf("defaultRandomInteger-%v", key0), &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultRandomInteger = append(defaultRandomInteger, __res) } var exampleProject []*log.Project for index := 0; index < count; index++ { key0 := index _ := index __res, err := log.NewProject(ctx, fmt.Sprintf("exampleProject-%v", key0), &log.ProjectArgs{ Description: pulumi.String("terraform-example"), }) if err != nil { return err } exampleProject = append(exampleProject, __res) } var exampleStore []*log.Store for index := 0; index < count; index++ { key0 := index _ := index __res, err := log.NewStore(ctx, fmt.Sprintf("exampleStore-%v", key0), &log.StoreArgs{ Project: exampleProject[0].Name, ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } exampleStore = append(exampleStore, __res) } var exampleLogConfig []*apigateway.LogConfig for index := 0; index < count; index++ { key0 := index _ := index __res, err := apigateway.NewLogConfig(ctx, fmt.Sprintf("exampleLogConfig-%v", key0), &apigateway.LogConfigArgs{ SlsProject: exampleProject[0].Name, SlsLogStore: exampleStore[0].Name, LogType: pulumi.String("PROVIDER"), }) if err != nil { return err } exampleLogConfig = append(exampleLogConfig, __res) } return nil }) }
```
## Import
Api Gateway Log Config can be imported using the id, e.g.
```sh
$ pulumi import alicloud:apigateway/logConfig:LogConfig example <log_type>
```
func GetLogConfig ¶ added in v3.29.0
func GetLogConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogConfigState, opts ...pulumi.ResourceOption) (*LogConfig, error)
GetLogConfig gets an existing LogConfig 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 NewLogConfig ¶ added in v3.29.0
func NewLogConfig(ctx *pulumi.Context, name string, args *LogConfigArgs, opts ...pulumi.ResourceOption) (*LogConfig, error)
NewLogConfig registers a new resource with the given unique name, arguments, and options.
func (*LogConfig) ElementType ¶ added in v3.29.0
func (*LogConfig) ToLogConfigOutput ¶ added in v3.29.0
func (i *LogConfig) ToLogConfigOutput() LogConfigOutput
func (*LogConfig) ToLogConfigOutputWithContext ¶ added in v3.29.0
func (i *LogConfig) ToLogConfigOutputWithContext(ctx context.Context) LogConfigOutput
type LogConfigArgs ¶ added in v3.29.0
type LogConfigArgs struct { // The type the of log. Valid values: `PROVIDER`. LogType pulumi.StringInput // The name of the Log Store. SlsLogStore pulumi.StringInput // The name of the Project. SlsProject pulumi.StringInput }
The set of arguments for constructing a LogConfig resource.
func (LogConfigArgs) ElementType ¶ added in v3.29.0
func (LogConfigArgs) ElementType() reflect.Type
type LogConfigArray ¶ added in v3.29.0
type LogConfigArray []LogConfigInput
func (LogConfigArray) ElementType ¶ added in v3.29.0
func (LogConfigArray) ElementType() reflect.Type
func (LogConfigArray) ToLogConfigArrayOutput ¶ added in v3.29.0
func (i LogConfigArray) ToLogConfigArrayOutput() LogConfigArrayOutput
func (LogConfigArray) ToLogConfigArrayOutputWithContext ¶ added in v3.29.0
func (i LogConfigArray) ToLogConfigArrayOutputWithContext(ctx context.Context) LogConfigArrayOutput
type LogConfigArrayInput ¶ added in v3.29.0
type LogConfigArrayInput interface { pulumi.Input ToLogConfigArrayOutput() LogConfigArrayOutput ToLogConfigArrayOutputWithContext(context.Context) LogConfigArrayOutput }
LogConfigArrayInput is an input type that accepts LogConfigArray and LogConfigArrayOutput values. You can construct a concrete instance of `LogConfigArrayInput` via:
LogConfigArray{ LogConfigArgs{...} }
type LogConfigArrayOutput ¶ added in v3.29.0
type LogConfigArrayOutput struct{ *pulumi.OutputState }
func (LogConfigArrayOutput) ElementType ¶ added in v3.29.0
func (LogConfigArrayOutput) ElementType() reflect.Type
func (LogConfigArrayOutput) Index ¶ added in v3.29.0
func (o LogConfigArrayOutput) Index(i pulumi.IntInput) LogConfigOutput
func (LogConfigArrayOutput) ToLogConfigArrayOutput ¶ added in v3.29.0
func (o LogConfigArrayOutput) ToLogConfigArrayOutput() LogConfigArrayOutput
func (LogConfigArrayOutput) ToLogConfigArrayOutputWithContext ¶ added in v3.29.0
func (o LogConfigArrayOutput) ToLogConfigArrayOutputWithContext(ctx context.Context) LogConfigArrayOutput
type LogConfigInput ¶ added in v3.29.0
type LogConfigInput interface { pulumi.Input ToLogConfigOutput() LogConfigOutput ToLogConfigOutputWithContext(ctx context.Context) LogConfigOutput }
type LogConfigMap ¶ added in v3.29.0
type LogConfigMap map[string]LogConfigInput
func (LogConfigMap) ElementType ¶ added in v3.29.0
func (LogConfigMap) ElementType() reflect.Type
func (LogConfigMap) ToLogConfigMapOutput ¶ added in v3.29.0
func (i LogConfigMap) ToLogConfigMapOutput() LogConfigMapOutput
func (LogConfigMap) ToLogConfigMapOutputWithContext ¶ added in v3.29.0
func (i LogConfigMap) ToLogConfigMapOutputWithContext(ctx context.Context) LogConfigMapOutput
type LogConfigMapInput ¶ added in v3.29.0
type LogConfigMapInput interface { pulumi.Input ToLogConfigMapOutput() LogConfigMapOutput ToLogConfigMapOutputWithContext(context.Context) LogConfigMapOutput }
LogConfigMapInput is an input type that accepts LogConfigMap and LogConfigMapOutput values. You can construct a concrete instance of `LogConfigMapInput` via:
LogConfigMap{ "key": LogConfigArgs{...} }
type LogConfigMapOutput ¶ added in v3.29.0
type LogConfigMapOutput struct{ *pulumi.OutputState }
func (LogConfigMapOutput) ElementType ¶ added in v3.29.0
func (LogConfigMapOutput) ElementType() reflect.Type
func (LogConfigMapOutput) MapIndex ¶ added in v3.29.0
func (o LogConfigMapOutput) MapIndex(k pulumi.StringInput) LogConfigOutput
func (LogConfigMapOutput) ToLogConfigMapOutput ¶ added in v3.29.0
func (o LogConfigMapOutput) ToLogConfigMapOutput() LogConfigMapOutput
func (LogConfigMapOutput) ToLogConfigMapOutputWithContext ¶ added in v3.29.0
func (o LogConfigMapOutput) ToLogConfigMapOutputWithContext(ctx context.Context) LogConfigMapOutput
type LogConfigOutput ¶ added in v3.29.0
type LogConfigOutput struct{ *pulumi.OutputState }
func (LogConfigOutput) ElementType ¶ added in v3.29.0
func (LogConfigOutput) ElementType() reflect.Type
func (LogConfigOutput) LogType ¶ added in v3.29.0
func (o LogConfigOutput) LogType() pulumi.StringOutput
The type the of log. Valid values: `PROVIDER`.
func (LogConfigOutput) SlsLogStore ¶ added in v3.29.0
func (o LogConfigOutput) SlsLogStore() pulumi.StringOutput
The name of the Log Store.
func (LogConfigOutput) SlsProject ¶ added in v3.29.0
func (o LogConfigOutput) SlsProject() pulumi.StringOutput
The name of the Project.
func (LogConfigOutput) ToLogConfigOutput ¶ added in v3.29.0
func (o LogConfigOutput) ToLogConfigOutput() LogConfigOutput
func (LogConfigOutput) ToLogConfigOutputWithContext ¶ added in v3.29.0
func (o LogConfigOutput) ToLogConfigOutputWithContext(ctx context.Context) LogConfigOutput
type LogConfigState ¶ added in v3.29.0
type LogConfigState struct { // The type the of log. Valid values: `PROVIDER`. LogType pulumi.StringPtrInput // The name of the Log Store. SlsLogStore pulumi.StringPtrInput // The name of the Project. SlsProject pulumi.StringPtrInput }
func (LogConfigState) ElementType ¶ added in v3.29.0
func (LogConfigState) ElementType() reflect.Type
type Model ¶ added in v3.29.0
type Model struct { pulumi.CustomResourceState // The description of the model. Description pulumi.StringPtrOutput `pulumi:"description"` // The group of the model belongs to. GroupId pulumi.StringOutput `pulumi:"groupId"` // The name of the model. ModelName pulumi.StringOutput `pulumi:"modelName"` // The schema of the model. Schema pulumi.StringOutput `pulumi:"schema"` }
Provides a Api Gateway Model resource.
For information about Api Gateway Model and how to use it, see [What is Model](https://www.alibabacloud.com/help/en/api-gateway/latest/api-cloudapi-2016-07-14-createmodel).
> **NOTE:** Available since v1.187.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultGroup, err := apigateway.NewGroup(ctx, "defaultGroup", &apigateway.GroupArgs{ Description: pulumi.String("example_value"), }) if err != nil { return err } _, err = apigateway.NewModel(ctx, "defaultModel", &apigateway.ModelArgs{ GroupId: defaultGroup.ID(), ModelName: pulumi.String("example_value"), Schema: pulumi.String("{\"type\":\"object\",\"properties\":{\"id\":{\"format\":\"int64\",\"maximum\":100,\"exclusiveMaximum\":true,\"type\":\"integer\"},\"name\":{\"maxLength\":10,\"type\":\"string\"}}}"), Description: pulumi.String("example_value"), }) if err != nil { return err } return nil }) }
```
## Import
Api Gateway Model can be imported using the id, e.g.
```sh
$ pulumi import alicloud:apigateway/model:Model example <group_id>:<model_name>
```
func GetModel ¶ added in v3.29.0
func GetModel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ModelState, opts ...pulumi.ResourceOption) (*Model, error)
GetModel gets an existing Model 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 NewModel ¶ added in v3.29.0
func NewModel(ctx *pulumi.Context, name string, args *ModelArgs, opts ...pulumi.ResourceOption) (*Model, error)
NewModel registers a new resource with the given unique name, arguments, and options.
func (*Model) ElementType ¶ added in v3.29.0
func (*Model) ToModelOutput ¶ added in v3.29.0
func (i *Model) ToModelOutput() ModelOutput
func (*Model) ToModelOutputWithContext ¶ added in v3.29.0
func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput
type ModelArgs ¶ added in v3.29.0
type ModelArgs struct { // The description of the model. Description pulumi.StringPtrInput // The group of the model belongs to. GroupId pulumi.StringInput // The name of the model. ModelName pulumi.StringInput // The schema of the model. Schema pulumi.StringInput }
The set of arguments for constructing a Model resource.
func (ModelArgs) ElementType ¶ added in v3.29.0
type ModelArray ¶ added in v3.29.0
type ModelArray []ModelInput
func (ModelArray) ElementType ¶ added in v3.29.0
func (ModelArray) ElementType() reflect.Type
func (ModelArray) ToModelArrayOutput ¶ added in v3.29.0
func (i ModelArray) ToModelArrayOutput() ModelArrayOutput
func (ModelArray) ToModelArrayOutputWithContext ¶ added in v3.29.0
func (i ModelArray) ToModelArrayOutputWithContext(ctx context.Context) ModelArrayOutput
type ModelArrayInput ¶ added in v3.29.0
type ModelArrayInput interface { pulumi.Input ToModelArrayOutput() ModelArrayOutput ToModelArrayOutputWithContext(context.Context) ModelArrayOutput }
ModelArrayInput is an input type that accepts ModelArray and ModelArrayOutput values. You can construct a concrete instance of `ModelArrayInput` via:
ModelArray{ ModelArgs{...} }
type ModelArrayOutput ¶ added in v3.29.0
type ModelArrayOutput struct{ *pulumi.OutputState }
func (ModelArrayOutput) ElementType ¶ added in v3.29.0
func (ModelArrayOutput) ElementType() reflect.Type
func (ModelArrayOutput) Index ¶ added in v3.29.0
func (o ModelArrayOutput) Index(i pulumi.IntInput) ModelOutput
func (ModelArrayOutput) ToModelArrayOutput ¶ added in v3.29.0
func (o ModelArrayOutput) ToModelArrayOutput() ModelArrayOutput
func (ModelArrayOutput) ToModelArrayOutputWithContext ¶ added in v3.29.0
func (o ModelArrayOutput) ToModelArrayOutputWithContext(ctx context.Context) ModelArrayOutput
type ModelInput ¶ added in v3.29.0
type ModelInput interface { pulumi.Input ToModelOutput() ModelOutput ToModelOutputWithContext(ctx context.Context) ModelOutput }
type ModelMap ¶ added in v3.29.0
type ModelMap map[string]ModelInput
func (ModelMap) ElementType ¶ added in v3.29.0
func (ModelMap) ToModelMapOutput ¶ added in v3.29.0
func (i ModelMap) ToModelMapOutput() ModelMapOutput
func (ModelMap) ToModelMapOutputWithContext ¶ added in v3.29.0
func (i ModelMap) ToModelMapOutputWithContext(ctx context.Context) ModelMapOutput
type ModelMapInput ¶ added in v3.29.0
type ModelMapInput interface { pulumi.Input ToModelMapOutput() ModelMapOutput ToModelMapOutputWithContext(context.Context) ModelMapOutput }
ModelMapInput is an input type that accepts ModelMap and ModelMapOutput values. You can construct a concrete instance of `ModelMapInput` via:
ModelMap{ "key": ModelArgs{...} }
type ModelMapOutput ¶ added in v3.29.0
type ModelMapOutput struct{ *pulumi.OutputState }
func (ModelMapOutput) ElementType ¶ added in v3.29.0
func (ModelMapOutput) ElementType() reflect.Type
func (ModelMapOutput) MapIndex ¶ added in v3.29.0
func (o ModelMapOutput) MapIndex(k pulumi.StringInput) ModelOutput
func (ModelMapOutput) ToModelMapOutput ¶ added in v3.29.0
func (o ModelMapOutput) ToModelMapOutput() ModelMapOutput
func (ModelMapOutput) ToModelMapOutputWithContext ¶ added in v3.29.0
func (o ModelMapOutput) ToModelMapOutputWithContext(ctx context.Context) ModelMapOutput
type ModelOutput ¶ added in v3.29.0
type ModelOutput struct{ *pulumi.OutputState }
func (ModelOutput) Description ¶ added in v3.29.0
func (o ModelOutput) Description() pulumi.StringPtrOutput
The description of the model.
func (ModelOutput) ElementType ¶ added in v3.29.0
func (ModelOutput) ElementType() reflect.Type
func (ModelOutput) GroupId ¶ added in v3.29.0
func (o ModelOutput) GroupId() pulumi.StringOutput
The group of the model belongs to.
func (ModelOutput) ModelName ¶ added in v3.29.0
func (o ModelOutput) ModelName() pulumi.StringOutput
The name of the model.
func (ModelOutput) Schema ¶ added in v3.29.0
func (o ModelOutput) Schema() pulumi.StringOutput
The schema of the model.
func (ModelOutput) ToModelOutput ¶ added in v3.29.0
func (o ModelOutput) ToModelOutput() ModelOutput
func (ModelOutput) ToModelOutputWithContext ¶ added in v3.29.0
func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput
type ModelState ¶ added in v3.29.0
type ModelState struct { // The description of the model. Description pulumi.StringPtrInput // The group of the model belongs to. GroupId pulumi.StringPtrInput // The name of the model. ModelName pulumi.StringPtrInput // The schema of the model. Schema pulumi.StringPtrInput }
func (ModelState) ElementType ¶ added in v3.29.0
func (ModelState) ElementType() reflect.Type
type Plugin ¶ added in v3.29.0
type Plugin struct { pulumi.CustomResourceState // The description of the plug-in, which cannot exceed 200 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // The definition statement of the plug-in. Plug-in definition statements in the JSON and YAML formats are supported. PluginData pulumi.StringOutput `pulumi:"pluginData"` // The name of the plug-in that you want to create. It can contain uppercase English letters, lowercase English letters, Chinese characters, numbers, and underscores (_). It must be 4 to 50 characters in length and cannot start with an underscore (_). PluginName pulumi.StringOutput `pulumi:"pluginName"` // The type of the plug-in. Valid values: `backendSignature`, `caching`, `cors`, `ipControl`, `jwtAuth`, `trafficControl`. // - ipControl: indicates IP address-based access control. // - trafficControl: indicates throttling. // - backendSignature: indicates backend signature. // - jwtAuth: indicates JWT (OpenId Connect). // - cors: indicates cross-origin resource access (CORS). // - caching: indicates caching. PluginType pulumi.StringOutput `pulumi:"pluginType"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a Api Gateway Plugin resource.
For information about Api Gateway Plugin and how to use it, see [What is Plugin](https://www.alibabacloud.com/help/en/api-gateway/latest/create-an-plugin).
> **NOTE:** Available since v1.187.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := apigateway.NewPlugin(ctx, "default", &apigateway.PluginArgs{ Description: pulumi.String("tf_example"), PluginData: pulumi.String("{\"allowOrigins\": \"api.foo.com\",\"allowMethods\": \"GET,POST,PUT,DELETE,HEAD,OPTIONS,PATCH\",\"allowHeaders\": \"Authorization,Accept,Accept-Ranges,Cache-Control,Range,Date,Content-Type,Content-Length,Content-MD5,User-Agent,X-Ca-Signature,X-Ca-Signature-Headers,X-Ca-Signature-Method,X-Ca-Key,X-Ca-Timestamp,X-Ca-Nonce,X-Ca-Stage,X-Ca-Request-Mode,x-ca-deviceid\",\"exposeHeaders\": \"Content-MD5,Server,Date,Latency,X-Ca-Request-Id,X-Ca-Error-Code,X-Ca-Error-Message\",\"maxAge\": 172800,\"allowCredentials\": true}"), PluginName: pulumi.String("tf_example"), PluginType: pulumi.String("cors"), Tags: pulumi.AnyMap{ "Created": pulumi.Any("TF"), "For": pulumi.Any("example"), }, }) if err != nil { return err } return nil }) }
```
## Import
Api Gateway Plugin can be imported using the id, e.g.
```sh
$ pulumi import alicloud:apigateway/plugin:Plugin example <id>
```
func GetPlugin ¶ added in v3.29.0
func GetPlugin(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PluginState, opts ...pulumi.ResourceOption) (*Plugin, error)
GetPlugin gets an existing Plugin 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 NewPlugin ¶ added in v3.29.0
func NewPlugin(ctx *pulumi.Context, name string, args *PluginArgs, opts ...pulumi.ResourceOption) (*Plugin, error)
NewPlugin registers a new resource with the given unique name, arguments, and options.
func (*Plugin) ElementType ¶ added in v3.29.0
func (*Plugin) ToPluginOutput ¶ added in v3.29.0
func (i *Plugin) ToPluginOutput() PluginOutput
func (*Plugin) ToPluginOutputWithContext ¶ added in v3.29.0
func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput
type PluginArgs ¶ added in v3.29.0
type PluginArgs struct { // The description of the plug-in, which cannot exceed 200 characters. Description pulumi.StringPtrInput // The definition statement of the plug-in. Plug-in definition statements in the JSON and YAML formats are supported. PluginData pulumi.StringInput // The name of the plug-in that you want to create. It can contain uppercase English letters, lowercase English letters, Chinese characters, numbers, and underscores (_). It must be 4 to 50 characters in length and cannot start with an underscore (_). PluginName pulumi.StringInput // The type of the plug-in. Valid values: `backendSignature`, `caching`, `cors`, `ipControl`, `jwtAuth`, `trafficControl`. // - ipControl: indicates IP address-based access control. // - trafficControl: indicates throttling. // - backendSignature: indicates backend signature. // - jwtAuth: indicates JWT (OpenId Connect). // - cors: indicates cross-origin resource access (CORS). // - caching: indicates caching. PluginType pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a Plugin resource.
func (PluginArgs) ElementType ¶ added in v3.29.0
func (PluginArgs) ElementType() reflect.Type
type PluginArray ¶ added in v3.29.0
type PluginArray []PluginInput
func (PluginArray) ElementType ¶ added in v3.29.0
func (PluginArray) ElementType() reflect.Type
func (PluginArray) ToPluginArrayOutput ¶ added in v3.29.0
func (i PluginArray) ToPluginArrayOutput() PluginArrayOutput
func (PluginArray) ToPluginArrayOutputWithContext ¶ added in v3.29.0
func (i PluginArray) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
type PluginArrayInput ¶ added in v3.29.0
type PluginArrayInput interface { pulumi.Input ToPluginArrayOutput() PluginArrayOutput ToPluginArrayOutputWithContext(context.Context) PluginArrayOutput }
PluginArrayInput is an input type that accepts PluginArray and PluginArrayOutput values. You can construct a concrete instance of `PluginArrayInput` via:
PluginArray{ PluginArgs{...} }
type PluginArrayOutput ¶ added in v3.29.0
type PluginArrayOutput struct{ *pulumi.OutputState }
func (PluginArrayOutput) ElementType ¶ added in v3.29.0
func (PluginArrayOutput) ElementType() reflect.Type
func (PluginArrayOutput) Index ¶ added in v3.29.0
func (o PluginArrayOutput) Index(i pulumi.IntInput) PluginOutput
func (PluginArrayOutput) ToPluginArrayOutput ¶ added in v3.29.0
func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput
func (PluginArrayOutput) ToPluginArrayOutputWithContext ¶ added in v3.29.0
func (o PluginArrayOutput) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
type PluginInput ¶ added in v3.29.0
type PluginInput interface { pulumi.Input ToPluginOutput() PluginOutput ToPluginOutputWithContext(ctx context.Context) PluginOutput }
type PluginMap ¶ added in v3.29.0
type PluginMap map[string]PluginInput
func (PluginMap) ElementType ¶ added in v3.29.0
func (PluginMap) ToPluginMapOutput ¶ added in v3.29.0
func (i PluginMap) ToPluginMapOutput() PluginMapOutput
func (PluginMap) ToPluginMapOutputWithContext ¶ added in v3.29.0
func (i PluginMap) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginMapInput ¶ added in v3.29.0
type PluginMapInput interface { pulumi.Input ToPluginMapOutput() PluginMapOutput ToPluginMapOutputWithContext(context.Context) PluginMapOutput }
PluginMapInput is an input type that accepts PluginMap and PluginMapOutput values. You can construct a concrete instance of `PluginMapInput` via:
PluginMap{ "key": PluginArgs{...} }
type PluginMapOutput ¶ added in v3.29.0
type PluginMapOutput struct{ *pulumi.OutputState }
func (PluginMapOutput) ElementType ¶ added in v3.29.0
func (PluginMapOutput) ElementType() reflect.Type
func (PluginMapOutput) MapIndex ¶ added in v3.29.0
func (o PluginMapOutput) MapIndex(k pulumi.StringInput) PluginOutput
func (PluginMapOutput) ToPluginMapOutput ¶ added in v3.29.0
func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput
func (PluginMapOutput) ToPluginMapOutputWithContext ¶ added in v3.29.0
func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginOutput ¶ added in v3.29.0
type PluginOutput struct{ *pulumi.OutputState }
func (PluginOutput) Description ¶ added in v3.29.0
func (o PluginOutput) Description() pulumi.StringPtrOutput
The description of the plug-in, which cannot exceed 200 characters.
func (PluginOutput) ElementType ¶ added in v3.29.0
func (PluginOutput) ElementType() reflect.Type
func (PluginOutput) PluginData ¶ added in v3.29.0
func (o PluginOutput) PluginData() pulumi.StringOutput
The definition statement of the plug-in. Plug-in definition statements in the JSON and YAML formats are supported.
func (PluginOutput) PluginName ¶ added in v3.29.0
func (o PluginOutput) PluginName() pulumi.StringOutput
The name of the plug-in that you want to create. It can contain uppercase English letters, lowercase English letters, Chinese characters, numbers, and underscores (_). It must be 4 to 50 characters in length and cannot start with an underscore (_).
func (PluginOutput) PluginType ¶ added in v3.29.0
func (o PluginOutput) PluginType() pulumi.StringOutput
The type of the plug-in. Valid values: `backendSignature`, `caching`, `cors`, `ipControl`, `jwtAuth`, `trafficControl`. - ipControl: indicates IP address-based access control. - trafficControl: indicates throttling. - backendSignature: indicates backend signature. - jwtAuth: indicates JWT (OpenId Connect). - cors: indicates cross-origin resource access (CORS). - caching: indicates caching.
func (PluginOutput) Tags ¶ added in v3.29.0
func (o PluginOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (PluginOutput) ToPluginOutput ¶ added in v3.29.0
func (o PluginOutput) ToPluginOutput() PluginOutput
func (PluginOutput) ToPluginOutputWithContext ¶ added in v3.29.0
func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput
type PluginState ¶ added in v3.29.0
type PluginState struct { // The description of the plug-in, which cannot exceed 200 characters. Description pulumi.StringPtrInput // The definition statement of the plug-in. Plug-in definition statements in the JSON and YAML formats are supported. PluginData pulumi.StringPtrInput // The name of the plug-in that you want to create. It can contain uppercase English letters, lowercase English letters, Chinese characters, numbers, and underscores (_). It must be 4 to 50 characters in length and cannot start with an underscore (_). PluginName pulumi.StringPtrInput // The type of the plug-in. Valid values: `backendSignature`, `caching`, `cors`, `ipControl`, `jwtAuth`, `trafficControl`. // - ipControl: indicates IP address-based access control. // - trafficControl: indicates throttling. // - backendSignature: indicates backend signature. // - jwtAuth: indicates JWT (OpenId Connect). // - cors: indicates cross-origin resource access (CORS). // - caching: indicates caching. PluginType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (PluginState) ElementType ¶ added in v3.29.0
func (PluginState) ElementType() reflect.Type
type VpcAccess ¶
type VpcAccess struct { pulumi.CustomResourceState // ID of the instance in VPC (ECS/Server Load Balance). InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The name of the vpc authorization. Name pulumi.StringOutput `pulumi:"name"` // ID of the port corresponding to the instance. Port pulumi.IntOutput `pulumi:"port"` // The vpc id of the vpc authorization. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apigateway" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("Instance"), }, nil) if err != nil { return err } exampleInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(exampleZones.Zones[0].Id), CpuCoreCount: pulumi.IntRef(1), MemorySize: pulumi.Float64Ref(2), }, nil) if err != nil { return err } exampleNetwork, err := vpc.NewNetwork(ctx, "exampleNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String("terraform-example"), CidrBlock: pulumi.String("10.4.0.0/16"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "exampleSwitch", &vpc.SwitchArgs{ VswitchName: pulumi.String("terraform-example"), CidrBlock: pulumi.String("10.4.0.0/24"), VpcId: exampleNetwork.ID(), ZoneId: *pulumi.String(exampleZones.Zones[0].Id), }) if err != nil { return err } exampleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "exampleSecurityGroup", &ecs.SecurityGroupArgs{ Description: pulumi.String("New security group"), VpcId: exampleNetwork.ID(), }) if err != nil { return err } exampleImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_[0-9]+_[0-9]+_x64*"), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } exampleInstance, err := ecs.NewInstance(ctx, "exampleInstance", &ecs.InstanceArgs{ AvailabilityZone: *pulumi.String(exampleZones.Zones[0].Id), InstanceName: pulumi.String("terraform-example"), ImageId: *pulumi.String(exampleImages.Images[0].Id), InstanceType: *pulumi.String(exampleInstanceTypes.InstanceTypes[0].Id), SecurityGroups: pulumi.StringArray{ exampleSecurityGroup.ID(), }, VswitchId: exampleSwitch.ID(), }) if err != nil { return err } _, err = apigateway.NewVpcAccess(ctx, "exampleVpcAccess", &apigateway.VpcAccessArgs{ VpcId: exampleNetwork.ID(), InstanceId: exampleInstance.ID(), Port: pulumi.Int(8080), }) if err != nil { return err } return nil }) }
```
## Import
Api gateway app can be imported using the id, e.g.
```sh
$ pulumi import alicloud:apigateway/vpcAccess:VpcAccess example "APiGatewayVpc:vpc-aswcj19ajsz:i-ajdjfsdlf:8080"
```
func GetVpcAccess ¶
func GetVpcAccess(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcAccessState, opts ...pulumi.ResourceOption) (*VpcAccess, error)
GetVpcAccess gets an existing VpcAccess 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 NewVpcAccess ¶
func NewVpcAccess(ctx *pulumi.Context, name string, args *VpcAccessArgs, opts ...pulumi.ResourceOption) (*VpcAccess, error)
NewVpcAccess registers a new resource with the given unique name, arguments, and options.
func (*VpcAccess) ElementType ¶
func (*VpcAccess) ToVpcAccessOutput ¶
func (i *VpcAccess) ToVpcAccessOutput() VpcAccessOutput
func (*VpcAccess) ToVpcAccessOutputWithContext ¶
func (i *VpcAccess) ToVpcAccessOutputWithContext(ctx context.Context) VpcAccessOutput
type VpcAccessArgs ¶
type VpcAccessArgs struct { // ID of the instance in VPC (ECS/Server Load Balance). InstanceId pulumi.StringInput // The name of the vpc authorization. Name pulumi.StringPtrInput // ID of the port corresponding to the instance. Port pulumi.IntInput // The vpc id of the vpc authorization. VpcId pulumi.StringInput }
The set of arguments for constructing a VpcAccess resource.
func (VpcAccessArgs) ElementType ¶
func (VpcAccessArgs) ElementType() reflect.Type
type VpcAccessArray ¶
type VpcAccessArray []VpcAccessInput
func (VpcAccessArray) ElementType ¶
func (VpcAccessArray) ElementType() reflect.Type
func (VpcAccessArray) ToVpcAccessArrayOutput ¶
func (i VpcAccessArray) ToVpcAccessArrayOutput() VpcAccessArrayOutput
func (VpcAccessArray) ToVpcAccessArrayOutputWithContext ¶
func (i VpcAccessArray) ToVpcAccessArrayOutputWithContext(ctx context.Context) VpcAccessArrayOutput
type VpcAccessArrayInput ¶
type VpcAccessArrayInput interface { pulumi.Input ToVpcAccessArrayOutput() VpcAccessArrayOutput ToVpcAccessArrayOutputWithContext(context.Context) VpcAccessArrayOutput }
VpcAccessArrayInput is an input type that accepts VpcAccessArray and VpcAccessArrayOutput values. You can construct a concrete instance of `VpcAccessArrayInput` via:
VpcAccessArray{ VpcAccessArgs{...} }
type VpcAccessArrayOutput ¶
type VpcAccessArrayOutput struct{ *pulumi.OutputState }
func (VpcAccessArrayOutput) ElementType ¶
func (VpcAccessArrayOutput) ElementType() reflect.Type
func (VpcAccessArrayOutput) Index ¶
func (o VpcAccessArrayOutput) Index(i pulumi.IntInput) VpcAccessOutput
func (VpcAccessArrayOutput) ToVpcAccessArrayOutput ¶
func (o VpcAccessArrayOutput) ToVpcAccessArrayOutput() VpcAccessArrayOutput
func (VpcAccessArrayOutput) ToVpcAccessArrayOutputWithContext ¶
func (o VpcAccessArrayOutput) ToVpcAccessArrayOutputWithContext(ctx context.Context) VpcAccessArrayOutput
type VpcAccessInput ¶
type VpcAccessInput interface { pulumi.Input ToVpcAccessOutput() VpcAccessOutput ToVpcAccessOutputWithContext(ctx context.Context) VpcAccessOutput }
type VpcAccessMap ¶
type VpcAccessMap map[string]VpcAccessInput
func (VpcAccessMap) ElementType ¶
func (VpcAccessMap) ElementType() reflect.Type
func (VpcAccessMap) ToVpcAccessMapOutput ¶
func (i VpcAccessMap) ToVpcAccessMapOutput() VpcAccessMapOutput
func (VpcAccessMap) ToVpcAccessMapOutputWithContext ¶
func (i VpcAccessMap) ToVpcAccessMapOutputWithContext(ctx context.Context) VpcAccessMapOutput
type VpcAccessMapInput ¶
type VpcAccessMapInput interface { pulumi.Input ToVpcAccessMapOutput() VpcAccessMapOutput ToVpcAccessMapOutputWithContext(context.Context) VpcAccessMapOutput }
VpcAccessMapInput is an input type that accepts VpcAccessMap and VpcAccessMapOutput values. You can construct a concrete instance of `VpcAccessMapInput` via:
VpcAccessMap{ "key": VpcAccessArgs{...} }
type VpcAccessMapOutput ¶
type VpcAccessMapOutput struct{ *pulumi.OutputState }
func (VpcAccessMapOutput) ElementType ¶
func (VpcAccessMapOutput) ElementType() reflect.Type
func (VpcAccessMapOutput) MapIndex ¶
func (o VpcAccessMapOutput) MapIndex(k pulumi.StringInput) VpcAccessOutput
func (VpcAccessMapOutput) ToVpcAccessMapOutput ¶
func (o VpcAccessMapOutput) ToVpcAccessMapOutput() VpcAccessMapOutput
func (VpcAccessMapOutput) ToVpcAccessMapOutputWithContext ¶
func (o VpcAccessMapOutput) ToVpcAccessMapOutputWithContext(ctx context.Context) VpcAccessMapOutput
type VpcAccessOutput ¶
type VpcAccessOutput struct{ *pulumi.OutputState }
func (VpcAccessOutput) ElementType ¶
func (VpcAccessOutput) ElementType() reflect.Type
func (VpcAccessOutput) InstanceId ¶ added in v3.27.0
func (o VpcAccessOutput) InstanceId() pulumi.StringOutput
ID of the instance in VPC (ECS/Server Load Balance).
func (VpcAccessOutput) Name ¶ added in v3.27.0
func (o VpcAccessOutput) Name() pulumi.StringOutput
The name of the vpc authorization.
func (VpcAccessOutput) Port ¶ added in v3.27.0
func (o VpcAccessOutput) Port() pulumi.IntOutput
ID of the port corresponding to the instance.
func (VpcAccessOutput) ToVpcAccessOutput ¶
func (o VpcAccessOutput) ToVpcAccessOutput() VpcAccessOutput
func (VpcAccessOutput) ToVpcAccessOutputWithContext ¶
func (o VpcAccessOutput) ToVpcAccessOutputWithContext(ctx context.Context) VpcAccessOutput
func (VpcAccessOutput) VpcId ¶ added in v3.27.0
func (o VpcAccessOutput) VpcId() pulumi.StringOutput
The vpc id of the vpc authorization.
type VpcAccessState ¶
type VpcAccessState struct { // ID of the instance in VPC (ECS/Server Load Balance). InstanceId pulumi.StringPtrInput // The name of the vpc authorization. Name pulumi.StringPtrInput // ID of the port corresponding to the instance. Port pulumi.IntPtrInput // The vpc id of the vpc authorization. VpcId pulumi.StringPtrInput }
func (VpcAccessState) ElementType ¶
func (VpcAccessState) ElementType() reflect.Type