Documentation
¶
Index ¶
- type Alias
- type AliasArgs
- type AliasInput
- type AliasOutput
- type AliasRoutingConfig
- type AliasRoutingConfigArgs
- func (AliasRoutingConfigArgs) ElementType() reflect.Type
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
- func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
- type AliasRoutingConfigInput
- type AliasRoutingConfigOutput
- func (o AliasRoutingConfigOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
- func (AliasRoutingConfigOutput) ElementType() reflect.Type
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
- func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
- type AliasRoutingConfigPtrInput
- type AliasRoutingConfigPtrOutput
- func (o AliasRoutingConfigPtrOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
- func (o AliasRoutingConfigPtrOutput) Elem() AliasRoutingConfigOutput
- func (AliasRoutingConfigPtrOutput) ElementType() reflect.Type
- func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
- func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
- type AliasState
- type CustomDomain
- type CustomDomainArgs
- type CustomDomainCertConfig
- type CustomDomainCertConfigArgs
- func (CustomDomainCertConfigArgs) ElementType() reflect.Type
- func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutput() CustomDomainCertConfigOutput
- func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutputWithContext(ctx context.Context) CustomDomainCertConfigOutput
- func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
- func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
- type CustomDomainCertConfigInput
- type CustomDomainCertConfigOutput
- func (o CustomDomainCertConfigOutput) CertName() pulumi.StringOutput
- func (o CustomDomainCertConfigOutput) Certificate() pulumi.StringOutput
- func (CustomDomainCertConfigOutput) ElementType() reflect.Type
- func (o CustomDomainCertConfigOutput) PrivateKey() pulumi.StringOutput
- func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutput() CustomDomainCertConfigOutput
- func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutputWithContext(ctx context.Context) CustomDomainCertConfigOutput
- func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
- func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
- type CustomDomainCertConfigPtrInput
- type CustomDomainCertConfigPtrOutput
- func (o CustomDomainCertConfigPtrOutput) CertName() pulumi.StringPtrOutput
- func (o CustomDomainCertConfigPtrOutput) Certificate() pulumi.StringPtrOutput
- func (o CustomDomainCertConfigPtrOutput) Elem() CustomDomainCertConfigOutput
- func (CustomDomainCertConfigPtrOutput) ElementType() reflect.Type
- func (o CustomDomainCertConfigPtrOutput) PrivateKey() pulumi.StringPtrOutput
- func (o CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
- func (o CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
- type CustomDomainInput
- type CustomDomainOutput
- type CustomDomainRouteConfig
- type CustomDomainRouteConfigArgs
- type CustomDomainRouteConfigArray
- func (CustomDomainRouteConfigArray) ElementType() reflect.Type
- func (i CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutput() CustomDomainRouteConfigArrayOutput
- func (i CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutputWithContext(ctx context.Context) CustomDomainRouteConfigArrayOutput
- type CustomDomainRouteConfigArrayInput
- type CustomDomainRouteConfigArrayOutput
- func (CustomDomainRouteConfigArrayOutput) ElementType() reflect.Type
- func (o CustomDomainRouteConfigArrayOutput) Index(i pulumi.IntInput) CustomDomainRouteConfigOutput
- func (o CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutput() CustomDomainRouteConfigArrayOutput
- func (o CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutputWithContext(ctx context.Context) CustomDomainRouteConfigArrayOutput
- type CustomDomainRouteConfigInput
- type CustomDomainRouteConfigOutput
- func (CustomDomainRouteConfigOutput) ElementType() reflect.Type
- func (o CustomDomainRouteConfigOutput) FunctionName() pulumi.StringOutput
- func (o CustomDomainRouteConfigOutput) Methods() pulumi.StringArrayOutput
- func (o CustomDomainRouteConfigOutput) Path() pulumi.StringOutput
- func (o CustomDomainRouteConfigOutput) Qualifier() pulumi.StringPtrOutput
- func (o CustomDomainRouteConfigOutput) ServiceName() pulumi.StringOutput
- func (o CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutput() CustomDomainRouteConfigOutput
- func (o CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutputWithContext(ctx context.Context) CustomDomainRouteConfigOutput
- type CustomDomainState
- type Function
- type FunctionArgs
- type FunctionAsyncInvokeConfig
- type FunctionAsyncInvokeConfigArgs
- type FunctionAsyncInvokeConfigDestinationConfig
- type FunctionAsyncInvokeConfigDestinationConfigArgs
- func (FunctionAsyncInvokeConfigDestinationConfigArgs) ElementType() reflect.Type
- func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutput() FunctionAsyncInvokeConfigDestinationConfigOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigInput
- type FunctionAsyncInvokeConfigDestinationConfigOnFailure
- type FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs
- func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ElementType() reflect.Type
- func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigOnFailureInput
- type FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) Destination() pulumi.StringOutput
- func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput
- type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) Destination() pulumi.StringPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) Elem() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
- func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigOnSuccess
- type FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs
- func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ElementType() reflect.Type
- func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigOnSuccessInput
- type FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) Destination() pulumi.StringOutput
- func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput
- type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination() pulumi.StringPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) Elem() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
- func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigOutput
- func (FunctionAsyncInvokeConfigDestinationConfigOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigDestinationConfigOutput) OnFailure() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOutput) OnSuccess() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutput() FunctionAsyncInvokeConfigDestinationConfigOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- type FunctionAsyncInvokeConfigDestinationConfigPtrInput
- type FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) Elem() FunctionAsyncInvokeConfigDestinationConfigOutput
- func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnFailure() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnSuccess() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- type FunctionAsyncInvokeConfigInput
- type FunctionAsyncInvokeConfigOutput
- func (FunctionAsyncInvokeConfigOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutput() FunctionAsyncInvokeConfigOutput
- func (o FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigOutput
- type FunctionAsyncInvokeConfigState
- type FunctionCustomContainerConfig
- type FunctionCustomContainerConfigArgs
- func (FunctionCustomContainerConfigArgs) ElementType() reflect.Type
- func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutput() FunctionCustomContainerConfigOutput
- func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutputWithContext(ctx context.Context) FunctionCustomContainerConfigOutput
- func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
- func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
- type FunctionCustomContainerConfigInput
- type FunctionCustomContainerConfigOutput
- func (o FunctionCustomContainerConfigOutput) Args() pulumi.StringPtrOutput
- func (o FunctionCustomContainerConfigOutput) Command() pulumi.StringPtrOutput
- func (FunctionCustomContainerConfigOutput) ElementType() reflect.Type
- func (o FunctionCustomContainerConfigOutput) Image() pulumi.StringOutput
- func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutput() FunctionCustomContainerConfigOutput
- func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutputWithContext(ctx context.Context) FunctionCustomContainerConfigOutput
- func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
- func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
- type FunctionCustomContainerConfigPtrInput
- type FunctionCustomContainerConfigPtrOutput
- func (o FunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
- func (o FunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
- func (o FunctionCustomContainerConfigPtrOutput) Elem() FunctionCustomContainerConfigOutput
- func (FunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
- func (o FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
- func (o FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
- type FunctionInput
- type FunctionOutput
- type FunctionState
- type GetCustomDomainsArgs
- type GetCustomDomainsDomain
- type GetCustomDomainsDomainArgs
- type GetCustomDomainsDomainArray
- func (GetCustomDomainsDomainArray) ElementType() reflect.Type
- func (i GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutput() GetCustomDomainsDomainArrayOutput
- func (i GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainArrayOutput
- type GetCustomDomainsDomainArrayInput
- type GetCustomDomainsDomainArrayOutput
- func (GetCustomDomainsDomainArrayOutput) ElementType() reflect.Type
- func (o GetCustomDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetCustomDomainsDomainOutput
- func (o GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutput() GetCustomDomainsDomainArrayOutput
- func (o GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainArrayOutput
- type GetCustomDomainsDomainCertConfig
- type GetCustomDomainsDomainCertConfigArgs
- func (GetCustomDomainsDomainCertConfigArgs) ElementType() reflect.Type
- func (i GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutput() GetCustomDomainsDomainCertConfigOutput
- func (i GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainCertConfigOutput
- type GetCustomDomainsDomainCertConfigInput
- type GetCustomDomainsDomainCertConfigOutput
- func (o GetCustomDomainsDomainCertConfigOutput) CertName() pulumi.StringOutput
- func (o GetCustomDomainsDomainCertConfigOutput) Certificate() pulumi.StringOutput
- func (GetCustomDomainsDomainCertConfigOutput) ElementType() reflect.Type
- func (o GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutput() GetCustomDomainsDomainCertConfigOutput
- func (o GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainCertConfigOutput
- type GetCustomDomainsDomainInput
- type GetCustomDomainsDomainOutput
- func (o GetCustomDomainsDomainOutput) AccountId() pulumi.StringOutput
- func (o GetCustomDomainsDomainOutput) ApiVersion() pulumi.StringOutput
- func (o GetCustomDomainsDomainOutput) CertConfig() GetCustomDomainsDomainCertConfigOutput
- func (o GetCustomDomainsDomainOutput) CreatedTime() pulumi.StringOutput
- func (o GetCustomDomainsDomainOutput) DomainName() pulumi.StringOutput
- func (GetCustomDomainsDomainOutput) ElementType() reflect.Type
- func (o GetCustomDomainsDomainOutput) Id() pulumi.StringOutput
- func (o GetCustomDomainsDomainOutput) LastModifiedTime() pulumi.StringOutput
- func (o GetCustomDomainsDomainOutput) Protocol() pulumi.StringOutput
- func (o GetCustomDomainsDomainOutput) RouteConfigs() GetCustomDomainsDomainRouteConfigArrayOutput
- func (o GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutput() GetCustomDomainsDomainOutput
- func (o GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutputWithContext(ctx context.Context) GetCustomDomainsDomainOutput
- type GetCustomDomainsDomainRouteConfig
- type GetCustomDomainsDomainRouteConfigArgs
- func (GetCustomDomainsDomainRouteConfigArgs) ElementType() reflect.Type
- func (i GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutput() GetCustomDomainsDomainRouteConfigOutput
- func (i GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigOutput
- type GetCustomDomainsDomainRouteConfigArray
- func (GetCustomDomainsDomainRouteConfigArray) ElementType() reflect.Type
- func (i GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutput() GetCustomDomainsDomainRouteConfigArrayOutput
- func (i GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigArrayOutput
- type GetCustomDomainsDomainRouteConfigArrayInput
- type GetCustomDomainsDomainRouteConfigArrayOutput
- func (GetCustomDomainsDomainRouteConfigArrayOutput) ElementType() reflect.Type
- func (o GetCustomDomainsDomainRouteConfigArrayOutput) Index(i pulumi.IntInput) GetCustomDomainsDomainRouteConfigOutput
- func (o GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutput() GetCustomDomainsDomainRouteConfigArrayOutput
- func (o GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigArrayOutput
- type GetCustomDomainsDomainRouteConfigInput
- type GetCustomDomainsDomainRouteConfigOutput
- func (GetCustomDomainsDomainRouteConfigOutput) ElementType() reflect.Type
- func (o GetCustomDomainsDomainRouteConfigOutput) FunctionName() pulumi.StringOutput
- func (o GetCustomDomainsDomainRouteConfigOutput) Methods() pulumi.StringArrayOutput
- func (o GetCustomDomainsDomainRouteConfigOutput) Path() pulumi.StringOutput
- func (o GetCustomDomainsDomainRouteConfigOutput) Qualifier() pulumi.StringOutput
- func (o GetCustomDomainsDomainRouteConfigOutput) ServiceName() pulumi.StringOutput
- func (o GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutput() GetCustomDomainsDomainRouteConfigOutput
- func (o GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigOutput
- type GetCustomDomainsResult
- type GetFunctionsArgs
- type GetFunctionsFunction
- type GetFunctionsFunctionArgs
- type GetFunctionsFunctionArray
- type GetFunctionsFunctionArrayInput
- type GetFunctionsFunctionArrayOutput
- func (GetFunctionsFunctionArrayOutput) ElementType() reflect.Type
- func (o GetFunctionsFunctionArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionOutput
- func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput
- func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionArrayOutput
- type GetFunctionsFunctionCustomContainerConfig
- type GetFunctionsFunctionCustomContainerConfigArgs
- func (GetFunctionsFunctionCustomContainerConfigArgs) ElementType() reflect.Type
- func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutput() GetFunctionsFunctionCustomContainerConfigOutput
- func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigOutput
- func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
- func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
- type GetFunctionsFunctionCustomContainerConfigInput
- type GetFunctionsFunctionCustomContainerConfigOutput
- func (o GetFunctionsFunctionCustomContainerConfigOutput) Args() pulumi.StringOutput
- func (o GetFunctionsFunctionCustomContainerConfigOutput) Command() pulumi.StringOutput
- func (GetFunctionsFunctionCustomContainerConfigOutput) ElementType() reflect.Type
- func (o GetFunctionsFunctionCustomContainerConfigOutput) Image() pulumi.StringOutput
- func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutput() GetFunctionsFunctionCustomContainerConfigOutput
- func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigOutput
- func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
- func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
- type GetFunctionsFunctionCustomContainerConfigPtrInput
- type GetFunctionsFunctionCustomContainerConfigPtrOutput
- func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
- func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
- func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Elem() GetFunctionsFunctionCustomContainerConfigOutput
- func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
- func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
- func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
- func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
- type GetFunctionsFunctionInput
- type GetFunctionsFunctionOutput
- func (o GetFunctionsFunctionOutput) CaPort() pulumi.IntOutput
- func (o GetFunctionsFunctionOutput) CodeChecksum() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) CodeSize() pulumi.IntOutput
- func (o GetFunctionsFunctionOutput) CreationTime() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) CustomContainerConfig() GetFunctionsFunctionCustomContainerConfigPtrOutput
- func (o GetFunctionsFunctionOutput) Description() pulumi.StringOutput
- func (GetFunctionsFunctionOutput) ElementType() reflect.Type
- func (o GetFunctionsFunctionOutput) EnvironmentVariables() pulumi.MapOutput
- func (o GetFunctionsFunctionOutput) Handler() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) Id() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) InitializationTimeout() pulumi.IntOutput
- func (o GetFunctionsFunctionOutput) Initializer() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) InstanceConcurrency() pulumi.IntOutput
- func (o GetFunctionsFunctionOutput) InstanceType() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) LastModificationTime() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) MemorySize() pulumi.IntOutput
- func (o GetFunctionsFunctionOutput) Name() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) Runtime() pulumi.StringOutput
- func (o GetFunctionsFunctionOutput) Timeout() pulumi.IntOutput
- func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput
- func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionOutput
- type GetFunctionsResult
- type GetServicesArgs
- type GetServicesResult
- type GetServicesService
- type GetServicesServiceArgs
- type GetServicesServiceArray
- type GetServicesServiceArrayInput
- type GetServicesServiceArrayOutput
- func (GetServicesServiceArrayOutput) ElementType() reflect.Type
- func (o GetServicesServiceArrayOutput) Index(i pulumi.IntInput) GetServicesServiceOutput
- func (o GetServicesServiceArrayOutput) ToGetServicesServiceArrayOutput() GetServicesServiceArrayOutput
- func (o GetServicesServiceArrayOutput) ToGetServicesServiceArrayOutputWithContext(ctx context.Context) GetServicesServiceArrayOutput
- type GetServicesServiceInput
- type GetServicesServiceLogConfig
- type GetServicesServiceLogConfigArgs
- func (GetServicesServiceLogConfigArgs) ElementType() reflect.Type
- func (i GetServicesServiceLogConfigArgs) ToGetServicesServiceLogConfigOutput() GetServicesServiceLogConfigOutput
- func (i GetServicesServiceLogConfigArgs) ToGetServicesServiceLogConfigOutputWithContext(ctx context.Context) GetServicesServiceLogConfigOutput
- type GetServicesServiceLogConfigInput
- type GetServicesServiceLogConfigOutput
- func (GetServicesServiceLogConfigOutput) ElementType() reflect.Type
- func (o GetServicesServiceLogConfigOutput) Logstore() pulumi.StringOutput
- func (o GetServicesServiceLogConfigOutput) Project() pulumi.StringOutput
- func (o GetServicesServiceLogConfigOutput) ToGetServicesServiceLogConfigOutput() GetServicesServiceLogConfigOutput
- func (o GetServicesServiceLogConfigOutput) ToGetServicesServiceLogConfigOutputWithContext(ctx context.Context) GetServicesServiceLogConfigOutput
- type GetServicesServiceNasConfig
- type GetServicesServiceNasConfigArgs
- func (GetServicesServiceNasConfigArgs) ElementType() reflect.Type
- func (i GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutput() GetServicesServiceNasConfigOutput
- func (i GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutputWithContext(ctx context.Context) GetServicesServiceNasConfigOutput
- type GetServicesServiceNasConfigInput
- type GetServicesServiceNasConfigMountPoint
- type GetServicesServiceNasConfigMountPointArgs
- func (GetServicesServiceNasConfigMountPointArgs) ElementType() reflect.Type
- func (i GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutput() GetServicesServiceNasConfigMountPointOutput
- func (i GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointOutput
- type GetServicesServiceNasConfigMountPointArray
- func (GetServicesServiceNasConfigMountPointArray) ElementType() reflect.Type
- func (i GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutput() GetServicesServiceNasConfigMountPointArrayOutput
- func (i GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointArrayOutput
- type GetServicesServiceNasConfigMountPointArrayInput
- type GetServicesServiceNasConfigMountPointArrayOutput
- func (GetServicesServiceNasConfigMountPointArrayOutput) ElementType() reflect.Type
- func (o GetServicesServiceNasConfigMountPointArrayOutput) Index(i pulumi.IntInput) GetServicesServiceNasConfigMountPointOutput
- func (o GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutput() GetServicesServiceNasConfigMountPointArrayOutput
- func (o GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointArrayOutput
- type GetServicesServiceNasConfigMountPointInput
- type GetServicesServiceNasConfigMountPointOutput
- func (GetServicesServiceNasConfigMountPointOutput) ElementType() reflect.Type
- func (o GetServicesServiceNasConfigMountPointOutput) MountDir() pulumi.StringOutput
- func (o GetServicesServiceNasConfigMountPointOutput) ServerAddr() pulumi.StringOutput
- func (o GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutput() GetServicesServiceNasConfigMountPointOutput
- func (o GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointOutput
- type GetServicesServiceNasConfigOutput
- func (GetServicesServiceNasConfigOutput) ElementType() reflect.Type
- func (o GetServicesServiceNasConfigOutput) GroupId() pulumi.IntOutput
- func (o GetServicesServiceNasConfigOutput) MountPoints() GetServicesServiceNasConfigMountPointArrayOutput
- func (o GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutput() GetServicesServiceNasConfigOutput
- func (o GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutputWithContext(ctx context.Context) GetServicesServiceNasConfigOutput
- func (o GetServicesServiceNasConfigOutput) UserId() pulumi.IntOutput
- type GetServicesServiceOutput
- func (o GetServicesServiceOutput) CreationTime() pulumi.StringOutput
- func (o GetServicesServiceOutput) Description() pulumi.StringOutput
- func (GetServicesServiceOutput) ElementType() reflect.Type
- func (o GetServicesServiceOutput) Id() pulumi.StringOutput
- func (o GetServicesServiceOutput) InternetAccess() pulumi.BoolOutput
- func (o GetServicesServiceOutput) LastModificationTime() pulumi.StringOutput
- func (o GetServicesServiceOutput) LogConfig() GetServicesServiceLogConfigOutput
- func (o GetServicesServiceOutput) Name() pulumi.StringOutput
- func (o GetServicesServiceOutput) NasConfig() GetServicesServiceNasConfigOutput
- func (o GetServicesServiceOutput) Role() pulumi.StringOutput
- func (o GetServicesServiceOutput) ToGetServicesServiceOutput() GetServicesServiceOutput
- func (o GetServicesServiceOutput) ToGetServicesServiceOutputWithContext(ctx context.Context) GetServicesServiceOutput
- func (o GetServicesServiceOutput) VpcConfig() GetServicesServiceVpcConfigOutput
- type GetServicesServiceVpcConfig
- type GetServicesServiceVpcConfigArgs
- func (GetServicesServiceVpcConfigArgs) ElementType() reflect.Type
- func (i GetServicesServiceVpcConfigArgs) ToGetServicesServiceVpcConfigOutput() GetServicesServiceVpcConfigOutput
- func (i GetServicesServiceVpcConfigArgs) ToGetServicesServiceVpcConfigOutputWithContext(ctx context.Context) GetServicesServiceVpcConfigOutput
- type GetServicesServiceVpcConfigInput
- type GetServicesServiceVpcConfigOutput
- func (GetServicesServiceVpcConfigOutput) ElementType() reflect.Type
- func (o GetServicesServiceVpcConfigOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetServicesServiceVpcConfigOutput) ToGetServicesServiceVpcConfigOutput() GetServicesServiceVpcConfigOutput
- func (o GetServicesServiceVpcConfigOutput) ToGetServicesServiceVpcConfigOutputWithContext(ctx context.Context) GetServicesServiceVpcConfigOutput
- func (o GetServicesServiceVpcConfigOutput) VpcId() pulumi.StringOutput
- func (o GetServicesServiceVpcConfigOutput) VswitchIds() pulumi.StringArrayOutput
- type GetTriggersArgs
- type GetTriggersResult
- type GetTriggersTrigger
- type GetTriggersTriggerArgs
- type GetTriggersTriggerArray
- type GetTriggersTriggerArrayInput
- type GetTriggersTriggerArrayOutput
- func (GetTriggersTriggerArrayOutput) ElementType() reflect.Type
- func (o GetTriggersTriggerArrayOutput) Index(i pulumi.IntInput) GetTriggersTriggerOutput
- func (o GetTriggersTriggerArrayOutput) ToGetTriggersTriggerArrayOutput() GetTriggersTriggerArrayOutput
- func (o GetTriggersTriggerArrayOutput) ToGetTriggersTriggerArrayOutputWithContext(ctx context.Context) GetTriggersTriggerArrayOutput
- type GetTriggersTriggerInput
- type GetTriggersTriggerOutput
- func (o GetTriggersTriggerOutput) Config() pulumi.StringOutput
- func (o GetTriggersTriggerOutput) CreationTime() pulumi.StringOutput
- func (GetTriggersTriggerOutput) ElementType() reflect.Type
- func (o GetTriggersTriggerOutput) Id() pulumi.StringOutput
- func (o GetTriggersTriggerOutput) InvocationRole() pulumi.StringOutput
- func (o GetTriggersTriggerOutput) LastModificationTime() pulumi.StringOutput
- func (o GetTriggersTriggerOutput) Name() pulumi.StringOutput
- func (o GetTriggersTriggerOutput) SourceArn() pulumi.StringOutput
- func (o GetTriggersTriggerOutput) ToGetTriggersTriggerOutput() GetTriggersTriggerOutput
- func (o GetTriggersTriggerOutput) ToGetTriggersTriggerOutputWithContext(ctx context.Context) GetTriggersTriggerOutput
- func (o GetTriggersTriggerOutput) Type() pulumi.StringOutput
- type GetZonesArgs
- type GetZonesResult
- type GetZonesZone
- type GetZonesZoneArgs
- type GetZonesZoneArray
- type GetZonesZoneArrayInput
- type GetZonesZoneArrayOutput
- func (GetZonesZoneArrayOutput) ElementType() reflect.Type
- func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
- type GetZonesZoneInput
- type GetZonesZoneOutput
- type LookupServiceArgs
- type LookupServiceResult
- type Service
- type ServiceArgs
- type ServiceInput
- type ServiceLogConfig
- type ServiceLogConfigArgs
- func (ServiceLogConfigArgs) ElementType() reflect.Type
- func (i ServiceLogConfigArgs) ToServiceLogConfigOutput() ServiceLogConfigOutput
- func (i ServiceLogConfigArgs) ToServiceLogConfigOutputWithContext(ctx context.Context) ServiceLogConfigOutput
- func (i ServiceLogConfigArgs) ToServiceLogConfigPtrOutput() ServiceLogConfigPtrOutput
- func (i ServiceLogConfigArgs) ToServiceLogConfigPtrOutputWithContext(ctx context.Context) ServiceLogConfigPtrOutput
- type ServiceLogConfigInput
- type ServiceLogConfigOutput
- func (ServiceLogConfigOutput) ElementType() reflect.Type
- func (o ServiceLogConfigOutput) Logstore() pulumi.StringOutput
- func (o ServiceLogConfigOutput) Project() pulumi.StringOutput
- func (o ServiceLogConfigOutput) ToServiceLogConfigOutput() ServiceLogConfigOutput
- func (o ServiceLogConfigOutput) ToServiceLogConfigOutputWithContext(ctx context.Context) ServiceLogConfigOutput
- func (o ServiceLogConfigOutput) ToServiceLogConfigPtrOutput() ServiceLogConfigPtrOutput
- func (o ServiceLogConfigOutput) ToServiceLogConfigPtrOutputWithContext(ctx context.Context) ServiceLogConfigPtrOutput
- type ServiceLogConfigPtrInput
- type ServiceLogConfigPtrOutput
- func (o ServiceLogConfigPtrOutput) Elem() ServiceLogConfigOutput
- func (ServiceLogConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceLogConfigPtrOutput) Logstore() pulumi.StringPtrOutput
- func (o ServiceLogConfigPtrOutput) Project() pulumi.StringPtrOutput
- func (o ServiceLogConfigPtrOutput) ToServiceLogConfigPtrOutput() ServiceLogConfigPtrOutput
- func (o ServiceLogConfigPtrOutput) ToServiceLogConfigPtrOutputWithContext(ctx context.Context) ServiceLogConfigPtrOutput
- type ServiceNasConfig
- type ServiceNasConfigArgs
- func (ServiceNasConfigArgs) ElementType() reflect.Type
- func (i ServiceNasConfigArgs) ToServiceNasConfigOutput() ServiceNasConfigOutput
- func (i ServiceNasConfigArgs) ToServiceNasConfigOutputWithContext(ctx context.Context) ServiceNasConfigOutput
- func (i ServiceNasConfigArgs) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
- func (i ServiceNasConfigArgs) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
- type ServiceNasConfigInput
- type ServiceNasConfigMountPoint
- type ServiceNasConfigMountPointArgs
- func (ServiceNasConfigMountPointArgs) ElementType() reflect.Type
- func (i ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutput() ServiceNasConfigMountPointOutput
- func (i ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutputWithContext(ctx context.Context) ServiceNasConfigMountPointOutput
- type ServiceNasConfigMountPointArray
- func (ServiceNasConfigMountPointArray) ElementType() reflect.Type
- func (i ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutput() ServiceNasConfigMountPointArrayOutput
- func (i ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) ServiceNasConfigMountPointArrayOutput
- type ServiceNasConfigMountPointArrayInput
- type ServiceNasConfigMountPointArrayOutput
- func (ServiceNasConfigMountPointArrayOutput) ElementType() reflect.Type
- func (o ServiceNasConfigMountPointArrayOutput) Index(i pulumi.IntInput) ServiceNasConfigMountPointOutput
- func (o ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutput() ServiceNasConfigMountPointArrayOutput
- func (o ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) ServiceNasConfigMountPointArrayOutput
- type ServiceNasConfigMountPointInput
- type ServiceNasConfigMountPointOutput
- func (ServiceNasConfigMountPointOutput) ElementType() reflect.Type
- func (o ServiceNasConfigMountPointOutput) MountDir() pulumi.StringOutput
- func (o ServiceNasConfigMountPointOutput) ServerAddr() pulumi.StringOutput
- func (o ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutput() ServiceNasConfigMountPointOutput
- func (o ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutputWithContext(ctx context.Context) ServiceNasConfigMountPointOutput
- type ServiceNasConfigOutput
- func (ServiceNasConfigOutput) ElementType() reflect.Type
- func (o ServiceNasConfigOutput) GroupId() pulumi.IntOutput
- func (o ServiceNasConfigOutput) MountPoints() ServiceNasConfigMountPointArrayOutput
- func (o ServiceNasConfigOutput) ToServiceNasConfigOutput() ServiceNasConfigOutput
- func (o ServiceNasConfigOutput) ToServiceNasConfigOutputWithContext(ctx context.Context) ServiceNasConfigOutput
- func (o ServiceNasConfigOutput) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
- func (o ServiceNasConfigOutput) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
- func (o ServiceNasConfigOutput) UserId() pulumi.IntOutput
- type ServiceNasConfigPtrInput
- type ServiceNasConfigPtrOutput
- func (o ServiceNasConfigPtrOutput) Elem() ServiceNasConfigOutput
- func (ServiceNasConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceNasConfigPtrOutput) GroupId() pulumi.IntPtrOutput
- func (o ServiceNasConfigPtrOutput) MountPoints() ServiceNasConfigMountPointArrayOutput
- func (o ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
- func (o ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
- func (o ServiceNasConfigPtrOutput) UserId() pulumi.IntPtrOutput
- type ServiceOutput
- type ServiceState
- type ServiceVpcConfig
- type ServiceVpcConfigArgs
- func (ServiceVpcConfigArgs) ElementType() reflect.Type
- func (i ServiceVpcConfigArgs) ToServiceVpcConfigOutput() ServiceVpcConfigOutput
- func (i ServiceVpcConfigArgs) ToServiceVpcConfigOutputWithContext(ctx context.Context) ServiceVpcConfigOutput
- func (i ServiceVpcConfigArgs) ToServiceVpcConfigPtrOutput() ServiceVpcConfigPtrOutput
- func (i ServiceVpcConfigArgs) ToServiceVpcConfigPtrOutputWithContext(ctx context.Context) ServiceVpcConfigPtrOutput
- type ServiceVpcConfigInput
- type ServiceVpcConfigOutput
- func (ServiceVpcConfigOutput) ElementType() reflect.Type
- func (o ServiceVpcConfigOutput) SecurityGroupId() pulumi.StringOutput
- func (o ServiceVpcConfigOutput) ToServiceVpcConfigOutput() ServiceVpcConfigOutput
- func (o ServiceVpcConfigOutput) ToServiceVpcConfigOutputWithContext(ctx context.Context) ServiceVpcConfigOutput
- func (o ServiceVpcConfigOutput) ToServiceVpcConfigPtrOutput() ServiceVpcConfigPtrOutput
- func (o ServiceVpcConfigOutput) ToServiceVpcConfigPtrOutputWithContext(ctx context.Context) ServiceVpcConfigPtrOutput
- func (o ServiceVpcConfigOutput) VpcId() pulumi.StringPtrOutput
- func (o ServiceVpcConfigOutput) VswitchIds() pulumi.StringArrayOutput
- type ServiceVpcConfigPtrInput
- type ServiceVpcConfigPtrOutput
- func (o ServiceVpcConfigPtrOutput) Elem() ServiceVpcConfigOutput
- func (ServiceVpcConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceVpcConfigPtrOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o ServiceVpcConfigPtrOutput) ToServiceVpcConfigPtrOutput() ServiceVpcConfigPtrOutput
- func (o ServiceVpcConfigPtrOutput) ToServiceVpcConfigPtrOutputWithContext(ctx context.Context) ServiceVpcConfigPtrOutput
- func (o ServiceVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
- func (o ServiceVpcConfigPtrOutput) VswitchIds() pulumi.StringArrayOutput
- type Trigger
- type TriggerArgs
- type TriggerInput
- type TriggerOutput
- type TriggerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶ added in v2.26.0
type Alias struct { pulumi.CustomResourceState // Name for the alias you are creating. AliasName pulumi.StringOutput `pulumi:"aliasName"` // Description of the alias. Description pulumi.StringPtrOutput `pulumi:"description"` // The Function Compute alias' route configuration settings. Fields documented below. RoutingConfig AliasRoutingConfigPtrOutput `pulumi:"routingConfig"` // The Function Compute service name. ServiceName pulumi.StringOutput `pulumi:"serviceName"` // The Function Compute service version for which you are creating the alias. Pattern: (LATEST|[0-9]+). ServiceVersion pulumi.StringOutput `pulumi:"serviceVersion"` }
Creates a Function Compute service alias. Creates an alias that points to the specified Function Compute service version.
For the detailed information, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/171635.htm).
> **NOTE:** Available in 1.104.0+
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.NewAlias(ctx, "example", &fc.AliasArgs{ AliasName: pulumi.String("my_alias"), Description: pulumi.String("a sample description"), RoutingConfig: &fc.AliasRoutingConfigArgs{ AdditionalVersionWeights: pulumi.Float64Map{ "2": pulumi.Float64(0.5), }, }, ServiceName: pulumi.String("my_service_name"), ServiceVersion: pulumi.String("1"), }) if err != nil { return err } return nil }) }
```
## Import
Function Compute alias can be imported using the id, e.g.
```sh
$ pulumi import alicloud:fc/alias:Alias example my_alias_id
```
func GetAlias ¶ added in v2.26.0
func GetAlias(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AliasState, opts ...pulumi.ResourceOption) (*Alias, error)
GetAlias gets an existing Alias 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 NewAlias ¶ added in v2.26.0
func NewAlias(ctx *pulumi.Context, name string, args *AliasArgs, opts ...pulumi.ResourceOption) (*Alias, error)
NewAlias registers a new resource with the given unique name, arguments, and options.
func (Alias) ElementType ¶ added in v2.26.0
func (Alias) ToAliasOutput ¶ added in v2.26.0
func (i Alias) ToAliasOutput() AliasOutput
func (Alias) ToAliasOutputWithContext ¶ added in v2.26.0
func (i Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasArgs ¶ added in v2.26.0
type AliasArgs struct { // Name for the alias you are creating. AliasName pulumi.StringInput // Description of the alias. Description pulumi.StringPtrInput // The Function Compute alias' route configuration settings. Fields documented below. RoutingConfig AliasRoutingConfigPtrInput // The Function Compute service name. ServiceName pulumi.StringInput // The Function Compute service version for which you are creating the alias. Pattern: (LATEST|[0-9]+). ServiceVersion pulumi.StringInput }
The set of arguments for constructing a Alias resource.
func (AliasArgs) ElementType ¶ added in v2.26.0
type AliasInput ¶ added in v2.26.0
type AliasInput interface { pulumi.Input ToAliasOutput() AliasOutput ToAliasOutputWithContext(ctx context.Context) AliasOutput }
type AliasOutput ¶ added in v2.26.0
type AliasOutput struct {
*pulumi.OutputState
}
func (AliasOutput) ElementType ¶ added in v2.26.0
func (AliasOutput) ElementType() reflect.Type
func (AliasOutput) ToAliasOutput ¶ added in v2.26.0
func (o AliasOutput) ToAliasOutput() AliasOutput
func (AliasOutput) ToAliasOutputWithContext ¶ added in v2.26.0
func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasRoutingConfig ¶ added in v2.26.0
type AliasRoutingConfigArgs ¶ added in v2.26.0
type AliasRoutingConfigArgs struct { // A map that defines the proportion of events that should be sent to different versions of a Function Compute service. AdditionalVersionWeights pulumi.Float64MapInput `pulumi:"additionalVersionWeights"` }
func (AliasRoutingConfigArgs) ElementType ¶ added in v2.26.0
func (AliasRoutingConfigArgs) ElementType() reflect.Type
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutput ¶ added in v2.26.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext ¶ added in v2.26.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput ¶ added in v2.26.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext ¶ added in v2.26.0
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasRoutingConfigInput ¶ added in v2.26.0
type AliasRoutingConfigInput interface { pulumi.Input ToAliasRoutingConfigOutput() AliasRoutingConfigOutput ToAliasRoutingConfigOutputWithContext(context.Context) AliasRoutingConfigOutput }
AliasRoutingConfigInput is an input type that accepts AliasRoutingConfigArgs and AliasRoutingConfigOutput values. You can construct a concrete instance of `AliasRoutingConfigInput` via:
AliasRoutingConfigArgs{...}
type AliasRoutingConfigOutput ¶ added in v2.26.0
type AliasRoutingConfigOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigOutput) AdditionalVersionWeights ¶ added in v2.26.0
func (o AliasRoutingConfigOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
A map that defines the proportion of events that should be sent to different versions of a Function Compute service.
func (AliasRoutingConfigOutput) ElementType ¶ added in v2.26.0
func (AliasRoutingConfigOutput) ElementType() reflect.Type
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutput ¶ added in v2.26.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext ¶ added in v2.26.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput ¶ added in v2.26.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext ¶ added in v2.26.0
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasRoutingConfigPtrInput ¶ added in v2.26.0
type AliasRoutingConfigPtrInput interface { pulumi.Input ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput ToAliasRoutingConfigPtrOutputWithContext(context.Context) AliasRoutingConfigPtrOutput }
AliasRoutingConfigPtrInput is an input type that accepts AliasRoutingConfigArgs, AliasRoutingConfigPtr and AliasRoutingConfigPtrOutput values. You can construct a concrete instance of `AliasRoutingConfigPtrInput` via:
AliasRoutingConfigArgs{...} or: nil
func AliasRoutingConfigPtr ¶ added in v2.26.0
func AliasRoutingConfigPtr(v *AliasRoutingConfigArgs) AliasRoutingConfigPtrInput
type AliasRoutingConfigPtrOutput ¶ added in v2.26.0
type AliasRoutingConfigPtrOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigPtrOutput) AdditionalVersionWeights ¶ added in v2.26.0
func (o AliasRoutingConfigPtrOutput) AdditionalVersionWeights() pulumi.Float64MapOutput
A map that defines the proportion of events that should be sent to different versions of a Function Compute service.
func (AliasRoutingConfigPtrOutput) Elem ¶ added in v2.26.0
func (o AliasRoutingConfigPtrOutput) Elem() AliasRoutingConfigOutput
func (AliasRoutingConfigPtrOutput) ElementType ¶ added in v2.26.0
func (AliasRoutingConfigPtrOutput) ElementType() reflect.Type
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput ¶ added in v2.26.0
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext ¶ added in v2.26.0
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasState ¶ added in v2.26.0
type AliasState struct { // Name for the alias you are creating. AliasName pulumi.StringPtrInput // Description of the alias. Description pulumi.StringPtrInput // The Function Compute alias' route configuration settings. Fields documented below. RoutingConfig AliasRoutingConfigPtrInput // The Function Compute service name. ServiceName pulumi.StringPtrInput // The Function Compute service version for which you are creating the alias. Pattern: (LATEST|[0-9]+). ServiceVersion pulumi.StringPtrInput }
func (AliasState) ElementType ¶ added in v2.26.0
func (AliasState) ElementType() reflect.Type
type CustomDomain ¶ added in v2.19.0
type CustomDomain struct { pulumi.CustomResourceState // The account id. AccountId pulumi.StringOutput `pulumi:"accountId"` // The api version of Function Compute. ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // The configuration of HTTPS certificate. CertConfig CustomDomainCertConfigPtrOutput `pulumi:"certConfig"` // The date this resource was created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // The custom domain name. For example, "example.com". DomainName pulumi.StringOutput `pulumi:"domainName"` // The date this resource was last modified. LastModifiedTime pulumi.StringOutput `pulumi:"lastModifiedTime"` // The protocol, `HTTP` or `HTTP,HTTPS`. Protocol pulumi.StringOutput `pulumi:"protocol"` // The configuration of domain route, mapping the path and Function Compute function. RouteConfigs CustomDomainRouteConfigArrayOutput `pulumi:"routeConfigs"` }
Provides an Alicloud Function Compute custom domain resource.
For the detailed information, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/90759.htm).
> **NOTE:** Available in 1.98.0+
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/oss" "github.com/pulumi/pulumi/sdk/v2/go/pulumi" "github.com/pulumi/pulumi/sdk/v2/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-testaccalicloudfcservice" if param := cfg.Get("name"); param != "" { name = param } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String(fmt.Sprintf("%v%v", name, "-description")), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: pulumi.String(name), }) if err != nil { return err } defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("fc/hello.zip"), Content: pulumi.String(fmt.Sprintf("%v%v%v%v", " # -*- coding: utf-8 -*-\n", " def handler(event, context):\n", " print \"hello world\"\n", " return 'hello world'\n")), }) if err != nil { return err } defaultFunction, err := fc.NewFunction(ctx, "defaultFunction", &fc.FunctionArgs{ Service: defaultService.Name, OssBucket: defaultBucket.ID(), OssKey: defaultBucketObject.Key, MemorySize: pulumi.Int(512), Runtime: pulumi.String("python2.7"), Handler: pulumi.String("hello.handler"), }) if err != nil { return err } _, err = fc.NewCustomDomain(ctx, "defaultCustomDomain", &fc.CustomDomainArgs{ DomainName: pulumi.String("terraform.functioncompute.com"), Protocol: pulumi.String("HTTP"), RouteConfigs: fc.CustomDomainRouteConfigArray{ &fc.CustomDomainRouteConfigArgs{ Path: pulumi.String("/login/*"), ServiceName: defaultService.Name, FunctionName: defaultFunction.Name, Qualifier: pulumi.String("v1"), Methods: pulumi.StringArray{ pulumi.String("GET"), pulumi.String("POST"), }, }, }, CertConfig: &fc.CustomDomainCertConfigArgs{ CertName: pulumi.String("your certificate name"), PrivateKey: pulumi.String("your private key"), Certificate: pulumi.String("your certificate data"), }, }) if err != nil { return err } return nil }) }
```
## Import
Function Compute custom domain can be imported using the id or the domain name, e.g.
```sh
$ pulumi import alicloud:fc/customDomain:CustomDomain foo my-fc-custom-domain
```
func GetCustomDomain ¶ added in v2.19.0
func GetCustomDomain(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CustomDomainState, opts ...pulumi.ResourceOption) (*CustomDomain, error)
GetCustomDomain gets an existing CustomDomain 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 NewCustomDomain ¶ added in v2.19.0
func NewCustomDomain(ctx *pulumi.Context, name string, args *CustomDomainArgs, opts ...pulumi.ResourceOption) (*CustomDomain, error)
NewCustomDomain registers a new resource with the given unique name, arguments, and options.
func (CustomDomain) ElementType ¶ added in v2.25.1
func (CustomDomain) ElementType() reflect.Type
func (CustomDomain) ToCustomDomainOutput ¶ added in v2.25.1
func (i CustomDomain) ToCustomDomainOutput() CustomDomainOutput
func (CustomDomain) ToCustomDomainOutputWithContext ¶ added in v2.25.1
func (i CustomDomain) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput
type CustomDomainArgs ¶ added in v2.19.0
type CustomDomainArgs struct { // The configuration of HTTPS certificate. CertConfig CustomDomainCertConfigPtrInput // The custom domain name. For example, "example.com". DomainName pulumi.StringInput // The protocol, `HTTP` or `HTTP,HTTPS`. Protocol pulumi.StringInput // The configuration of domain route, mapping the path and Function Compute function. RouteConfigs CustomDomainRouteConfigArrayInput }
The set of arguments for constructing a CustomDomain resource.
func (CustomDomainArgs) ElementType ¶ added in v2.19.0
func (CustomDomainArgs) ElementType() reflect.Type
type CustomDomainCertConfig ¶ added in v2.19.0
type CustomDomainCertConfig struct { // The name of the certificate, used to distinguish different certificates. CertName string `pulumi:"certName"` // Certificate data of the HTTPS certificates, follow the 'pem' format. Certificate string `pulumi:"certificate"` // Private key of the HTTPS certificates, follow the 'pem' format. PrivateKey string `pulumi:"privateKey"` }
type CustomDomainCertConfigArgs ¶ added in v2.19.0
type CustomDomainCertConfigArgs struct { // The name of the certificate, used to distinguish different certificates. CertName pulumi.StringInput `pulumi:"certName"` // Certificate data of the HTTPS certificates, follow the 'pem' format. Certificate pulumi.StringInput `pulumi:"certificate"` // Private key of the HTTPS certificates, follow the 'pem' format. PrivateKey pulumi.StringInput `pulumi:"privateKey"` }
func (CustomDomainCertConfigArgs) ElementType ¶ added in v2.19.0
func (CustomDomainCertConfigArgs) ElementType() reflect.Type
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutput ¶ added in v2.19.0
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutput() CustomDomainCertConfigOutput
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutputWithContext ¶ added in v2.19.0
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutputWithContext(ctx context.Context) CustomDomainCertConfigOutput
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutput ¶ added in v2.19.0
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutputWithContext ¶ added in v2.19.0
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
type CustomDomainCertConfigInput ¶ added in v2.19.0
type CustomDomainCertConfigInput interface { pulumi.Input ToCustomDomainCertConfigOutput() CustomDomainCertConfigOutput ToCustomDomainCertConfigOutputWithContext(context.Context) CustomDomainCertConfigOutput }
CustomDomainCertConfigInput is an input type that accepts CustomDomainCertConfigArgs and CustomDomainCertConfigOutput values. You can construct a concrete instance of `CustomDomainCertConfigInput` via:
CustomDomainCertConfigArgs{...}
type CustomDomainCertConfigOutput ¶ added in v2.19.0
type CustomDomainCertConfigOutput struct{ *pulumi.OutputState }
func (CustomDomainCertConfigOutput) CertName ¶ added in v2.19.0
func (o CustomDomainCertConfigOutput) CertName() pulumi.StringOutput
The name of the certificate, used to distinguish different certificates.
func (CustomDomainCertConfigOutput) Certificate ¶ added in v2.19.0
func (o CustomDomainCertConfigOutput) Certificate() pulumi.StringOutput
Certificate data of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigOutput) ElementType ¶ added in v2.19.0
func (CustomDomainCertConfigOutput) ElementType() reflect.Type
func (CustomDomainCertConfigOutput) PrivateKey ¶ added in v2.19.0
func (o CustomDomainCertConfigOutput) PrivateKey() pulumi.StringOutput
Private key of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutput ¶ added in v2.19.0
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutput() CustomDomainCertConfigOutput
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutputWithContext ¶ added in v2.19.0
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutputWithContext(ctx context.Context) CustomDomainCertConfigOutput
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutput ¶ added in v2.19.0
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutputWithContext ¶ added in v2.19.0
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
type CustomDomainCertConfigPtrInput ¶ added in v2.19.0
type CustomDomainCertConfigPtrInput interface { pulumi.Input ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput ToCustomDomainCertConfigPtrOutputWithContext(context.Context) CustomDomainCertConfigPtrOutput }
CustomDomainCertConfigPtrInput is an input type that accepts CustomDomainCertConfigArgs, CustomDomainCertConfigPtr and CustomDomainCertConfigPtrOutput values. You can construct a concrete instance of `CustomDomainCertConfigPtrInput` via:
CustomDomainCertConfigArgs{...} or: nil
func CustomDomainCertConfigPtr ¶ added in v2.19.0
func CustomDomainCertConfigPtr(v *CustomDomainCertConfigArgs) CustomDomainCertConfigPtrInput
type CustomDomainCertConfigPtrOutput ¶ added in v2.19.0
type CustomDomainCertConfigPtrOutput struct{ *pulumi.OutputState }
func (CustomDomainCertConfigPtrOutput) CertName ¶ added in v2.19.0
func (o CustomDomainCertConfigPtrOutput) CertName() pulumi.StringPtrOutput
The name of the certificate, used to distinguish different certificates.
func (CustomDomainCertConfigPtrOutput) Certificate ¶ added in v2.19.0
func (o CustomDomainCertConfigPtrOutput) Certificate() pulumi.StringPtrOutput
Certificate data of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigPtrOutput) Elem ¶ added in v2.19.0
func (o CustomDomainCertConfigPtrOutput) Elem() CustomDomainCertConfigOutput
func (CustomDomainCertConfigPtrOutput) ElementType ¶ added in v2.19.0
func (CustomDomainCertConfigPtrOutput) ElementType() reflect.Type
func (CustomDomainCertConfigPtrOutput) PrivateKey ¶ added in v2.19.0
func (o CustomDomainCertConfigPtrOutput) PrivateKey() pulumi.StringPtrOutput
Private key of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutput ¶ added in v2.19.0
func (o CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
func (CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutputWithContext ¶ added in v2.19.0
func (o CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
type CustomDomainInput ¶ added in v2.25.1
type CustomDomainInput interface { pulumi.Input ToCustomDomainOutput() CustomDomainOutput ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput }
type CustomDomainOutput ¶ added in v2.25.1
type CustomDomainOutput struct {
*pulumi.OutputState
}
func (CustomDomainOutput) ElementType ¶ added in v2.25.1
func (CustomDomainOutput) ElementType() reflect.Type
func (CustomDomainOutput) ToCustomDomainOutput ¶ added in v2.25.1
func (o CustomDomainOutput) ToCustomDomainOutput() CustomDomainOutput
func (CustomDomainOutput) ToCustomDomainOutputWithContext ¶ added in v2.25.1
func (o CustomDomainOutput) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput
type CustomDomainRouteConfig ¶ added in v2.19.0
type CustomDomainRouteConfig struct { // The name of the Function Compute function that requests are routed to. FunctionName string `pulumi:"functionName"` // The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed. Methods []string `pulumi:"methods"` // The path that requests are routed from. Path string `pulumi:"path"` // The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service. For detail information about verison and alias, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/96464.htm). Qualifier *string `pulumi:"qualifier"` ServiceName string `pulumi:"serviceName"` }
type CustomDomainRouteConfigArgs ¶ added in v2.19.0
type CustomDomainRouteConfigArgs struct { // The name of the Function Compute function that requests are routed to. FunctionName pulumi.StringInput `pulumi:"functionName"` // The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed. Methods pulumi.StringArrayInput `pulumi:"methods"` // The path that requests are routed from. Path pulumi.StringInput `pulumi:"path"` // The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service. For detail information about verison and alias, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/96464.htm). Qualifier pulumi.StringPtrInput `pulumi:"qualifier"` ServiceName pulumi.StringInput `pulumi:"serviceName"` }
func (CustomDomainRouteConfigArgs) ElementType ¶ added in v2.19.0
func (CustomDomainRouteConfigArgs) ElementType() reflect.Type
func (CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutput ¶ added in v2.19.0
func (i CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutput() CustomDomainRouteConfigOutput
func (CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutputWithContext ¶ added in v2.19.0
func (i CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutputWithContext(ctx context.Context) CustomDomainRouteConfigOutput
type CustomDomainRouteConfigArray ¶ added in v2.19.0
type CustomDomainRouteConfigArray []CustomDomainRouteConfigInput
func (CustomDomainRouteConfigArray) ElementType ¶ added in v2.19.0
func (CustomDomainRouteConfigArray) ElementType() reflect.Type
func (CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutput ¶ added in v2.19.0
func (i CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutput() CustomDomainRouteConfigArrayOutput
func (CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutputWithContext ¶ added in v2.19.0
func (i CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutputWithContext(ctx context.Context) CustomDomainRouteConfigArrayOutput
type CustomDomainRouteConfigArrayInput ¶ added in v2.19.0
type CustomDomainRouteConfigArrayInput interface { pulumi.Input ToCustomDomainRouteConfigArrayOutput() CustomDomainRouteConfigArrayOutput ToCustomDomainRouteConfigArrayOutputWithContext(context.Context) CustomDomainRouteConfigArrayOutput }
CustomDomainRouteConfigArrayInput is an input type that accepts CustomDomainRouteConfigArray and CustomDomainRouteConfigArrayOutput values. You can construct a concrete instance of `CustomDomainRouteConfigArrayInput` via:
CustomDomainRouteConfigArray{ CustomDomainRouteConfigArgs{...} }
type CustomDomainRouteConfigArrayOutput ¶ added in v2.19.0
type CustomDomainRouteConfigArrayOutput struct{ *pulumi.OutputState }
func (CustomDomainRouteConfigArrayOutput) ElementType ¶ added in v2.19.0
func (CustomDomainRouteConfigArrayOutput) ElementType() reflect.Type
func (CustomDomainRouteConfigArrayOutput) Index ¶ added in v2.19.0
func (o CustomDomainRouteConfigArrayOutput) Index(i pulumi.IntInput) CustomDomainRouteConfigOutput
func (CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutput ¶ added in v2.19.0
func (o CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutput() CustomDomainRouteConfigArrayOutput
func (CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutputWithContext ¶ added in v2.19.0
func (o CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutputWithContext(ctx context.Context) CustomDomainRouteConfigArrayOutput
type CustomDomainRouteConfigInput ¶ added in v2.19.0
type CustomDomainRouteConfigInput interface { pulumi.Input ToCustomDomainRouteConfigOutput() CustomDomainRouteConfigOutput ToCustomDomainRouteConfigOutputWithContext(context.Context) CustomDomainRouteConfigOutput }
CustomDomainRouteConfigInput is an input type that accepts CustomDomainRouteConfigArgs and CustomDomainRouteConfigOutput values. You can construct a concrete instance of `CustomDomainRouteConfigInput` via:
CustomDomainRouteConfigArgs{...}
type CustomDomainRouteConfigOutput ¶ added in v2.19.0
type CustomDomainRouteConfigOutput struct{ *pulumi.OutputState }
func (CustomDomainRouteConfigOutput) ElementType ¶ added in v2.19.0
func (CustomDomainRouteConfigOutput) ElementType() reflect.Type
func (CustomDomainRouteConfigOutput) FunctionName ¶ added in v2.19.0
func (o CustomDomainRouteConfigOutput) FunctionName() pulumi.StringOutput
The name of the Function Compute function that requests are routed to.
func (CustomDomainRouteConfigOutput) Methods ¶ added in v2.19.0
func (o CustomDomainRouteConfigOutput) Methods() pulumi.StringArrayOutput
The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed.
func (CustomDomainRouteConfigOutput) Path ¶ added in v2.19.0
func (o CustomDomainRouteConfigOutput) Path() pulumi.StringOutput
The path that requests are routed from.
func (CustomDomainRouteConfigOutput) Qualifier ¶ added in v2.19.0
func (o CustomDomainRouteConfigOutput) Qualifier() pulumi.StringPtrOutput
The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service. For detail information about verison and alias, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/96464.htm).
func (CustomDomainRouteConfigOutput) ServiceName ¶ added in v2.19.0
func (o CustomDomainRouteConfigOutput) ServiceName() pulumi.StringOutput
func (CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutput ¶ added in v2.19.0
func (o CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutput() CustomDomainRouteConfigOutput
func (CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutputWithContext ¶ added in v2.19.0
func (o CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutputWithContext(ctx context.Context) CustomDomainRouteConfigOutput
type CustomDomainState ¶ added in v2.19.0
type CustomDomainState struct { // The account id. AccountId pulumi.StringPtrInput // The api version of Function Compute. ApiVersion pulumi.StringPtrInput // The configuration of HTTPS certificate. CertConfig CustomDomainCertConfigPtrInput // The date this resource was created. CreatedTime pulumi.StringPtrInput // The custom domain name. For example, "example.com". DomainName pulumi.StringPtrInput // The date this resource was last modified. LastModifiedTime pulumi.StringPtrInput // The protocol, `HTTP` or `HTTP,HTTPS`. Protocol pulumi.StringPtrInput // The configuration of domain route, mapping the path and Function Compute function. RouteConfigs CustomDomainRouteConfigArrayInput }
func (CustomDomainState) ElementType ¶ added in v2.19.0
func (CustomDomainState) ElementType() reflect.Type
type Function ¶
type Function struct { pulumi.CustomResourceState // The port that the function listen to, only valid for [custom runtime](https://www.alibabacloud.com/help/doc-detail/132044.htm) and [custom container runtime](https://www.alibabacloud.com/help/doc-detail/179368.htm). CaPort pulumi.IntPtrOutput `pulumi:"caPort"` // The checksum (crc64) of the function code. CodeChecksum pulumi.StringOutput `pulumi:"codeChecksum"` // The configuration for custom container runtime. CustomContainerConfig FunctionCustomContainerConfigPtrOutput `pulumi:"customContainerConfig"` // The Function Compute function description. Description pulumi.StringPtrOutput `pulumi:"description"` // A map that defines environment variables for the function. EnvironmentVariables pulumi.MapOutput `pulumi:"environmentVariables"` // The path to the function's deployment package within the local filesystem. It is conflict with the `oss_`-prefixed options. Filename pulumi.StringPtrOutput `pulumi:"filename"` // The Function Compute service ID. FunctionId pulumi.StringOutput `pulumi:"functionId"` // The function [entry point](https://www.alibabacloud.com/help/doc-detail/157704.htm) in your code. Handler pulumi.StringOutput `pulumi:"handler"` // The maximum length of time, in seconds, that the function's initialization should be run for. InitializationTimeout pulumi.IntPtrOutput `pulumi:"initializationTimeout"` // The entry point of the function's [initialization](https://www.alibabacloud.com/help/doc-detail/157704.htm). Initializer pulumi.StringPtrOutput `pulumi:"initializer"` // The maximum number of requests can be executed concurrently within the single function instance. InstanceConcurrency pulumi.IntPtrOutput `pulumi:"instanceConcurrency"` // The instance type of the function. InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"` // The date this resource was last modified. LastModified pulumi.StringOutput `pulumi:"lastModified"` // Amount of memory in MB your function can use at runtime. Defaults to `128`. Limits to [128, 3072]. MemorySize pulumi.IntPtrOutput `pulumi:"memorySize"` // The Function Compute function name. It is the only in one service and is conflict with "namePrefix". Name pulumi.StringOutput `pulumi:"name"` // Setting a prefix to get a only function name. It is conflict with "name". NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // The OSS bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same Alibaba Cloud region where you are creating the function. OssBucket pulumi.StringPtrOutput `pulumi:"ossBucket"` // The OSS key of an object containing the function's deployment package. Conflicts with `filename`. OssKey pulumi.StringPtrOutput `pulumi:"ossKey"` // See [Runtimes][https://www.alibabacloud.com/help/doc-detail/52077.htm] for valid values. Runtime pulumi.StringOutput `pulumi:"runtime"` // The Function Compute service name. Service pulumi.StringOutput `pulumi:"service"` // The amount of time your function has to run in seconds. Timeout pulumi.IntPtrOutput `pulumi:"timeout"` }
## Import
Function Compute function can be imported using the id, e.g.
```sh
$ pulumi import alicloud:fc/function:Function foo my-fc-service:hello-world
```
func GetFunction ¶
func GetFunction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)
GetFunction gets an existing Function 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 NewFunction ¶
func NewFunction(ctx *pulumi.Context, name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)
NewFunction registers a new resource with the given unique name, arguments, and options.
func (Function) ElementType ¶ added in v2.25.1
func (Function) ToFunctionOutput ¶ added in v2.25.1
func (i Function) ToFunctionOutput() FunctionOutput
func (Function) ToFunctionOutputWithContext ¶ added in v2.25.1
func (i Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
type FunctionArgs ¶
type FunctionArgs struct { // The port that the function listen to, only valid for [custom runtime](https://www.alibabacloud.com/help/doc-detail/132044.htm) and [custom container runtime](https://www.alibabacloud.com/help/doc-detail/179368.htm). CaPort pulumi.IntPtrInput // The checksum (crc64) of the function code. CodeChecksum pulumi.StringPtrInput // The configuration for custom container runtime. CustomContainerConfig FunctionCustomContainerConfigPtrInput // The Function Compute function description. Description pulumi.StringPtrInput // A map that defines environment variables for the function. EnvironmentVariables pulumi.MapInput // The path to the function's deployment package within the local filesystem. It is conflict with the `oss_`-prefixed options. Filename pulumi.StringPtrInput // The function [entry point](https://www.alibabacloud.com/help/doc-detail/157704.htm) in your code. Handler pulumi.StringInput // The maximum length of time, in seconds, that the function's initialization should be run for. InitializationTimeout pulumi.IntPtrInput // The entry point of the function's [initialization](https://www.alibabacloud.com/help/doc-detail/157704.htm). Initializer pulumi.StringPtrInput // The maximum number of requests can be executed concurrently within the single function instance. InstanceConcurrency pulumi.IntPtrInput // The instance type of the function. InstanceType pulumi.StringPtrInput // Amount of memory in MB your function can use at runtime. Defaults to `128`. Limits to [128, 3072]. MemorySize pulumi.IntPtrInput // The Function Compute function name. It is the only in one service and is conflict with "namePrefix". Name pulumi.StringPtrInput // Setting a prefix to get a only function name. It is conflict with "name". NamePrefix pulumi.StringPtrInput // The OSS bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same Alibaba Cloud region where you are creating the function. OssBucket pulumi.StringPtrInput // The OSS key of an object containing the function's deployment package. Conflicts with `filename`. OssKey pulumi.StringPtrInput // See [Runtimes][https://www.alibabacloud.com/help/doc-detail/52077.htm] for valid values. Runtime pulumi.StringInput // The Function Compute service name. Service pulumi.StringInput // The amount of time your function has to run in seconds. Timeout pulumi.IntPtrInput }
The set of arguments for constructing a Function resource.
func (FunctionArgs) ElementType ¶
func (FunctionArgs) ElementType() reflect.Type
type FunctionAsyncInvokeConfig ¶ added in v2.21.0
type FunctionAsyncInvokeConfig struct { pulumi.CustomResourceState // The date this resource was created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // Configuration block with destination configuration. See below for details. DestinationConfig FunctionAsyncInvokeConfigDestinationConfigPtrOutput `pulumi:"destinationConfig"` // Name of the Function Compute Function. FunctionName pulumi.StringOutput `pulumi:"functionName"` // The date this resource was last modified. LastModifiedTime pulumi.StringOutput `pulumi:"lastModifiedTime"` // Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 60 and 21600. MaximumEventAgeInSeconds pulumi.IntPtrOutput `pulumi:"maximumEventAgeInSeconds"` // Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2. MaximumRetryAttempts pulumi.IntPtrOutput `pulumi:"maximumRetryAttempts"` // Function Compute Function published version, `LATEST`, or Function Compute Alias name. The default value is `LATEST`. Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"` // Name of the Function Compute Function, omitting any version or alias qualifier. ServiceName pulumi.StringOutput `pulumi:"serviceName"` }
Manages an asynchronous invocation configuration for a FC Function or Alias.\ For the detailed information, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/181866.htm).
> **NOTE:** Available in 1.100.0+
## Example Usage ### Destination Configuration
> **NOTE** Ensure the FC Function RAM Role has necessary permissions for the destination, such as `mns:SendMessage`, `mns:PublishMessage` or `fc:InvokeFunction`, otherwise the API will return a generic error.
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.NewFunctionAsyncInvokeConfig(ctx, "example", &fc.FunctionAsyncInvokeConfigArgs{ ServiceName: pulumi.Any(alicloud_fc_service.Example.Name), FunctionName: pulumi.Any(alicloud_fc_function.Example.Name), DestinationConfig: &fc.FunctionAsyncInvokeConfigDestinationConfigArgs{ OnFailure: &fc.FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs{ Destination: pulumi.Any(the_example_mns_queue_arn), }, OnSuccess: &fc.FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs{ Destination: pulumi.Any(the_example_mns_topic_arn), }, }, }) if err != nil { return err } return nil }) }
``` ### Error Handling Configuration
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.NewFunctionAsyncInvokeConfig(ctx, "example", &fc.FunctionAsyncInvokeConfigArgs{ ServiceName: pulumi.Any(alicloud_fc_service.Example.Name), FunctionName: pulumi.Any(alicloud_fc_function.Example.Name), MaximumEventAgeInSeconds: pulumi.Int(60), MaximumRetryAttempts: pulumi.Int(0), }) if err != nil { return err } return nil }) }
``` ### Configuration for Function Latest Unpublished Version
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.NewFunctionAsyncInvokeConfig(ctx, "example", &fc.FunctionAsyncInvokeConfigArgs{ ServiceName: pulumi.Any(alicloud_fc_service.Example.Name), FunctionName: pulumi.Any(alicloud_fc_function.Example.Name), Qualifier: pulumi.String("LATEST"), }) if err != nil { return err } return nil }) }
```
## Import
Function Compute Function Async Invoke Configs can be imported using the id, e.g.
```sh
$ pulumi import alicloud:fc/functionAsyncInvokeConfig:FunctionAsyncInvokeConfig example my_function
```
func GetFunctionAsyncInvokeConfig ¶ added in v2.21.0
func GetFunctionAsyncInvokeConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionAsyncInvokeConfigState, opts ...pulumi.ResourceOption) (*FunctionAsyncInvokeConfig, error)
GetFunctionAsyncInvokeConfig gets an existing FunctionAsyncInvokeConfig 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 NewFunctionAsyncInvokeConfig ¶ added in v2.21.0
func NewFunctionAsyncInvokeConfig(ctx *pulumi.Context, name string, args *FunctionAsyncInvokeConfigArgs, opts ...pulumi.ResourceOption) (*FunctionAsyncInvokeConfig, error)
NewFunctionAsyncInvokeConfig registers a new resource with the given unique name, arguments, and options.
func (FunctionAsyncInvokeConfig) ElementType ¶ added in v2.25.1
func (FunctionAsyncInvokeConfig) ElementType() reflect.Type
func (FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutput ¶ added in v2.25.1
func (i FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutput() FunctionAsyncInvokeConfigOutput
func (FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutputWithContext ¶ added in v2.25.1
func (i FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigOutput
type FunctionAsyncInvokeConfigArgs ¶ added in v2.21.0
type FunctionAsyncInvokeConfigArgs struct { // Configuration block with destination configuration. See below for details. DestinationConfig FunctionAsyncInvokeConfigDestinationConfigPtrInput // Name of the Function Compute Function. FunctionName pulumi.StringInput // Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 60 and 21600. MaximumEventAgeInSeconds pulumi.IntPtrInput // Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2. MaximumRetryAttempts pulumi.IntPtrInput // Function Compute Function published version, `LATEST`, or Function Compute Alias name. The default value is `LATEST`. Qualifier pulumi.StringPtrInput // Name of the Function Compute Function, omitting any version or alias qualifier. ServiceName pulumi.StringInput }
The set of arguments for constructing a FunctionAsyncInvokeConfig resource.
func (FunctionAsyncInvokeConfigArgs) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigArgs) ElementType() reflect.Type
type FunctionAsyncInvokeConfigDestinationConfig ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfig struct { // Configuration block with destination configuration for failed asynchronous invocations. See below for details. OnFailure *FunctionAsyncInvokeConfigDestinationConfigOnFailure `pulumi:"onFailure"` // Configuration block with destination configuration for successful asynchronous invocations. See below for details. OnSuccess *FunctionAsyncInvokeConfigDestinationConfigOnSuccess `pulumi:"onSuccess"` }
type FunctionAsyncInvokeConfigDestinationConfigArgs ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigArgs struct { // Configuration block with destination configuration for failed asynchronous invocations. See below for details. OnFailure FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput `pulumi:"onFailure"` // Configuration block with destination configuration for successful asynchronous invocations. See below for details. OnSuccess FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput `pulumi:"onSuccess"` }
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutput ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutput() FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigInput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigInput interface { pulumi.Input ToFunctionAsyncInvokeConfigDestinationConfigOutput() FunctionAsyncInvokeConfigDestinationConfigOutput ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext(context.Context) FunctionAsyncInvokeConfigDestinationConfigOutput }
FunctionAsyncInvokeConfigDestinationConfigInput is an input type that accepts FunctionAsyncInvokeConfigDestinationConfigArgs and FunctionAsyncInvokeConfigDestinationConfigOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigDestinationConfigInput` via:
FunctionAsyncInvokeConfigDestinationConfigArgs{...}
type FunctionAsyncInvokeConfigDestinationConfigOnFailure ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnFailure struct { // Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions. Destination string `pulumi:"destination"` }
type FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs struct { // Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions. Destination pulumi.StringInput `pulumi:"destination"` }
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnFailureInput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnFailureInput interface { pulumi.Input ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext(context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput }
FunctionAsyncInvokeConfigDestinationConfigOnFailureInput is an input type that accepts FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs and FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigDestinationConfigOnFailureInput` via:
FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs{...}
type FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) Destination ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) Destination() pulumi.StringOutput
Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions.
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput interface { pulumi.Input ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput }
FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput is an input type that accepts FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs, FunctionAsyncInvokeConfigDestinationConfigOnFailurePtr and FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput` via:
FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs{...} or: nil
func FunctionAsyncInvokeConfigDestinationConfigOnFailurePtr ¶ added in v2.21.0
func FunctionAsyncInvokeConfigDestinationConfigOnFailurePtr(v *FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput
type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) Destination ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) Destination() pulumi.StringPtrOutput
Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions.
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccess ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnSuccess struct { // Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions. Destination string `pulumi:"destination"` }
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs struct { // Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions. Destination pulumi.StringInput `pulumi:"destination"` }
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶ added in v2.21.0
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessInput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessInput interface { pulumi.Input ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext(context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput }
FunctionAsyncInvokeConfigDestinationConfigOnSuccessInput is an input type that accepts FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs and FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigDestinationConfigOnSuccessInput` via:
FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs{...}
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) Destination ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) Destination() pulumi.StringOutput
Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions.
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput interface { pulumi.Input ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput }
FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput is an input type that accepts FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs, FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtr and FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput` via:
FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs{...} or: nil
func FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtr ¶ added in v2.21.0
func FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtr(v *FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination() pulumi.StringPtrOutput
Alicloud Resource Name (ARN) of the destination resource. See the [Developer Guide](https://www.alibabacloud.com/help/doc-detail/181866.htm) for acceptable resource types and associated RAM permissions.
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOutput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOutput) OnFailure ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) OnFailure() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See below for details.
func (FunctionAsyncInvokeConfigDestinationConfigOutput) OnSuccess ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) OnSuccess() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See below for details.
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutput() FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigPtrInput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigPtrInput interface { pulumi.Input ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput }
FunctionAsyncInvokeConfigDestinationConfigPtrInput is an input type that accepts FunctionAsyncInvokeConfigDestinationConfigArgs, FunctionAsyncInvokeConfigDestinationConfigPtr and FunctionAsyncInvokeConfigDestinationConfigPtrOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigDestinationConfigPtrInput` via:
FunctionAsyncInvokeConfigDestinationConfigArgs{...} or: nil
func FunctionAsyncInvokeConfigDestinationConfigPtr ¶ added in v2.21.0
func FunctionAsyncInvokeConfigDestinationConfigPtr(v *FunctionAsyncInvokeConfigDestinationConfigArgs) FunctionAsyncInvokeConfigDestinationConfigPtrInput
type FunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶ added in v2.21.0
type FunctionAsyncInvokeConfigDestinationConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnFailure ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnFailure() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See below for details.
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnSuccess ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnSuccess() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See below for details.
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext ¶ added in v2.21.0
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
type FunctionAsyncInvokeConfigInput ¶ added in v2.25.1
type FunctionAsyncInvokeConfigInput interface { pulumi.Input ToFunctionAsyncInvokeConfigOutput() FunctionAsyncInvokeConfigOutput ToFunctionAsyncInvokeConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigOutput }
type FunctionAsyncInvokeConfigOutput ¶ added in v2.25.1
type FunctionAsyncInvokeConfigOutput struct {
*pulumi.OutputState
}
func (FunctionAsyncInvokeConfigOutput) ElementType ¶ added in v2.25.1
func (FunctionAsyncInvokeConfigOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutput ¶ added in v2.25.1
func (o FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutput() FunctionAsyncInvokeConfigOutput
func (FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutputWithContext ¶ added in v2.25.1
func (o FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigOutput
type FunctionAsyncInvokeConfigState ¶ added in v2.21.0
type FunctionAsyncInvokeConfigState struct { // The date this resource was created. CreatedTime pulumi.StringPtrInput // Configuration block with destination configuration. See below for details. DestinationConfig FunctionAsyncInvokeConfigDestinationConfigPtrInput // Name of the Function Compute Function. FunctionName pulumi.StringPtrInput // The date this resource was last modified. LastModifiedTime pulumi.StringPtrInput // Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 60 and 21600. MaximumEventAgeInSeconds pulumi.IntPtrInput // Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2. MaximumRetryAttempts pulumi.IntPtrInput // Function Compute Function published version, `LATEST`, or Function Compute Alias name. The default value is `LATEST`. Qualifier pulumi.StringPtrInput // Name of the Function Compute Function, omitting any version or alias qualifier. ServiceName pulumi.StringPtrInput }
func (FunctionAsyncInvokeConfigState) ElementType ¶ added in v2.21.0
func (FunctionAsyncInvokeConfigState) ElementType() reflect.Type
type FunctionCustomContainerConfig ¶ added in v2.17.0
type FunctionCustomContainerConfig struct { // The args field specifies the arguments passed to the command. Args *string `pulumi:"args"` // The entry point of the container, which specifies the actual command run by the container. Command *string `pulumi:"command"` // The container image address. Image string `pulumi:"image"` }
type FunctionCustomContainerConfigArgs ¶ added in v2.17.0
type FunctionCustomContainerConfigArgs struct { // The args field specifies the arguments passed to the command. Args pulumi.StringPtrInput `pulumi:"args"` // The entry point of the container, which specifies the actual command run by the container. Command pulumi.StringPtrInput `pulumi:"command"` // The container image address. Image pulumi.StringInput `pulumi:"image"` }
func (FunctionCustomContainerConfigArgs) ElementType ¶ added in v2.17.0
func (FunctionCustomContainerConfigArgs) ElementType() reflect.Type
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutput ¶ added in v2.17.0
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutput() FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutputWithContext ¶ added in v2.17.0
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutputWithContext(ctx context.Context) FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutputWithContext ¶ added in v2.17.0
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
type FunctionCustomContainerConfigInput ¶ added in v2.17.0
type FunctionCustomContainerConfigInput interface { pulumi.Input ToFunctionCustomContainerConfigOutput() FunctionCustomContainerConfigOutput ToFunctionCustomContainerConfigOutputWithContext(context.Context) FunctionCustomContainerConfigOutput }
FunctionCustomContainerConfigInput is an input type that accepts FunctionCustomContainerConfigArgs and FunctionCustomContainerConfigOutput values. You can construct a concrete instance of `FunctionCustomContainerConfigInput` via:
FunctionCustomContainerConfigArgs{...}
type FunctionCustomContainerConfigOutput ¶ added in v2.17.0
type FunctionCustomContainerConfigOutput struct{ *pulumi.OutputState }
func (FunctionCustomContainerConfigOutput) Args ¶ added in v2.17.0
func (o FunctionCustomContainerConfigOutput) Args() pulumi.StringPtrOutput
The args field specifies the arguments passed to the command.
func (FunctionCustomContainerConfigOutput) Command ¶ added in v2.17.0
func (o FunctionCustomContainerConfigOutput) Command() pulumi.StringPtrOutput
The entry point of the container, which specifies the actual command run by the container.
func (FunctionCustomContainerConfigOutput) ElementType ¶ added in v2.17.0
func (FunctionCustomContainerConfigOutput) ElementType() reflect.Type
func (FunctionCustomContainerConfigOutput) Image ¶ added in v2.17.0
func (o FunctionCustomContainerConfigOutput) Image() pulumi.StringOutput
The container image address.
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutput ¶ added in v2.17.0
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutput() FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutputWithContext ¶ added in v2.17.0
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutputWithContext(ctx context.Context) FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutputWithContext ¶ added in v2.17.0
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
type FunctionCustomContainerConfigPtrInput ¶ added in v2.17.0
type FunctionCustomContainerConfigPtrInput interface { pulumi.Input ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput ToFunctionCustomContainerConfigPtrOutputWithContext(context.Context) FunctionCustomContainerConfigPtrOutput }
FunctionCustomContainerConfigPtrInput is an input type that accepts FunctionCustomContainerConfigArgs, FunctionCustomContainerConfigPtr and FunctionCustomContainerConfigPtrOutput values. You can construct a concrete instance of `FunctionCustomContainerConfigPtrInput` via:
FunctionCustomContainerConfigArgs{...} or: nil
func FunctionCustomContainerConfigPtr ¶ added in v2.17.0
func FunctionCustomContainerConfigPtr(v *FunctionCustomContainerConfigArgs) FunctionCustomContainerConfigPtrInput
type FunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
type FunctionCustomContainerConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionCustomContainerConfigPtrOutput) Args ¶ added in v2.17.0
func (o FunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
The args field specifies the arguments passed to the command.
func (FunctionCustomContainerConfigPtrOutput) Command ¶ added in v2.17.0
func (o FunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
The entry point of the container, which specifies the actual command run by the container.
func (FunctionCustomContainerConfigPtrOutput) ElementType ¶ added in v2.17.0
func (FunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
func (FunctionCustomContainerConfigPtrOutput) Image ¶ added in v2.17.0
func (o FunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
The container image address.
func (FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
func (o FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
func (FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutputWithContext ¶ added in v2.17.0
func (o FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
type FunctionInput ¶ added in v2.25.1
type FunctionInput interface { pulumi.Input ToFunctionOutput() FunctionOutput ToFunctionOutputWithContext(ctx context.Context) FunctionOutput }
type FunctionOutput ¶ added in v2.25.1
type FunctionOutput struct {
*pulumi.OutputState
}
func (FunctionOutput) ElementType ¶ added in v2.25.1
func (FunctionOutput) ElementType() reflect.Type
func (FunctionOutput) ToFunctionOutput ¶ added in v2.25.1
func (o FunctionOutput) ToFunctionOutput() FunctionOutput
func (FunctionOutput) ToFunctionOutputWithContext ¶ added in v2.25.1
func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
type FunctionState ¶
type FunctionState struct { // The port that the function listen to, only valid for [custom runtime](https://www.alibabacloud.com/help/doc-detail/132044.htm) and [custom container runtime](https://www.alibabacloud.com/help/doc-detail/179368.htm). CaPort pulumi.IntPtrInput // The checksum (crc64) of the function code. CodeChecksum pulumi.StringPtrInput // The configuration for custom container runtime. CustomContainerConfig FunctionCustomContainerConfigPtrInput // The Function Compute function description. Description pulumi.StringPtrInput // A map that defines environment variables for the function. EnvironmentVariables pulumi.MapInput // The path to the function's deployment package within the local filesystem. It is conflict with the `oss_`-prefixed options. Filename pulumi.StringPtrInput // The Function Compute service ID. FunctionId pulumi.StringPtrInput // The function [entry point](https://www.alibabacloud.com/help/doc-detail/157704.htm) in your code. Handler pulumi.StringPtrInput // The maximum length of time, in seconds, that the function's initialization should be run for. InitializationTimeout pulumi.IntPtrInput // The entry point of the function's [initialization](https://www.alibabacloud.com/help/doc-detail/157704.htm). Initializer pulumi.StringPtrInput // The maximum number of requests can be executed concurrently within the single function instance. InstanceConcurrency pulumi.IntPtrInput // The instance type of the function. InstanceType pulumi.StringPtrInput // The date this resource was last modified. LastModified pulumi.StringPtrInput // Amount of memory in MB your function can use at runtime. Defaults to `128`. Limits to [128, 3072]. MemorySize pulumi.IntPtrInput // The Function Compute function name. It is the only in one service and is conflict with "namePrefix". Name pulumi.StringPtrInput // Setting a prefix to get a only function name. It is conflict with "name". NamePrefix pulumi.StringPtrInput // The OSS bucket location containing the function's deployment package. Conflicts with `filename`. This bucket must reside in the same Alibaba Cloud region where you are creating the function. OssBucket pulumi.StringPtrInput // The OSS key of an object containing the function's deployment package. Conflicts with `filename`. OssKey pulumi.StringPtrInput // See [Runtimes][https://www.alibabacloud.com/help/doc-detail/52077.htm] for valid values. Runtime pulumi.StringPtrInput // The Function Compute service name. Service pulumi.StringPtrInput // The amount of time your function has to run in seconds. Timeout pulumi.IntPtrInput }
func (FunctionState) ElementType ¶
func (FunctionState) ElementType() reflect.Type
type GetCustomDomainsArgs ¶ added in v2.19.0
type GetCustomDomainsArgs struct { // A list of functions ids. Ids []string `pulumi:"ids"` // A regex string to filter results by Function Compute custom domain name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getCustomDomains.
type GetCustomDomainsDomain ¶ added in v2.19.0
type GetCustomDomainsDomain struct { // The account id. AccountId string `pulumi:"accountId"` // The API version of the Function Compute service. ApiVersion string `pulumi:"apiVersion"` // The configuration of HTTPS certificate. CertConfig GetCustomDomainsDomainCertConfig `pulumi:"certConfig"` // The created time of the custom domain. CreatedTime string `pulumi:"createdTime"` // The custom domain name. DomainName string `pulumi:"domainName"` // The custom domain id, same as domain name. Id string `pulumi:"id"` // The last modified time of the custom domain. LastModifiedTime string `pulumi:"lastModifiedTime"` // The custom domain protocol. Protocol string `pulumi:"protocol"` // The configuration of domain route, mapping the path and Function Compute function. RouteConfigs []GetCustomDomainsDomainRouteConfig `pulumi:"routeConfigs"` }
type GetCustomDomainsDomainArgs ¶ added in v2.19.0
type GetCustomDomainsDomainArgs struct { // The account id. AccountId pulumi.StringInput `pulumi:"accountId"` // The API version of the Function Compute service. ApiVersion pulumi.StringInput `pulumi:"apiVersion"` // The configuration of HTTPS certificate. CertConfig GetCustomDomainsDomainCertConfigInput `pulumi:"certConfig"` // The created time of the custom domain. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // The custom domain name. DomainName pulumi.StringInput `pulumi:"domainName"` // The custom domain id, same as domain name. Id pulumi.StringInput `pulumi:"id"` // The last modified time of the custom domain. LastModifiedTime pulumi.StringInput `pulumi:"lastModifiedTime"` // The custom domain protocol. Protocol pulumi.StringInput `pulumi:"protocol"` // The configuration of domain route, mapping the path and Function Compute function. RouteConfigs GetCustomDomainsDomainRouteConfigArrayInput `pulumi:"routeConfigs"` }
func (GetCustomDomainsDomainArgs) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainArgs) ElementType() reflect.Type
func (GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutput ¶ added in v2.19.0
func (i GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutput() GetCustomDomainsDomainOutput
func (GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutputWithContext ¶ added in v2.19.0
func (i GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutputWithContext(ctx context.Context) GetCustomDomainsDomainOutput
type GetCustomDomainsDomainArray ¶ added in v2.19.0
type GetCustomDomainsDomainArray []GetCustomDomainsDomainInput
func (GetCustomDomainsDomainArray) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainArray) ElementType() reflect.Type
func (GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutput ¶ added in v2.19.0
func (i GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutput() GetCustomDomainsDomainArrayOutput
func (GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutputWithContext ¶ added in v2.19.0
func (i GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainArrayOutput
type GetCustomDomainsDomainArrayInput ¶ added in v2.19.0
type GetCustomDomainsDomainArrayInput interface { pulumi.Input ToGetCustomDomainsDomainArrayOutput() GetCustomDomainsDomainArrayOutput ToGetCustomDomainsDomainArrayOutputWithContext(context.Context) GetCustomDomainsDomainArrayOutput }
GetCustomDomainsDomainArrayInput is an input type that accepts GetCustomDomainsDomainArray and GetCustomDomainsDomainArrayOutput values. You can construct a concrete instance of `GetCustomDomainsDomainArrayInput` via:
GetCustomDomainsDomainArray{ GetCustomDomainsDomainArgs{...} }
type GetCustomDomainsDomainArrayOutput ¶ added in v2.19.0
type GetCustomDomainsDomainArrayOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainArrayOutput) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainArrayOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainArrayOutput) Index ¶ added in v2.19.0
func (o GetCustomDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetCustomDomainsDomainOutput
func (GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutput ¶ added in v2.19.0
func (o GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutput() GetCustomDomainsDomainArrayOutput
func (GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutputWithContext ¶ added in v2.19.0
func (o GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainArrayOutput
type GetCustomDomainsDomainCertConfig ¶ added in v2.19.0
type GetCustomDomainsDomainCertConfigArgs ¶ added in v2.19.0
type GetCustomDomainsDomainCertConfigArgs struct { // The name of the certificate. CertName pulumi.StringInput `pulumi:"certName"` // Certificate data of the HTTPS certificates, follow the 'pem'. Certificate pulumi.StringInput `pulumi:"certificate"` }
func (GetCustomDomainsDomainCertConfigArgs) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainCertConfigArgs) ElementType() reflect.Type
func (GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutput ¶ added in v2.19.0
func (i GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutput() GetCustomDomainsDomainCertConfigOutput
func (GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutputWithContext ¶ added in v2.19.0
func (i GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainCertConfigOutput
type GetCustomDomainsDomainCertConfigInput ¶ added in v2.19.0
type GetCustomDomainsDomainCertConfigInput interface { pulumi.Input ToGetCustomDomainsDomainCertConfigOutput() GetCustomDomainsDomainCertConfigOutput ToGetCustomDomainsDomainCertConfigOutputWithContext(context.Context) GetCustomDomainsDomainCertConfigOutput }
GetCustomDomainsDomainCertConfigInput is an input type that accepts GetCustomDomainsDomainCertConfigArgs and GetCustomDomainsDomainCertConfigOutput values. You can construct a concrete instance of `GetCustomDomainsDomainCertConfigInput` via:
GetCustomDomainsDomainCertConfigArgs{...}
type GetCustomDomainsDomainCertConfigOutput ¶ added in v2.19.0
type GetCustomDomainsDomainCertConfigOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainCertConfigOutput) CertName ¶ added in v2.19.0
func (o GetCustomDomainsDomainCertConfigOutput) CertName() pulumi.StringOutput
The name of the certificate.
func (GetCustomDomainsDomainCertConfigOutput) Certificate ¶ added in v2.19.0
func (o GetCustomDomainsDomainCertConfigOutput) Certificate() pulumi.StringOutput
Certificate data of the HTTPS certificates, follow the 'pem'.
func (GetCustomDomainsDomainCertConfigOutput) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainCertConfigOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutput ¶ added in v2.19.0
func (o GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutput() GetCustomDomainsDomainCertConfigOutput
func (GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutputWithContext ¶ added in v2.19.0
func (o GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainCertConfigOutput
type GetCustomDomainsDomainInput ¶ added in v2.19.0
type GetCustomDomainsDomainInput interface { pulumi.Input ToGetCustomDomainsDomainOutput() GetCustomDomainsDomainOutput ToGetCustomDomainsDomainOutputWithContext(context.Context) GetCustomDomainsDomainOutput }
GetCustomDomainsDomainInput is an input type that accepts GetCustomDomainsDomainArgs and GetCustomDomainsDomainOutput values. You can construct a concrete instance of `GetCustomDomainsDomainInput` via:
GetCustomDomainsDomainArgs{...}
type GetCustomDomainsDomainOutput ¶ added in v2.19.0
type GetCustomDomainsDomainOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainOutput) AccountId ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) AccountId() pulumi.StringOutput
The account id.
func (GetCustomDomainsDomainOutput) ApiVersion ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) ApiVersion() pulumi.StringOutput
The API version of the Function Compute service.
func (GetCustomDomainsDomainOutput) CertConfig ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) CertConfig() GetCustomDomainsDomainCertConfigOutput
The configuration of HTTPS certificate.
func (GetCustomDomainsDomainOutput) CreatedTime ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) CreatedTime() pulumi.StringOutput
The created time of the custom domain.
func (GetCustomDomainsDomainOutput) DomainName ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) DomainName() pulumi.StringOutput
The custom domain name.
func (GetCustomDomainsDomainOutput) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainOutput) Id ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) Id() pulumi.StringOutput
The custom domain id, same as domain name.
func (GetCustomDomainsDomainOutput) LastModifiedTime ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) LastModifiedTime() pulumi.StringOutput
The last modified time of the custom domain.
func (GetCustomDomainsDomainOutput) Protocol ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) Protocol() pulumi.StringOutput
The custom domain protocol.
func (GetCustomDomainsDomainOutput) RouteConfigs ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) RouteConfigs() GetCustomDomainsDomainRouteConfigArrayOutput
The configuration of domain route, mapping the path and Function Compute function.
func (GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutput ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutput() GetCustomDomainsDomainOutput
func (GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutputWithContext ¶ added in v2.19.0
func (o GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutputWithContext(ctx context.Context) GetCustomDomainsDomainOutput
type GetCustomDomainsDomainRouteConfig ¶ added in v2.19.0
type GetCustomDomainsDomainRouteConfig struct { // The name of the Function Compute function that requests are routed to. FunctionName string `pulumi:"functionName"` // The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed. Methods []string `pulumi:"methods"` // The path that requests are routed from. Path string `pulumi:"path"` // The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service. Qualifier string `pulumi:"qualifier"` // The name of the Function Compute service that requests are routed to. ServiceName string `pulumi:"serviceName"` }
type GetCustomDomainsDomainRouteConfigArgs ¶ added in v2.19.0
type GetCustomDomainsDomainRouteConfigArgs struct { // The name of the Function Compute function that requests are routed to. FunctionName pulumi.StringInput `pulumi:"functionName"` // The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed. Methods pulumi.StringArrayInput `pulumi:"methods"` // The path that requests are routed from. Path pulumi.StringInput `pulumi:"path"` // The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service. Qualifier pulumi.StringInput `pulumi:"qualifier"` // The name of the Function Compute service that requests are routed to. ServiceName pulumi.StringInput `pulumi:"serviceName"` }
func (GetCustomDomainsDomainRouteConfigArgs) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainRouteConfigArgs) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutput ¶ added in v2.19.0
func (i GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutput() GetCustomDomainsDomainRouteConfigOutput
func (GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutputWithContext ¶ added in v2.19.0
func (i GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigOutput
type GetCustomDomainsDomainRouteConfigArray ¶ added in v2.19.0
type GetCustomDomainsDomainRouteConfigArray []GetCustomDomainsDomainRouteConfigInput
func (GetCustomDomainsDomainRouteConfigArray) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainRouteConfigArray) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutput ¶ added in v2.19.0
func (i GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutput() GetCustomDomainsDomainRouteConfigArrayOutput
func (GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext ¶ added in v2.19.0
func (i GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigArrayOutput
type GetCustomDomainsDomainRouteConfigArrayInput ¶ added in v2.19.0
type GetCustomDomainsDomainRouteConfigArrayInput interface { pulumi.Input ToGetCustomDomainsDomainRouteConfigArrayOutput() GetCustomDomainsDomainRouteConfigArrayOutput ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext(context.Context) GetCustomDomainsDomainRouteConfigArrayOutput }
GetCustomDomainsDomainRouteConfigArrayInput is an input type that accepts GetCustomDomainsDomainRouteConfigArray and GetCustomDomainsDomainRouteConfigArrayOutput values. You can construct a concrete instance of `GetCustomDomainsDomainRouteConfigArrayInput` via:
GetCustomDomainsDomainRouteConfigArray{ GetCustomDomainsDomainRouteConfigArgs{...} }
type GetCustomDomainsDomainRouteConfigArrayOutput ¶ added in v2.19.0
type GetCustomDomainsDomainRouteConfigArrayOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainRouteConfigArrayOutput) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainRouteConfigArrayOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutput ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutput() GetCustomDomainsDomainRouteConfigArrayOutput
func (GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigArrayOutput
type GetCustomDomainsDomainRouteConfigInput ¶ added in v2.19.0
type GetCustomDomainsDomainRouteConfigInput interface { pulumi.Input ToGetCustomDomainsDomainRouteConfigOutput() GetCustomDomainsDomainRouteConfigOutput ToGetCustomDomainsDomainRouteConfigOutputWithContext(context.Context) GetCustomDomainsDomainRouteConfigOutput }
GetCustomDomainsDomainRouteConfigInput is an input type that accepts GetCustomDomainsDomainRouteConfigArgs and GetCustomDomainsDomainRouteConfigOutput values. You can construct a concrete instance of `GetCustomDomainsDomainRouteConfigInput` via:
GetCustomDomainsDomainRouteConfigArgs{...}
type GetCustomDomainsDomainRouteConfigOutput ¶ added in v2.19.0
type GetCustomDomainsDomainRouteConfigOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainRouteConfigOutput) ElementType ¶ added in v2.19.0
func (GetCustomDomainsDomainRouteConfigOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigOutput) FunctionName ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigOutput) FunctionName() pulumi.StringOutput
The name of the Function Compute function that requests are routed to.
func (GetCustomDomainsDomainRouteConfigOutput) Methods ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigOutput) Methods() pulumi.StringArrayOutput
The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed.
func (GetCustomDomainsDomainRouteConfigOutput) Path ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigOutput) Path() pulumi.StringOutput
The path that requests are routed from.
func (GetCustomDomainsDomainRouteConfigOutput) Qualifier ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigOutput) Qualifier() pulumi.StringOutput
The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service.
func (GetCustomDomainsDomainRouteConfigOutput) ServiceName ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigOutput) ServiceName() pulumi.StringOutput
The name of the Function Compute service that requests are routed to.
func (GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutput ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutput() GetCustomDomainsDomainRouteConfigOutput
func (GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutputWithContext ¶ added in v2.19.0
func (o GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigOutput
type GetCustomDomainsResult ¶ added in v2.19.0
type GetCustomDomainsResult struct { // A list of custom domains, including the following attributes: Domains []GetCustomDomainsDomain `pulumi:"domains"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of custom domain ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of custom domain names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getCustomDomains.
func GetCustomDomains ¶ added in v2.19.0
func GetCustomDomains(ctx *pulumi.Context, args *GetCustomDomainsArgs, opts ...pulumi.InvokeOption) (*GetCustomDomainsResult, error)
This data source provides the Function Compute custom domains of the current Alibaba Cloud user.
> **NOTE:** Available in 1.98.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "sample_fc_custom_domain" _, err := fc.GetCustomDomains(ctx, &fc.GetCustomDomainsArgs{ NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstFcCustomDomainName", data.Alicloud_fc_custom_domains.Fc_domains_ds.Domains[0].Domain_name) return nil }) }
```
type GetFunctionsArgs ¶
type GetFunctionsArgs struct { // - A list of functions ids. Ids []string `pulumi:"ids"` // A regex string to filter results by function name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // Name of the service that contains the functions to find. ServiceName string `pulumi:"serviceName"` }
A collection of arguments for invoking getFunctions.
type GetFunctionsFunction ¶
type GetFunctionsFunction struct { // The port that the function listen to, only valid for [custom runtime](https://www.alibabacloud.com/help/doc-detail/132044.htm) and [custom container runtime](https://www.alibabacloud.com/help/doc-detail/179368.htm). CaPort int `pulumi:"caPort"` // Checksum (crc64) of the function code. CodeChecksum string `pulumi:"codeChecksum"` // Function code size in bytes. CodeSize int `pulumi:"codeSize"` // Function creation time. CreationTime string `pulumi:"creationTime"` // The configuration for custom container runtime. It contains following attributes: CustomContainerConfig *GetFunctionsFunctionCustomContainerConfig `pulumi:"customContainerConfig"` // Function description. Description string `pulumi:"description"` // A map that defines environment variables for the function. EnvironmentVariables map[string]interface{} `pulumi:"environmentVariables"` // Function [entry point](https://www.alibabacloud.com/help/doc-detail/62213.htm) in the code. Handler string `pulumi:"handler"` // Function ID. Id string `pulumi:"id"` // The maximum length of time, in seconds, that the function's initialization should be run for. InitializationTimeout int `pulumi:"initializationTimeout"` // The entry point of the function's [initialization](https://www.alibabacloud.com/help/doc-detail/157704.htm). Initializer string `pulumi:"initializer"` // The maximum number of requests can be executed concurrently within the single function instance. InstanceConcurrency int `pulumi:"instanceConcurrency"` // The instance type of the function. InstanceType string `pulumi:"instanceType"` // Function last modification time. LastModificationTime string `pulumi:"lastModificationTime"` // Amount of memory in MB the function can use at runtime. MemorySize int `pulumi:"memorySize"` // Function name. Name string `pulumi:"name"` // Function runtime. The list of possible values is [available here](https://www.alibabacloud.com/help/doc-detail/52077.htm). Runtime string `pulumi:"runtime"` // Maximum amount of time the function can run in seconds. Timeout int `pulumi:"timeout"` }
type GetFunctionsFunctionArgs ¶
type GetFunctionsFunctionArgs struct { // The port that the function listen to, only valid for [custom runtime](https://www.alibabacloud.com/help/doc-detail/132044.htm) and [custom container runtime](https://www.alibabacloud.com/help/doc-detail/179368.htm). CaPort pulumi.IntInput `pulumi:"caPort"` // Checksum (crc64) of the function code. CodeChecksum pulumi.StringInput `pulumi:"codeChecksum"` // Function code size in bytes. CodeSize pulumi.IntInput `pulumi:"codeSize"` // Function creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` // The configuration for custom container runtime. It contains following attributes: CustomContainerConfig GetFunctionsFunctionCustomContainerConfigPtrInput `pulumi:"customContainerConfig"` // Function description. Description pulumi.StringInput `pulumi:"description"` // A map that defines environment variables for the function. EnvironmentVariables pulumi.MapInput `pulumi:"environmentVariables"` // Function [entry point](https://www.alibabacloud.com/help/doc-detail/62213.htm) in the code. Handler pulumi.StringInput `pulumi:"handler"` // Function ID. Id pulumi.StringInput `pulumi:"id"` // The maximum length of time, in seconds, that the function's initialization should be run for. InitializationTimeout pulumi.IntInput `pulumi:"initializationTimeout"` // The entry point of the function's [initialization](https://www.alibabacloud.com/help/doc-detail/157704.htm). Initializer pulumi.StringInput `pulumi:"initializer"` // The maximum number of requests can be executed concurrently within the single function instance. InstanceConcurrency pulumi.IntInput `pulumi:"instanceConcurrency"` // The instance type of the function. InstanceType pulumi.StringInput `pulumi:"instanceType"` // Function last modification time. LastModificationTime pulumi.StringInput `pulumi:"lastModificationTime"` // Amount of memory in MB the function can use at runtime. MemorySize pulumi.IntInput `pulumi:"memorySize"` // Function name. Name pulumi.StringInput `pulumi:"name"` // Function runtime. The list of possible values is [available here](https://www.alibabacloud.com/help/doc-detail/52077.htm). Runtime pulumi.StringInput `pulumi:"runtime"` // Maximum amount of time the function can run in seconds. Timeout pulumi.IntInput `pulumi:"timeout"` }
func (GetFunctionsFunctionArgs) ElementType ¶
func (GetFunctionsFunctionArgs) ElementType() reflect.Type
func (GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutput ¶
func (i GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput
func (GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutputWithContext ¶
func (i GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionOutput
type GetFunctionsFunctionArray ¶
type GetFunctionsFunctionArray []GetFunctionsFunctionInput
func (GetFunctionsFunctionArray) ElementType ¶
func (GetFunctionsFunctionArray) ElementType() reflect.Type
func (GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutput ¶
func (i GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput
func (GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutputWithContext ¶
func (i GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionArrayOutput
type GetFunctionsFunctionArrayInput ¶
type GetFunctionsFunctionArrayInput interface { pulumi.Input ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput ToGetFunctionsFunctionArrayOutputWithContext(context.Context) GetFunctionsFunctionArrayOutput }
GetFunctionsFunctionArrayInput is an input type that accepts GetFunctionsFunctionArray and GetFunctionsFunctionArrayOutput values. You can construct a concrete instance of `GetFunctionsFunctionArrayInput` via:
GetFunctionsFunctionArray{ GetFunctionsFunctionArgs{...} }
type GetFunctionsFunctionArrayOutput ¶
type GetFunctionsFunctionArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionsFunctionArrayOutput) ElementType ¶
func (GetFunctionsFunctionArrayOutput) ElementType() reflect.Type
func (GetFunctionsFunctionArrayOutput) Index ¶
func (o GetFunctionsFunctionArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionOutput
func (GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutput ¶
func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput
func (GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutputWithContext ¶
func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionArrayOutput
type GetFunctionsFunctionCustomContainerConfig ¶ added in v2.17.0
type GetFunctionsFunctionCustomContainerConfig struct { // The args field specifies the arguments passed to the command. Args string `pulumi:"args"` // The entry point of the container, which specifies the actual command run by the container. Command string `pulumi:"command"` // The container image address. Image string `pulumi:"image"` }
type GetFunctionsFunctionCustomContainerConfigArgs ¶ added in v2.17.0
type GetFunctionsFunctionCustomContainerConfigArgs struct { // The args field specifies the arguments passed to the command. Args pulumi.StringInput `pulumi:"args"` // The entry point of the container, which specifies the actual command run by the container. Command pulumi.StringInput `pulumi:"command"` // The container image address. Image pulumi.StringInput `pulumi:"image"` }
func (GetFunctionsFunctionCustomContainerConfigArgs) ElementType ¶ added in v2.17.0
func (GetFunctionsFunctionCustomContainerConfigArgs) ElementType() reflect.Type
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutput ¶ added in v2.17.0
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutput() GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext ¶ added in v2.17.0
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext ¶ added in v2.17.0
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
type GetFunctionsFunctionCustomContainerConfigInput ¶ added in v2.17.0
type GetFunctionsFunctionCustomContainerConfigInput interface { pulumi.Input ToGetFunctionsFunctionCustomContainerConfigOutput() GetFunctionsFunctionCustomContainerConfigOutput ToGetFunctionsFunctionCustomContainerConfigOutputWithContext(context.Context) GetFunctionsFunctionCustomContainerConfigOutput }
GetFunctionsFunctionCustomContainerConfigInput is an input type that accepts GetFunctionsFunctionCustomContainerConfigArgs and GetFunctionsFunctionCustomContainerConfigOutput values. You can construct a concrete instance of `GetFunctionsFunctionCustomContainerConfigInput` via:
GetFunctionsFunctionCustomContainerConfigArgs{...}
type GetFunctionsFunctionCustomContainerConfigOutput ¶ added in v2.17.0
type GetFunctionsFunctionCustomContainerConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionsFunctionCustomContainerConfigOutput) Args ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigOutput) Args() pulumi.StringOutput
The args field specifies the arguments passed to the command.
func (GetFunctionsFunctionCustomContainerConfigOutput) Command ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigOutput) Command() pulumi.StringOutput
The entry point of the container, which specifies the actual command run by the container.
func (GetFunctionsFunctionCustomContainerConfigOutput) ElementType ¶ added in v2.17.0
func (GetFunctionsFunctionCustomContainerConfigOutput) ElementType() reflect.Type
func (GetFunctionsFunctionCustomContainerConfigOutput) Image ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigOutput) Image() pulumi.StringOutput
The container image address.
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutput ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutput() GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
type GetFunctionsFunctionCustomContainerConfigPtrInput ¶ added in v2.17.0
type GetFunctionsFunctionCustomContainerConfigPtrInput interface { pulumi.Input ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput }
GetFunctionsFunctionCustomContainerConfigPtrInput is an input type that accepts GetFunctionsFunctionCustomContainerConfigArgs, GetFunctionsFunctionCustomContainerConfigPtr and GetFunctionsFunctionCustomContainerConfigPtrOutput values. You can construct a concrete instance of `GetFunctionsFunctionCustomContainerConfigPtrInput` via:
GetFunctionsFunctionCustomContainerConfigArgs{...} or: nil
func GetFunctionsFunctionCustomContainerConfigPtr ¶ added in v2.17.0
func GetFunctionsFunctionCustomContainerConfigPtr(v *GetFunctionsFunctionCustomContainerConfigArgs) GetFunctionsFunctionCustomContainerConfigPtrInput
type GetFunctionsFunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
type GetFunctionsFunctionCustomContainerConfigPtrOutput struct{ *pulumi.OutputState }
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) Args ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
The args field specifies the arguments passed to the command.
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) Command ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
The entry point of the container, which specifies the actual command run by the container.
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ElementType ¶ added in v2.17.0
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) Image ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
The container image address.
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext ¶ added in v2.17.0
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
type GetFunctionsFunctionInput ¶
type GetFunctionsFunctionInput interface { pulumi.Input ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput ToGetFunctionsFunctionOutputWithContext(context.Context) GetFunctionsFunctionOutput }
GetFunctionsFunctionInput is an input type that accepts GetFunctionsFunctionArgs and GetFunctionsFunctionOutput values. You can construct a concrete instance of `GetFunctionsFunctionInput` via:
GetFunctionsFunctionArgs{...}
type GetFunctionsFunctionOutput ¶
type GetFunctionsFunctionOutput struct{ *pulumi.OutputState }
func (GetFunctionsFunctionOutput) CaPort ¶ added in v2.17.0
func (o GetFunctionsFunctionOutput) CaPort() pulumi.IntOutput
The port that the function listen to, only valid for [custom runtime](https://www.alibabacloud.com/help/doc-detail/132044.htm) and [custom container runtime](https://www.alibabacloud.com/help/doc-detail/179368.htm).
func (GetFunctionsFunctionOutput) CodeChecksum ¶
func (o GetFunctionsFunctionOutput) CodeChecksum() pulumi.StringOutput
Checksum (crc64) of the function code.
func (GetFunctionsFunctionOutput) CodeSize ¶
func (o GetFunctionsFunctionOutput) CodeSize() pulumi.IntOutput
Function code size in bytes.
func (GetFunctionsFunctionOutput) CreationTime ¶
func (o GetFunctionsFunctionOutput) CreationTime() pulumi.StringOutput
Function creation time.
func (GetFunctionsFunctionOutput) CustomContainerConfig ¶ added in v2.17.0
func (o GetFunctionsFunctionOutput) CustomContainerConfig() GetFunctionsFunctionCustomContainerConfigPtrOutput
The configuration for custom container runtime. It contains following attributes:
func (GetFunctionsFunctionOutput) Description ¶
func (o GetFunctionsFunctionOutput) Description() pulumi.StringOutput
Function description.
func (GetFunctionsFunctionOutput) ElementType ¶
func (GetFunctionsFunctionOutput) ElementType() reflect.Type
func (GetFunctionsFunctionOutput) EnvironmentVariables ¶
func (o GetFunctionsFunctionOutput) EnvironmentVariables() pulumi.MapOutput
A map that defines environment variables for the function.
func (GetFunctionsFunctionOutput) Handler ¶
func (o GetFunctionsFunctionOutput) Handler() pulumi.StringOutput
Function [entry point](https://www.alibabacloud.com/help/doc-detail/62213.htm) in the code.
func (GetFunctionsFunctionOutput) Id ¶
func (o GetFunctionsFunctionOutput) Id() pulumi.StringOutput
Function ID.
func (GetFunctionsFunctionOutput) InitializationTimeout ¶ added in v2.17.0
func (o GetFunctionsFunctionOutput) InitializationTimeout() pulumi.IntOutput
The maximum length of time, in seconds, that the function's initialization should be run for.
func (GetFunctionsFunctionOutput) Initializer ¶ added in v2.17.0
func (o GetFunctionsFunctionOutput) Initializer() pulumi.StringOutput
The entry point of the function's [initialization](https://www.alibabacloud.com/help/doc-detail/157704.htm).
func (GetFunctionsFunctionOutput) InstanceConcurrency ¶ added in v2.17.0
func (o GetFunctionsFunctionOutput) InstanceConcurrency() pulumi.IntOutput
The maximum number of requests can be executed concurrently within the single function instance.
func (GetFunctionsFunctionOutput) InstanceType ¶ added in v2.17.0
func (o GetFunctionsFunctionOutput) InstanceType() pulumi.StringOutput
The instance type of the function.
func (GetFunctionsFunctionOutput) LastModificationTime ¶
func (o GetFunctionsFunctionOutput) LastModificationTime() pulumi.StringOutput
Function last modification time.
func (GetFunctionsFunctionOutput) MemorySize ¶
func (o GetFunctionsFunctionOutput) MemorySize() pulumi.IntOutput
Amount of memory in MB the function can use at runtime.
func (GetFunctionsFunctionOutput) Name ¶
func (o GetFunctionsFunctionOutput) Name() pulumi.StringOutput
Function name.
func (GetFunctionsFunctionOutput) Runtime ¶
func (o GetFunctionsFunctionOutput) Runtime() pulumi.StringOutput
Function runtime. The list of possible values is [available here](https://www.alibabacloud.com/help/doc-detail/52077.htm).
func (GetFunctionsFunctionOutput) Timeout ¶
func (o GetFunctionsFunctionOutput) Timeout() pulumi.IntOutput
Maximum amount of time the function can run in seconds.
func (GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutput ¶
func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput
func (GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutputWithContext ¶
func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionOutput
type GetFunctionsResult ¶
type GetFunctionsResult struct { // A list of functions. Each element contains the following attributes: Functions []GetFunctionsFunction `pulumi:"functions"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of functions ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of functions names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` ServiceName string `pulumi:"serviceName"` }
A collection of values returned by getFunctions.
func GetFunctions ¶
func GetFunctions(ctx *pulumi.Context, args *GetFunctionsArgs, opts ...pulumi.InvokeOption) (*GetFunctionsResult, error)
This data source provides the Function Compute functions of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "sample_fc_function" functionsDs, err := fc.GetFunctions(ctx, &fc.GetFunctionsArgs{ NameRegex: &opt0, ServiceName: "sample_service", }, nil) if err != nil { return err } ctx.Export("firstFcFunctionName", functionsDs.Functions[0].Name) return nil }) }
```
type GetServicesArgs ¶
type GetServicesArgs struct { // - A list of FC services ids. Ids []string `pulumi:"ids"` // A regex string to filter results by FC service name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getServices.
type GetServicesResult ¶
type GetServicesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of FC services ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of FC services names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of FC services. Each element contains the following attributes: Services []GetServicesService `pulumi:"services"` }
A collection of values returned by getServices.
func GetServices ¶
func GetServices(ctx *pulumi.Context, args *GetServicesArgs, opts ...pulumi.InvokeOption) (*GetServicesResult, error)
This data source provides the Function Compute services of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "sample_fc_service" fcServicesDs, err := fc.GetServices(ctx, &fc.GetServicesArgs{ NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstFcServiceName", fcServicesDs.Services[0].Name) return nil }) }
```
type GetServicesService ¶
type GetServicesService struct { // FC service creation time. CreationTime string `pulumi:"creationTime"` // FC service description. Description string `pulumi:"description"` // FC service ID. Id string `pulumi:"id"` // Indicate whether the service can access to internet or not. InternetAccess bool `pulumi:"internetAccess"` // FC service last modification time. LastModificationTime string `pulumi:"lastModificationTime"` // A list of one element containing information about the associated log store. It contains the following attributes: LogConfig GetServicesServiceLogConfig `pulumi:"logConfig"` // FC service name. Name string `pulumi:"name"` // A list of one element about the nas configuration. NasConfig GetServicesServiceNasConfig `pulumi:"nasConfig"` // FC service role ARN. Role string `pulumi:"role"` // A list of one element containing information about accessible VPC resources. It contains the following attributes: VpcConfig GetServicesServiceVpcConfig `pulumi:"vpcConfig"` }
type GetServicesServiceArgs ¶
type GetServicesServiceArgs struct { // FC service creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` // FC service description. Description pulumi.StringInput `pulumi:"description"` // FC service ID. Id pulumi.StringInput `pulumi:"id"` // Indicate whether the service can access to internet or not. InternetAccess pulumi.BoolInput `pulumi:"internetAccess"` // FC service last modification time. LastModificationTime pulumi.StringInput `pulumi:"lastModificationTime"` // A list of one element containing information about the associated log store. It contains the following attributes: LogConfig GetServicesServiceLogConfigInput `pulumi:"logConfig"` // FC service name. Name pulumi.StringInput `pulumi:"name"` // A list of one element about the nas configuration. NasConfig GetServicesServiceNasConfigInput `pulumi:"nasConfig"` // FC service role ARN. Role pulumi.StringInput `pulumi:"role"` // A list of one element containing information about accessible VPC resources. It contains the following attributes: VpcConfig GetServicesServiceVpcConfigInput `pulumi:"vpcConfig"` }
func (GetServicesServiceArgs) ElementType ¶
func (GetServicesServiceArgs) ElementType() reflect.Type
func (GetServicesServiceArgs) ToGetServicesServiceOutput ¶
func (i GetServicesServiceArgs) ToGetServicesServiceOutput() GetServicesServiceOutput
func (GetServicesServiceArgs) ToGetServicesServiceOutputWithContext ¶
func (i GetServicesServiceArgs) ToGetServicesServiceOutputWithContext(ctx context.Context) GetServicesServiceOutput
type GetServicesServiceArray ¶
type GetServicesServiceArray []GetServicesServiceInput
func (GetServicesServiceArray) ElementType ¶
func (GetServicesServiceArray) ElementType() reflect.Type
func (GetServicesServiceArray) ToGetServicesServiceArrayOutput ¶
func (i GetServicesServiceArray) ToGetServicesServiceArrayOutput() GetServicesServiceArrayOutput
func (GetServicesServiceArray) ToGetServicesServiceArrayOutputWithContext ¶
func (i GetServicesServiceArray) ToGetServicesServiceArrayOutputWithContext(ctx context.Context) GetServicesServiceArrayOutput
type GetServicesServiceArrayInput ¶
type GetServicesServiceArrayInput interface { pulumi.Input ToGetServicesServiceArrayOutput() GetServicesServiceArrayOutput ToGetServicesServiceArrayOutputWithContext(context.Context) GetServicesServiceArrayOutput }
GetServicesServiceArrayInput is an input type that accepts GetServicesServiceArray and GetServicesServiceArrayOutput values. You can construct a concrete instance of `GetServicesServiceArrayInput` via:
GetServicesServiceArray{ GetServicesServiceArgs{...} }
type GetServicesServiceArrayOutput ¶
type GetServicesServiceArrayOutput struct{ *pulumi.OutputState }
func (GetServicesServiceArrayOutput) ElementType ¶
func (GetServicesServiceArrayOutput) ElementType() reflect.Type
func (GetServicesServiceArrayOutput) Index ¶
func (o GetServicesServiceArrayOutput) Index(i pulumi.IntInput) GetServicesServiceOutput
func (GetServicesServiceArrayOutput) ToGetServicesServiceArrayOutput ¶
func (o GetServicesServiceArrayOutput) ToGetServicesServiceArrayOutput() GetServicesServiceArrayOutput
func (GetServicesServiceArrayOutput) ToGetServicesServiceArrayOutputWithContext ¶
func (o GetServicesServiceArrayOutput) ToGetServicesServiceArrayOutputWithContext(ctx context.Context) GetServicesServiceArrayOutput
type GetServicesServiceInput ¶
type GetServicesServiceInput interface { pulumi.Input ToGetServicesServiceOutput() GetServicesServiceOutput ToGetServicesServiceOutputWithContext(context.Context) GetServicesServiceOutput }
GetServicesServiceInput is an input type that accepts GetServicesServiceArgs and GetServicesServiceOutput values. You can construct a concrete instance of `GetServicesServiceInput` via:
GetServicesServiceArgs{...}
type GetServicesServiceLogConfigArgs ¶
type GetServicesServiceLogConfigArgs struct { // Log Service store name. Logstore pulumi.StringInput `pulumi:"logstore"` // Log Service project name. Project pulumi.StringInput `pulumi:"project"` }
func (GetServicesServiceLogConfigArgs) ElementType ¶
func (GetServicesServiceLogConfigArgs) ElementType() reflect.Type
func (GetServicesServiceLogConfigArgs) ToGetServicesServiceLogConfigOutput ¶
func (i GetServicesServiceLogConfigArgs) ToGetServicesServiceLogConfigOutput() GetServicesServiceLogConfigOutput
func (GetServicesServiceLogConfigArgs) ToGetServicesServiceLogConfigOutputWithContext ¶
func (i GetServicesServiceLogConfigArgs) ToGetServicesServiceLogConfigOutputWithContext(ctx context.Context) GetServicesServiceLogConfigOutput
type GetServicesServiceLogConfigInput ¶
type GetServicesServiceLogConfigInput interface { pulumi.Input ToGetServicesServiceLogConfigOutput() GetServicesServiceLogConfigOutput ToGetServicesServiceLogConfigOutputWithContext(context.Context) GetServicesServiceLogConfigOutput }
GetServicesServiceLogConfigInput is an input type that accepts GetServicesServiceLogConfigArgs and GetServicesServiceLogConfigOutput values. You can construct a concrete instance of `GetServicesServiceLogConfigInput` via:
GetServicesServiceLogConfigArgs{...}
type GetServicesServiceLogConfigOutput ¶
type GetServicesServiceLogConfigOutput struct{ *pulumi.OutputState }
func (GetServicesServiceLogConfigOutput) ElementType ¶
func (GetServicesServiceLogConfigOutput) ElementType() reflect.Type
func (GetServicesServiceLogConfigOutput) Logstore ¶
func (o GetServicesServiceLogConfigOutput) Logstore() pulumi.StringOutput
Log Service store name.
func (GetServicesServiceLogConfigOutput) Project ¶
func (o GetServicesServiceLogConfigOutput) Project() pulumi.StringOutput
Log Service project name.
func (GetServicesServiceLogConfigOutput) ToGetServicesServiceLogConfigOutput ¶
func (o GetServicesServiceLogConfigOutput) ToGetServicesServiceLogConfigOutput() GetServicesServiceLogConfigOutput
func (GetServicesServiceLogConfigOutput) ToGetServicesServiceLogConfigOutputWithContext ¶
func (o GetServicesServiceLogConfigOutput) ToGetServicesServiceLogConfigOutputWithContext(ctx context.Context) GetServicesServiceLogConfigOutput
type GetServicesServiceNasConfig ¶ added in v2.17.0
type GetServicesServiceNasConfig struct { // The group id of the NAS file system. GroupId int `pulumi:"groupId"` // The mount points configuration, including following attributes: MountPoints []GetServicesServiceNasConfigMountPoint `pulumi:"mountPoints"` // The user id of the NAS file system. UserId int `pulumi:"userId"` }
type GetServicesServiceNasConfigArgs ¶ added in v2.17.0
type GetServicesServiceNasConfigArgs struct { // The group id of the NAS file system. GroupId pulumi.IntInput `pulumi:"groupId"` // The mount points configuration, including following attributes: MountPoints GetServicesServiceNasConfigMountPointArrayInput `pulumi:"mountPoints"` // The user id of the NAS file system. UserId pulumi.IntInput `pulumi:"userId"` }
func (GetServicesServiceNasConfigArgs) ElementType ¶ added in v2.17.0
func (GetServicesServiceNasConfigArgs) ElementType() reflect.Type
func (GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutput ¶ added in v2.17.0
func (i GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutput() GetServicesServiceNasConfigOutput
func (GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutputWithContext ¶ added in v2.17.0
func (i GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutputWithContext(ctx context.Context) GetServicesServiceNasConfigOutput
type GetServicesServiceNasConfigInput ¶ added in v2.17.0
type GetServicesServiceNasConfigInput interface { pulumi.Input ToGetServicesServiceNasConfigOutput() GetServicesServiceNasConfigOutput ToGetServicesServiceNasConfigOutputWithContext(context.Context) GetServicesServiceNasConfigOutput }
GetServicesServiceNasConfigInput is an input type that accepts GetServicesServiceNasConfigArgs and GetServicesServiceNasConfigOutput values. You can construct a concrete instance of `GetServicesServiceNasConfigInput` via:
GetServicesServiceNasConfigArgs{...}
type GetServicesServiceNasConfigMountPoint ¶ added in v2.17.0
type GetServicesServiceNasConfigMountPointArgs ¶ added in v2.17.0
type GetServicesServiceNasConfigMountPointArgs struct { // The local address where to mount your remote NAS directory. MountDir pulumi.StringInput `pulumi:"mountDir"` // The address of the remote NAS directory. ServerAddr pulumi.StringInput `pulumi:"serverAddr"` }
func (GetServicesServiceNasConfigMountPointArgs) ElementType ¶ added in v2.17.0
func (GetServicesServiceNasConfigMountPointArgs) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutput ¶ added in v2.17.0
func (i GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutput() GetServicesServiceNasConfigMountPointOutput
func (GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutputWithContext ¶ added in v2.17.0
func (i GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointOutput
type GetServicesServiceNasConfigMountPointArray ¶ added in v2.17.0
type GetServicesServiceNasConfigMountPointArray []GetServicesServiceNasConfigMountPointInput
func (GetServicesServiceNasConfigMountPointArray) ElementType ¶ added in v2.17.0
func (GetServicesServiceNasConfigMountPointArray) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutput ¶ added in v2.17.0
func (i GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutput() GetServicesServiceNasConfigMountPointArrayOutput
func (GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext ¶ added in v2.17.0
func (i GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointArrayOutput
type GetServicesServiceNasConfigMountPointArrayInput ¶ added in v2.17.0
type GetServicesServiceNasConfigMountPointArrayInput interface { pulumi.Input ToGetServicesServiceNasConfigMountPointArrayOutput() GetServicesServiceNasConfigMountPointArrayOutput ToGetServicesServiceNasConfigMountPointArrayOutputWithContext(context.Context) GetServicesServiceNasConfigMountPointArrayOutput }
GetServicesServiceNasConfigMountPointArrayInput is an input type that accepts GetServicesServiceNasConfigMountPointArray and GetServicesServiceNasConfigMountPointArrayOutput values. You can construct a concrete instance of `GetServicesServiceNasConfigMountPointArrayInput` via:
GetServicesServiceNasConfigMountPointArray{ GetServicesServiceNasConfigMountPointArgs{...} }
type GetServicesServiceNasConfigMountPointArrayOutput ¶ added in v2.17.0
type GetServicesServiceNasConfigMountPointArrayOutput struct{ *pulumi.OutputState }
func (GetServicesServiceNasConfigMountPointArrayOutput) ElementType ¶ added in v2.17.0
func (GetServicesServiceNasConfigMountPointArrayOutput) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutput ¶ added in v2.17.0
func (o GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutput() GetServicesServiceNasConfigMountPointArrayOutput
func (GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext ¶ added in v2.17.0
func (o GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointArrayOutput
type GetServicesServiceNasConfigMountPointInput ¶ added in v2.17.0
type GetServicesServiceNasConfigMountPointInput interface { pulumi.Input ToGetServicesServiceNasConfigMountPointOutput() GetServicesServiceNasConfigMountPointOutput ToGetServicesServiceNasConfigMountPointOutputWithContext(context.Context) GetServicesServiceNasConfigMountPointOutput }
GetServicesServiceNasConfigMountPointInput is an input type that accepts GetServicesServiceNasConfigMountPointArgs and GetServicesServiceNasConfigMountPointOutput values. You can construct a concrete instance of `GetServicesServiceNasConfigMountPointInput` via:
GetServicesServiceNasConfigMountPointArgs{...}
type GetServicesServiceNasConfigMountPointOutput ¶ added in v2.17.0
type GetServicesServiceNasConfigMountPointOutput struct{ *pulumi.OutputState }
func (GetServicesServiceNasConfigMountPointOutput) ElementType ¶ added in v2.17.0
func (GetServicesServiceNasConfigMountPointOutput) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointOutput) MountDir ¶ added in v2.17.0
func (o GetServicesServiceNasConfigMountPointOutput) MountDir() pulumi.StringOutput
The local address where to mount your remote NAS directory.
func (GetServicesServiceNasConfigMountPointOutput) ServerAddr ¶ added in v2.17.0
func (o GetServicesServiceNasConfigMountPointOutput) ServerAddr() pulumi.StringOutput
The address of the remote NAS directory.
func (GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutput ¶ added in v2.17.0
func (o GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutput() GetServicesServiceNasConfigMountPointOutput
func (GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutputWithContext ¶ added in v2.17.0
func (o GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointOutput
type GetServicesServiceNasConfigOutput ¶ added in v2.17.0
type GetServicesServiceNasConfigOutput struct{ *pulumi.OutputState }
func (GetServicesServiceNasConfigOutput) ElementType ¶ added in v2.17.0
func (GetServicesServiceNasConfigOutput) ElementType() reflect.Type
func (GetServicesServiceNasConfigOutput) GroupId ¶ added in v2.17.0
func (o GetServicesServiceNasConfigOutput) GroupId() pulumi.IntOutput
The group id of the NAS file system.
func (GetServicesServiceNasConfigOutput) MountPoints ¶ added in v2.17.0
func (o GetServicesServiceNasConfigOutput) MountPoints() GetServicesServiceNasConfigMountPointArrayOutput
The mount points configuration, including following attributes:
func (GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutput ¶ added in v2.17.0
func (o GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutput() GetServicesServiceNasConfigOutput
func (GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutputWithContext ¶ added in v2.17.0
func (o GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutputWithContext(ctx context.Context) GetServicesServiceNasConfigOutput
func (GetServicesServiceNasConfigOutput) UserId ¶ added in v2.17.0
func (o GetServicesServiceNasConfigOutput) UserId() pulumi.IntOutput
The user id of the NAS file system.
type GetServicesServiceOutput ¶
type GetServicesServiceOutput struct{ *pulumi.OutputState }
func (GetServicesServiceOutput) CreationTime ¶
func (o GetServicesServiceOutput) CreationTime() pulumi.StringOutput
FC service creation time.
func (GetServicesServiceOutput) Description ¶
func (o GetServicesServiceOutput) Description() pulumi.StringOutput
FC service description.
func (GetServicesServiceOutput) ElementType ¶
func (GetServicesServiceOutput) ElementType() reflect.Type
func (GetServicesServiceOutput) Id ¶
func (o GetServicesServiceOutput) Id() pulumi.StringOutput
FC service ID.
func (GetServicesServiceOutput) InternetAccess ¶
func (o GetServicesServiceOutput) InternetAccess() pulumi.BoolOutput
Indicate whether the service can access to internet or not.
func (GetServicesServiceOutput) LastModificationTime ¶
func (o GetServicesServiceOutput) LastModificationTime() pulumi.StringOutput
FC service last modification time.
func (GetServicesServiceOutput) LogConfig ¶
func (o GetServicesServiceOutput) LogConfig() GetServicesServiceLogConfigOutput
A list of one element containing information about the associated log store. It contains the following attributes:
func (GetServicesServiceOutput) Name ¶
func (o GetServicesServiceOutput) Name() pulumi.StringOutput
FC service name.
func (GetServicesServiceOutput) NasConfig ¶ added in v2.17.0
func (o GetServicesServiceOutput) NasConfig() GetServicesServiceNasConfigOutput
A list of one element about the nas configuration.
func (GetServicesServiceOutput) Role ¶
func (o GetServicesServiceOutput) Role() pulumi.StringOutput
FC service role ARN.
func (GetServicesServiceOutput) ToGetServicesServiceOutput ¶
func (o GetServicesServiceOutput) ToGetServicesServiceOutput() GetServicesServiceOutput
func (GetServicesServiceOutput) ToGetServicesServiceOutputWithContext ¶
func (o GetServicesServiceOutput) ToGetServicesServiceOutputWithContext(ctx context.Context) GetServicesServiceOutput
func (GetServicesServiceOutput) VpcConfig ¶
func (o GetServicesServiceOutput) VpcConfig() GetServicesServiceVpcConfigOutput
A list of one element containing information about accessible VPC resources. It contains the following attributes:
type GetServicesServiceVpcConfigArgs ¶
type GetServicesServiceVpcConfigArgs struct { // Associated security group ID. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // Associated VPC ID. VpcId pulumi.StringInput `pulumi:"vpcId"` // Associated VSwitch IDs. VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"` }
func (GetServicesServiceVpcConfigArgs) ElementType ¶
func (GetServicesServiceVpcConfigArgs) ElementType() reflect.Type
func (GetServicesServiceVpcConfigArgs) ToGetServicesServiceVpcConfigOutput ¶
func (i GetServicesServiceVpcConfigArgs) ToGetServicesServiceVpcConfigOutput() GetServicesServiceVpcConfigOutput
func (GetServicesServiceVpcConfigArgs) ToGetServicesServiceVpcConfigOutputWithContext ¶
func (i GetServicesServiceVpcConfigArgs) ToGetServicesServiceVpcConfigOutputWithContext(ctx context.Context) GetServicesServiceVpcConfigOutput
type GetServicesServiceVpcConfigInput ¶
type GetServicesServiceVpcConfigInput interface { pulumi.Input ToGetServicesServiceVpcConfigOutput() GetServicesServiceVpcConfigOutput ToGetServicesServiceVpcConfigOutputWithContext(context.Context) GetServicesServiceVpcConfigOutput }
GetServicesServiceVpcConfigInput is an input type that accepts GetServicesServiceVpcConfigArgs and GetServicesServiceVpcConfigOutput values. You can construct a concrete instance of `GetServicesServiceVpcConfigInput` via:
GetServicesServiceVpcConfigArgs{...}
type GetServicesServiceVpcConfigOutput ¶
type GetServicesServiceVpcConfigOutput struct{ *pulumi.OutputState }
func (GetServicesServiceVpcConfigOutput) ElementType ¶
func (GetServicesServiceVpcConfigOutput) ElementType() reflect.Type
func (GetServicesServiceVpcConfigOutput) SecurityGroupId ¶
func (o GetServicesServiceVpcConfigOutput) SecurityGroupId() pulumi.StringOutput
Associated security group ID.
func (GetServicesServiceVpcConfigOutput) ToGetServicesServiceVpcConfigOutput ¶
func (o GetServicesServiceVpcConfigOutput) ToGetServicesServiceVpcConfigOutput() GetServicesServiceVpcConfigOutput
func (GetServicesServiceVpcConfigOutput) ToGetServicesServiceVpcConfigOutputWithContext ¶
func (o GetServicesServiceVpcConfigOutput) ToGetServicesServiceVpcConfigOutputWithContext(ctx context.Context) GetServicesServiceVpcConfigOutput
func (GetServicesServiceVpcConfigOutput) VpcId ¶
func (o GetServicesServiceVpcConfigOutput) VpcId() pulumi.StringOutput
Associated VPC ID.
func (GetServicesServiceVpcConfigOutput) VswitchIds ¶
func (o GetServicesServiceVpcConfigOutput) VswitchIds() pulumi.StringArrayOutput
Associated VSwitch IDs.
type GetTriggersArgs ¶
type GetTriggersArgs struct { // FC function name. FunctionName string `pulumi:"functionName"` // - A list of FC triggers ids. Ids []string `pulumi:"ids"` // A regex string to filter results by FC trigger name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // FC service name. ServiceName string `pulumi:"serviceName"` }
A collection of arguments for invoking getTriggers.
type GetTriggersResult ¶
type GetTriggersResult struct { FunctionName string `pulumi:"functionName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of FC triggers ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of FC triggers names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` ServiceName string `pulumi:"serviceName"` // A list of FC triggers. Each element contains the following attributes: Triggers []GetTriggersTrigger `pulumi:"triggers"` }
A collection of values returned by getTriggers.
func GetTriggers ¶
func GetTriggers(ctx *pulumi.Context, args *GetTriggersArgs, opts ...pulumi.InvokeOption) (*GetTriggersResult, error)
This data source provides the Function Compute triggers of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "sample_fc_trigger" fcTriggersDs, err := fc.GetTriggers(ctx, &fc.GetTriggersArgs{ FunctionName: "sample_function", NameRegex: &opt0, ServiceName: "sample_service", }, nil) if err != nil { return err } ctx.Export("firstFcTriggerName", fcTriggersDs.Triggers[0].Name) return nil }) }
```
type GetTriggersTrigger ¶
type GetTriggersTrigger struct { // JSON-encoded trigger configuration. See [Configure triggers and events](https://www.alibabacloud.com/help/doc-detail/70140.htm) for more details. Config string `pulumi:"config"` // FC trigger creation time. CreationTime string `pulumi:"creationTime"` // FC trigger ID. Id string `pulumi:"id"` // RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. InvocationRole string `pulumi:"invocationRole"` // FC trigger last modification time. LastModificationTime string `pulumi:"lastModificationTime"` // FC trigger name. Name string `pulumi:"name"` // Event source resource address. See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. SourceArn string `pulumi:"sourceArn"` // Type of the trigger. Valid values: `oss`, `log`, `timer`, `http` and `mnsTopic`. Type string `pulumi:"type"` }
type GetTriggersTriggerArgs ¶
type GetTriggersTriggerArgs struct { // JSON-encoded trigger configuration. See [Configure triggers and events](https://www.alibabacloud.com/help/doc-detail/70140.htm) for more details. Config pulumi.StringInput `pulumi:"config"` // FC trigger creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` // FC trigger ID. Id pulumi.StringInput `pulumi:"id"` // RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. InvocationRole pulumi.StringInput `pulumi:"invocationRole"` // FC trigger last modification time. LastModificationTime pulumi.StringInput `pulumi:"lastModificationTime"` // FC trigger name. Name pulumi.StringInput `pulumi:"name"` // Event source resource address. See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. SourceArn pulumi.StringInput `pulumi:"sourceArn"` // Type of the trigger. Valid values: `oss`, `log`, `timer`, `http` and `mnsTopic`. Type pulumi.StringInput `pulumi:"type"` }
func (GetTriggersTriggerArgs) ElementType ¶
func (GetTriggersTriggerArgs) ElementType() reflect.Type
func (GetTriggersTriggerArgs) ToGetTriggersTriggerOutput ¶
func (i GetTriggersTriggerArgs) ToGetTriggersTriggerOutput() GetTriggersTriggerOutput
func (GetTriggersTriggerArgs) ToGetTriggersTriggerOutputWithContext ¶
func (i GetTriggersTriggerArgs) ToGetTriggersTriggerOutputWithContext(ctx context.Context) GetTriggersTriggerOutput
type GetTriggersTriggerArray ¶
type GetTriggersTriggerArray []GetTriggersTriggerInput
func (GetTriggersTriggerArray) ElementType ¶
func (GetTriggersTriggerArray) ElementType() reflect.Type
func (GetTriggersTriggerArray) ToGetTriggersTriggerArrayOutput ¶
func (i GetTriggersTriggerArray) ToGetTriggersTriggerArrayOutput() GetTriggersTriggerArrayOutput
func (GetTriggersTriggerArray) ToGetTriggersTriggerArrayOutputWithContext ¶
func (i GetTriggersTriggerArray) ToGetTriggersTriggerArrayOutputWithContext(ctx context.Context) GetTriggersTriggerArrayOutput
type GetTriggersTriggerArrayInput ¶
type GetTriggersTriggerArrayInput interface { pulumi.Input ToGetTriggersTriggerArrayOutput() GetTriggersTriggerArrayOutput ToGetTriggersTriggerArrayOutputWithContext(context.Context) GetTriggersTriggerArrayOutput }
GetTriggersTriggerArrayInput is an input type that accepts GetTriggersTriggerArray and GetTriggersTriggerArrayOutput values. You can construct a concrete instance of `GetTriggersTriggerArrayInput` via:
GetTriggersTriggerArray{ GetTriggersTriggerArgs{...} }
type GetTriggersTriggerArrayOutput ¶
type GetTriggersTriggerArrayOutput struct{ *pulumi.OutputState }
func (GetTriggersTriggerArrayOutput) ElementType ¶
func (GetTriggersTriggerArrayOutput) ElementType() reflect.Type
func (GetTriggersTriggerArrayOutput) Index ¶
func (o GetTriggersTriggerArrayOutput) Index(i pulumi.IntInput) GetTriggersTriggerOutput
func (GetTriggersTriggerArrayOutput) ToGetTriggersTriggerArrayOutput ¶
func (o GetTriggersTriggerArrayOutput) ToGetTriggersTriggerArrayOutput() GetTriggersTriggerArrayOutput
func (GetTriggersTriggerArrayOutput) ToGetTriggersTriggerArrayOutputWithContext ¶
func (o GetTriggersTriggerArrayOutput) ToGetTriggersTriggerArrayOutputWithContext(ctx context.Context) GetTriggersTriggerArrayOutput
type GetTriggersTriggerInput ¶
type GetTriggersTriggerInput interface { pulumi.Input ToGetTriggersTriggerOutput() GetTriggersTriggerOutput ToGetTriggersTriggerOutputWithContext(context.Context) GetTriggersTriggerOutput }
GetTriggersTriggerInput is an input type that accepts GetTriggersTriggerArgs and GetTriggersTriggerOutput values. You can construct a concrete instance of `GetTriggersTriggerInput` via:
GetTriggersTriggerArgs{...}
type GetTriggersTriggerOutput ¶
type GetTriggersTriggerOutput struct{ *pulumi.OutputState }
func (GetTriggersTriggerOutput) Config ¶
func (o GetTriggersTriggerOutput) Config() pulumi.StringOutput
JSON-encoded trigger configuration. See [Configure triggers and events](https://www.alibabacloud.com/help/doc-detail/70140.htm) for more details.
func (GetTriggersTriggerOutput) CreationTime ¶
func (o GetTriggersTriggerOutput) CreationTime() pulumi.StringOutput
FC trigger creation time.
func (GetTriggersTriggerOutput) ElementType ¶
func (GetTriggersTriggerOutput) ElementType() reflect.Type
func (GetTriggersTriggerOutput) Id ¶
func (o GetTriggersTriggerOutput) Id() pulumi.StringOutput
FC trigger ID.
func (GetTriggersTriggerOutput) InvocationRole ¶
func (o GetTriggersTriggerOutput) InvocationRole() pulumi.StringOutput
RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details.
func (GetTriggersTriggerOutput) LastModificationTime ¶
func (o GetTriggersTriggerOutput) LastModificationTime() pulumi.StringOutput
FC trigger last modification time.
func (GetTriggersTriggerOutput) Name ¶
func (o GetTriggersTriggerOutput) Name() pulumi.StringOutput
FC trigger name.
func (GetTriggersTriggerOutput) SourceArn ¶
func (o GetTriggersTriggerOutput) SourceArn() pulumi.StringOutput
Event source resource address. See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details.
func (GetTriggersTriggerOutput) ToGetTriggersTriggerOutput ¶
func (o GetTriggersTriggerOutput) ToGetTriggersTriggerOutput() GetTriggersTriggerOutput
func (GetTriggersTriggerOutput) ToGetTriggersTriggerOutputWithContext ¶
func (o GetTriggersTriggerOutput) ToGetTriggersTriggerOutputWithContext(ctx context.Context) GetTriggersTriggerOutput
func (GetTriggersTriggerOutput) Type ¶
func (o GetTriggersTriggerOutput) Type() pulumi.StringOutput
Type of the trigger. Valid values: `oss`, `log`, `timer`, `http` and `mnsTopic`.
type GetZonesArgs ¶
type GetZonesArgs struct {
OutputFile *string `pulumi:"outputFile"`
}
A collection of arguments for invoking getZones.
type GetZonesResult ¶
type GetZonesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of zone IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` // A list of availability zones. Each element contains the following attributes: Zones []GetZonesZone `pulumi:"zones"` }
A collection of values returned by getZones.
func GetZones ¶
func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)
This data source provides availability zones for FunctionCompute that can be accessed by an Alibaba Cloud account within the region configured in the provider.
> **NOTE:** Available in v1.74.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.GetZones(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetZonesZone ¶
type GetZonesZone struct { // ID of the zone. Id string `pulumi:"id"` }
type GetZonesZoneArgs ¶
type GetZonesZoneArgs struct { // ID of the zone. Id pulumi.StringInput `pulumi:"id"` }
func (GetZonesZoneArgs) ElementType ¶
func (GetZonesZoneArgs) ElementType() reflect.Type
func (GetZonesZoneArgs) ToGetZonesZoneOutput ¶
func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext ¶
func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
type GetZonesZoneArray ¶
type GetZonesZoneArray []GetZonesZoneInput
func (GetZonesZoneArray) ElementType ¶
func (GetZonesZoneArray) ElementType() reflect.Type
func (GetZonesZoneArray) ToGetZonesZoneArrayOutput ¶
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext ¶
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneArrayInput ¶
type GetZonesZoneArrayInput interface { pulumi.Input ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput }
GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:
GetZonesZoneArray{ GetZonesZoneArgs{...} }
type GetZonesZoneArrayOutput ¶
type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (GetZonesZoneArrayOutput) ElementType ¶
func (GetZonesZoneArrayOutput) ElementType() reflect.Type
func (GetZonesZoneArrayOutput) Index ¶
func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput ¶
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext ¶
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneInput ¶
type GetZonesZoneInput interface { pulumi.Input ToGetZonesZoneOutput() GetZonesZoneOutput ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput }
GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:
GetZonesZoneArgs{...}
type GetZonesZoneOutput ¶
type GetZonesZoneOutput struct{ *pulumi.OutputState }
func (GetZonesZoneOutput) ElementType ¶
func (GetZonesZoneOutput) ElementType() reflect.Type
func (GetZonesZoneOutput) ToGetZonesZoneOutput ¶
func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext ¶
func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
type LookupServiceArgs ¶ added in v2.31.0
type LookupServiceArgs 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`. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type LookupServiceResult ¶ added in v2.31.0
type LookupServiceResult 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 LookupService ¶ added in v2.31.0
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Using this data source can open FC service automatically. If the service has been opened, it will return opened.
For information about FC and how to use it, see [What is FC](https://www.alibabacloud.com/help/en/product/50980.htm).
> **NOTE:** Available in v1.112.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "On" _, err := fc.LookupService(ctx, &fc.LookupServiceArgs{ Enable: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type Service ¶
type Service struct { pulumi.CustomResourceState // The Function Compute Service description. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether to allow the Service to access Internet. Default to "true". InternetAccess pulumi.BoolPtrOutput `pulumi:"internetAccess"` // The date this resource was last modified. LastModified pulumi.StringOutput `pulumi:"lastModified"` // Provide this to store your Function Compute Service logs. Fields documented below. See [Create a Service](https://www.alibabacloud.com/help/doc-detail/51924.htm). LogConfig ServiceLogConfigPtrOutput `pulumi:"logConfig"` // The Function Compute Service name. It is the only in one Alicloud account and is conflict with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Setting a prefix to get a only name. It is conflict with `name`. NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // Provide [NAS configuration](https://www.alibabacloud.com/help/doc-detail/87401.htm) to allow Function Compute Service to access your NAS resources. NasConfig ServiceNasConfigPtrOutput `pulumi:"nasConfig"` // Whether to publish creation/change as new Function Compute Service Version. Defaults to `false`. Publish pulumi.BoolPtrOutput `pulumi:"publish"` // 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. Role pulumi.StringPtrOutput `pulumi:"role"` // The Function Compute Service ID. ServiceId pulumi.StringOutput `pulumi:"serviceId"` // The latest published version of your Function Compute Service. Version pulumi.StringOutput `pulumi:"version"` // Provide this to allow your Function Compute Service to access your VPC. Fields documented below. See [Function Compute Service in VPC](https://www.alibabacloud.com/help/faq-detail/72959.htm). VpcConfig ServiceVpcConfigPtrOutput `pulumi:"vpcConfig"` }
## Import
Function Compute Service can be imported using the id or name, e.g.
```sh
$ pulumi import alicloud:fc/service:Service foo my-fc-service
```
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service 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 NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (Service) ElementType ¶ added in v2.25.1
func (Service) ToServiceOutput ¶ added in v2.25.1
func (i Service) ToServiceOutput() ServiceOutput
func (Service) ToServiceOutputWithContext ¶ added in v2.25.1
func (i Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶
type ServiceArgs struct { // The Function Compute Service description. Description pulumi.StringPtrInput // Whether to allow the Service to access Internet. Default to "true". InternetAccess pulumi.BoolPtrInput // Provide this to store your Function Compute Service logs. Fields documented below. See [Create a Service](https://www.alibabacloud.com/help/doc-detail/51924.htm). LogConfig ServiceLogConfigPtrInput // The Function Compute Service name. It is the only in one Alicloud account and is conflict with `namePrefix`. Name pulumi.StringPtrInput // Setting a prefix to get a only name. It is conflict with `name`. NamePrefix pulumi.StringPtrInput // Provide [NAS configuration](https://www.alibabacloud.com/help/doc-detail/87401.htm) to allow Function Compute Service to access your NAS resources. NasConfig ServiceNasConfigPtrInput // Whether to publish creation/change as new Function Compute Service Version. Defaults to `false`. Publish pulumi.BoolPtrInput // 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. Role pulumi.StringPtrInput // Provide this to allow your Function Compute Service to access your VPC. Fields documented below. See [Function Compute Service in VPC](https://www.alibabacloud.com/help/faq-detail/72959.htm). VpcConfig ServiceVpcConfigPtrInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceInput ¶ added in v2.25.1
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceLogConfig ¶
type ServiceLogConfigArgs ¶
type ServiceLogConfigArgs struct { // The log store name of Alicloud Simple Log Service. Logstore pulumi.StringInput `pulumi:"logstore"` // The project name of the Alicloud Simple Log Service. Project pulumi.StringInput `pulumi:"project"` }
func (ServiceLogConfigArgs) ElementType ¶
func (ServiceLogConfigArgs) ElementType() reflect.Type
func (ServiceLogConfigArgs) ToServiceLogConfigOutput ¶
func (i ServiceLogConfigArgs) ToServiceLogConfigOutput() ServiceLogConfigOutput
func (ServiceLogConfigArgs) ToServiceLogConfigOutputWithContext ¶
func (i ServiceLogConfigArgs) ToServiceLogConfigOutputWithContext(ctx context.Context) ServiceLogConfigOutput
func (ServiceLogConfigArgs) ToServiceLogConfigPtrOutput ¶
func (i ServiceLogConfigArgs) ToServiceLogConfigPtrOutput() ServiceLogConfigPtrOutput
func (ServiceLogConfigArgs) ToServiceLogConfigPtrOutputWithContext ¶
func (i ServiceLogConfigArgs) ToServiceLogConfigPtrOutputWithContext(ctx context.Context) ServiceLogConfigPtrOutput
type ServiceLogConfigInput ¶
type ServiceLogConfigInput interface { pulumi.Input ToServiceLogConfigOutput() ServiceLogConfigOutput ToServiceLogConfigOutputWithContext(context.Context) ServiceLogConfigOutput }
ServiceLogConfigInput is an input type that accepts ServiceLogConfigArgs and ServiceLogConfigOutput values. You can construct a concrete instance of `ServiceLogConfigInput` via:
ServiceLogConfigArgs{...}
type ServiceLogConfigOutput ¶
type ServiceLogConfigOutput struct{ *pulumi.OutputState }
func (ServiceLogConfigOutput) ElementType ¶
func (ServiceLogConfigOutput) ElementType() reflect.Type
func (ServiceLogConfigOutput) Logstore ¶
func (o ServiceLogConfigOutput) Logstore() pulumi.StringOutput
The log store name of Alicloud Simple Log Service.
func (ServiceLogConfigOutput) Project ¶
func (o ServiceLogConfigOutput) Project() pulumi.StringOutput
The project name of the Alicloud Simple Log Service.
func (ServiceLogConfigOutput) ToServiceLogConfigOutput ¶
func (o ServiceLogConfigOutput) ToServiceLogConfigOutput() ServiceLogConfigOutput
func (ServiceLogConfigOutput) ToServiceLogConfigOutputWithContext ¶
func (o ServiceLogConfigOutput) ToServiceLogConfigOutputWithContext(ctx context.Context) ServiceLogConfigOutput
func (ServiceLogConfigOutput) ToServiceLogConfigPtrOutput ¶
func (o ServiceLogConfigOutput) ToServiceLogConfigPtrOutput() ServiceLogConfigPtrOutput
func (ServiceLogConfigOutput) ToServiceLogConfigPtrOutputWithContext ¶
func (o ServiceLogConfigOutput) ToServiceLogConfigPtrOutputWithContext(ctx context.Context) ServiceLogConfigPtrOutput
type ServiceLogConfigPtrInput ¶
type ServiceLogConfigPtrInput interface { pulumi.Input ToServiceLogConfigPtrOutput() ServiceLogConfigPtrOutput ToServiceLogConfigPtrOutputWithContext(context.Context) ServiceLogConfigPtrOutput }
ServiceLogConfigPtrInput is an input type that accepts ServiceLogConfigArgs, ServiceLogConfigPtr and ServiceLogConfigPtrOutput values. You can construct a concrete instance of `ServiceLogConfigPtrInput` via:
ServiceLogConfigArgs{...} or: nil
func ServiceLogConfigPtr ¶
func ServiceLogConfigPtr(v *ServiceLogConfigArgs) ServiceLogConfigPtrInput
type ServiceLogConfigPtrOutput ¶
type ServiceLogConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceLogConfigPtrOutput) Elem ¶
func (o ServiceLogConfigPtrOutput) Elem() ServiceLogConfigOutput
func (ServiceLogConfigPtrOutput) ElementType ¶
func (ServiceLogConfigPtrOutput) ElementType() reflect.Type
func (ServiceLogConfigPtrOutput) Logstore ¶
func (o ServiceLogConfigPtrOutput) Logstore() pulumi.StringPtrOutput
The log store name of Alicloud Simple Log Service.
func (ServiceLogConfigPtrOutput) Project ¶
func (o ServiceLogConfigPtrOutput) Project() pulumi.StringPtrOutput
The project name of the Alicloud Simple Log Service.
func (ServiceLogConfigPtrOutput) ToServiceLogConfigPtrOutput ¶
func (o ServiceLogConfigPtrOutput) ToServiceLogConfigPtrOutput() ServiceLogConfigPtrOutput
func (ServiceLogConfigPtrOutput) ToServiceLogConfigPtrOutputWithContext ¶
func (o ServiceLogConfigPtrOutput) ToServiceLogConfigPtrOutputWithContext(ctx context.Context) ServiceLogConfigPtrOutput
type ServiceNasConfig ¶ added in v2.17.0
type ServiceNasConfig struct { // The group id of your NAS file system. GroupId int `pulumi:"groupId"` // Config the NAS mount points, including following attributes: MountPoints []ServiceNasConfigMountPoint `pulumi:"mountPoints"` // The user id of your NAS file system. UserId int `pulumi:"userId"` }
type ServiceNasConfigArgs ¶ added in v2.17.0
type ServiceNasConfigArgs struct { // The group id of your NAS file system. GroupId pulumi.IntInput `pulumi:"groupId"` // Config the NAS mount points, including following attributes: MountPoints ServiceNasConfigMountPointArrayInput `pulumi:"mountPoints"` // The user id of your NAS file system. UserId pulumi.IntInput `pulumi:"userId"` }
func (ServiceNasConfigArgs) ElementType ¶ added in v2.17.0
func (ServiceNasConfigArgs) ElementType() reflect.Type
func (ServiceNasConfigArgs) ToServiceNasConfigOutput ¶ added in v2.17.0
func (i ServiceNasConfigArgs) ToServiceNasConfigOutput() ServiceNasConfigOutput
func (ServiceNasConfigArgs) ToServiceNasConfigOutputWithContext ¶ added in v2.17.0
func (i ServiceNasConfigArgs) ToServiceNasConfigOutputWithContext(ctx context.Context) ServiceNasConfigOutput
func (ServiceNasConfigArgs) ToServiceNasConfigPtrOutput ¶ added in v2.17.0
func (i ServiceNasConfigArgs) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
func (ServiceNasConfigArgs) ToServiceNasConfigPtrOutputWithContext ¶ added in v2.17.0
func (i ServiceNasConfigArgs) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
type ServiceNasConfigInput ¶ added in v2.17.0
type ServiceNasConfigInput interface { pulumi.Input ToServiceNasConfigOutput() ServiceNasConfigOutput ToServiceNasConfigOutputWithContext(context.Context) ServiceNasConfigOutput }
ServiceNasConfigInput is an input type that accepts ServiceNasConfigArgs and ServiceNasConfigOutput values. You can construct a concrete instance of `ServiceNasConfigInput` via:
ServiceNasConfigArgs{...}
type ServiceNasConfigMountPoint ¶ added in v2.17.0
type ServiceNasConfigMountPointArgs ¶ added in v2.17.0
type ServiceNasConfigMountPointArgs struct { // The local address where to mount your remote NAS directory. MountDir pulumi.StringInput `pulumi:"mountDir"` // The address of the remote NAS directory. ServerAddr pulumi.StringInput `pulumi:"serverAddr"` }
func (ServiceNasConfigMountPointArgs) ElementType ¶ added in v2.17.0
func (ServiceNasConfigMountPointArgs) ElementType() reflect.Type
func (ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutput ¶ added in v2.17.0
func (i ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutput() ServiceNasConfigMountPointOutput
func (ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutputWithContext ¶ added in v2.17.0
func (i ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutputWithContext(ctx context.Context) ServiceNasConfigMountPointOutput
type ServiceNasConfigMountPointArray ¶ added in v2.17.0
type ServiceNasConfigMountPointArray []ServiceNasConfigMountPointInput
func (ServiceNasConfigMountPointArray) ElementType ¶ added in v2.17.0
func (ServiceNasConfigMountPointArray) ElementType() reflect.Type
func (ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutput ¶ added in v2.17.0
func (i ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutput() ServiceNasConfigMountPointArrayOutput
func (ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutputWithContext ¶ added in v2.17.0
func (i ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) ServiceNasConfigMountPointArrayOutput
type ServiceNasConfigMountPointArrayInput ¶ added in v2.17.0
type ServiceNasConfigMountPointArrayInput interface { pulumi.Input ToServiceNasConfigMountPointArrayOutput() ServiceNasConfigMountPointArrayOutput ToServiceNasConfigMountPointArrayOutputWithContext(context.Context) ServiceNasConfigMountPointArrayOutput }
ServiceNasConfigMountPointArrayInput is an input type that accepts ServiceNasConfigMountPointArray and ServiceNasConfigMountPointArrayOutput values. You can construct a concrete instance of `ServiceNasConfigMountPointArrayInput` via:
ServiceNasConfigMountPointArray{ ServiceNasConfigMountPointArgs{...} }
type ServiceNasConfigMountPointArrayOutput ¶ added in v2.17.0
type ServiceNasConfigMountPointArrayOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigMountPointArrayOutput) ElementType ¶ added in v2.17.0
func (ServiceNasConfigMountPointArrayOutput) ElementType() reflect.Type
func (ServiceNasConfigMountPointArrayOutput) Index ¶ added in v2.17.0
func (o ServiceNasConfigMountPointArrayOutput) Index(i pulumi.IntInput) ServiceNasConfigMountPointOutput
func (ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutput ¶ added in v2.17.0
func (o ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutput() ServiceNasConfigMountPointArrayOutput
func (ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutputWithContext ¶ added in v2.17.0
func (o ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) ServiceNasConfigMountPointArrayOutput
type ServiceNasConfigMountPointInput ¶ added in v2.17.0
type ServiceNasConfigMountPointInput interface { pulumi.Input ToServiceNasConfigMountPointOutput() ServiceNasConfigMountPointOutput ToServiceNasConfigMountPointOutputWithContext(context.Context) ServiceNasConfigMountPointOutput }
ServiceNasConfigMountPointInput is an input type that accepts ServiceNasConfigMountPointArgs and ServiceNasConfigMountPointOutput values. You can construct a concrete instance of `ServiceNasConfigMountPointInput` via:
ServiceNasConfigMountPointArgs{...}
type ServiceNasConfigMountPointOutput ¶ added in v2.17.0
type ServiceNasConfigMountPointOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigMountPointOutput) ElementType ¶ added in v2.17.0
func (ServiceNasConfigMountPointOutput) ElementType() reflect.Type
func (ServiceNasConfigMountPointOutput) MountDir ¶ added in v2.17.0
func (o ServiceNasConfigMountPointOutput) MountDir() pulumi.StringOutput
The local address where to mount your remote NAS directory.
func (ServiceNasConfigMountPointOutput) ServerAddr ¶ added in v2.17.0
func (o ServiceNasConfigMountPointOutput) ServerAddr() pulumi.StringOutput
The address of the remote NAS directory.
func (ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutput ¶ added in v2.17.0
func (o ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutput() ServiceNasConfigMountPointOutput
func (ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutputWithContext ¶ added in v2.17.0
func (o ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutputWithContext(ctx context.Context) ServiceNasConfigMountPointOutput
type ServiceNasConfigOutput ¶ added in v2.17.0
type ServiceNasConfigOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigOutput) ElementType ¶ added in v2.17.0
func (ServiceNasConfigOutput) ElementType() reflect.Type
func (ServiceNasConfigOutput) GroupId ¶ added in v2.17.0
func (o ServiceNasConfigOutput) GroupId() pulumi.IntOutput
The group id of your NAS file system.
func (ServiceNasConfigOutput) MountPoints ¶ added in v2.17.0
func (o ServiceNasConfigOutput) MountPoints() ServiceNasConfigMountPointArrayOutput
Config the NAS mount points, including following attributes:
func (ServiceNasConfigOutput) ToServiceNasConfigOutput ¶ added in v2.17.0
func (o ServiceNasConfigOutput) ToServiceNasConfigOutput() ServiceNasConfigOutput
func (ServiceNasConfigOutput) ToServiceNasConfigOutputWithContext ¶ added in v2.17.0
func (o ServiceNasConfigOutput) ToServiceNasConfigOutputWithContext(ctx context.Context) ServiceNasConfigOutput
func (ServiceNasConfigOutput) ToServiceNasConfigPtrOutput ¶ added in v2.17.0
func (o ServiceNasConfigOutput) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
func (ServiceNasConfigOutput) ToServiceNasConfigPtrOutputWithContext ¶ added in v2.17.0
func (o ServiceNasConfigOutput) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
func (ServiceNasConfigOutput) UserId ¶ added in v2.17.0
func (o ServiceNasConfigOutput) UserId() pulumi.IntOutput
The user id of your NAS file system.
type ServiceNasConfigPtrInput ¶ added in v2.17.0
type ServiceNasConfigPtrInput interface { pulumi.Input ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput ToServiceNasConfigPtrOutputWithContext(context.Context) ServiceNasConfigPtrOutput }
ServiceNasConfigPtrInput is an input type that accepts ServiceNasConfigArgs, ServiceNasConfigPtr and ServiceNasConfigPtrOutput values. You can construct a concrete instance of `ServiceNasConfigPtrInput` via:
ServiceNasConfigArgs{...} or: nil
func ServiceNasConfigPtr ¶ added in v2.17.0
func ServiceNasConfigPtr(v *ServiceNasConfigArgs) ServiceNasConfigPtrInput
type ServiceNasConfigPtrOutput ¶ added in v2.17.0
type ServiceNasConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigPtrOutput) Elem ¶ added in v2.17.0
func (o ServiceNasConfigPtrOutput) Elem() ServiceNasConfigOutput
func (ServiceNasConfigPtrOutput) ElementType ¶ added in v2.17.0
func (ServiceNasConfigPtrOutput) ElementType() reflect.Type
func (ServiceNasConfigPtrOutput) GroupId ¶ added in v2.17.0
func (o ServiceNasConfigPtrOutput) GroupId() pulumi.IntPtrOutput
The group id of your NAS file system.
func (ServiceNasConfigPtrOutput) MountPoints ¶ added in v2.17.0
func (o ServiceNasConfigPtrOutput) MountPoints() ServiceNasConfigMountPointArrayOutput
Config the NAS mount points, including following attributes:
func (ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutput ¶ added in v2.17.0
func (o ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
func (ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutputWithContext ¶ added in v2.17.0
func (o ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
func (ServiceNasConfigPtrOutput) UserId ¶ added in v2.17.0
func (o ServiceNasConfigPtrOutput) UserId() pulumi.IntPtrOutput
The user id of your NAS file system.
type ServiceOutput ¶ added in v2.25.1
type ServiceOutput struct {
*pulumi.OutputState
}
func (ServiceOutput) ElementType ¶ added in v2.25.1
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ToServiceOutput ¶ added in v2.25.1
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶ added in v2.25.1
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceState ¶
type ServiceState struct { // The Function Compute Service description. Description pulumi.StringPtrInput // Whether to allow the Service to access Internet. Default to "true". InternetAccess pulumi.BoolPtrInput // The date this resource was last modified. LastModified pulumi.StringPtrInput // Provide this to store your Function Compute Service logs. Fields documented below. See [Create a Service](https://www.alibabacloud.com/help/doc-detail/51924.htm). LogConfig ServiceLogConfigPtrInput // The Function Compute Service name. It is the only in one Alicloud account and is conflict with `namePrefix`. Name pulumi.StringPtrInput // Setting a prefix to get a only name. It is conflict with `name`. NamePrefix pulumi.StringPtrInput // Provide [NAS configuration](https://www.alibabacloud.com/help/doc-detail/87401.htm) to allow Function Compute Service to access your NAS resources. NasConfig ServiceNasConfigPtrInput // Whether to publish creation/change as new Function Compute Service Version. Defaults to `false`. Publish pulumi.BoolPtrInput // 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. Role pulumi.StringPtrInput // The Function Compute Service ID. ServiceId pulumi.StringPtrInput // The latest published version of your Function Compute Service. Version pulumi.StringPtrInput // Provide this to allow your Function Compute Service to access your VPC. Fields documented below. See [Function Compute Service in VPC](https://www.alibabacloud.com/help/faq-detail/72959.htm). VpcConfig ServiceVpcConfigPtrInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type ServiceVpcConfig ¶
type ServiceVpcConfigArgs ¶
type ServiceVpcConfigArgs struct { // A security group ID associated with the Function Compute Service. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` VpcId pulumi.StringPtrInput `pulumi:"vpcId"` // A list of vswitch IDs associated with the Function Compute Service. VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"` }
func (ServiceVpcConfigArgs) ElementType ¶
func (ServiceVpcConfigArgs) ElementType() reflect.Type
func (ServiceVpcConfigArgs) ToServiceVpcConfigOutput ¶
func (i ServiceVpcConfigArgs) ToServiceVpcConfigOutput() ServiceVpcConfigOutput
func (ServiceVpcConfigArgs) ToServiceVpcConfigOutputWithContext ¶
func (i ServiceVpcConfigArgs) ToServiceVpcConfigOutputWithContext(ctx context.Context) ServiceVpcConfigOutput
func (ServiceVpcConfigArgs) ToServiceVpcConfigPtrOutput ¶
func (i ServiceVpcConfigArgs) ToServiceVpcConfigPtrOutput() ServiceVpcConfigPtrOutput
func (ServiceVpcConfigArgs) ToServiceVpcConfigPtrOutputWithContext ¶
func (i ServiceVpcConfigArgs) ToServiceVpcConfigPtrOutputWithContext(ctx context.Context) ServiceVpcConfigPtrOutput
type ServiceVpcConfigInput ¶
type ServiceVpcConfigInput interface { pulumi.Input ToServiceVpcConfigOutput() ServiceVpcConfigOutput ToServiceVpcConfigOutputWithContext(context.Context) ServiceVpcConfigOutput }
ServiceVpcConfigInput is an input type that accepts ServiceVpcConfigArgs and ServiceVpcConfigOutput values. You can construct a concrete instance of `ServiceVpcConfigInput` via:
ServiceVpcConfigArgs{...}
type ServiceVpcConfigOutput ¶
type ServiceVpcConfigOutput struct{ *pulumi.OutputState }
func (ServiceVpcConfigOutput) ElementType ¶
func (ServiceVpcConfigOutput) ElementType() reflect.Type
func (ServiceVpcConfigOutput) SecurityGroupId ¶
func (o ServiceVpcConfigOutput) SecurityGroupId() pulumi.StringOutput
A security group ID associated with the Function Compute Service.
func (ServiceVpcConfigOutput) ToServiceVpcConfigOutput ¶
func (o ServiceVpcConfigOutput) ToServiceVpcConfigOutput() ServiceVpcConfigOutput
func (ServiceVpcConfigOutput) ToServiceVpcConfigOutputWithContext ¶
func (o ServiceVpcConfigOutput) ToServiceVpcConfigOutputWithContext(ctx context.Context) ServiceVpcConfigOutput
func (ServiceVpcConfigOutput) ToServiceVpcConfigPtrOutput ¶
func (o ServiceVpcConfigOutput) ToServiceVpcConfigPtrOutput() ServiceVpcConfigPtrOutput
func (ServiceVpcConfigOutput) ToServiceVpcConfigPtrOutputWithContext ¶
func (o ServiceVpcConfigOutput) ToServiceVpcConfigPtrOutputWithContext(ctx context.Context) ServiceVpcConfigPtrOutput
func (ServiceVpcConfigOutput) VpcId ¶
func (o ServiceVpcConfigOutput) VpcId() pulumi.StringPtrOutput
func (ServiceVpcConfigOutput) VswitchIds ¶
func (o ServiceVpcConfigOutput) VswitchIds() pulumi.StringArrayOutput
A list of vswitch IDs associated with the Function Compute Service.
type ServiceVpcConfigPtrInput ¶
type ServiceVpcConfigPtrInput interface { pulumi.Input ToServiceVpcConfigPtrOutput() ServiceVpcConfigPtrOutput ToServiceVpcConfigPtrOutputWithContext(context.Context) ServiceVpcConfigPtrOutput }
ServiceVpcConfigPtrInput is an input type that accepts ServiceVpcConfigArgs, ServiceVpcConfigPtr and ServiceVpcConfigPtrOutput values. You can construct a concrete instance of `ServiceVpcConfigPtrInput` via:
ServiceVpcConfigArgs{...} or: nil
func ServiceVpcConfigPtr ¶
func ServiceVpcConfigPtr(v *ServiceVpcConfigArgs) ServiceVpcConfigPtrInput
type ServiceVpcConfigPtrOutput ¶
type ServiceVpcConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceVpcConfigPtrOutput) Elem ¶
func (o ServiceVpcConfigPtrOutput) Elem() ServiceVpcConfigOutput
func (ServiceVpcConfigPtrOutput) ElementType ¶
func (ServiceVpcConfigPtrOutput) ElementType() reflect.Type
func (ServiceVpcConfigPtrOutput) SecurityGroupId ¶
func (o ServiceVpcConfigPtrOutput) SecurityGroupId() pulumi.StringPtrOutput
A security group ID associated with the Function Compute Service.
func (ServiceVpcConfigPtrOutput) ToServiceVpcConfigPtrOutput ¶
func (o ServiceVpcConfigPtrOutput) ToServiceVpcConfigPtrOutput() ServiceVpcConfigPtrOutput
func (ServiceVpcConfigPtrOutput) ToServiceVpcConfigPtrOutputWithContext ¶
func (o ServiceVpcConfigPtrOutput) ToServiceVpcConfigPtrOutputWithContext(ctx context.Context) ServiceVpcConfigPtrOutput
func (ServiceVpcConfigPtrOutput) VpcId ¶
func (o ServiceVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
func (ServiceVpcConfigPtrOutput) VswitchIds ¶
func (o ServiceVpcConfigPtrOutput) VswitchIds() pulumi.StringArrayOutput
A list of vswitch IDs associated with the Function Compute Service.
type Trigger ¶
type Trigger struct { pulumi.CustomResourceState // The config of Function Compute trigger.It is valid when `type` is not "mnsTopic".See [Configure triggers and events](https://www.alibabacloud.com/help/doc-detail/70140.htm) for more details. Config pulumi.StringPtrOutput `pulumi:"config"` // The config of Function Compute trigger when the type is "mnsTopic".It is conflict with `config`. ConfigMns pulumi.StringPtrOutput `pulumi:"configMns"` // The Function Compute function name. Function pulumi.StringOutput `pulumi:"function"` // The date this resource was last modified. LastModified pulumi.StringOutput `pulumi:"lastModified"` // The Function Compute trigger name. It is the only in one service and is conflict with "namePrefix". Name pulumi.StringOutput `pulumi:"name"` // Setting a prefix to get a only trigger name. It is conflict with "name". NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. Role pulumi.StringPtrOutput `pulumi:"role"` // The Function Compute service name. Service pulumi.StringOutput `pulumi:"service"` // Event source resource address. See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. SourceArn pulumi.StringPtrOutput `pulumi:"sourceArn"` // The Function Compute trigger ID. TriggerId pulumi.StringOutput `pulumi:"triggerId"` // The Type of the trigger. Valid values: ["oss", "log", "timer", "http", "mnsTopic", "cdnEvents"]. Type pulumi.StringOutput `pulumi:"type"` }
## Import
Function Compute trigger can be imported using the id, e.g.
```sh
$ pulumi import alicloud:fc/trigger:Trigger foo my-fc-service:hello-world:hello-trigger
```
func GetTrigger ¶
func GetTrigger(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)
GetTrigger gets an existing Trigger 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 NewTrigger ¶
func NewTrigger(ctx *pulumi.Context, name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)
NewTrigger registers a new resource with the given unique name, arguments, and options.
func (Trigger) ElementType ¶ added in v2.25.1
func (Trigger) ToTriggerOutput ¶ added in v2.25.1
func (i Trigger) ToTriggerOutput() TriggerOutput
func (Trigger) ToTriggerOutputWithContext ¶ added in v2.25.1
func (i Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
type TriggerArgs ¶
type TriggerArgs struct { // The config of Function Compute trigger.It is valid when `type` is not "mnsTopic".See [Configure triggers and events](https://www.alibabacloud.com/help/doc-detail/70140.htm) for more details. Config pulumi.StringPtrInput // The config of Function Compute trigger when the type is "mnsTopic".It is conflict with `config`. ConfigMns pulumi.StringPtrInput // The Function Compute function name. Function pulumi.StringInput // The Function Compute trigger name. It is the only in one service and is conflict with "namePrefix". Name pulumi.StringPtrInput // Setting a prefix to get a only trigger name. It is conflict with "name". NamePrefix pulumi.StringPtrInput // RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. Role pulumi.StringPtrInput // The Function Compute service name. Service pulumi.StringInput // Event source resource address. See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. SourceArn pulumi.StringPtrInput // The Type of the trigger. Valid values: ["oss", "log", "timer", "http", "mnsTopic", "cdnEvents"]. Type pulumi.StringInput }
The set of arguments for constructing a Trigger resource.
func (TriggerArgs) ElementType ¶
func (TriggerArgs) ElementType() reflect.Type
type TriggerInput ¶ added in v2.25.1
type TriggerInput interface { pulumi.Input ToTriggerOutput() TriggerOutput ToTriggerOutputWithContext(ctx context.Context) TriggerOutput }
type TriggerOutput ¶ added in v2.25.1
type TriggerOutput struct {
*pulumi.OutputState
}
func (TriggerOutput) ElementType ¶ added in v2.25.1
func (TriggerOutput) ElementType() reflect.Type
func (TriggerOutput) ToTriggerOutput ¶ added in v2.25.1
func (o TriggerOutput) ToTriggerOutput() TriggerOutput
func (TriggerOutput) ToTriggerOutputWithContext ¶ added in v2.25.1
func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
type TriggerState ¶
type TriggerState struct { // The config of Function Compute trigger.It is valid when `type` is not "mnsTopic".See [Configure triggers and events](https://www.alibabacloud.com/help/doc-detail/70140.htm) for more details. Config pulumi.StringPtrInput // The config of Function Compute trigger when the type is "mnsTopic".It is conflict with `config`. ConfigMns pulumi.StringPtrInput // The Function Compute function name. Function pulumi.StringPtrInput // The date this resource was last modified. LastModified pulumi.StringPtrInput // The Function Compute trigger name. It is the only in one service and is conflict with "namePrefix". Name pulumi.StringPtrInput // Setting a prefix to get a only trigger name. It is conflict with "name". NamePrefix pulumi.StringPtrInput // RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. Role pulumi.StringPtrInput // The Function Compute service name. Service pulumi.StringPtrInput // Event source resource address. See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details. SourceArn pulumi.StringPtrInput // The Function Compute trigger ID. TriggerId pulumi.StringPtrInput // The Type of the trigger. Valid values: ["oss", "log", "timer", "http", "mnsTopic", "cdnEvents"]. Type pulumi.StringPtrInput }
func (TriggerState) ElementType ¶
func (TriggerState) ElementType() reflect.Type