Documentation
¶
Index ¶
- type Alias
- type AliasArgs
- type AliasArray
- type AliasArrayInput
- type AliasArrayOutput
- type AliasInput
- type AliasMap
- type AliasMapInput
- type AliasMapOutput
- type AliasOutput
- func (o AliasOutput) AliasName() pulumi.StringOutput
- func (o AliasOutput) Description() pulumi.StringPtrOutput
- func (AliasOutput) ElementType() reflect.Type
- func (o AliasOutput) RoutingConfig() AliasRoutingConfigPtrOutput
- func (o AliasOutput) ServiceName() pulumi.StringOutput
- func (o AliasOutput) ServiceVersion() pulumi.StringOutput
- func (o AliasOutput) ToAliasOutput() AliasOutput
- func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) 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 CustomDomainArray
- type CustomDomainArrayInput
- type CustomDomainArrayOutput
- func (CustomDomainArrayOutput) ElementType() reflect.Type
- func (o CustomDomainArrayOutput) Index(i pulumi.IntInput) CustomDomainOutput
- func (o CustomDomainArrayOutput) ToCustomDomainArrayOutput() CustomDomainArrayOutput
- func (o CustomDomainArrayOutput) ToCustomDomainArrayOutputWithContext(ctx context.Context) CustomDomainArrayOutput
- 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 CustomDomainMap
- type CustomDomainMapInput
- type CustomDomainMapOutput
- func (CustomDomainMapOutput) ElementType() reflect.Type
- func (o CustomDomainMapOutput) MapIndex(k pulumi.StringInput) CustomDomainOutput
- func (o CustomDomainMapOutput) ToCustomDomainMapOutput() CustomDomainMapOutput
- func (o CustomDomainMapOutput) ToCustomDomainMapOutputWithContext(ctx context.Context) CustomDomainMapOutput
- type CustomDomainOutput
- func (o CustomDomainOutput) AccountId() pulumi.StringOutput
- func (o CustomDomainOutput) ApiVersion() pulumi.StringOutput
- func (o CustomDomainOutput) CertConfig() CustomDomainCertConfigPtrOutput
- func (o CustomDomainOutput) CreatedTime() pulumi.StringOutput
- func (o CustomDomainOutput) DomainName() pulumi.StringOutput
- func (CustomDomainOutput) ElementType() reflect.Type
- func (o CustomDomainOutput) LastModifiedTime() pulumi.StringOutput
- func (o CustomDomainOutput) Protocol() pulumi.StringOutput
- func (o CustomDomainOutput) RouteConfigs() CustomDomainRouteConfigArrayOutput
- func (o CustomDomainOutput) ToCustomDomainOutput() CustomDomainOutput
- func (o CustomDomainOutput) ToCustomDomainOutputWithContext(ctx context.Context) 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 FunctionArray
- type FunctionArrayInput
- type FunctionArrayOutput
- type FunctionAsyncInvokeConfig
- type FunctionAsyncInvokeConfigArgs
- type FunctionAsyncInvokeConfigArray
- func (FunctionAsyncInvokeConfigArray) ElementType() reflect.Type
- func (i FunctionAsyncInvokeConfigArray) ToFunctionAsyncInvokeConfigArrayOutput() FunctionAsyncInvokeConfigArrayOutput
- func (i FunctionAsyncInvokeConfigArray) ToFunctionAsyncInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigArrayOutput
- type FunctionAsyncInvokeConfigArrayInput
- type FunctionAsyncInvokeConfigArrayOutput
- func (FunctionAsyncInvokeConfigArrayOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigArrayOutput) Index(i pulumi.IntInput) FunctionAsyncInvokeConfigOutput
- func (o FunctionAsyncInvokeConfigArrayOutput) ToFunctionAsyncInvokeConfigArrayOutput() FunctionAsyncInvokeConfigArrayOutput
- func (o FunctionAsyncInvokeConfigArrayOutput) ToFunctionAsyncInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigArrayOutput
- 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 FunctionAsyncInvokeConfigMap
- func (FunctionAsyncInvokeConfigMap) ElementType() reflect.Type
- func (i FunctionAsyncInvokeConfigMap) ToFunctionAsyncInvokeConfigMapOutput() FunctionAsyncInvokeConfigMapOutput
- func (i FunctionAsyncInvokeConfigMap) ToFunctionAsyncInvokeConfigMapOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigMapOutput
- type FunctionAsyncInvokeConfigMapInput
- type FunctionAsyncInvokeConfigMapOutput
- func (FunctionAsyncInvokeConfigMapOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigMapOutput) MapIndex(k pulumi.StringInput) FunctionAsyncInvokeConfigOutput
- func (o FunctionAsyncInvokeConfigMapOutput) ToFunctionAsyncInvokeConfigMapOutput() FunctionAsyncInvokeConfigMapOutput
- func (o FunctionAsyncInvokeConfigMapOutput) ToFunctionAsyncInvokeConfigMapOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigMapOutput
- type FunctionAsyncInvokeConfigOutput
- func (o FunctionAsyncInvokeConfigOutput) CreatedTime() pulumi.StringOutput
- func (o FunctionAsyncInvokeConfigOutput) DestinationConfig() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
- func (FunctionAsyncInvokeConfigOutput) ElementType() reflect.Type
- func (o FunctionAsyncInvokeConfigOutput) FunctionName() pulumi.StringOutput
- func (o FunctionAsyncInvokeConfigOutput) LastModifiedTime() pulumi.StringOutput
- func (o FunctionAsyncInvokeConfigOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
- func (o FunctionAsyncInvokeConfigOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
- func (o FunctionAsyncInvokeConfigOutput) Qualifier() pulumi.StringPtrOutput
- func (o FunctionAsyncInvokeConfigOutput) ServiceName() pulumi.StringOutput
- func (o FunctionAsyncInvokeConfigOutput) StatefulInvocation() pulumi.BoolPtrOutput
- 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 FunctionMap
- type FunctionMapInput
- type FunctionMapOutput
- type FunctionOutput
- func (o FunctionOutput) CaPort() pulumi.IntPtrOutput
- func (o FunctionOutput) CodeChecksum() pulumi.StringOutput
- func (o FunctionOutput) CustomContainerConfig() FunctionCustomContainerConfigPtrOutput
- func (o FunctionOutput) Description() pulumi.StringPtrOutput
- func (FunctionOutput) ElementType() reflect.Type
- func (o FunctionOutput) EnvironmentVariables() pulumi.MapOutput
- func (o FunctionOutput) Filename() pulumi.StringPtrOutput
- func (o FunctionOutput) FunctionId() pulumi.StringOutput
- func (o FunctionOutput) Handler() pulumi.StringOutput
- func (o FunctionOutput) InitializationTimeout() pulumi.IntPtrOutput
- func (o FunctionOutput) Initializer() pulumi.StringPtrOutput
- func (o FunctionOutput) InstanceConcurrency() pulumi.IntPtrOutput
- func (o FunctionOutput) InstanceType() pulumi.StringPtrOutput
- func (o FunctionOutput) LastModified() pulumi.StringOutput
- func (o FunctionOutput) Layers() pulumi.StringArrayOutput
- func (o FunctionOutput) MemorySize() pulumi.IntPtrOutput
- func (o FunctionOutput) Name() pulumi.StringOutput
- func (o FunctionOutput) NamePrefix() pulumi.StringPtrOutput
- func (o FunctionOutput) OssBucket() pulumi.StringPtrOutput
- func (o FunctionOutput) OssKey() pulumi.StringPtrOutput
- func (o FunctionOutput) Runtime() pulumi.StringOutput
- func (o FunctionOutput) Service() pulumi.StringOutput
- func (o FunctionOutput) Timeout() pulumi.IntPtrOutput
- func (o FunctionOutput) ToFunctionOutput() FunctionOutput
- func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) 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 GetCustomDomainsOutputArgs
- type GetCustomDomainsResult
- type GetCustomDomainsResultOutput
- func (o GetCustomDomainsResultOutput) Domains() GetCustomDomainsDomainArrayOutput
- func (GetCustomDomainsResultOutput) ElementType() reflect.Type
- func (o GetCustomDomainsResultOutput) Id() pulumi.StringOutput
- func (o GetCustomDomainsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetCustomDomainsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetCustomDomainsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetCustomDomainsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetCustomDomainsResultOutput) ToGetCustomDomainsResultOutput() GetCustomDomainsResultOutput
- func (o GetCustomDomainsResultOutput) ToGetCustomDomainsResultOutputWithContext(ctx context.Context) GetCustomDomainsResultOutput
- 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 GetFunctionsOutputArgs
- type GetFunctionsResult
- type GetFunctionsResultOutput
- func (GetFunctionsResultOutput) ElementType() reflect.Type
- func (o GetFunctionsResultOutput) Functions() GetFunctionsFunctionArrayOutput
- func (o GetFunctionsResultOutput) Id() pulumi.StringOutput
- func (o GetFunctionsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetFunctionsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetFunctionsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetFunctionsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetFunctionsResultOutput) ServiceName() pulumi.StringOutput
- func (o GetFunctionsResultOutput) ToGetFunctionsResultOutput() GetFunctionsResultOutput
- func (o GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext(ctx context.Context) GetFunctionsResultOutput
- type GetServicesArgs
- type GetServicesOutputArgs
- type GetServicesResult
- type GetServicesResultOutput
- func (GetServicesResultOutput) ElementType() reflect.Type
- func (o GetServicesResultOutput) Id() pulumi.StringOutput
- func (o GetServicesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServicesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetServicesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetServicesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServicesResultOutput) Services() GetServicesServiceArrayOutput
- func (o GetServicesResultOutput) ToGetServicesResultOutput() GetServicesResultOutput
- func (o GetServicesResultOutput) ToGetServicesResultOutputWithContext(ctx context.Context) GetServicesResultOutput
- 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 GetTriggersOutputArgs
- type GetTriggersResult
- type GetTriggersResultOutput
- func (GetTriggersResultOutput) ElementType() reflect.Type
- func (o GetTriggersResultOutput) FunctionName() pulumi.StringOutput
- func (o GetTriggersResultOutput) Id() pulumi.StringOutput
- func (o GetTriggersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetTriggersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetTriggersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetTriggersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetTriggersResultOutput) ServiceName() pulumi.StringOutput
- func (o GetTriggersResultOutput) ToGetTriggersResultOutput() GetTriggersResultOutput
- func (o GetTriggersResultOutput) ToGetTriggersResultOutputWithContext(ctx context.Context) GetTriggersResultOutput
- func (o GetTriggersResultOutput) Triggers() GetTriggersTriggerArrayOutput
- 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 GetZonesOutputArgs
- type GetZonesResult
- type GetZonesResultOutput
- func (GetZonesResultOutput) ElementType() reflect.Type
- func (o GetZonesResultOutput) Id() pulumi.StringOutput
- func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
- func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
- 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 LayerVersion
- type LayerVersionArgs
- type LayerVersionArray
- type LayerVersionArrayInput
- type LayerVersionArrayOutput
- func (LayerVersionArrayOutput) ElementType() reflect.Type
- func (o LayerVersionArrayOutput) Index(i pulumi.IntInput) LayerVersionOutput
- func (o LayerVersionArrayOutput) ToLayerVersionArrayOutput() LayerVersionArrayOutput
- func (o LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput
- type LayerVersionInput
- type LayerVersionMap
- type LayerVersionMapInput
- type LayerVersionMapOutput
- func (LayerVersionMapOutput) ElementType() reflect.Type
- func (o LayerVersionMapOutput) MapIndex(k pulumi.StringInput) LayerVersionOutput
- func (o LayerVersionMapOutput) ToLayerVersionMapOutput() LayerVersionMapOutput
- func (o LayerVersionMapOutput) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput
- type LayerVersionOutput
- func (o LayerVersionOutput) Acl() pulumi.StringOutput
- func (o LayerVersionOutput) Arn() pulumi.StringOutput
- func (o LayerVersionOutput) CodeCheckSum() pulumi.StringOutput
- func (o LayerVersionOutput) CompatibleRuntimes() pulumi.StringArrayOutput
- func (o LayerVersionOutput) Description() pulumi.StringPtrOutput
- func (LayerVersionOutput) ElementType() reflect.Type
- func (o LayerVersionOutput) LayerName() pulumi.StringOutput
- func (o LayerVersionOutput) OssBucketName() pulumi.StringPtrOutput
- func (o LayerVersionOutput) OssObjectName() pulumi.StringPtrOutput
- func (o LayerVersionOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o LayerVersionOutput) ToLayerVersionOutput() LayerVersionOutput
- func (o LayerVersionOutput) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
- func (o LayerVersionOutput) Version() pulumi.StringOutput
- func (o LayerVersionOutput) ZipFile() pulumi.StringPtrOutput
- type LayerVersionState
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) Enable() pulumi.StringPtrOutput
- func (o LookupServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupServiceResultOutput) Status() pulumi.StringOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- 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) EnableInstanceMetrics() pulumi.BoolPtrOutput
- func (o ServiceLogConfigOutput) EnableRequestMetrics() pulumi.BoolPtrOutput
- 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) EnableInstanceMetrics() pulumi.BoolPtrOutput
- func (o ServiceLogConfigPtrOutput) EnableRequestMetrics() pulumi.BoolPtrOutput
- 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 ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- 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
- func (o ServiceOutput) Description() pulumi.StringPtrOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) InternetAccess() pulumi.BoolPtrOutput
- func (o ServiceOutput) LastModified() pulumi.StringOutput
- func (o ServiceOutput) LogConfig() ServiceLogConfigPtrOutput
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) NamePrefix() pulumi.StringPtrOutput
- func (o ServiceOutput) NasConfig() ServiceNasConfigPtrOutput
- func (o ServiceOutput) Publish() pulumi.BoolPtrOutput
- func (o ServiceOutput) Role() pulumi.StringPtrOutput
- func (o ServiceOutput) ServiceId() pulumi.StringOutput
- func (o ServiceOutput) Tags() pulumi.StringMapOutput
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) TracingConfig() ServiceTracingConfigPtrOutput
- func (o ServiceOutput) Version() pulumi.StringOutput
- func (o ServiceOutput) VpcConfig() ServiceVpcConfigPtrOutput
- type ServiceState
- type ServiceTracingConfig
- type ServiceTracingConfigArgs
- func (ServiceTracingConfigArgs) ElementType() reflect.Type
- func (i ServiceTracingConfigArgs) ToServiceTracingConfigOutput() ServiceTracingConfigOutput
- func (i ServiceTracingConfigArgs) ToServiceTracingConfigOutputWithContext(ctx context.Context) ServiceTracingConfigOutput
- func (i ServiceTracingConfigArgs) ToServiceTracingConfigPtrOutput() ServiceTracingConfigPtrOutput
- func (i ServiceTracingConfigArgs) ToServiceTracingConfigPtrOutputWithContext(ctx context.Context) ServiceTracingConfigPtrOutput
- type ServiceTracingConfigInput
- type ServiceTracingConfigOutput
- func (ServiceTracingConfigOutput) ElementType() reflect.Type
- func (o ServiceTracingConfigOutput) Params() pulumi.MapOutput
- func (o ServiceTracingConfigOutput) ToServiceTracingConfigOutput() ServiceTracingConfigOutput
- func (o ServiceTracingConfigOutput) ToServiceTracingConfigOutputWithContext(ctx context.Context) ServiceTracingConfigOutput
- func (o ServiceTracingConfigOutput) ToServiceTracingConfigPtrOutput() ServiceTracingConfigPtrOutput
- func (o ServiceTracingConfigOutput) ToServiceTracingConfigPtrOutputWithContext(ctx context.Context) ServiceTracingConfigPtrOutput
- func (o ServiceTracingConfigOutput) Type() pulumi.StringOutput
- type ServiceTracingConfigPtrInput
- type ServiceTracingConfigPtrOutput
- func (o ServiceTracingConfigPtrOutput) Elem() ServiceTracingConfigOutput
- func (ServiceTracingConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceTracingConfigPtrOutput) Params() pulumi.MapOutput
- func (o ServiceTracingConfigPtrOutput) ToServiceTracingConfigPtrOutput() ServiceTracingConfigPtrOutput
- func (o ServiceTracingConfigPtrOutput) ToServiceTracingConfigPtrOutputWithContext(ctx context.Context) ServiceTracingConfigPtrOutput
- func (o ServiceTracingConfigPtrOutput) Type() pulumi.StringPtrOutput
- 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 TriggerArray
- type TriggerArrayInput
- type TriggerArrayOutput
- type TriggerInput
- type TriggerMap
- type TriggerMapInput
- type TriggerMapOutput
- type TriggerOutput
- func (o TriggerOutput) Config() pulumi.StringPtrOutput
- func (o TriggerOutput) ConfigMns() pulumi.StringPtrOutput
- func (TriggerOutput) ElementType() reflect.Type
- func (o TriggerOutput) Function() pulumi.StringOutput
- func (o TriggerOutput) LastModified() pulumi.StringOutput
- func (o TriggerOutput) Name() pulumi.StringOutput
- func (o TriggerOutput) NamePrefix() pulumi.StringPtrOutput
- func (o TriggerOutput) Role() pulumi.StringPtrOutput
- func (o TriggerOutput) Service() pulumi.StringOutput
- func (o TriggerOutput) SourceArn() pulumi.StringPtrOutput
- func (o TriggerOutput) ToTriggerOutput() TriggerOutput
- func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (o TriggerOutput) TriggerId() pulumi.StringOutput
- func (o TriggerOutput) Type() pulumi.StringOutput
- type TriggerState
- type V2Function
- type V2FunctionArgs
- type V2FunctionArray
- type V2FunctionArrayInput
- type V2FunctionArrayOutput
- func (V2FunctionArrayOutput) ElementType() reflect.Type
- func (o V2FunctionArrayOutput) Index(i pulumi.IntInput) V2FunctionOutput
- func (o V2FunctionArrayOutput) ToV2FunctionArrayOutput() V2FunctionArrayOutput
- func (o V2FunctionArrayOutput) ToV2FunctionArrayOutputWithContext(ctx context.Context) V2FunctionArrayOutput
- type V2FunctionCode
- type V2FunctionCodeArgs
- func (V2FunctionCodeArgs) ElementType() reflect.Type
- func (i V2FunctionCodeArgs) ToV2FunctionCodeOutput() V2FunctionCodeOutput
- func (i V2FunctionCodeArgs) ToV2FunctionCodeOutputWithContext(ctx context.Context) V2FunctionCodeOutput
- func (i V2FunctionCodeArgs) ToV2FunctionCodePtrOutput() V2FunctionCodePtrOutput
- func (i V2FunctionCodeArgs) ToV2FunctionCodePtrOutputWithContext(ctx context.Context) V2FunctionCodePtrOutput
- type V2FunctionCodeInput
- type V2FunctionCodeOutput
- func (V2FunctionCodeOutput) ElementType() reflect.Type
- func (o V2FunctionCodeOutput) OssBucketName() pulumi.StringPtrOutput
- func (o V2FunctionCodeOutput) OssObjectName() pulumi.StringPtrOutput
- func (o V2FunctionCodeOutput) ToV2FunctionCodeOutput() V2FunctionCodeOutput
- func (o V2FunctionCodeOutput) ToV2FunctionCodeOutputWithContext(ctx context.Context) V2FunctionCodeOutput
- func (o V2FunctionCodeOutput) ToV2FunctionCodePtrOutput() V2FunctionCodePtrOutput
- func (o V2FunctionCodeOutput) ToV2FunctionCodePtrOutputWithContext(ctx context.Context) V2FunctionCodePtrOutput
- func (o V2FunctionCodeOutput) ZipFile() pulumi.StringPtrOutput
- type V2FunctionCodePtrInput
- type V2FunctionCodePtrOutput
- func (o V2FunctionCodePtrOutput) Elem() V2FunctionCodeOutput
- func (V2FunctionCodePtrOutput) ElementType() reflect.Type
- func (o V2FunctionCodePtrOutput) OssBucketName() pulumi.StringPtrOutput
- func (o V2FunctionCodePtrOutput) OssObjectName() pulumi.StringPtrOutput
- func (o V2FunctionCodePtrOutput) ToV2FunctionCodePtrOutput() V2FunctionCodePtrOutput
- func (o V2FunctionCodePtrOutput) ToV2FunctionCodePtrOutputWithContext(ctx context.Context) V2FunctionCodePtrOutput
- func (o V2FunctionCodePtrOutput) ZipFile() pulumi.StringPtrOutput
- type V2FunctionCustomContainerConfig
- type V2FunctionCustomContainerConfigArgs
- func (V2FunctionCustomContainerConfigArgs) ElementType() reflect.Type
- func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigOutput() V2FunctionCustomContainerConfigOutput
- func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigOutput
- func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigPtrOutput() V2FunctionCustomContainerConfigPtrOutput
- func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigPtrOutput
- type V2FunctionCustomContainerConfigInput
- type V2FunctionCustomContainerConfigOutput
- func (o V2FunctionCustomContainerConfigOutput) AccelerationType() pulumi.StringPtrOutput
- func (o V2FunctionCustomContainerConfigOutput) Args() pulumi.StringPtrOutput
- func (o V2FunctionCustomContainerConfigOutput) Command() pulumi.StringPtrOutput
- func (V2FunctionCustomContainerConfigOutput) ElementType() reflect.Type
- func (o V2FunctionCustomContainerConfigOutput) Image() pulumi.StringPtrOutput
- func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigOutput() V2FunctionCustomContainerConfigOutput
- func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigOutput
- func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigPtrOutput() V2FunctionCustomContainerConfigPtrOutput
- func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigPtrOutput
- func (o V2FunctionCustomContainerConfigOutput) WebServerMode() pulumi.BoolPtrOutput
- type V2FunctionCustomContainerConfigPtrInput
- type V2FunctionCustomContainerConfigPtrOutput
- func (o V2FunctionCustomContainerConfigPtrOutput) AccelerationType() pulumi.StringPtrOutput
- func (o V2FunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
- func (o V2FunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
- func (o V2FunctionCustomContainerConfigPtrOutput) Elem() V2FunctionCustomContainerConfigOutput
- func (V2FunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
- func (o V2FunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
- func (o V2FunctionCustomContainerConfigPtrOutput) ToV2FunctionCustomContainerConfigPtrOutput() V2FunctionCustomContainerConfigPtrOutput
- func (o V2FunctionCustomContainerConfigPtrOutput) ToV2FunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigPtrOutput
- func (o V2FunctionCustomContainerConfigPtrOutput) WebServerMode() pulumi.BoolPtrOutput
- type V2FunctionCustomDns
- type V2FunctionCustomDnsArgs
- func (V2FunctionCustomDnsArgs) ElementType() reflect.Type
- func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsOutput() V2FunctionCustomDnsOutput
- func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsOutputWithContext(ctx context.Context) V2FunctionCustomDnsOutput
- func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsPtrOutput() V2FunctionCustomDnsPtrOutput
- func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsPtrOutputWithContext(ctx context.Context) V2FunctionCustomDnsPtrOutput
- type V2FunctionCustomDnsDnsOption
- type V2FunctionCustomDnsDnsOptionArgs
- func (V2FunctionCustomDnsDnsOptionArgs) ElementType() reflect.Type
- func (i V2FunctionCustomDnsDnsOptionArgs) ToV2FunctionCustomDnsDnsOptionOutput() V2FunctionCustomDnsDnsOptionOutput
- func (i V2FunctionCustomDnsDnsOptionArgs) ToV2FunctionCustomDnsDnsOptionOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionOutput
- type V2FunctionCustomDnsDnsOptionArray
- func (V2FunctionCustomDnsDnsOptionArray) ElementType() reflect.Type
- func (i V2FunctionCustomDnsDnsOptionArray) ToV2FunctionCustomDnsDnsOptionArrayOutput() V2FunctionCustomDnsDnsOptionArrayOutput
- func (i V2FunctionCustomDnsDnsOptionArray) ToV2FunctionCustomDnsDnsOptionArrayOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionArrayOutput
- type V2FunctionCustomDnsDnsOptionArrayInput
- type V2FunctionCustomDnsDnsOptionArrayOutput
- func (V2FunctionCustomDnsDnsOptionArrayOutput) ElementType() reflect.Type
- func (o V2FunctionCustomDnsDnsOptionArrayOutput) Index(i pulumi.IntInput) V2FunctionCustomDnsDnsOptionOutput
- func (o V2FunctionCustomDnsDnsOptionArrayOutput) ToV2FunctionCustomDnsDnsOptionArrayOutput() V2FunctionCustomDnsDnsOptionArrayOutput
- func (o V2FunctionCustomDnsDnsOptionArrayOutput) ToV2FunctionCustomDnsDnsOptionArrayOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionArrayOutput
- type V2FunctionCustomDnsDnsOptionInput
- type V2FunctionCustomDnsDnsOptionOutput
- func (V2FunctionCustomDnsDnsOptionOutput) ElementType() reflect.Type
- func (o V2FunctionCustomDnsDnsOptionOutput) Name() pulumi.StringPtrOutput
- func (o V2FunctionCustomDnsDnsOptionOutput) ToV2FunctionCustomDnsDnsOptionOutput() V2FunctionCustomDnsDnsOptionOutput
- func (o V2FunctionCustomDnsDnsOptionOutput) ToV2FunctionCustomDnsDnsOptionOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionOutput
- func (o V2FunctionCustomDnsDnsOptionOutput) Value() pulumi.StringPtrOutput
- type V2FunctionCustomDnsInput
- type V2FunctionCustomDnsOutput
- func (o V2FunctionCustomDnsOutput) DnsOptions() V2FunctionCustomDnsDnsOptionArrayOutput
- func (V2FunctionCustomDnsOutput) ElementType() reflect.Type
- func (o V2FunctionCustomDnsOutput) NameServers() pulumi.StringArrayOutput
- func (o V2FunctionCustomDnsOutput) Searches() pulumi.StringArrayOutput
- func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsOutput() V2FunctionCustomDnsOutput
- func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsOutputWithContext(ctx context.Context) V2FunctionCustomDnsOutput
- func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsPtrOutput() V2FunctionCustomDnsPtrOutput
- func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsPtrOutputWithContext(ctx context.Context) V2FunctionCustomDnsPtrOutput
- type V2FunctionCustomDnsPtrInput
- type V2FunctionCustomDnsPtrOutput
- func (o V2FunctionCustomDnsPtrOutput) DnsOptions() V2FunctionCustomDnsDnsOptionArrayOutput
- func (o V2FunctionCustomDnsPtrOutput) Elem() V2FunctionCustomDnsOutput
- func (V2FunctionCustomDnsPtrOutput) ElementType() reflect.Type
- func (o V2FunctionCustomDnsPtrOutput) NameServers() pulumi.StringArrayOutput
- func (o V2FunctionCustomDnsPtrOutput) Searches() pulumi.StringArrayOutput
- func (o V2FunctionCustomDnsPtrOutput) ToV2FunctionCustomDnsPtrOutput() V2FunctionCustomDnsPtrOutput
- func (o V2FunctionCustomDnsPtrOutput) ToV2FunctionCustomDnsPtrOutputWithContext(ctx context.Context) V2FunctionCustomDnsPtrOutput
- type V2FunctionCustomHealthCheckConfig
- type V2FunctionCustomHealthCheckConfigArgs
- func (V2FunctionCustomHealthCheckConfigArgs) ElementType() reflect.Type
- func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigOutput() V2FunctionCustomHealthCheckConfigOutput
- func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigOutput
- func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigPtrOutput() V2FunctionCustomHealthCheckConfigPtrOutput
- func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigPtrOutput
- type V2FunctionCustomHealthCheckConfigInput
- type V2FunctionCustomHealthCheckConfigOutput
- func (V2FunctionCustomHealthCheckConfigOutput) ElementType() reflect.Type
- func (o V2FunctionCustomHealthCheckConfigOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) HttpGetUrl() pulumi.StringPtrOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) InitialDelaySeconds() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) PeriodSeconds() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) SuccessThreshold() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigOutput() V2FunctionCustomHealthCheckConfigOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigPtrOutput() V2FunctionCustomHealthCheckConfigPtrOutput
- func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigPtrOutput
- type V2FunctionCustomHealthCheckConfigPtrInput
- type V2FunctionCustomHealthCheckConfigPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) Elem() V2FunctionCustomHealthCheckConfigOutput
- func (V2FunctionCustomHealthCheckConfigPtrOutput) ElementType() reflect.Type
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) HttpGetUrl() pulumi.StringPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) InitialDelaySeconds() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) PeriodSeconds() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) SuccessThreshold() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) ToV2FunctionCustomHealthCheckConfigPtrOutput() V2FunctionCustomHealthCheckConfigPtrOutput
- func (o V2FunctionCustomHealthCheckConfigPtrOutput) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigPtrOutput
- type V2FunctionCustomRuntimeConfig
- type V2FunctionCustomRuntimeConfigArgs
- func (V2FunctionCustomRuntimeConfigArgs) ElementType() reflect.Type
- func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigOutput() V2FunctionCustomRuntimeConfigOutput
- func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigOutput
- func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigPtrOutput() V2FunctionCustomRuntimeConfigPtrOutput
- func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigPtrOutput
- type V2FunctionCustomRuntimeConfigInput
- type V2FunctionCustomRuntimeConfigOutput
- func (o V2FunctionCustomRuntimeConfigOutput) Args() pulumi.StringArrayOutput
- func (o V2FunctionCustomRuntimeConfigOutput) Commands() pulumi.StringArrayOutput
- func (V2FunctionCustomRuntimeConfigOutput) ElementType() reflect.Type
- func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigOutput() V2FunctionCustomRuntimeConfigOutput
- func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigOutput
- func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigPtrOutput() V2FunctionCustomRuntimeConfigPtrOutput
- func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigPtrOutput
- type V2FunctionCustomRuntimeConfigPtrInput
- type V2FunctionCustomRuntimeConfigPtrOutput
- func (o V2FunctionCustomRuntimeConfigPtrOutput) Args() pulumi.StringArrayOutput
- func (o V2FunctionCustomRuntimeConfigPtrOutput) Commands() pulumi.StringArrayOutput
- func (o V2FunctionCustomRuntimeConfigPtrOutput) Elem() V2FunctionCustomRuntimeConfigOutput
- func (V2FunctionCustomRuntimeConfigPtrOutput) ElementType() reflect.Type
- func (o V2FunctionCustomRuntimeConfigPtrOutput) ToV2FunctionCustomRuntimeConfigPtrOutput() V2FunctionCustomRuntimeConfigPtrOutput
- func (o V2FunctionCustomRuntimeConfigPtrOutput) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigPtrOutput
- type V2FunctionInput
- type V2FunctionInstanceLifecycleConfig
- type V2FunctionInstanceLifecycleConfigArgs
- func (V2FunctionInstanceLifecycleConfigArgs) ElementType() reflect.Type
- func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigOutput() V2FunctionInstanceLifecycleConfigOutput
- func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigOutput
- func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigPtrOutput() V2FunctionInstanceLifecycleConfigPtrOutput
- func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPtrOutput
- type V2FunctionInstanceLifecycleConfigInput
- type V2FunctionInstanceLifecycleConfigOutput
- func (V2FunctionInstanceLifecycleConfigOutput) ElementType() reflect.Type
- func (o V2FunctionInstanceLifecycleConfigOutput) PreFreeze() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- func (o V2FunctionInstanceLifecycleConfigOutput) PreStop() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigOutput() V2FunctionInstanceLifecycleConfigOutput
- func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigOutput
- func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigPtrOutput() V2FunctionInstanceLifecycleConfigPtrOutput
- func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPtrOutput
- type V2FunctionInstanceLifecycleConfigPreFreeze
- type V2FunctionInstanceLifecycleConfigPreFreezeArgs
- func (V2FunctionInstanceLifecycleConfigPreFreezeArgs) ElementType() reflect.Type
- func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezeOutput() V2FunctionInstanceLifecycleConfigPreFreezeOutput
- func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezeOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezeOutput
- func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- type V2FunctionInstanceLifecycleConfigPreFreezeInput
- type V2FunctionInstanceLifecycleConfigPreFreezeOutput
- func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) ElementType() reflect.Type
- func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) Handler() pulumi.StringPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) Timeout() pulumi.IntPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezeOutput() V2FunctionInstanceLifecycleConfigPreFreezeOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezeOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezeOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- type V2FunctionInstanceLifecycleConfigPreFreezePtrInput
- type V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) Elem() V2FunctionInstanceLifecycleConfigPreFreezeOutput
- func (V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ElementType() reflect.Type
- func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) Handler() pulumi.StringPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) Timeout() pulumi.IntPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- type V2FunctionInstanceLifecycleConfigPreStop
- type V2FunctionInstanceLifecycleConfigPreStopArgs
- func (V2FunctionInstanceLifecycleConfigPreStopArgs) ElementType() reflect.Type
- func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopOutput() V2FunctionInstanceLifecycleConfigPreStopOutput
- func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopOutput
- func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- type V2FunctionInstanceLifecycleConfigPreStopInput
- type V2FunctionInstanceLifecycleConfigPreStopOutput
- func (V2FunctionInstanceLifecycleConfigPreStopOutput) ElementType() reflect.Type
- func (o V2FunctionInstanceLifecycleConfigPreStopOutput) Handler() pulumi.StringPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopOutput) Timeout() pulumi.IntPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopOutput() V2FunctionInstanceLifecycleConfigPreStopOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- type V2FunctionInstanceLifecycleConfigPreStopPtrInput
- type V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) Elem() V2FunctionInstanceLifecycleConfigPreStopOutput
- func (V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ElementType() reflect.Type
- func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) Handler() pulumi.StringPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) Timeout() pulumi.IntPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- type V2FunctionInstanceLifecycleConfigPtrInput
- type V2FunctionInstanceLifecycleConfigPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPtrOutput) Elem() V2FunctionInstanceLifecycleConfigOutput
- func (V2FunctionInstanceLifecycleConfigPtrOutput) ElementType() reflect.Type
- func (o V2FunctionInstanceLifecycleConfigPtrOutput) PreFreeze() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
- func (o V2FunctionInstanceLifecycleConfigPtrOutput) PreStop() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPtrOutput) ToV2FunctionInstanceLifecycleConfigPtrOutput() V2FunctionInstanceLifecycleConfigPtrOutput
- func (o V2FunctionInstanceLifecycleConfigPtrOutput) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPtrOutput
- type V2FunctionMap
- type V2FunctionMapInput
- type V2FunctionMapOutput
- func (V2FunctionMapOutput) ElementType() reflect.Type
- func (o V2FunctionMapOutput) MapIndex(k pulumi.StringInput) V2FunctionOutput
- func (o V2FunctionMapOutput) ToV2FunctionMapOutput() V2FunctionMapOutput
- func (o V2FunctionMapOutput) ToV2FunctionMapOutputWithContext(ctx context.Context) V2FunctionMapOutput
- type V2FunctionOutput
- func (o V2FunctionOutput) CaPort() pulumi.IntOutput
- func (o V2FunctionOutput) Code() V2FunctionCodePtrOutput
- func (o V2FunctionOutput) CodeChecksum() pulumi.StringOutput
- func (o V2FunctionOutput) Cpu() pulumi.Float64PtrOutput
- func (o V2FunctionOutput) CreateTime() pulumi.StringOutput
- func (o V2FunctionOutput) CustomContainerConfig() V2FunctionCustomContainerConfigPtrOutput
- func (o V2FunctionOutput) CustomDns() V2FunctionCustomDnsPtrOutput
- func (o V2FunctionOutput) CustomHealthCheckConfig() V2FunctionCustomHealthCheckConfigPtrOutput
- func (o V2FunctionOutput) CustomRuntimeConfig() V2FunctionCustomRuntimeConfigPtrOutput
- func (o V2FunctionOutput) Description() pulumi.StringPtrOutput
- func (o V2FunctionOutput) DiskSize() pulumi.IntPtrOutput
- func (V2FunctionOutput) ElementType() reflect.Type
- func (o V2FunctionOutput) EnvironmentVariables() pulumi.MapOutput
- func (o V2FunctionOutput) FunctionName() pulumi.StringOutput
- func (o V2FunctionOutput) GpuMemorySize() pulumi.IntPtrOutput
- func (o V2FunctionOutput) Handler() pulumi.StringOutput
- func (o V2FunctionOutput) InitializationTimeout() pulumi.IntOutput
- func (o V2FunctionOutput) Initializer() pulumi.StringPtrOutput
- func (o V2FunctionOutput) InstanceConcurrency() pulumi.IntOutput
- func (o V2FunctionOutput) InstanceLifecycleConfig() V2FunctionInstanceLifecycleConfigPtrOutput
- func (o V2FunctionOutput) InstanceType() pulumi.StringOutput
- func (o V2FunctionOutput) Layers() pulumi.StringArrayOutput
- func (o V2FunctionOutput) MemorySize() pulumi.IntOutput
- func (o V2FunctionOutput) Runtime() pulumi.StringOutput
- func (o V2FunctionOutput) ServiceName() pulumi.StringOutput
- func (o V2FunctionOutput) Timeout() pulumi.IntOutput
- func (o V2FunctionOutput) ToV2FunctionOutput() V2FunctionOutput
- func (o V2FunctionOutput) ToV2FunctionOutputWithContext(ctx context.Context) V2FunctionOutput
- type V2FunctionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
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. See `routingConfig` 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/en/fc/developer-reference/api-createalias).
> **NOTE:** Available since v1.104.0.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), Publish: pulumi.Bool(true), }) if err != nil { return err } _, err = fc.NewAlias(ctx, "example", &fc.AliasArgs{ AliasName: pulumi.String("example-value"), Description: pulumi.String("example-value"), ServiceName: defaultService.Name, ServiceVersion: pulumi.String("1"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## 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 ¶
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 ¶
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 ¶
func (*Alias) ToAliasOutput ¶
func (i *Alias) ToAliasOutput() AliasOutput
func (*Alias) ToAliasOutputWithContext ¶
func (i *Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasArgs ¶
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. See `routingConfig` 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 ¶
type AliasArray ¶
type AliasArray []AliasInput
func (AliasArray) ElementType ¶
func (AliasArray) ElementType() reflect.Type
func (AliasArray) ToAliasArrayOutput ¶
func (i AliasArray) ToAliasArrayOutput() AliasArrayOutput
func (AliasArray) ToAliasArrayOutputWithContext ¶
func (i AliasArray) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput
type AliasArrayInput ¶
type AliasArrayInput interface { pulumi.Input ToAliasArrayOutput() AliasArrayOutput ToAliasArrayOutputWithContext(context.Context) AliasArrayOutput }
AliasArrayInput is an input type that accepts AliasArray and AliasArrayOutput values. You can construct a concrete instance of `AliasArrayInput` via:
AliasArray{ AliasArgs{...} }
type AliasArrayOutput ¶
type AliasArrayOutput struct{ *pulumi.OutputState }
func (AliasArrayOutput) ElementType ¶
func (AliasArrayOutput) ElementType() reflect.Type
func (AliasArrayOutput) Index ¶
func (o AliasArrayOutput) Index(i pulumi.IntInput) AliasOutput
func (AliasArrayOutput) ToAliasArrayOutput ¶
func (o AliasArrayOutput) ToAliasArrayOutput() AliasArrayOutput
func (AliasArrayOutput) ToAliasArrayOutputWithContext ¶
func (o AliasArrayOutput) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput
type AliasInput ¶
type AliasInput interface { pulumi.Input ToAliasOutput() AliasOutput ToAliasOutputWithContext(ctx context.Context) AliasOutput }
type AliasMap ¶
type AliasMap map[string]AliasInput
func (AliasMap) ElementType ¶
func (AliasMap) ToAliasMapOutput ¶
func (i AliasMap) ToAliasMapOutput() AliasMapOutput
func (AliasMap) ToAliasMapOutputWithContext ¶
func (i AliasMap) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput
type AliasMapInput ¶
type AliasMapInput interface { pulumi.Input ToAliasMapOutput() AliasMapOutput ToAliasMapOutputWithContext(context.Context) AliasMapOutput }
AliasMapInput is an input type that accepts AliasMap and AliasMapOutput values. You can construct a concrete instance of `AliasMapInput` via:
AliasMap{ "key": AliasArgs{...} }
type AliasMapOutput ¶
type AliasMapOutput struct{ *pulumi.OutputState }
func (AliasMapOutput) ElementType ¶
func (AliasMapOutput) ElementType() reflect.Type
func (AliasMapOutput) MapIndex ¶
func (o AliasMapOutput) MapIndex(k pulumi.StringInput) AliasOutput
func (AliasMapOutput) ToAliasMapOutput ¶
func (o AliasMapOutput) ToAliasMapOutput() AliasMapOutput
func (AliasMapOutput) ToAliasMapOutputWithContext ¶
func (o AliasMapOutput) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput
type AliasOutput ¶
type AliasOutput struct{ *pulumi.OutputState }
func (AliasOutput) AliasName ¶ added in v3.27.0
func (o AliasOutput) AliasName() pulumi.StringOutput
Name for the alias you are creating.
func (AliasOutput) Description ¶ added in v3.27.0
func (o AliasOutput) Description() pulumi.StringPtrOutput
Description of the alias.
func (AliasOutput) ElementType ¶
func (AliasOutput) ElementType() reflect.Type
func (AliasOutput) RoutingConfig ¶ added in v3.27.0
func (o AliasOutput) RoutingConfig() AliasRoutingConfigPtrOutput
The Function Compute alias' route configuration settings. See `routingConfig` below.
func (AliasOutput) ServiceName ¶ added in v3.27.0
func (o AliasOutput) ServiceName() pulumi.StringOutput
The Function Compute service name.
func (AliasOutput) ServiceVersion ¶ added in v3.27.0
func (o AliasOutput) ServiceVersion() pulumi.StringOutput
The Function Compute service version for which you are creating the alias. Pattern: (LATEST|[0-9]+).
func (AliasOutput) ToAliasOutput ¶
func (o AliasOutput) ToAliasOutput() AliasOutput
func (AliasOutput) ToAliasOutputWithContext ¶
func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasRoutingConfig ¶
type AliasRoutingConfigArgs ¶
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 ¶
func (AliasRoutingConfigArgs) ElementType() reflect.Type
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutput ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext ¶
func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasRoutingConfigInput ¶
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 ¶
type AliasRoutingConfigOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigOutput) AdditionalVersionWeights ¶
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 ¶
func (AliasRoutingConfigOutput) ElementType() reflect.Type
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutput ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext ¶
func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasRoutingConfigPtrInput ¶
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 ¶
func AliasRoutingConfigPtr(v *AliasRoutingConfigArgs) AliasRoutingConfigPtrInput
type AliasRoutingConfigPtrOutput ¶
type AliasRoutingConfigPtrOutput struct{ *pulumi.OutputState }
func (AliasRoutingConfigPtrOutput) AdditionalVersionWeights ¶
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 ¶
func (o AliasRoutingConfigPtrOutput) Elem() AliasRoutingConfigOutput
func (AliasRoutingConfigPtrOutput) ElementType ¶
func (AliasRoutingConfigPtrOutput) ElementType() reflect.Type
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput ¶
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext ¶
func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput
type AliasState ¶
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. See `routingConfig` 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 ¶
func (AliasState) ElementType() reflect.Type
type CustomDomain ¶
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.See `certConfig` below. 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.See `routeConfig` below. 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/en/fc/developer-reference/api-fc-open-2021-04-06-createcustomdomain).
> **NOTE:** Available since v1.98.0.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultProject, err := log.NewProject(ctx, "defaultProject", nil) if err != nil { return err } defaultStore, err := log.NewStore(ctx, "defaultStore", &log.StoreArgs{ Project: defaultProject.Name, }) if err != nil { return err } defaultRole, err := ram.NewRole(ctx, "defaultRole", &ram.RoleArgs{ Document: pulumi.String(` { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": [ "fc.aliyuncs.com" ] } } ], "Version": "1" }
`),
Description: pulumi.String("this is a example"), Force: pulumi.Bool(true), }) if err != nil { return err } _, err = ram.NewRolePolicyAttachment(ctx, "defaultRolePolicyAttachment", &ram.RolePolicyAttachmentArgs{ RoleName: defaultRole.Name, PolicyName: pulumi.String("AliyunLogFullAccess"), PolicyType: pulumi.String("System"), }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), Role: defaultRole.Arn, LogConfig: &fc.ServiceLogConfigArgs{ Project: defaultProject.Name, Logstore: defaultStore.Name, EnableInstanceMetrics: pulumi.Bool(true), EnableRequestMetrics: pulumi.Bool(true), }, }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } defaultFunction, err := fc.NewFunction(ctx, "defaultFunction", &fc.FunctionArgs{ Service: defaultService.Name, Description: pulumi.String("example"), 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("?query"), Methods: pulumi.StringArray{ pulumi.String("GET"), pulumi.String("POST"), }, }, }, CertConfig: &fc.CustomDomainCertConfigArgs{ CertName: pulumi.String("example"), Certificate: pulumi.String("-----BEGIN CERTIFICATE-----\nMIICWD****-----END CERTIFICATE-----"), PrivateKey: pulumi.String("-----BEGIN RSA PRIVATE KEY-----\nMIICX****n-----END RSA PRIVATE KEY-----"), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## 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 ¶
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 ¶
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 ¶
func (*CustomDomain) ElementType() reflect.Type
func (*CustomDomain) ToCustomDomainOutput ¶
func (i *CustomDomain) ToCustomDomainOutput() CustomDomainOutput
func (*CustomDomain) ToCustomDomainOutputWithContext ¶
func (i *CustomDomain) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput
type CustomDomainArgs ¶
type CustomDomainArgs struct { // The configuration of HTTPS certificate.See `certConfig` below. 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.See `routeConfig` below. RouteConfigs CustomDomainRouteConfigArrayInput }
The set of arguments for constructing a CustomDomain resource.
func (CustomDomainArgs) ElementType ¶
func (CustomDomainArgs) ElementType() reflect.Type
type CustomDomainArray ¶
type CustomDomainArray []CustomDomainInput
func (CustomDomainArray) ElementType ¶
func (CustomDomainArray) ElementType() reflect.Type
func (CustomDomainArray) ToCustomDomainArrayOutput ¶
func (i CustomDomainArray) ToCustomDomainArrayOutput() CustomDomainArrayOutput
func (CustomDomainArray) ToCustomDomainArrayOutputWithContext ¶
func (i CustomDomainArray) ToCustomDomainArrayOutputWithContext(ctx context.Context) CustomDomainArrayOutput
type CustomDomainArrayInput ¶
type CustomDomainArrayInput interface { pulumi.Input ToCustomDomainArrayOutput() CustomDomainArrayOutput ToCustomDomainArrayOutputWithContext(context.Context) CustomDomainArrayOutput }
CustomDomainArrayInput is an input type that accepts CustomDomainArray and CustomDomainArrayOutput values. You can construct a concrete instance of `CustomDomainArrayInput` via:
CustomDomainArray{ CustomDomainArgs{...} }
type CustomDomainArrayOutput ¶
type CustomDomainArrayOutput struct{ *pulumi.OutputState }
func (CustomDomainArrayOutput) ElementType ¶
func (CustomDomainArrayOutput) ElementType() reflect.Type
func (CustomDomainArrayOutput) Index ¶
func (o CustomDomainArrayOutput) Index(i pulumi.IntInput) CustomDomainOutput
func (CustomDomainArrayOutput) ToCustomDomainArrayOutput ¶
func (o CustomDomainArrayOutput) ToCustomDomainArrayOutput() CustomDomainArrayOutput
func (CustomDomainArrayOutput) ToCustomDomainArrayOutputWithContext ¶
func (o CustomDomainArrayOutput) ToCustomDomainArrayOutputWithContext(ctx context.Context) CustomDomainArrayOutput
type CustomDomainCertConfig ¶
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 ¶
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 ¶
func (CustomDomainCertConfigArgs) ElementType() reflect.Type
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutput ¶
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutput() CustomDomainCertConfigOutput
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutputWithContext ¶
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigOutputWithContext(ctx context.Context) CustomDomainCertConfigOutput
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutput ¶
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
func (CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutputWithContext ¶
func (i CustomDomainCertConfigArgs) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
type CustomDomainCertConfigInput ¶
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 ¶
type CustomDomainCertConfigOutput struct{ *pulumi.OutputState }
func (CustomDomainCertConfigOutput) CertName ¶
func (o CustomDomainCertConfigOutput) CertName() pulumi.StringOutput
The name of the certificate, used to distinguish different certificates.
func (CustomDomainCertConfigOutput) Certificate ¶
func (o CustomDomainCertConfigOutput) Certificate() pulumi.StringOutput
Certificate data of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigOutput) ElementType ¶
func (CustomDomainCertConfigOutput) ElementType() reflect.Type
func (CustomDomainCertConfigOutput) PrivateKey ¶
func (o CustomDomainCertConfigOutput) PrivateKey() pulumi.StringOutput
Private key of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutput ¶
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutput() CustomDomainCertConfigOutput
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutputWithContext ¶
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigOutputWithContext(ctx context.Context) CustomDomainCertConfigOutput
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutput ¶
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
func (CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutputWithContext ¶
func (o CustomDomainCertConfigOutput) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
type CustomDomainCertConfigPtrInput ¶
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 ¶
func CustomDomainCertConfigPtr(v *CustomDomainCertConfigArgs) CustomDomainCertConfigPtrInput
type CustomDomainCertConfigPtrOutput ¶
type CustomDomainCertConfigPtrOutput struct{ *pulumi.OutputState }
func (CustomDomainCertConfigPtrOutput) CertName ¶
func (o CustomDomainCertConfigPtrOutput) CertName() pulumi.StringPtrOutput
The name of the certificate, used to distinguish different certificates.
func (CustomDomainCertConfigPtrOutput) Certificate ¶
func (o CustomDomainCertConfigPtrOutput) Certificate() pulumi.StringPtrOutput
Certificate data of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigPtrOutput) Elem ¶
func (o CustomDomainCertConfigPtrOutput) Elem() CustomDomainCertConfigOutput
func (CustomDomainCertConfigPtrOutput) ElementType ¶
func (CustomDomainCertConfigPtrOutput) ElementType() reflect.Type
func (CustomDomainCertConfigPtrOutput) PrivateKey ¶
func (o CustomDomainCertConfigPtrOutput) PrivateKey() pulumi.StringPtrOutput
Private key of the HTTPS certificates, follow the 'pem' format.
func (CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutput ¶
func (o CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutput() CustomDomainCertConfigPtrOutput
func (CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutputWithContext ¶
func (o CustomDomainCertConfigPtrOutput) ToCustomDomainCertConfigPtrOutputWithContext(ctx context.Context) CustomDomainCertConfigPtrOutput
type CustomDomainInput ¶
type CustomDomainInput interface { pulumi.Input ToCustomDomainOutput() CustomDomainOutput ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput }
type CustomDomainMap ¶
type CustomDomainMap map[string]CustomDomainInput
func (CustomDomainMap) ElementType ¶
func (CustomDomainMap) ElementType() reflect.Type
func (CustomDomainMap) ToCustomDomainMapOutput ¶
func (i CustomDomainMap) ToCustomDomainMapOutput() CustomDomainMapOutput
func (CustomDomainMap) ToCustomDomainMapOutputWithContext ¶
func (i CustomDomainMap) ToCustomDomainMapOutputWithContext(ctx context.Context) CustomDomainMapOutput
type CustomDomainMapInput ¶
type CustomDomainMapInput interface { pulumi.Input ToCustomDomainMapOutput() CustomDomainMapOutput ToCustomDomainMapOutputWithContext(context.Context) CustomDomainMapOutput }
CustomDomainMapInput is an input type that accepts CustomDomainMap and CustomDomainMapOutput values. You can construct a concrete instance of `CustomDomainMapInput` via:
CustomDomainMap{ "key": CustomDomainArgs{...} }
type CustomDomainMapOutput ¶
type CustomDomainMapOutput struct{ *pulumi.OutputState }
func (CustomDomainMapOutput) ElementType ¶
func (CustomDomainMapOutput) ElementType() reflect.Type
func (CustomDomainMapOutput) MapIndex ¶
func (o CustomDomainMapOutput) MapIndex(k pulumi.StringInput) CustomDomainOutput
func (CustomDomainMapOutput) ToCustomDomainMapOutput ¶
func (o CustomDomainMapOutput) ToCustomDomainMapOutput() CustomDomainMapOutput
func (CustomDomainMapOutput) ToCustomDomainMapOutputWithContext ¶
func (o CustomDomainMapOutput) ToCustomDomainMapOutputWithContext(ctx context.Context) CustomDomainMapOutput
type CustomDomainOutput ¶
type CustomDomainOutput struct{ *pulumi.OutputState }
func (CustomDomainOutput) AccountId ¶ added in v3.27.0
func (o CustomDomainOutput) AccountId() pulumi.StringOutput
The account id.
func (CustomDomainOutput) ApiVersion ¶ added in v3.27.0
func (o CustomDomainOutput) ApiVersion() pulumi.StringOutput
The api version of Function Compute.
func (CustomDomainOutput) CertConfig ¶ added in v3.27.0
func (o CustomDomainOutput) CertConfig() CustomDomainCertConfigPtrOutput
The configuration of HTTPS certificate.See `certConfig` below.
func (CustomDomainOutput) CreatedTime ¶ added in v3.27.0
func (o CustomDomainOutput) CreatedTime() pulumi.StringOutput
The date this resource was created.
func (CustomDomainOutput) DomainName ¶ added in v3.27.0
func (o CustomDomainOutput) DomainName() pulumi.StringOutput
The custom domain name. For example, "example.com".
func (CustomDomainOutput) ElementType ¶
func (CustomDomainOutput) ElementType() reflect.Type
func (CustomDomainOutput) LastModifiedTime ¶ added in v3.27.0
func (o CustomDomainOutput) LastModifiedTime() pulumi.StringOutput
The date this resource was last modified.
func (CustomDomainOutput) Protocol ¶ added in v3.27.0
func (o CustomDomainOutput) Protocol() pulumi.StringOutput
The protocol, `HTTP` or `HTTP,HTTPS`.
func (CustomDomainOutput) RouteConfigs ¶ added in v3.27.0
func (o CustomDomainOutput) RouteConfigs() CustomDomainRouteConfigArrayOutput
The configuration of domain route, mapping the path and Function Compute function.See `routeConfig` below.
func (CustomDomainOutput) ToCustomDomainOutput ¶
func (o CustomDomainOutput) ToCustomDomainOutput() CustomDomainOutput
func (CustomDomainOutput) ToCustomDomainOutputWithContext ¶
func (o CustomDomainOutput) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput
type CustomDomainRouteConfig ¶
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 version and alias, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/96464.htm). Qualifier *string `pulumi:"qualifier"` // The name of the Function Compute service that requests are routed to. ServiceName string `pulumi:"serviceName"` }
type CustomDomainRouteConfigArgs ¶
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 version and alias, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/96464.htm). Qualifier pulumi.StringPtrInput `pulumi:"qualifier"` // The name of the Function Compute service that requests are routed to. ServiceName pulumi.StringInput `pulumi:"serviceName"` }
func (CustomDomainRouteConfigArgs) ElementType ¶
func (CustomDomainRouteConfigArgs) ElementType() reflect.Type
func (CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutput ¶
func (i CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutput() CustomDomainRouteConfigOutput
func (CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutputWithContext ¶
func (i CustomDomainRouteConfigArgs) ToCustomDomainRouteConfigOutputWithContext(ctx context.Context) CustomDomainRouteConfigOutput
type CustomDomainRouteConfigArray ¶
type CustomDomainRouteConfigArray []CustomDomainRouteConfigInput
func (CustomDomainRouteConfigArray) ElementType ¶
func (CustomDomainRouteConfigArray) ElementType() reflect.Type
func (CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutput ¶
func (i CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutput() CustomDomainRouteConfigArrayOutput
func (CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutputWithContext ¶
func (i CustomDomainRouteConfigArray) ToCustomDomainRouteConfigArrayOutputWithContext(ctx context.Context) CustomDomainRouteConfigArrayOutput
type CustomDomainRouteConfigArrayInput ¶
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 ¶
type CustomDomainRouteConfigArrayOutput struct{ *pulumi.OutputState }
func (CustomDomainRouteConfigArrayOutput) ElementType ¶
func (CustomDomainRouteConfigArrayOutput) ElementType() reflect.Type
func (CustomDomainRouteConfigArrayOutput) Index ¶
func (o CustomDomainRouteConfigArrayOutput) Index(i pulumi.IntInput) CustomDomainRouteConfigOutput
func (CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutput ¶
func (o CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutput() CustomDomainRouteConfigArrayOutput
func (CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutputWithContext ¶
func (o CustomDomainRouteConfigArrayOutput) ToCustomDomainRouteConfigArrayOutputWithContext(ctx context.Context) CustomDomainRouteConfigArrayOutput
type CustomDomainRouteConfigInput ¶
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 ¶
type CustomDomainRouteConfigOutput struct{ *pulumi.OutputState }
func (CustomDomainRouteConfigOutput) ElementType ¶
func (CustomDomainRouteConfigOutput) ElementType() reflect.Type
func (CustomDomainRouteConfigOutput) FunctionName ¶
func (o CustomDomainRouteConfigOutput) FunctionName() pulumi.StringOutput
The name of the Function Compute function that requests are routed to.
func (CustomDomainRouteConfigOutput) Methods ¶
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 ¶
func (o CustomDomainRouteConfigOutput) Path() pulumi.StringOutput
The path that requests are routed from.
func (CustomDomainRouteConfigOutput) Qualifier ¶
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 version and alias, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/96464.htm).
func (CustomDomainRouteConfigOutput) ServiceName ¶
func (o CustomDomainRouteConfigOutput) ServiceName() pulumi.StringOutput
The name of the Function Compute service that requests are routed to.
func (CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutput ¶
func (o CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutput() CustomDomainRouteConfigOutput
func (CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutputWithContext ¶
func (o CustomDomainRouteConfigOutput) ToCustomDomainRouteConfigOutputWithContext(ctx context.Context) CustomDomainRouteConfigOutput
type CustomDomainState ¶
type CustomDomainState struct { // The account id. AccountId pulumi.StringPtrInput // The api version of Function Compute. ApiVersion pulumi.StringPtrInput // The configuration of HTTPS certificate.See `certConfig` below. 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.See `routeConfig` below. RouteConfigs CustomDomainRouteConfigArrayInput }
func (CustomDomainState) ElementType ¶
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.Used to trigger updates.The value can be generated by data source alicloud_file_crc64_checksum. // > **NOTE:** For more information, see [Limits](https://www.alibabacloud.com/help/doc-detail/51907.htm). CodeChecksum pulumi.StringOutput `pulumi:"codeChecksum"` // The configuration for custom container runtime.See `customContainerConfig` below. 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"` // The configuration for layers. Layers pulumi.StringArrayOutput `pulumi:"layers"` // Amount of memory in MB your function can use at runtime. Defaults to `128`. Limits to [128, 32768]. 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/zh/function-compute/latest/manage-functions#multiTask3514] 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"` }
Provides a Alicloud Function Compute Function resource. Function allows you to trigger execution of code in response to events in Alibaba Cloud. The Function itself includes source code and runtime configuration.
For information about Service and how to use it, see [What is Function Compute](https://www.alibabacloud.com/help/en/fc/developer-reference/api-createfunction).
> **NOTE:** The resource requires a provider field 'account_id'. See account_id.
> **NOTE:** Available since v1.10.0.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultProject, err := log.NewProject(ctx, "defaultProject", &log.ProjectArgs{ ProjectName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("example-value-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } defaultStore, err := log.NewStore(ctx, "defaultStore", &log.StoreArgs{ ProjectName: defaultProject.Name, LogstoreName: pulumi.String("example-value"), }) if err != nil { return err } defaultRole, err := ram.NewRole(ctx, "defaultRole", &ram.RoleArgs{ Document: pulumi.String(` { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": [ "fc.aliyuncs.com" ] } } ], "Version": "1" }
`),
Description: pulumi.String("this is a example"), Force: pulumi.Bool(true), }) if err != nil { return err } _, err = ram.NewRolePolicyAttachment(ctx, "defaultRolePolicyAttachment", &ram.RolePolicyAttachmentArgs{ RoleName: defaultRole.Name, PolicyName: pulumi.String("AliyunLogFullAccess"), PolicyType: pulumi.String("System"), }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), Role: defaultRole.Arn, LogConfig: &fc.ServiceLogConfigArgs{ Project: defaultProject.Name, Logstore: defaultStore.Name, EnableInstanceMetrics: pulumi.Bool(true), EnableRequestMetrics: pulumi.Bool(true), }, }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } _, err = fc.NewFunction(ctx, "foo", &fc.FunctionArgs{ Service: defaultService.Name, Description: pulumi.String("example"), OssBucket: defaultBucket.ID(), OssKey: defaultBucketObject.Key, MemorySize: pulumi.Int(512), Runtime: pulumi.String("python3.10"), Handler: pulumi.String("hello.handler"), EnvironmentVariables: pulumi.Map{ "prefix": pulumi.Any("terraform"), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Module Support
You can use to the existing fc module to create a function quickly and set several triggers for it.
## 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 ¶
func (*Function) ToFunctionOutput ¶
func (i *Function) ToFunctionOutput() FunctionOutput
func (*Function) ToFunctionOutputWithContext ¶
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.Used to trigger updates.The value can be generated by data source alicloud_file_crc64_checksum. // > **NOTE:** For more information, see [Limits](https://www.alibabacloud.com/help/doc-detail/51907.htm). CodeChecksum pulumi.StringPtrInput // The configuration for custom container runtime.See `customContainerConfig` below. 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 // The configuration for layers. Layers pulumi.StringArrayInput // Amount of memory in MB your function can use at runtime. Defaults to `128`. Limits to [128, 32768]. 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/zh/function-compute/latest/manage-functions#multiTask3514] 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 FunctionArray ¶
type FunctionArray []FunctionInput
func (FunctionArray) ElementType ¶
func (FunctionArray) ElementType() reflect.Type
func (FunctionArray) ToFunctionArrayOutput ¶
func (i FunctionArray) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArray) ToFunctionArrayOutputWithContext ¶
func (i FunctionArray) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionArrayInput ¶
type FunctionArrayInput interface { pulumi.Input ToFunctionArrayOutput() FunctionArrayOutput ToFunctionArrayOutputWithContext(context.Context) FunctionArrayOutput }
FunctionArrayInput is an input type that accepts FunctionArray and FunctionArrayOutput values. You can construct a concrete instance of `FunctionArrayInput` via:
FunctionArray{ FunctionArgs{...} }
type FunctionArrayOutput ¶
type FunctionArrayOutput struct{ *pulumi.OutputState }
func (FunctionArrayOutput) ElementType ¶
func (FunctionArrayOutput) ElementType() reflect.Type
func (FunctionArrayOutput) Index ¶
func (o FunctionArrayOutput) Index(i pulumi.IntInput) FunctionOutput
func (FunctionArrayOutput) ToFunctionArrayOutput ¶
func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArrayOutput) ToFunctionArrayOutputWithContext ¶
func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionAsyncInvokeConfig ¶
type FunctionAsyncInvokeConfig struct { pulumi.CustomResourceState // The date this resource was created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // Configuration block with destination configuration. See `destinationConfig` below. 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 1 and 2592000 (between 60 and 21600 before v1.167.0). MaximumEventAgeInSeconds pulumi.IntPtrOutput `pulumi:"maximumEventAgeInSeconds"` // Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). 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"` // Function Compute async job configuration(also known as Task Mode). valid values true or false, default `false` StatefulInvocation pulumi.BoolPtrOutput `pulumi:"statefulInvocation"` }
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/en/fc/developer-reference/api-fc-open-2021-04-06-putfunctionasyncinvokeconfig).
> **NOTE:** Available since v1.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.
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mns" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultAccount, err := alicloud.GetAccount(ctx, nil, nil) if err != nil { return err } defaultRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{ Current: pulumi.BoolRef(true), }, nil) if err != nil { return err } defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultRole, err := ram.NewRole(ctx, "defaultRole", &ram.RoleArgs{ Document: pulumi.String(` { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": [ "fc.aliyuncs.com" ] } } ], "Version": "1" }
`),
Description: pulumi.String("this is a example"), Force: pulumi.Bool(true), }) if err != nil { return err } defaultPolicy, err := ram.NewPolicy(ctx, "defaultPolicy", &ram.PolicyArgs{ PolicyName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("examplepolicy%v", result), nil }).(pulumi.StringOutput), PolicyDocument: pulumi.String(` { "Version": "1", "Statement": [ { "Action": "mns:*", "Resource": "*", "Effect": "Allow" } ] }
`),
}) if err != nil { return err } _, err = ram.NewRolePolicyAttachment(ctx, "defaultRolePolicyAttachment", &ram.RolePolicyAttachmentArgs{ RoleName: defaultRole.Name, PolicyName: defaultPolicy.Name, PolicyType: pulumi.String("Custom"), }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), Role: defaultRole.Arn, InternetAccess: pulumi.Bool(false), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } defaultFunction, err := fc.NewFunction(ctx, "defaultFunction", &fc.FunctionArgs{ Service: defaultService.Name, Description: pulumi.String("example"), OssBucket: defaultBucket.ID(), OssKey: defaultBucketObject.Key, MemorySize: pulumi.Int(512), Runtime: pulumi.String("python3.10"), Handler: pulumi.String("hello.handler"), }) if err != nil { return err } defaultQueue, err := mns.NewQueue(ctx, "defaultQueue", nil) if err != nil { return err } defaultTopic, err := mns.NewTopic(ctx, "defaultTopic", nil) if err != nil { return err } _, err = fc.NewFunctionAsyncInvokeConfig(ctx, "defaultFunctionAsyncInvokeConfig", &fc.FunctionAsyncInvokeConfigArgs{ ServiceName: defaultService.Name, FunctionName: defaultFunction.Name, DestinationConfig: &fc.FunctionAsyncInvokeConfigDestinationConfigArgs{ OnFailure: &fc.FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs{ Destination: defaultQueue.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("acs:mns:%v:%v:/queues/%v/messages", defaultRegions.Regions[0].Id, defaultAccount.Id, name), nil }).(pulumi.StringOutput), }, OnSuccess: &fc.FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs{ Destination: defaultTopic.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("acs:mns:%v:%v:/topics/%v/messages", defaultRegions.Regions[0].Id, defaultAccount.Id, name), nil }).(pulumi.StringOutput), }, }, MaximumEventAgeInSeconds: pulumi.Int(60), MaximumRetryAttempts: pulumi.Int(0), StatefulInvocation: pulumi.Bool(true), Qualifier: pulumi.String("LATEST"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## 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 ¶
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 ¶
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 ¶
func (*FunctionAsyncInvokeConfig) ElementType() reflect.Type
func (*FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutput ¶
func (i *FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutput() FunctionAsyncInvokeConfigOutput
func (*FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutputWithContext ¶
func (i *FunctionAsyncInvokeConfig) ToFunctionAsyncInvokeConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigOutput
type FunctionAsyncInvokeConfigArgs ¶
type FunctionAsyncInvokeConfigArgs struct { // Configuration block with destination configuration. See `destinationConfig` below. 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 1 and 2592000 (between 60 and 21600 before v1.167.0). MaximumEventAgeInSeconds pulumi.IntPtrInput // Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). 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 // Function Compute async job configuration(also known as Task Mode). valid values true or false, default `false` StatefulInvocation pulumi.BoolPtrInput }
The set of arguments for constructing a FunctionAsyncInvokeConfig resource.
func (FunctionAsyncInvokeConfigArgs) ElementType ¶
func (FunctionAsyncInvokeConfigArgs) ElementType() reflect.Type
type FunctionAsyncInvokeConfigArray ¶
type FunctionAsyncInvokeConfigArray []FunctionAsyncInvokeConfigInput
func (FunctionAsyncInvokeConfigArray) ElementType ¶
func (FunctionAsyncInvokeConfigArray) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigArray) ToFunctionAsyncInvokeConfigArrayOutput ¶
func (i FunctionAsyncInvokeConfigArray) ToFunctionAsyncInvokeConfigArrayOutput() FunctionAsyncInvokeConfigArrayOutput
func (FunctionAsyncInvokeConfigArray) ToFunctionAsyncInvokeConfigArrayOutputWithContext ¶
func (i FunctionAsyncInvokeConfigArray) ToFunctionAsyncInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigArrayOutput
type FunctionAsyncInvokeConfigArrayInput ¶
type FunctionAsyncInvokeConfigArrayInput interface { pulumi.Input ToFunctionAsyncInvokeConfigArrayOutput() FunctionAsyncInvokeConfigArrayOutput ToFunctionAsyncInvokeConfigArrayOutputWithContext(context.Context) FunctionAsyncInvokeConfigArrayOutput }
FunctionAsyncInvokeConfigArrayInput is an input type that accepts FunctionAsyncInvokeConfigArray and FunctionAsyncInvokeConfigArrayOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigArrayInput` via:
FunctionAsyncInvokeConfigArray{ FunctionAsyncInvokeConfigArgs{...} }
type FunctionAsyncInvokeConfigArrayOutput ¶
type FunctionAsyncInvokeConfigArrayOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigArrayOutput) ElementType ¶
func (FunctionAsyncInvokeConfigArrayOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigArrayOutput) Index ¶
func (o FunctionAsyncInvokeConfigArrayOutput) Index(i pulumi.IntInput) FunctionAsyncInvokeConfigOutput
func (FunctionAsyncInvokeConfigArrayOutput) ToFunctionAsyncInvokeConfigArrayOutput ¶
func (o FunctionAsyncInvokeConfigArrayOutput) ToFunctionAsyncInvokeConfigArrayOutput() FunctionAsyncInvokeConfigArrayOutput
func (FunctionAsyncInvokeConfigArrayOutput) ToFunctionAsyncInvokeConfigArrayOutputWithContext ¶
func (o FunctionAsyncInvokeConfigArrayOutput) ToFunctionAsyncInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigArrayOutput
type FunctionAsyncInvokeConfigDestinationConfig ¶
type FunctionAsyncInvokeConfigDestinationConfig struct { // Configuration block with destination configuration for failed asynchronous invocations. See `onFailure` below. OnFailure *FunctionAsyncInvokeConfigDestinationConfigOnFailure `pulumi:"onFailure"` // Configuration block with destination configuration for successful asynchronous invocations. See `onSuccess` below. OnSuccess *FunctionAsyncInvokeConfigDestinationConfigOnSuccess `pulumi:"onSuccess"` }
type FunctionAsyncInvokeConfigDestinationConfigArgs ¶
type FunctionAsyncInvokeConfigDestinationConfigArgs struct { // Configuration block with destination configuration for failed asynchronous invocations. See `onFailure` below. OnFailure FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput `pulumi:"onFailure"` // Configuration block with destination configuration for successful asynchronous invocations. See `onSuccess` below. OnSuccess FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput `pulumi:"onSuccess"` }
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ElementType ¶
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutput ¶
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutput() FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext ¶
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext ¶
func (i FunctionAsyncInvokeConfigDestinationConfigArgs) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigInput ¶
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 ¶
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 ¶
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 ¶
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnFailureInput ¶
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 ¶
type FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) Destination ¶
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 ¶
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailureOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput ¶
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 ¶
func FunctionAsyncInvokeConfigDestinationConfigOnFailurePtr(v *FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrInput
type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶
type FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) Destination ¶
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 ¶
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccess ¶
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 ¶
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 ¶
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶
func (i FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessInput ¶
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 ¶
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) Destination ¶
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 ¶
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput ¶
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 ¶
func FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtr(v *FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrInput
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
type FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination ¶
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 ¶
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigOutput ¶
type FunctionAsyncInvokeConfigDestinationConfigOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ElementType ¶
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigOutput) OnFailure ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) OnFailure() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See `onFailure` below.
func (FunctionAsyncInvokeConfigDestinationConfigOutput) OnSuccess ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) OnSuccess() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See `onSuccess` below.
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutput() FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigOutput
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
type FunctionAsyncInvokeConfigDestinationConfigPtrInput ¶
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 ¶
func FunctionAsyncInvokeConfigDestinationConfigPtr(v *FunctionAsyncInvokeConfigDestinationConfigArgs) FunctionAsyncInvokeConfigDestinationConfigPtrInput
type FunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶
type FunctionAsyncInvokeConfigDestinationConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ElementType ¶
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnFailure ¶
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnFailure() FunctionAsyncInvokeConfigDestinationConfigOnFailurePtrOutput
Configuration block with destination configuration for failed asynchronous invocations. See `onFailure` below.
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnSuccess ¶
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) OnSuccess() FunctionAsyncInvokeConfigDestinationConfigOnSuccessPtrOutput
Configuration block with destination configuration for successful asynchronous invocations. See `onSuccess` below.
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput ¶
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutput() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
func (FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext ¶
func (o FunctionAsyncInvokeConfigDestinationConfigPtrOutput) ToFunctionAsyncInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigDestinationConfigPtrOutput
type FunctionAsyncInvokeConfigInput ¶
type FunctionAsyncInvokeConfigInput interface { pulumi.Input ToFunctionAsyncInvokeConfigOutput() FunctionAsyncInvokeConfigOutput ToFunctionAsyncInvokeConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigOutput }
type FunctionAsyncInvokeConfigMap ¶
type FunctionAsyncInvokeConfigMap map[string]FunctionAsyncInvokeConfigInput
func (FunctionAsyncInvokeConfigMap) ElementType ¶
func (FunctionAsyncInvokeConfigMap) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigMap) ToFunctionAsyncInvokeConfigMapOutput ¶
func (i FunctionAsyncInvokeConfigMap) ToFunctionAsyncInvokeConfigMapOutput() FunctionAsyncInvokeConfigMapOutput
func (FunctionAsyncInvokeConfigMap) ToFunctionAsyncInvokeConfigMapOutputWithContext ¶
func (i FunctionAsyncInvokeConfigMap) ToFunctionAsyncInvokeConfigMapOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigMapOutput
type FunctionAsyncInvokeConfigMapInput ¶
type FunctionAsyncInvokeConfigMapInput interface { pulumi.Input ToFunctionAsyncInvokeConfigMapOutput() FunctionAsyncInvokeConfigMapOutput ToFunctionAsyncInvokeConfigMapOutputWithContext(context.Context) FunctionAsyncInvokeConfigMapOutput }
FunctionAsyncInvokeConfigMapInput is an input type that accepts FunctionAsyncInvokeConfigMap and FunctionAsyncInvokeConfigMapOutput values. You can construct a concrete instance of `FunctionAsyncInvokeConfigMapInput` via:
FunctionAsyncInvokeConfigMap{ "key": FunctionAsyncInvokeConfigArgs{...} }
type FunctionAsyncInvokeConfigMapOutput ¶
type FunctionAsyncInvokeConfigMapOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigMapOutput) ElementType ¶
func (FunctionAsyncInvokeConfigMapOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigMapOutput) MapIndex ¶
func (o FunctionAsyncInvokeConfigMapOutput) MapIndex(k pulumi.StringInput) FunctionAsyncInvokeConfigOutput
func (FunctionAsyncInvokeConfigMapOutput) ToFunctionAsyncInvokeConfigMapOutput ¶
func (o FunctionAsyncInvokeConfigMapOutput) ToFunctionAsyncInvokeConfigMapOutput() FunctionAsyncInvokeConfigMapOutput
func (FunctionAsyncInvokeConfigMapOutput) ToFunctionAsyncInvokeConfigMapOutputWithContext ¶
func (o FunctionAsyncInvokeConfigMapOutput) ToFunctionAsyncInvokeConfigMapOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigMapOutput
type FunctionAsyncInvokeConfigOutput ¶
type FunctionAsyncInvokeConfigOutput struct{ *pulumi.OutputState }
func (FunctionAsyncInvokeConfigOutput) CreatedTime ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) CreatedTime() pulumi.StringOutput
The date this resource was created.
func (FunctionAsyncInvokeConfigOutput) DestinationConfig ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) DestinationConfig() FunctionAsyncInvokeConfigDestinationConfigPtrOutput
Configuration block with destination configuration. See `destinationConfig` below.
func (FunctionAsyncInvokeConfigOutput) ElementType ¶
func (FunctionAsyncInvokeConfigOutput) ElementType() reflect.Type
func (FunctionAsyncInvokeConfigOutput) FunctionName ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) FunctionName() pulumi.StringOutput
Name of the Function Compute Function.
func (FunctionAsyncInvokeConfigOutput) LastModifiedTime ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) LastModifiedTime() pulumi.StringOutput
The date this resource was last modified.
func (FunctionAsyncInvokeConfigOutput) MaximumEventAgeInSeconds ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).
func (FunctionAsyncInvokeConfigOutput) MaximumRetryAttempts ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.
func (FunctionAsyncInvokeConfigOutput) Qualifier ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) Qualifier() pulumi.StringPtrOutput
Function Compute Function published version, `LATEST`, or Function Compute Alias name. The default value is `LATEST`.
func (FunctionAsyncInvokeConfigOutput) ServiceName ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) ServiceName() pulumi.StringOutput
Name of the Function Compute Function, omitting any version or alias qualifier.
func (FunctionAsyncInvokeConfigOutput) StatefulInvocation ¶ added in v3.27.0
func (o FunctionAsyncInvokeConfigOutput) StatefulInvocation() pulumi.BoolPtrOutput
Function Compute async job configuration(also known as Task Mode). valid values true or false, default `false`
func (FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutput ¶
func (o FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutput() FunctionAsyncInvokeConfigOutput
func (FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutputWithContext ¶
func (o FunctionAsyncInvokeConfigOutput) ToFunctionAsyncInvokeConfigOutputWithContext(ctx context.Context) FunctionAsyncInvokeConfigOutput
type FunctionAsyncInvokeConfigState ¶
type FunctionAsyncInvokeConfigState struct { // The date this resource was created. CreatedTime pulumi.StringPtrInput // Configuration block with destination configuration. See `destinationConfig` below. 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 1 and 2592000 (between 60 and 21600 before v1.167.0). MaximumEventAgeInSeconds pulumi.IntPtrInput // Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). 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 // Function Compute async job configuration(also known as Task Mode). valid values true or false, default `false` StatefulInvocation pulumi.BoolPtrInput }
func (FunctionAsyncInvokeConfigState) ElementType ¶
func (FunctionAsyncInvokeConfigState) ElementType() reflect.Type
type FunctionCustomContainerConfig ¶
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 ¶
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 ¶
func (FunctionCustomContainerConfigArgs) ElementType() reflect.Type
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutput ¶
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutput() FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutputWithContext ¶
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigOutputWithContext(ctx context.Context) FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutput ¶
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
func (FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutputWithContext ¶
func (i FunctionCustomContainerConfigArgs) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
type FunctionCustomContainerConfigInput ¶
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 ¶
type FunctionCustomContainerConfigOutput struct{ *pulumi.OutputState }
func (FunctionCustomContainerConfigOutput) Args ¶
func (o FunctionCustomContainerConfigOutput) Args() pulumi.StringPtrOutput
The args field specifies the arguments passed to the command.
func (FunctionCustomContainerConfigOutput) Command ¶
func (o FunctionCustomContainerConfigOutput) Command() pulumi.StringPtrOutput
The entry point of the container, which specifies the actual command run by the container.
func (FunctionCustomContainerConfigOutput) ElementType ¶
func (FunctionCustomContainerConfigOutput) ElementType() reflect.Type
func (FunctionCustomContainerConfigOutput) Image ¶
func (o FunctionCustomContainerConfigOutput) Image() pulumi.StringOutput
The container image address.
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutput ¶
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutput() FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutputWithContext ¶
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigOutputWithContext(ctx context.Context) FunctionCustomContainerConfigOutput
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutput ¶
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
func (FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutputWithContext ¶
func (o FunctionCustomContainerConfigOutput) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
type FunctionCustomContainerConfigPtrInput ¶
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 ¶
func FunctionCustomContainerConfigPtr(v *FunctionCustomContainerConfigArgs) FunctionCustomContainerConfigPtrInput
type FunctionCustomContainerConfigPtrOutput ¶
type FunctionCustomContainerConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionCustomContainerConfigPtrOutput) Args ¶
func (o FunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
The args field specifies the arguments passed to the command.
func (FunctionCustomContainerConfigPtrOutput) Command ¶
func (o FunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
The entry point of the container, which specifies the actual command run by the container.
func (FunctionCustomContainerConfigPtrOutput) ElementType ¶
func (FunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
func (FunctionCustomContainerConfigPtrOutput) Image ¶
func (o FunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
The container image address.
func (FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutput ¶
func (o FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutput() FunctionCustomContainerConfigPtrOutput
func (FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutputWithContext ¶
func (o FunctionCustomContainerConfigPtrOutput) ToFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) FunctionCustomContainerConfigPtrOutput
type FunctionInput ¶
type FunctionInput interface { pulumi.Input ToFunctionOutput() FunctionOutput ToFunctionOutputWithContext(ctx context.Context) FunctionOutput }
type FunctionMap ¶
type FunctionMap map[string]FunctionInput
func (FunctionMap) ElementType ¶
func (FunctionMap) ElementType() reflect.Type
func (FunctionMap) ToFunctionMapOutput ¶
func (i FunctionMap) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMap) ToFunctionMapOutputWithContext ¶
func (i FunctionMap) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionMapInput ¶
type FunctionMapInput interface { pulumi.Input ToFunctionMapOutput() FunctionMapOutput ToFunctionMapOutputWithContext(context.Context) FunctionMapOutput }
FunctionMapInput is an input type that accepts FunctionMap and FunctionMapOutput values. You can construct a concrete instance of `FunctionMapInput` via:
FunctionMap{ "key": FunctionArgs{...} }
type FunctionMapOutput ¶
type FunctionMapOutput struct{ *pulumi.OutputState }
func (FunctionMapOutput) ElementType ¶
func (FunctionMapOutput) ElementType() reflect.Type
func (FunctionMapOutput) MapIndex ¶
func (o FunctionMapOutput) MapIndex(k pulumi.StringInput) FunctionOutput
func (FunctionMapOutput) ToFunctionMapOutput ¶
func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMapOutput) ToFunctionMapOutputWithContext ¶
func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionOutput ¶
type FunctionOutput struct{ *pulumi.OutputState }
func (FunctionOutput) CaPort ¶ added in v3.27.0
func (o FunctionOutput) CaPort() pulumi.IntPtrOutput
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 (FunctionOutput) CodeChecksum ¶ added in v3.27.0
func (o FunctionOutput) CodeChecksum() pulumi.StringOutput
The checksum (crc64) of the function code.Used to trigger updates.The value can be generated by data source alicloud_file_crc64_checksum. > **NOTE:** For more information, see [Limits](https://www.alibabacloud.com/help/doc-detail/51907.htm).
func (FunctionOutput) CustomContainerConfig ¶ added in v3.27.0
func (o FunctionOutput) CustomContainerConfig() FunctionCustomContainerConfigPtrOutput
The configuration for custom container runtime.See `customContainerConfig` below.
func (FunctionOutput) Description ¶ added in v3.27.0
func (o FunctionOutput) Description() pulumi.StringPtrOutput
The Function Compute function description.
func (FunctionOutput) ElementType ¶
func (FunctionOutput) ElementType() reflect.Type
func (FunctionOutput) EnvironmentVariables ¶ added in v3.27.0
func (o FunctionOutput) EnvironmentVariables() pulumi.MapOutput
A map that defines environment variables for the function.
func (FunctionOutput) Filename ¶ added in v3.27.0
func (o FunctionOutput) Filename() pulumi.StringPtrOutput
The path to the function's deployment package within the local filesystem. It is conflict with the `oss_`-prefixed options.
func (FunctionOutput) FunctionId ¶ added in v3.27.0
func (o FunctionOutput) FunctionId() pulumi.StringOutput
The Function Compute service ID.
func (FunctionOutput) Handler ¶ added in v3.27.0
func (o FunctionOutput) Handler() pulumi.StringOutput
The function [entry point](https://www.alibabacloud.com/help/doc-detail/157704.htm) in your code.
func (FunctionOutput) InitializationTimeout ¶ added in v3.27.0
func (o FunctionOutput) InitializationTimeout() pulumi.IntPtrOutput
The maximum length of time, in seconds, that the function's initialization should be run for.
func (FunctionOutput) Initializer ¶ added in v3.27.0
func (o FunctionOutput) Initializer() pulumi.StringPtrOutput
The entry point of the function's [initialization](https://www.alibabacloud.com/help/doc-detail/157704.htm).
func (FunctionOutput) InstanceConcurrency ¶ added in v3.27.0
func (o FunctionOutput) InstanceConcurrency() pulumi.IntPtrOutput
The maximum number of requests can be executed concurrently within the single function instance.
func (FunctionOutput) InstanceType ¶ added in v3.27.0
func (o FunctionOutput) InstanceType() pulumi.StringPtrOutput
The instance type of the function.
func (FunctionOutput) LastModified ¶ added in v3.27.0
func (o FunctionOutput) LastModified() pulumi.StringOutput
The date this resource was last modified.
func (FunctionOutput) Layers ¶ added in v3.29.0
func (o FunctionOutput) Layers() pulumi.StringArrayOutput
The configuration for layers.
func (FunctionOutput) MemorySize ¶ added in v3.27.0
func (o FunctionOutput) MemorySize() pulumi.IntPtrOutput
Amount of memory in MB your function can use at runtime. Defaults to `128`. Limits to [128, 32768].
func (FunctionOutput) Name ¶ added in v3.27.0
func (o FunctionOutput) Name() pulumi.StringOutput
The Function Compute function name. It is the only in one service and is conflict with "namePrefix".
func (FunctionOutput) NamePrefix ¶ added in v3.27.0
func (o FunctionOutput) NamePrefix() pulumi.StringPtrOutput
Setting a prefix to get a only function name. It is conflict with "name".
func (FunctionOutput) OssBucket ¶ added in v3.27.0
func (o FunctionOutput) OssBucket() pulumi.StringPtrOutput
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.
func (FunctionOutput) OssKey ¶ added in v3.27.0
func (o FunctionOutput) OssKey() pulumi.StringPtrOutput
The OSS key of an object containing the function's deployment package. Conflicts with `filename`.
func (FunctionOutput) Runtime ¶ added in v3.27.0
func (o FunctionOutput) Runtime() pulumi.StringOutput
See [Runtimes][https://www.alibabacloud.com/help/zh/function-compute/latest/manage-functions#multiTask3514] for valid values.
func (FunctionOutput) Service ¶ added in v3.27.0
func (o FunctionOutput) Service() pulumi.StringOutput
The Function Compute service name.
func (FunctionOutput) Timeout ¶ added in v3.27.0
func (o FunctionOutput) Timeout() pulumi.IntPtrOutput
The amount of time your function has to run in seconds.
func (FunctionOutput) ToFunctionOutput ¶
func (o FunctionOutput) ToFunctionOutput() FunctionOutput
func (FunctionOutput) ToFunctionOutputWithContext ¶
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.Used to trigger updates.The value can be generated by data source alicloud_file_crc64_checksum. // > **NOTE:** For more information, see [Limits](https://www.alibabacloud.com/help/doc-detail/51907.htm). CodeChecksum pulumi.StringPtrInput // The configuration for custom container runtime.See `customContainerConfig` below. 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 // The configuration for layers. Layers pulumi.StringArrayInput // Amount of memory in MB your function can use at runtime. Defaults to `128`. Limits to [128, 32768]. 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/zh/function-compute/latest/manage-functions#multiTask3514] 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 ¶
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"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getCustomDomains.
type GetCustomDomainsDomain ¶
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 ¶
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 ¶
func (GetCustomDomainsDomainArgs) ElementType() reflect.Type
func (GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutput ¶
func (i GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutput() GetCustomDomainsDomainOutput
func (GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutputWithContext ¶
func (i GetCustomDomainsDomainArgs) ToGetCustomDomainsDomainOutputWithContext(ctx context.Context) GetCustomDomainsDomainOutput
type GetCustomDomainsDomainArray ¶
type GetCustomDomainsDomainArray []GetCustomDomainsDomainInput
func (GetCustomDomainsDomainArray) ElementType ¶
func (GetCustomDomainsDomainArray) ElementType() reflect.Type
func (GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutput ¶
func (i GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutput() GetCustomDomainsDomainArrayOutput
func (GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutputWithContext ¶
func (i GetCustomDomainsDomainArray) ToGetCustomDomainsDomainArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainArrayOutput
type GetCustomDomainsDomainArrayInput ¶
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 ¶
type GetCustomDomainsDomainArrayOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainArrayOutput) ElementType ¶
func (GetCustomDomainsDomainArrayOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainArrayOutput) Index ¶
func (o GetCustomDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetCustomDomainsDomainOutput
func (GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutput ¶
func (o GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutput() GetCustomDomainsDomainArrayOutput
func (GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutputWithContext ¶
func (o GetCustomDomainsDomainArrayOutput) ToGetCustomDomainsDomainArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainArrayOutput
type GetCustomDomainsDomainCertConfigArgs ¶
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 ¶
func (GetCustomDomainsDomainCertConfigArgs) ElementType() reflect.Type
func (GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutput ¶
func (i GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutput() GetCustomDomainsDomainCertConfigOutput
func (GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutputWithContext ¶
func (i GetCustomDomainsDomainCertConfigArgs) ToGetCustomDomainsDomainCertConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainCertConfigOutput
type GetCustomDomainsDomainCertConfigInput ¶
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 ¶
type GetCustomDomainsDomainCertConfigOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainCertConfigOutput) CertName ¶
func (o GetCustomDomainsDomainCertConfigOutput) CertName() pulumi.StringOutput
The name of the certificate.
func (GetCustomDomainsDomainCertConfigOutput) Certificate ¶
func (o GetCustomDomainsDomainCertConfigOutput) Certificate() pulumi.StringOutput
Certificate data of the HTTPS certificates, follow the 'pem'.
func (GetCustomDomainsDomainCertConfigOutput) ElementType ¶
func (GetCustomDomainsDomainCertConfigOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutput ¶
func (o GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutput() GetCustomDomainsDomainCertConfigOutput
func (GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutputWithContext ¶
func (o GetCustomDomainsDomainCertConfigOutput) ToGetCustomDomainsDomainCertConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainCertConfigOutput
type GetCustomDomainsDomainInput ¶
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 ¶
type GetCustomDomainsDomainOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainOutput) AccountId ¶
func (o GetCustomDomainsDomainOutput) AccountId() pulumi.StringOutput
The account id.
func (GetCustomDomainsDomainOutput) ApiVersion ¶
func (o GetCustomDomainsDomainOutput) ApiVersion() pulumi.StringOutput
The API version of the Function Compute service.
func (GetCustomDomainsDomainOutput) CertConfig ¶
func (o GetCustomDomainsDomainOutput) CertConfig() GetCustomDomainsDomainCertConfigOutput
The configuration of HTTPS certificate.
func (GetCustomDomainsDomainOutput) CreatedTime ¶
func (o GetCustomDomainsDomainOutput) CreatedTime() pulumi.StringOutput
The created time of the custom domain.
func (GetCustomDomainsDomainOutput) DomainName ¶
func (o GetCustomDomainsDomainOutput) DomainName() pulumi.StringOutput
The custom domain name.
func (GetCustomDomainsDomainOutput) ElementType ¶
func (GetCustomDomainsDomainOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainOutput) Id ¶
func (o GetCustomDomainsDomainOutput) Id() pulumi.StringOutput
The custom domain id, same as domain name.
func (GetCustomDomainsDomainOutput) LastModifiedTime ¶
func (o GetCustomDomainsDomainOutput) LastModifiedTime() pulumi.StringOutput
The last modified time of the custom domain.
func (GetCustomDomainsDomainOutput) Protocol ¶
func (o GetCustomDomainsDomainOutput) Protocol() pulumi.StringOutput
The custom domain protocol.
func (GetCustomDomainsDomainOutput) RouteConfigs ¶
func (o GetCustomDomainsDomainOutput) RouteConfigs() GetCustomDomainsDomainRouteConfigArrayOutput
The configuration of domain route, mapping the path and Function Compute function.
func (GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutput ¶
func (o GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutput() GetCustomDomainsDomainOutput
func (GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutputWithContext ¶
func (o GetCustomDomainsDomainOutput) ToGetCustomDomainsDomainOutputWithContext(ctx context.Context) GetCustomDomainsDomainOutput
type GetCustomDomainsDomainRouteConfig ¶
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 ¶
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 ¶
func (GetCustomDomainsDomainRouteConfigArgs) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutput ¶
func (i GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutput() GetCustomDomainsDomainRouteConfigOutput
func (GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutputWithContext ¶
func (i GetCustomDomainsDomainRouteConfigArgs) ToGetCustomDomainsDomainRouteConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigOutput
type GetCustomDomainsDomainRouteConfigArray ¶
type GetCustomDomainsDomainRouteConfigArray []GetCustomDomainsDomainRouteConfigInput
func (GetCustomDomainsDomainRouteConfigArray) ElementType ¶
func (GetCustomDomainsDomainRouteConfigArray) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutput ¶
func (i GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutput() GetCustomDomainsDomainRouteConfigArrayOutput
func (GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext ¶
func (i GetCustomDomainsDomainRouteConfigArray) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigArrayOutput
type GetCustomDomainsDomainRouteConfigArrayInput ¶
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 ¶
type GetCustomDomainsDomainRouteConfigArrayOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainRouteConfigArrayOutput) ElementType ¶
func (GetCustomDomainsDomainRouteConfigArrayOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutput ¶
func (o GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutput() GetCustomDomainsDomainRouteConfigArrayOutput
func (GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext ¶
func (o GetCustomDomainsDomainRouteConfigArrayOutput) ToGetCustomDomainsDomainRouteConfigArrayOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigArrayOutput
type GetCustomDomainsDomainRouteConfigInput ¶
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 ¶
type GetCustomDomainsDomainRouteConfigOutput struct{ *pulumi.OutputState }
func (GetCustomDomainsDomainRouteConfigOutput) ElementType ¶
func (GetCustomDomainsDomainRouteConfigOutput) ElementType() reflect.Type
func (GetCustomDomainsDomainRouteConfigOutput) FunctionName ¶
func (o GetCustomDomainsDomainRouteConfigOutput) FunctionName() pulumi.StringOutput
The name of the Function Compute function that requests are routed to.
func (GetCustomDomainsDomainRouteConfigOutput) Methods ¶
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 ¶
func (o GetCustomDomainsDomainRouteConfigOutput) Path() pulumi.StringOutput
The path that requests are routed from.
func (GetCustomDomainsDomainRouteConfigOutput) Qualifier ¶
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 ¶
func (o GetCustomDomainsDomainRouteConfigOutput) ServiceName() pulumi.StringOutput
The name of the Function Compute service that requests are routed to.
func (GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutput ¶
func (o GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutput() GetCustomDomainsDomainRouteConfigOutput
func (GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutputWithContext ¶
func (o GetCustomDomainsDomainRouteConfigOutput) ToGetCustomDomainsDomainRouteConfigOutputWithContext(ctx context.Context) GetCustomDomainsDomainRouteConfigOutput
type GetCustomDomainsOutputArgs ¶ added in v3.9.0
type GetCustomDomainsOutputArgs struct { // A list of functions ids. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Function Compute custom domain name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getCustomDomains.
func (GetCustomDomainsOutputArgs) ElementType ¶ added in v3.9.0
func (GetCustomDomainsOutputArgs) ElementType() reflect.Type
type GetCustomDomainsResult ¶
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 ¶
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
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.GetCustomDomains(ctx, &fc.GetCustomDomainsArgs{ NameRegex: pulumi.StringRef("sample_fc_custom_domain"), }, nil) if err != nil { return err } ctx.Export("firstFcCustomDomainName", data.Alicloud_fc_custom_domains.Fc_domains_ds.Domains[0].Domain_name) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetCustomDomainsResultOutput ¶ added in v3.9.0
type GetCustomDomainsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCustomDomains.
func GetCustomDomainsOutput ¶ added in v3.9.0
func GetCustomDomainsOutput(ctx *pulumi.Context, args GetCustomDomainsOutputArgs, opts ...pulumi.InvokeOption) GetCustomDomainsResultOutput
func (GetCustomDomainsResultOutput) Domains ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) Domains() GetCustomDomainsDomainArrayOutput
A list of custom domains, including the following attributes:
func (GetCustomDomainsResultOutput) ElementType ¶ added in v3.9.0
func (GetCustomDomainsResultOutput) ElementType() reflect.Type
func (GetCustomDomainsResultOutput) Id ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCustomDomainsResultOutput) Ids ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) Ids() pulumi.StringArrayOutput
A list of custom domain ids.
func (GetCustomDomainsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetCustomDomainsResultOutput) Names ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) Names() pulumi.StringArrayOutput
A list of custom domain names.
func (GetCustomDomainsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetCustomDomainsResultOutput) ToGetCustomDomainsResultOutput ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) ToGetCustomDomainsResultOutput() GetCustomDomainsResultOutput
func (GetCustomDomainsResultOutput) ToGetCustomDomainsResultOutputWithContext ¶ added in v3.9.0
func (o GetCustomDomainsResultOutput) ToGetCustomDomainsResultOutputWithContext(ctx context.Context) GetCustomDomainsResultOutput
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"` // File name where to save data source results (after running `pulumi preview`). 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 ¶
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 ¶
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 ¶
func (GetFunctionsFunctionCustomContainerConfigArgs) ElementType() reflect.Type
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutput ¶
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutput() GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext ¶
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutput ¶
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
func (GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext ¶
func (i GetFunctionsFunctionCustomContainerConfigArgs) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
type GetFunctionsFunctionCustomContainerConfigInput ¶
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 ¶
type GetFunctionsFunctionCustomContainerConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionsFunctionCustomContainerConfigOutput) Args ¶
func (o GetFunctionsFunctionCustomContainerConfigOutput) Args() pulumi.StringOutput
The args field specifies the arguments passed to the command.
func (GetFunctionsFunctionCustomContainerConfigOutput) Command ¶
func (o GetFunctionsFunctionCustomContainerConfigOutput) Command() pulumi.StringOutput
The entry point of the container, which specifies the actual command run by the container.
func (GetFunctionsFunctionCustomContainerConfigOutput) ElementType ¶
func (GetFunctionsFunctionCustomContainerConfigOutput) ElementType() reflect.Type
func (GetFunctionsFunctionCustomContainerConfigOutput) Image ¶
func (o GetFunctionsFunctionCustomContainerConfigOutput) Image() pulumi.StringOutput
The container image address.
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutput ¶
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutput() GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext ¶
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigOutput
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput ¶
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
func (GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext ¶
func (o GetFunctionsFunctionCustomContainerConfigOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionCustomContainerConfigPtrOutput
type GetFunctionsFunctionCustomContainerConfigPtrInput ¶
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 ¶
func GetFunctionsFunctionCustomContainerConfigPtr(v *GetFunctionsFunctionCustomContainerConfigArgs) GetFunctionsFunctionCustomContainerConfigPtrInput
type GetFunctionsFunctionCustomContainerConfigPtrOutput ¶
type GetFunctionsFunctionCustomContainerConfigPtrOutput struct{ *pulumi.OutputState }
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) Args ¶
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
The args field specifies the arguments passed to the command.
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) Command ¶
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
The entry point of the container, which specifies the actual command run by the container.
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ElementType ¶
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) Image ¶
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
The container image address.
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput ¶
func (o GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutput() GetFunctionsFunctionCustomContainerConfigPtrOutput
func (GetFunctionsFunctionCustomContainerConfigPtrOutput) ToGetFunctionsFunctionCustomContainerConfigPtrOutputWithContext ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o GetFunctionsFunctionOutput) InstanceConcurrency() pulumi.IntOutput
The maximum number of requests can be executed concurrently within the single function instance.
func (GetFunctionsFunctionOutput) InstanceType ¶
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 GetFunctionsOutputArgs ¶ added in v3.9.0
type GetFunctionsOutputArgs struct { // A list of functions ids. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by function name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Name of the service that contains the functions to find. ServiceName pulumi.StringInput `pulumi:"serviceName"` }
A collection of arguments for invoking getFunctions.
func (GetFunctionsOutputArgs) ElementType ¶ added in v3.9.0
func (GetFunctionsOutputArgs) ElementType() reflect.Type
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
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { functionsDs, err := fc.GetFunctions(ctx, &fc.GetFunctionsArgs{ NameRegex: pulumi.StringRef("sample_fc_function"), ServiceName: "sample_service", }, nil) if err != nil { return err } ctx.Export("firstFcFunctionName", functionsDs.Functions[0].Name) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetFunctionsResultOutput ¶ added in v3.9.0
type GetFunctionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFunctions.
func GetFunctionsOutput ¶ added in v3.9.0
func GetFunctionsOutput(ctx *pulumi.Context, args GetFunctionsOutputArgs, opts ...pulumi.InvokeOption) GetFunctionsResultOutput
func (GetFunctionsResultOutput) ElementType ¶ added in v3.9.0
func (GetFunctionsResultOutput) ElementType() reflect.Type
func (GetFunctionsResultOutput) Functions ¶ added in v3.9.0
func (o GetFunctionsResultOutput) Functions() GetFunctionsFunctionArrayOutput
A list of functions. Each element contains the following attributes:
func (GetFunctionsResultOutput) Id ¶ added in v3.9.0
func (o GetFunctionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFunctionsResultOutput) Ids ¶ added in v3.9.0
func (o GetFunctionsResultOutput) Ids() pulumi.StringArrayOutput
A list of functions ids.
func (GetFunctionsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetFunctionsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetFunctionsResultOutput) Names ¶ added in v3.9.0
func (o GetFunctionsResultOutput) Names() pulumi.StringArrayOutput
A list of functions names.
func (GetFunctionsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetFunctionsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetFunctionsResultOutput) ServiceName ¶ added in v3.9.0
func (o GetFunctionsResultOutput) ServiceName() pulumi.StringOutput
func (GetFunctionsResultOutput) ToGetFunctionsResultOutput ¶ added in v3.9.0
func (o GetFunctionsResultOutput) ToGetFunctionsResultOutput() GetFunctionsResultOutput
func (GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext ¶ added in v3.9.0
func (o GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext(ctx context.Context) GetFunctionsResultOutput
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"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getServices.
type GetServicesOutputArgs ¶ added in v3.9.0
type GetServicesOutputArgs struct { // A list of FC services ids. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by FC service name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getServices.
func (GetServicesOutputArgs) ElementType ¶ added in v3.9.0
func (GetServicesOutputArgs) ElementType() reflect.Type
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
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fcServicesDs, err := fc.GetServices(ctx, &fc.GetServicesArgs{ NameRegex: pulumi.StringRef("sample_fc_service"), }, nil) if err != nil { return err } ctx.Export("firstFcServiceName", fcServicesDs.Services[0].Name) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetServicesResultOutput ¶ added in v3.9.0
type GetServicesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServices.
func GetServicesOutput ¶ added in v3.9.0
func GetServicesOutput(ctx *pulumi.Context, args GetServicesOutputArgs, opts ...pulumi.InvokeOption) GetServicesResultOutput
func (GetServicesResultOutput) ElementType ¶ added in v3.9.0
func (GetServicesResultOutput) ElementType() reflect.Type
func (GetServicesResultOutput) Id ¶ added in v3.9.0
func (o GetServicesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServicesResultOutput) Ids ¶ added in v3.9.0
func (o GetServicesResultOutput) Ids() pulumi.StringArrayOutput
A list of FC services ids.
func (GetServicesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetServicesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetServicesResultOutput) Names ¶ added in v3.9.0
func (o GetServicesResultOutput) Names() pulumi.StringArrayOutput
A list of FC services names.
func (GetServicesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetServicesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServicesResultOutput) Services ¶ added in v3.9.0
func (o GetServicesResultOutput) Services() GetServicesServiceArrayOutput
A list of FC services. Each element contains the following attributes:
func (GetServicesResultOutput) ToGetServicesResultOutput ¶ added in v3.9.0
func (o GetServicesResultOutput) ToGetServicesResultOutput() GetServicesResultOutput
func (GetServicesResultOutput) ToGetServicesResultOutputWithContext ¶ added in v3.9.0
func (o GetServicesResultOutput) ToGetServicesResultOutputWithContext(ctx context.Context) GetServicesResultOutput
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 ¶
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 ¶
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 ¶
func (GetServicesServiceNasConfigArgs) ElementType() reflect.Type
func (GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutput ¶
func (i GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutput() GetServicesServiceNasConfigOutput
func (GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutputWithContext ¶
func (i GetServicesServiceNasConfigArgs) ToGetServicesServiceNasConfigOutputWithContext(ctx context.Context) GetServicesServiceNasConfigOutput
type GetServicesServiceNasConfigInput ¶
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 GetServicesServiceNasConfigMountPointArgs ¶
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 ¶
func (GetServicesServiceNasConfigMountPointArgs) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutput ¶
func (i GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutput() GetServicesServiceNasConfigMountPointOutput
func (GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutputWithContext ¶
func (i GetServicesServiceNasConfigMountPointArgs) ToGetServicesServiceNasConfigMountPointOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointOutput
type GetServicesServiceNasConfigMountPointArray ¶
type GetServicesServiceNasConfigMountPointArray []GetServicesServiceNasConfigMountPointInput
func (GetServicesServiceNasConfigMountPointArray) ElementType ¶
func (GetServicesServiceNasConfigMountPointArray) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutput ¶
func (i GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutput() GetServicesServiceNasConfigMountPointArrayOutput
func (GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext ¶
func (i GetServicesServiceNasConfigMountPointArray) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointArrayOutput
type GetServicesServiceNasConfigMountPointArrayInput ¶
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 ¶
type GetServicesServiceNasConfigMountPointArrayOutput struct{ *pulumi.OutputState }
func (GetServicesServiceNasConfigMountPointArrayOutput) ElementType ¶
func (GetServicesServiceNasConfigMountPointArrayOutput) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutput ¶
func (o GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutput() GetServicesServiceNasConfigMountPointArrayOutput
func (GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext ¶
func (o GetServicesServiceNasConfigMountPointArrayOutput) ToGetServicesServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointArrayOutput
type GetServicesServiceNasConfigMountPointInput ¶
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 ¶
type GetServicesServiceNasConfigMountPointOutput struct{ *pulumi.OutputState }
func (GetServicesServiceNasConfigMountPointOutput) ElementType ¶
func (GetServicesServiceNasConfigMountPointOutput) ElementType() reflect.Type
func (GetServicesServiceNasConfigMountPointOutput) MountDir ¶
func (o GetServicesServiceNasConfigMountPointOutput) MountDir() pulumi.StringOutput
The local address where to mount your remote NAS directory.
func (GetServicesServiceNasConfigMountPointOutput) ServerAddr ¶
func (o GetServicesServiceNasConfigMountPointOutput) ServerAddr() pulumi.StringOutput
The address of the remote NAS directory.
func (GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutput ¶
func (o GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutput() GetServicesServiceNasConfigMountPointOutput
func (GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutputWithContext ¶
func (o GetServicesServiceNasConfigMountPointOutput) ToGetServicesServiceNasConfigMountPointOutputWithContext(ctx context.Context) GetServicesServiceNasConfigMountPointOutput
type GetServicesServiceNasConfigOutput ¶
type GetServicesServiceNasConfigOutput struct{ *pulumi.OutputState }
func (GetServicesServiceNasConfigOutput) ElementType ¶
func (GetServicesServiceNasConfigOutput) ElementType() reflect.Type
func (GetServicesServiceNasConfigOutput) GroupId ¶
func (o GetServicesServiceNasConfigOutput) GroupId() pulumi.IntOutput
The group id of the NAS file system.
func (GetServicesServiceNasConfigOutput) MountPoints ¶
func (o GetServicesServiceNasConfigOutput) MountPoints() GetServicesServiceNasConfigMountPointArrayOutput
The mount points configuration, including following attributes:
func (GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutput ¶
func (o GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutput() GetServicesServiceNasConfigOutput
func (GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutputWithContext ¶
func (o GetServicesServiceNasConfigOutput) ToGetServicesServiceNasConfigOutputWithContext(ctx context.Context) GetServicesServiceNasConfigOutput
func (GetServicesServiceNasConfigOutput) UserId ¶
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 ¶
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"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // FC service name. ServiceName string `pulumi:"serviceName"` }
A collection of arguments for invoking getTriggers.
type GetTriggersOutputArgs ¶ added in v3.9.0
type GetTriggersOutputArgs struct { // FC function name. FunctionName pulumi.StringInput `pulumi:"functionName"` // A list of FC triggers ids. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by FC trigger name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // FC service name. ServiceName pulumi.StringInput `pulumi:"serviceName"` }
A collection of arguments for invoking getTriggers.
func (GetTriggersOutputArgs) ElementType ¶ added in v3.9.0
func (GetTriggersOutputArgs) ElementType() reflect.Type
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
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fcTriggersDs, err := fc.GetTriggers(ctx, &fc.GetTriggersArgs{ FunctionName: "sample_function", NameRegex: pulumi.StringRef("sample_fc_trigger"), ServiceName: "sample_service", }, nil) if err != nil { return err } ctx.Export("firstFcTriggerName", fcTriggersDs.Triggers[0].Name) return nil }) }
``` <!--End PulumiCodeChooser -->
type GetTriggersResultOutput ¶ added in v3.9.0
type GetTriggersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTriggers.
func GetTriggersOutput ¶ added in v3.9.0
func GetTriggersOutput(ctx *pulumi.Context, args GetTriggersOutputArgs, opts ...pulumi.InvokeOption) GetTriggersResultOutput
func (GetTriggersResultOutput) ElementType ¶ added in v3.9.0
func (GetTriggersResultOutput) ElementType() reflect.Type
func (GetTriggersResultOutput) FunctionName ¶ added in v3.9.0
func (o GetTriggersResultOutput) FunctionName() pulumi.StringOutput
func (GetTriggersResultOutput) Id ¶ added in v3.9.0
func (o GetTriggersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTriggersResultOutput) Ids ¶ added in v3.9.0
func (o GetTriggersResultOutput) Ids() pulumi.StringArrayOutput
A list of FC triggers ids.
func (GetTriggersResultOutput) NameRegex ¶ added in v3.9.0
func (o GetTriggersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetTriggersResultOutput) Names ¶ added in v3.9.0
func (o GetTriggersResultOutput) Names() pulumi.StringArrayOutput
A list of FC triggers names.
func (GetTriggersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetTriggersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetTriggersResultOutput) ServiceName ¶ added in v3.9.0
func (o GetTriggersResultOutput) ServiceName() pulumi.StringOutput
func (GetTriggersResultOutput) ToGetTriggersResultOutput ¶ added in v3.9.0
func (o GetTriggersResultOutput) ToGetTriggersResultOutput() GetTriggersResultOutput
func (GetTriggersResultOutput) ToGetTriggersResultOutputWithContext ¶ added in v3.9.0
func (o GetTriggersResultOutput) ToGetTriggersResultOutputWithContext(ctx context.Context) GetTriggersResultOutput
func (GetTriggersResultOutput) Triggers ¶ added in v3.9.0
func (o GetTriggersResultOutput) Triggers() GetTriggersTriggerArrayOutput
A list of FC triggers. Each element contains the following attributes:
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`, `mnsTopic`, `cdnEvents` and `eventbridge`. 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`, `mnsTopic`, `cdnEvents` and `eventbridge`. 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`, `mnsTopic`, `cdnEvents` and `eventbridge`.
type GetZonesArgs ¶
type GetZonesArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getZones.
type GetZonesOutputArgs ¶ added in v3.9.0
type GetZonesOutputArgs struct { // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getZones.
func (GetZonesOutputArgs) ElementType ¶ added in v3.9.0
func (GetZonesOutputArgs) ElementType() reflect.Type
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
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.GetZones(ctx, nil, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type GetZonesResultOutput ¶ added in v3.9.0
type GetZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZones.
func GetZonesOutput ¶ added in v3.9.0
func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput
func (GetZonesResultOutput) ElementType ¶ added in v3.9.0
func (GetZonesResultOutput) ElementType() reflect.Type
func (GetZonesResultOutput) Id ¶ added in v3.9.0
func (o GetZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZonesResultOutput) Ids ¶ added in v3.9.0
func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
A list of zone IDs.
func (GetZonesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZonesResultOutput) ToGetZonesResultOutput ¶ added in v3.9.0
func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
func (GetZonesResultOutput) ToGetZonesResultOutputWithContext ¶ added in v3.9.0
func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
func (GetZonesResultOutput) Zones ¶ added in v3.9.0
func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
A list of availability zones. Each element contains the following attributes:
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 LayerVersion ¶ added in v3.28.0
type LayerVersion struct { pulumi.CustomResourceState // The access mode of Layer Version. Acl pulumi.StringOutput `pulumi:"acl"` // The arn of Layer Version. Arn pulumi.StringOutput `pulumi:"arn"` // The checksum of the layer code package. CodeCheckSum pulumi.StringOutput `pulumi:"codeCheckSum"` // The list of runtime environments that are supported by the layer. Valid values: `nodejs14`, `nodejs12`, `nodejs10`, `nodejs8`, `nodejs6`, `python3.9`, `python3`, `python2.7`, `java11`, `java8`, `php7.2`, `go1`,`dotnetcore2.1`, `custom`. CompatibleRuntimes pulumi.StringArrayOutput `pulumi:"compatibleRuntimes"` // The description of the layer version. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the layer. LayerName pulumi.StringOutput `pulumi:"layerName"` // The name of the OSS bucket that stores the ZIP package of the function code. OssBucketName pulumi.StringPtrOutput `pulumi:"ossBucketName"` // The name of the OSS object (ZIP package) that contains the function code. OssObjectName pulumi.StringPtrOutput `pulumi:"ossObjectName"` // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleRuntimes`, `description`, `layerName`, `ossBucketName`, `ossObjectName`, or `zipFile` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // The version of Layer Version. Version pulumi.StringOutput `pulumi:"version"` // The ZIP package of the function code that is encoded in the Base64 format. // // > **NOTE:** `zipFile` and `ossBucketName`, `ossObjectName` cannot be used together. ZipFile pulumi.StringPtrOutput `pulumi:"zipFile"` }
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } _, err = fc.NewLayerVersion(ctx, "example", &fc.LayerVersionArgs{ LayerName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), CompatibleRuntimes: pulumi.StringArray{ pulumi.String("python2.7"), }, OssBucketName: defaultBucket.Bucket, OssObjectName: defaultBucketObject.Key, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Function Compute Layer Version can be imported using the id, e.g.
```sh $ pulumi import alicloud:fc/layerVersion:LayerVersion example my_function ```
func GetLayerVersion ¶ added in v3.28.0
func GetLayerVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LayerVersionState, opts ...pulumi.ResourceOption) (*LayerVersion, error)
GetLayerVersion gets an existing LayerVersion 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 NewLayerVersion ¶ added in v3.28.0
func NewLayerVersion(ctx *pulumi.Context, name string, args *LayerVersionArgs, opts ...pulumi.ResourceOption) (*LayerVersion, error)
NewLayerVersion registers a new resource with the given unique name, arguments, and options.
func (*LayerVersion) ElementType ¶ added in v3.28.0
func (*LayerVersion) ElementType() reflect.Type
func (*LayerVersion) ToLayerVersionOutput ¶ added in v3.28.0
func (i *LayerVersion) ToLayerVersionOutput() LayerVersionOutput
func (*LayerVersion) ToLayerVersionOutputWithContext ¶ added in v3.28.0
func (i *LayerVersion) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
type LayerVersionArgs ¶ added in v3.28.0
type LayerVersionArgs struct { // The list of runtime environments that are supported by the layer. Valid values: `nodejs14`, `nodejs12`, `nodejs10`, `nodejs8`, `nodejs6`, `python3.9`, `python3`, `python2.7`, `java11`, `java8`, `php7.2`, `go1`,`dotnetcore2.1`, `custom`. CompatibleRuntimes pulumi.StringArrayInput // The description of the layer version. Description pulumi.StringPtrInput // The name of the layer. LayerName pulumi.StringInput // The name of the OSS bucket that stores the ZIP package of the function code. OssBucketName pulumi.StringPtrInput // The name of the OSS object (ZIP package) that contains the function code. OssObjectName pulumi.StringPtrInput // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleRuntimes`, `description`, `layerName`, `ossBucketName`, `ossObjectName`, or `zipFile` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrInput // The ZIP package of the function code that is encoded in the Base64 format. // // > **NOTE:** `zipFile` and `ossBucketName`, `ossObjectName` cannot be used together. ZipFile pulumi.StringPtrInput }
The set of arguments for constructing a LayerVersion resource.
func (LayerVersionArgs) ElementType ¶ added in v3.28.0
func (LayerVersionArgs) ElementType() reflect.Type
type LayerVersionArray ¶ added in v3.28.0
type LayerVersionArray []LayerVersionInput
func (LayerVersionArray) ElementType ¶ added in v3.28.0
func (LayerVersionArray) ElementType() reflect.Type
func (LayerVersionArray) ToLayerVersionArrayOutput ¶ added in v3.28.0
func (i LayerVersionArray) ToLayerVersionArrayOutput() LayerVersionArrayOutput
func (LayerVersionArray) ToLayerVersionArrayOutputWithContext ¶ added in v3.28.0
func (i LayerVersionArray) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput
type LayerVersionArrayInput ¶ added in v3.28.0
type LayerVersionArrayInput interface { pulumi.Input ToLayerVersionArrayOutput() LayerVersionArrayOutput ToLayerVersionArrayOutputWithContext(context.Context) LayerVersionArrayOutput }
LayerVersionArrayInput is an input type that accepts LayerVersionArray and LayerVersionArrayOutput values. You can construct a concrete instance of `LayerVersionArrayInput` via:
LayerVersionArray{ LayerVersionArgs{...} }
type LayerVersionArrayOutput ¶ added in v3.28.0
type LayerVersionArrayOutput struct{ *pulumi.OutputState }
func (LayerVersionArrayOutput) ElementType ¶ added in v3.28.0
func (LayerVersionArrayOutput) ElementType() reflect.Type
func (LayerVersionArrayOutput) Index ¶ added in v3.28.0
func (o LayerVersionArrayOutput) Index(i pulumi.IntInput) LayerVersionOutput
func (LayerVersionArrayOutput) ToLayerVersionArrayOutput ¶ added in v3.28.0
func (o LayerVersionArrayOutput) ToLayerVersionArrayOutput() LayerVersionArrayOutput
func (LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext ¶ added in v3.28.0
func (o LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput
type LayerVersionInput ¶ added in v3.28.0
type LayerVersionInput interface { pulumi.Input ToLayerVersionOutput() LayerVersionOutput ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput }
type LayerVersionMap ¶ added in v3.28.0
type LayerVersionMap map[string]LayerVersionInput
func (LayerVersionMap) ElementType ¶ added in v3.28.0
func (LayerVersionMap) ElementType() reflect.Type
func (LayerVersionMap) ToLayerVersionMapOutput ¶ added in v3.28.0
func (i LayerVersionMap) ToLayerVersionMapOutput() LayerVersionMapOutput
func (LayerVersionMap) ToLayerVersionMapOutputWithContext ¶ added in v3.28.0
func (i LayerVersionMap) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput
type LayerVersionMapInput ¶ added in v3.28.0
type LayerVersionMapInput interface { pulumi.Input ToLayerVersionMapOutput() LayerVersionMapOutput ToLayerVersionMapOutputWithContext(context.Context) LayerVersionMapOutput }
LayerVersionMapInput is an input type that accepts LayerVersionMap and LayerVersionMapOutput values. You can construct a concrete instance of `LayerVersionMapInput` via:
LayerVersionMap{ "key": LayerVersionArgs{...} }
type LayerVersionMapOutput ¶ added in v3.28.0
type LayerVersionMapOutput struct{ *pulumi.OutputState }
func (LayerVersionMapOutput) ElementType ¶ added in v3.28.0
func (LayerVersionMapOutput) ElementType() reflect.Type
func (LayerVersionMapOutput) MapIndex ¶ added in v3.28.0
func (o LayerVersionMapOutput) MapIndex(k pulumi.StringInput) LayerVersionOutput
func (LayerVersionMapOutput) ToLayerVersionMapOutput ¶ added in v3.28.0
func (o LayerVersionMapOutput) ToLayerVersionMapOutput() LayerVersionMapOutput
func (LayerVersionMapOutput) ToLayerVersionMapOutputWithContext ¶ added in v3.28.0
func (o LayerVersionMapOutput) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput
type LayerVersionOutput ¶ added in v3.28.0
type LayerVersionOutput struct{ *pulumi.OutputState }
func (LayerVersionOutput) Acl ¶ added in v3.28.0
func (o LayerVersionOutput) Acl() pulumi.StringOutput
The access mode of Layer Version.
func (LayerVersionOutput) Arn ¶ added in v3.28.0
func (o LayerVersionOutput) Arn() pulumi.StringOutput
The arn of Layer Version.
func (LayerVersionOutput) CodeCheckSum ¶ added in v3.28.0
func (o LayerVersionOutput) CodeCheckSum() pulumi.StringOutput
The checksum of the layer code package.
func (LayerVersionOutput) CompatibleRuntimes ¶ added in v3.28.0
func (o LayerVersionOutput) CompatibleRuntimes() pulumi.StringArrayOutput
The list of runtime environments that are supported by the layer. Valid values: `nodejs14`, `nodejs12`, `nodejs10`, `nodejs8`, `nodejs6`, `python3.9`, `python3`, `python2.7`, `java11`, `java8`, `php7.2`, `go1`,`dotnetcore2.1`, `custom`.
func (LayerVersionOutput) Description ¶ added in v3.28.0
func (o LayerVersionOutput) Description() pulumi.StringPtrOutput
The description of the layer version.
func (LayerVersionOutput) ElementType ¶ added in v3.28.0
func (LayerVersionOutput) ElementType() reflect.Type
func (LayerVersionOutput) LayerName ¶ added in v3.28.0
func (o LayerVersionOutput) LayerName() pulumi.StringOutput
The name of the layer.
func (LayerVersionOutput) OssBucketName ¶ added in v3.28.0
func (o LayerVersionOutput) OssBucketName() pulumi.StringPtrOutput
The name of the OSS bucket that stores the ZIP package of the function code.
func (LayerVersionOutput) OssObjectName ¶ added in v3.28.0
func (o LayerVersionOutput) OssObjectName() pulumi.StringPtrOutput
The name of the OSS object (ZIP package) that contains the function code.
func (LayerVersionOutput) SkipDestroy ¶ added in v3.28.0
func (o LayerVersionOutput) SkipDestroy() pulumi.BoolPtrOutput
Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleRuntimes`, `description`, `layerName`, `ossBucketName`, `ossObjectName`, or `zipFile` forces deletion of the existing layer version and creation of a new layer version.
func (LayerVersionOutput) ToLayerVersionOutput ¶ added in v3.28.0
func (o LayerVersionOutput) ToLayerVersionOutput() LayerVersionOutput
func (LayerVersionOutput) ToLayerVersionOutputWithContext ¶ added in v3.28.0
func (o LayerVersionOutput) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
func (LayerVersionOutput) Version ¶ added in v3.28.0
func (o LayerVersionOutput) Version() pulumi.StringOutput
The version of Layer Version.
func (LayerVersionOutput) ZipFile ¶ added in v3.28.0
func (o LayerVersionOutput) ZipFile() pulumi.StringPtrOutput
The ZIP package of the function code that is encoded in the Base64 format.
> **NOTE:** `zipFile` and `ossBucketName`, `ossObjectName` cannot be used together.
type LayerVersionState ¶ added in v3.28.0
type LayerVersionState struct { // The access mode of Layer Version. Acl pulumi.StringPtrInput // The arn of Layer Version. Arn pulumi.StringPtrInput // The checksum of the layer code package. CodeCheckSum pulumi.StringPtrInput // The list of runtime environments that are supported by the layer. Valid values: `nodejs14`, `nodejs12`, `nodejs10`, `nodejs8`, `nodejs6`, `python3.9`, `python3`, `python2.7`, `java11`, `java8`, `php7.2`, `go1`,`dotnetcore2.1`, `custom`. CompatibleRuntimes pulumi.StringArrayInput // The description of the layer version. Description pulumi.StringPtrInput // The name of the layer. LayerName pulumi.StringPtrInput // The name of the OSS bucket that stores the ZIP package of the function code. OssBucketName pulumi.StringPtrInput // The name of the OSS object (ZIP package) that contains the function code. OssObjectName pulumi.StringPtrInput // Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleRuntimes`, `description`, `layerName`, `ossBucketName`, `ossObjectName`, or `zipFile` forces deletion of the existing layer version and creation of a new layer version. SkipDestroy pulumi.BoolPtrInput // The version of Layer Version. Version pulumi.StringPtrInput // The ZIP package of the function code that is encoded in the Base64 format. // // > **NOTE:** `zipFile` and `ossBucketName`, `ossObjectName` cannot be used together. ZipFile pulumi.StringPtrInput }
func (LayerVersionState) ElementType ¶ added in v3.28.0
func (LayerVersionState) ElementType() reflect.Type
type LookupServiceArgs ¶
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`. // // > **NOTE:** Setting `enable = "On"` to open the FC service that means you have read and agreed the [FC Terms of Service](https://help.aliyun.com/document_detail/52972.html). The service can not closed once it is opened. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type LookupServiceOutputArgs ¶ added in v3.9.0
type LookupServiceOutputArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`. // // > **NOTE:** Setting `enable = "On"` to open the FC service that means you have read and agreed the [FC Terms of Service](https://help.aliyun.com/document_detail/52972.html). The service can not closed once it is opened. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (LookupServiceOutputArgs) ElementType ¶ added in v3.9.0
func (LookupServiceOutputArgs) ElementType() reflect.Type
type LookupServiceResult ¶
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 ¶
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 since v1.112.0+
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fc.LookupService(ctx, &fc.LookupServiceArgs{ Enable: pulumi.StringRef("On"), }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type LookupServiceResultOutput ¶ added in v3.9.0
type LookupServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func LookupServiceOutput ¶ added in v3.9.0
func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput
func (LookupServiceResultOutput) ElementType ¶ added in v3.9.0
func (LookupServiceResultOutput) ElementType() reflect.Type
func (LookupServiceResultOutput) Enable ¶ added in v3.9.0
func (o LookupServiceResultOutput) Enable() pulumi.StringPtrOutput
func (LookupServiceResultOutput) Id ¶ added in v3.9.0
func (o LookupServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupServiceResultOutput) Status ¶ added in v3.9.0
func (o LookupServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶ added in v3.9.0
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶ added in v3.9.0
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
type Service ¶
type Service struct { pulumi.CustomResourceState Description pulumi.StringPtrOutput `pulumi:"description"` InternetAccess pulumi.BoolPtrOutput `pulumi:"internetAccess"` LastModified pulumi.StringOutput `pulumi:"lastModified"` LogConfig ServiceLogConfigPtrOutput `pulumi:"logConfig"` Name pulumi.StringOutput `pulumi:"name"` NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` NasConfig ServiceNasConfigPtrOutput `pulumi:"nasConfig"` Publish pulumi.BoolPtrOutput `pulumi:"publish"` Role pulumi.StringPtrOutput `pulumi:"role"` ServiceId pulumi.StringOutput `pulumi:"serviceId"` Tags pulumi.StringMapOutput `pulumi:"tags"` TracingConfig ServiceTracingConfigPtrOutput `pulumi:"tracingConfig"` Version pulumi.StringOutput `pulumi:"version"` VpcConfig ServiceVpcConfigPtrOutput `pulumi:"vpcConfig"` }
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 ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶
type ServiceArgs struct { Description pulumi.StringPtrInput InternetAccess pulumi.BoolPtrInput LogConfig ServiceLogConfigPtrInput Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput NasConfig ServiceNasConfigPtrInput Publish pulumi.BoolPtrInput Role pulumi.StringPtrInput Tags pulumi.StringMapInput TracingConfig ServiceTracingConfigPtrInput VpcConfig ServiceVpcConfigPtrInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶
type ServiceArrayInput interface { pulumi.Input ToServiceArrayOutput() ServiceArrayOutput ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput }
ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:
ServiceArray{ ServiceArgs{...} }
type ServiceArrayOutput ¶
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
func (ServiceArrayOutput) ToServiceArrayOutput ¶
func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArrayOutput) ToServiceArrayOutputWithContext ¶
func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceLogConfig ¶
type ServiceLogConfig struct { // Enable instance level metrics. EnableInstanceMetrics *bool `pulumi:"enableInstanceMetrics"` // Enable request level metrics. EnableRequestMetrics *bool `pulumi:"enableRequestMetrics"` // The log store name of Alicloud Simple Log Service. Logstore string `pulumi:"logstore"` // The project name of the Alicloud Simple Log Service. Project string `pulumi:"project"` }
type ServiceLogConfigArgs ¶
type ServiceLogConfigArgs struct { // Enable instance level metrics. EnableInstanceMetrics pulumi.BoolPtrInput `pulumi:"enableInstanceMetrics"` // Enable request level metrics. EnableRequestMetrics pulumi.BoolPtrInput `pulumi:"enableRequestMetrics"` // 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) EnableInstanceMetrics ¶ added in v3.29.0
func (o ServiceLogConfigOutput) EnableInstanceMetrics() pulumi.BoolPtrOutput
Enable instance level metrics.
func (ServiceLogConfigOutput) EnableRequestMetrics ¶ added in v3.29.0
func (o ServiceLogConfigOutput) EnableRequestMetrics() pulumi.BoolPtrOutput
Enable request level metrics.
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) EnableInstanceMetrics ¶ added in v3.29.0
func (o ServiceLogConfigPtrOutput) EnableInstanceMetrics() pulumi.BoolPtrOutput
Enable instance level metrics.
func (ServiceLogConfigPtrOutput) EnableRequestMetrics ¶ added in v3.29.0
func (o ServiceLogConfigPtrOutput) EnableRequestMetrics() pulumi.BoolPtrOutput
Enable request level metrics.
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 ServiceMap ¶
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶
type ServiceMapInput interface { pulumi.Input ToServiceMapOutput() ServiceMapOutput ToServiceMapOutputWithContext(context.Context) ServiceMapOutput }
ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:
ServiceMap{ "key": ServiceArgs{...} }
type ServiceMapOutput ¶
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶
func (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
func (ServiceMapOutput) ToServiceMapOutput ¶
func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput
func (ServiceMapOutput) ToServiceMapOutputWithContext ¶
func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceNasConfig ¶
type ServiceNasConfig struct { // The group id of your NAS file system. GroupId int `pulumi:"groupId"` // Config the NAS mount points.See `mountPoints` below. MountPoints []ServiceNasConfigMountPoint `pulumi:"mountPoints"` // The user id of your NAS file system. UserId int `pulumi:"userId"` }
type ServiceNasConfigArgs ¶
type ServiceNasConfigArgs struct { // The group id of your NAS file system. GroupId pulumi.IntInput `pulumi:"groupId"` // Config the NAS mount points.See `mountPoints` below. MountPoints ServiceNasConfigMountPointArrayInput `pulumi:"mountPoints"` // The user id of your NAS file system. UserId pulumi.IntInput `pulumi:"userId"` }
func (ServiceNasConfigArgs) ElementType ¶
func (ServiceNasConfigArgs) ElementType() reflect.Type
func (ServiceNasConfigArgs) ToServiceNasConfigOutput ¶
func (i ServiceNasConfigArgs) ToServiceNasConfigOutput() ServiceNasConfigOutput
func (ServiceNasConfigArgs) ToServiceNasConfigOutputWithContext ¶
func (i ServiceNasConfigArgs) ToServiceNasConfigOutputWithContext(ctx context.Context) ServiceNasConfigOutput
func (ServiceNasConfigArgs) ToServiceNasConfigPtrOutput ¶
func (i ServiceNasConfigArgs) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
func (ServiceNasConfigArgs) ToServiceNasConfigPtrOutputWithContext ¶
func (i ServiceNasConfigArgs) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
type ServiceNasConfigInput ¶
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 ServiceNasConfigMountPointArgs ¶
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 ¶
func (ServiceNasConfigMountPointArgs) ElementType() reflect.Type
func (ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutput ¶
func (i ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutput() ServiceNasConfigMountPointOutput
func (ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutputWithContext ¶
func (i ServiceNasConfigMountPointArgs) ToServiceNasConfigMountPointOutputWithContext(ctx context.Context) ServiceNasConfigMountPointOutput
type ServiceNasConfigMountPointArray ¶
type ServiceNasConfigMountPointArray []ServiceNasConfigMountPointInput
func (ServiceNasConfigMountPointArray) ElementType ¶
func (ServiceNasConfigMountPointArray) ElementType() reflect.Type
func (ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutput ¶
func (i ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutput() ServiceNasConfigMountPointArrayOutput
func (ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutputWithContext ¶
func (i ServiceNasConfigMountPointArray) ToServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) ServiceNasConfigMountPointArrayOutput
type ServiceNasConfigMountPointArrayInput ¶
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 ¶
type ServiceNasConfigMountPointArrayOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigMountPointArrayOutput) ElementType ¶
func (ServiceNasConfigMountPointArrayOutput) ElementType() reflect.Type
func (ServiceNasConfigMountPointArrayOutput) Index ¶
func (o ServiceNasConfigMountPointArrayOutput) Index(i pulumi.IntInput) ServiceNasConfigMountPointOutput
func (ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutput ¶
func (o ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutput() ServiceNasConfigMountPointArrayOutput
func (ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutputWithContext ¶
func (o ServiceNasConfigMountPointArrayOutput) ToServiceNasConfigMountPointArrayOutputWithContext(ctx context.Context) ServiceNasConfigMountPointArrayOutput
type ServiceNasConfigMountPointInput ¶
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 ¶
type ServiceNasConfigMountPointOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigMountPointOutput) ElementType ¶
func (ServiceNasConfigMountPointOutput) ElementType() reflect.Type
func (ServiceNasConfigMountPointOutput) MountDir ¶
func (o ServiceNasConfigMountPointOutput) MountDir() pulumi.StringOutput
The local address where to mount your remote NAS directory.
func (ServiceNasConfigMountPointOutput) ServerAddr ¶
func (o ServiceNasConfigMountPointOutput) ServerAddr() pulumi.StringOutput
The address of the remote NAS directory.
func (ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutput ¶
func (o ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutput() ServiceNasConfigMountPointOutput
func (ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutputWithContext ¶
func (o ServiceNasConfigMountPointOutput) ToServiceNasConfigMountPointOutputWithContext(ctx context.Context) ServiceNasConfigMountPointOutput
type ServiceNasConfigOutput ¶
type ServiceNasConfigOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigOutput) ElementType ¶
func (ServiceNasConfigOutput) ElementType() reflect.Type
func (ServiceNasConfigOutput) GroupId ¶
func (o ServiceNasConfigOutput) GroupId() pulumi.IntOutput
The group id of your NAS file system.
func (ServiceNasConfigOutput) MountPoints ¶
func (o ServiceNasConfigOutput) MountPoints() ServiceNasConfigMountPointArrayOutput
Config the NAS mount points.See `mountPoints` below.
func (ServiceNasConfigOutput) ToServiceNasConfigOutput ¶
func (o ServiceNasConfigOutput) ToServiceNasConfigOutput() ServiceNasConfigOutput
func (ServiceNasConfigOutput) ToServiceNasConfigOutputWithContext ¶
func (o ServiceNasConfigOutput) ToServiceNasConfigOutputWithContext(ctx context.Context) ServiceNasConfigOutput
func (ServiceNasConfigOutput) ToServiceNasConfigPtrOutput ¶
func (o ServiceNasConfigOutput) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
func (ServiceNasConfigOutput) ToServiceNasConfigPtrOutputWithContext ¶
func (o ServiceNasConfigOutput) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
func (ServiceNasConfigOutput) UserId ¶
func (o ServiceNasConfigOutput) UserId() pulumi.IntOutput
The user id of your NAS file system.
type ServiceNasConfigPtrInput ¶
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 ¶
func ServiceNasConfigPtr(v *ServiceNasConfigArgs) ServiceNasConfigPtrInput
type ServiceNasConfigPtrOutput ¶
type ServiceNasConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceNasConfigPtrOutput) Elem ¶
func (o ServiceNasConfigPtrOutput) Elem() ServiceNasConfigOutput
func (ServiceNasConfigPtrOutput) ElementType ¶
func (ServiceNasConfigPtrOutput) ElementType() reflect.Type
func (ServiceNasConfigPtrOutput) GroupId ¶
func (o ServiceNasConfigPtrOutput) GroupId() pulumi.IntPtrOutput
The group id of your NAS file system.
func (ServiceNasConfigPtrOutput) MountPoints ¶
func (o ServiceNasConfigPtrOutput) MountPoints() ServiceNasConfigMountPointArrayOutput
Config the NAS mount points.See `mountPoints` below.
func (ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutput ¶
func (o ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutput() ServiceNasConfigPtrOutput
func (ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutputWithContext ¶
func (o ServiceNasConfigPtrOutput) ToServiceNasConfigPtrOutputWithContext(ctx context.Context) ServiceNasConfigPtrOutput
func (ServiceNasConfigPtrOutput) UserId ¶
func (o ServiceNasConfigPtrOutput) UserId() pulumi.IntPtrOutput
The user id of your NAS file system.
type ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) Description ¶ added in v3.27.0
func (o ServiceOutput) Description() pulumi.StringPtrOutput
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) InternetAccess ¶ added in v3.27.0
func (o ServiceOutput) InternetAccess() pulumi.BoolPtrOutput
func (ServiceOutput) LastModified ¶ added in v3.27.0
func (o ServiceOutput) LastModified() pulumi.StringOutput
func (ServiceOutput) LogConfig ¶ added in v3.27.0
func (o ServiceOutput) LogConfig() ServiceLogConfigPtrOutput
func (ServiceOutput) Name ¶ added in v3.27.0
func (o ServiceOutput) Name() pulumi.StringOutput
func (ServiceOutput) NamePrefix ¶ added in v3.27.0
func (o ServiceOutput) NamePrefix() pulumi.StringPtrOutput
func (ServiceOutput) NasConfig ¶ added in v3.27.0
func (o ServiceOutput) NasConfig() ServiceNasConfigPtrOutput
func (ServiceOutput) Publish ¶ added in v3.27.0
func (o ServiceOutput) Publish() pulumi.BoolPtrOutput
func (ServiceOutput) Role ¶ added in v3.27.0
func (o ServiceOutput) Role() pulumi.StringPtrOutput
func (ServiceOutput) ServiceId ¶ added in v3.27.0
func (o ServiceOutput) ServiceId() pulumi.StringOutput
func (ServiceOutput) Tags ¶ added in v3.45.0
func (o ServiceOutput) Tags() pulumi.StringMapOutput
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) TracingConfig ¶ added in v3.29.0
func (o ServiceOutput) TracingConfig() ServiceTracingConfigPtrOutput
func (ServiceOutput) Version ¶ added in v3.27.0
func (o ServiceOutput) Version() pulumi.StringOutput
func (ServiceOutput) VpcConfig ¶ added in v3.27.0
func (o ServiceOutput) VpcConfig() ServiceVpcConfigPtrOutput
type ServiceState ¶
type ServiceState struct { Description pulumi.StringPtrInput InternetAccess pulumi.BoolPtrInput LastModified pulumi.StringPtrInput LogConfig ServiceLogConfigPtrInput Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput NasConfig ServiceNasConfigPtrInput Publish pulumi.BoolPtrInput Role pulumi.StringPtrInput ServiceId pulumi.StringPtrInput Tags pulumi.StringMapInput TracingConfig ServiceTracingConfigPtrInput Version pulumi.StringPtrInput VpcConfig ServiceVpcConfigPtrInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type ServiceTracingConfig ¶ added in v3.29.0
type ServiceTracingConfig struct { // Tracing parameters, which type is map[string]string. When the protocol type is Jaeger, the key is "endpoint" and the value is your tracing intranet endpoint. For example endpoint: http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/traces. Params map[string]interface{} `pulumi:"params"` // Tracing protocol type. Currently, only Jaeger is supported. Type string `pulumi:"type"` }
type ServiceTracingConfigArgs ¶ added in v3.29.0
type ServiceTracingConfigArgs struct { // Tracing parameters, which type is map[string]string. When the protocol type is Jaeger, the key is "endpoint" and the value is your tracing intranet endpoint. For example endpoint: http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/traces. Params pulumi.MapInput `pulumi:"params"` // Tracing protocol type. Currently, only Jaeger is supported. Type pulumi.StringInput `pulumi:"type"` }
func (ServiceTracingConfigArgs) ElementType ¶ added in v3.29.0
func (ServiceTracingConfigArgs) ElementType() reflect.Type
func (ServiceTracingConfigArgs) ToServiceTracingConfigOutput ¶ added in v3.29.0
func (i ServiceTracingConfigArgs) ToServiceTracingConfigOutput() ServiceTracingConfigOutput
func (ServiceTracingConfigArgs) ToServiceTracingConfigOutputWithContext ¶ added in v3.29.0
func (i ServiceTracingConfigArgs) ToServiceTracingConfigOutputWithContext(ctx context.Context) ServiceTracingConfigOutput
func (ServiceTracingConfigArgs) ToServiceTracingConfigPtrOutput ¶ added in v3.29.0
func (i ServiceTracingConfigArgs) ToServiceTracingConfigPtrOutput() ServiceTracingConfigPtrOutput
func (ServiceTracingConfigArgs) ToServiceTracingConfigPtrOutputWithContext ¶ added in v3.29.0
func (i ServiceTracingConfigArgs) ToServiceTracingConfigPtrOutputWithContext(ctx context.Context) ServiceTracingConfigPtrOutput
type ServiceTracingConfigInput ¶ added in v3.29.0
type ServiceTracingConfigInput interface { pulumi.Input ToServiceTracingConfigOutput() ServiceTracingConfigOutput ToServiceTracingConfigOutputWithContext(context.Context) ServiceTracingConfigOutput }
ServiceTracingConfigInput is an input type that accepts ServiceTracingConfigArgs and ServiceTracingConfigOutput values. You can construct a concrete instance of `ServiceTracingConfigInput` via:
ServiceTracingConfigArgs{...}
type ServiceTracingConfigOutput ¶ added in v3.29.0
type ServiceTracingConfigOutput struct{ *pulumi.OutputState }
func (ServiceTracingConfigOutput) ElementType ¶ added in v3.29.0
func (ServiceTracingConfigOutput) ElementType() reflect.Type
func (ServiceTracingConfigOutput) Params ¶ added in v3.29.0
func (o ServiceTracingConfigOutput) Params() pulumi.MapOutput
Tracing parameters, which type is map[string]string. When the protocol type is Jaeger, the key is "endpoint" and the value is your tracing intranet endpoint. For example endpoint: http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/traces.
func (ServiceTracingConfigOutput) ToServiceTracingConfigOutput ¶ added in v3.29.0
func (o ServiceTracingConfigOutput) ToServiceTracingConfigOutput() ServiceTracingConfigOutput
func (ServiceTracingConfigOutput) ToServiceTracingConfigOutputWithContext ¶ added in v3.29.0
func (o ServiceTracingConfigOutput) ToServiceTracingConfigOutputWithContext(ctx context.Context) ServiceTracingConfigOutput
func (ServiceTracingConfigOutput) ToServiceTracingConfigPtrOutput ¶ added in v3.29.0
func (o ServiceTracingConfigOutput) ToServiceTracingConfigPtrOutput() ServiceTracingConfigPtrOutput
func (ServiceTracingConfigOutput) ToServiceTracingConfigPtrOutputWithContext ¶ added in v3.29.0
func (o ServiceTracingConfigOutput) ToServiceTracingConfigPtrOutputWithContext(ctx context.Context) ServiceTracingConfigPtrOutput
func (ServiceTracingConfigOutput) Type ¶ added in v3.29.0
func (o ServiceTracingConfigOutput) Type() pulumi.StringOutput
Tracing protocol type. Currently, only Jaeger is supported.
type ServiceTracingConfigPtrInput ¶ added in v3.29.0
type ServiceTracingConfigPtrInput interface { pulumi.Input ToServiceTracingConfigPtrOutput() ServiceTracingConfigPtrOutput ToServiceTracingConfigPtrOutputWithContext(context.Context) ServiceTracingConfigPtrOutput }
ServiceTracingConfigPtrInput is an input type that accepts ServiceTracingConfigArgs, ServiceTracingConfigPtr and ServiceTracingConfigPtrOutput values. You can construct a concrete instance of `ServiceTracingConfigPtrInput` via:
ServiceTracingConfigArgs{...} or: nil
func ServiceTracingConfigPtr ¶ added in v3.29.0
func ServiceTracingConfigPtr(v *ServiceTracingConfigArgs) ServiceTracingConfigPtrInput
type ServiceTracingConfigPtrOutput ¶ added in v3.29.0
type ServiceTracingConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceTracingConfigPtrOutput) Elem ¶ added in v3.29.0
func (o ServiceTracingConfigPtrOutput) Elem() ServiceTracingConfigOutput
func (ServiceTracingConfigPtrOutput) ElementType ¶ added in v3.29.0
func (ServiceTracingConfigPtrOutput) ElementType() reflect.Type
func (ServiceTracingConfigPtrOutput) Params ¶ added in v3.29.0
func (o ServiceTracingConfigPtrOutput) Params() pulumi.MapOutput
Tracing parameters, which type is map[string]string. When the protocol type is Jaeger, the key is "endpoint" and the value is your tracing intranet endpoint. For example endpoint: http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/traces.
func (ServiceTracingConfigPtrOutput) ToServiceTracingConfigPtrOutput ¶ added in v3.29.0
func (o ServiceTracingConfigPtrOutput) ToServiceTracingConfigPtrOutput() ServiceTracingConfigPtrOutput
func (ServiceTracingConfigPtrOutput) ToServiceTracingConfigPtrOutputWithContext ¶ added in v3.29.0
func (o ServiceTracingConfigPtrOutput) ToServiceTracingConfigPtrOutputWithContext(ctx context.Context) ServiceTracingConfigPtrOutput
func (ServiceTracingConfigPtrOutput) Type ¶ added in v3.29.0
func (o ServiceTracingConfigPtrOutput) Type() pulumi.StringPtrOutput
Tracing protocol type. Currently, only Jaeger is supported.
type ServiceVpcConfig ¶
type ServiceVpcConfig struct { // A security group ID associated with the Function Compute Service. SecurityGroupId string `pulumi:"securityGroupId"` // A vpc ID associated with the Function Compute Service. VpcId *string `pulumi:"vpcId"` // A list of vswitch IDs associated with the Function Compute Service. VswitchIds []string `pulumi:"vswitchIds"` }
type ServiceVpcConfigArgs ¶
type ServiceVpcConfigArgs struct { // A security group ID associated with the Function Compute Service. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // A vpc ID associated with the Function Compute Service. 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
A vpc ID associated with the Function Compute Service.
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
A vpc ID associated with the Function Compute Service.
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", "eventbridge"]. // // > **NOTE:** Config does not support modification when type is mns_topic. // **NOTE:** type = cdn_events, available in 1.47.0+. // **NOTE:** type = eventbridge, available in 1.173.0+. Type pulumi.StringOutput `pulumi:"type"` }
Provides an Alicloud Function Compute Trigger resource. Based on trigger, execute your code in response to events in Alibaba Cloud.
For information about Service and how to use it, see [What is Function Compute](https://www.alibabacloud.com/help/en/fc/developer-reference/api-fc-open-2021-04-06-createtrigger).
> **NOTE:** The resource requires a provider field 'account_id'. See account_id.
> **NOTE:** Available since v1.93.0.
## Example Usage
Basic Usage ¶
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultAccount, err := alicloud.GetAccount(ctx, nil, nil) if err != nil { return err } defaultRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{ Current: pulumi.BoolRef(true), }, nil) if err != nil { return err } defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultProject, err := log.NewProject(ctx, "defaultProject", &log.ProjectArgs{ ProjectName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("example-value-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } defaultStore, err := log.NewStore(ctx, "defaultStore", &log.StoreArgs{ ProjectName: defaultProject.Name, LogstoreName: pulumi.String("example-value"), }) if err != nil { return err } sourceStore, err := log.NewStore(ctx, "sourceStore", &log.StoreArgs{ ProjectName: defaultProject.Name, LogstoreName: pulumi.String("example-source-store"), }) if err != nil { return err } defaultRole, err := ram.NewRole(ctx, "defaultRole", &ram.RoleArgs{ Document: pulumi.String(` { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": [ "fc.aliyuncs.com" ] } } ], "Version": "1" }
`),
Description: pulumi.String("this is a example"), Force: pulumi.Bool(true), }) if err != nil { return err } _, err = ram.NewRolePolicyAttachment(ctx, "defaultRolePolicyAttachment", &ram.RolePolicyAttachmentArgs{ RoleName: defaultRole.Name, PolicyName: pulumi.String("AliyunLogFullAccess"), PolicyType: pulumi.String("System"), }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), Role: defaultRole.Arn, LogConfig: &fc.ServiceLogConfigArgs{ Project: defaultProject.Name, Logstore: defaultStore.Name, EnableInstanceMetrics: pulumi.Bool(true), EnableRequestMetrics: pulumi.Bool(true), }, }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } defaultFunction, err := fc.NewFunction(ctx, "defaultFunction", &fc.FunctionArgs{ Service: defaultService.Name, Description: pulumi.String("example"), OssBucket: defaultBucket.ID(), OssKey: defaultBucketObject.Key, MemorySize: pulumi.Int(512), Runtime: pulumi.String("python3.10"), Handler: pulumi.String("hello.handler"), }) if err != nil { return err } _, err = fc.NewTrigger(ctx, "defaultTrigger", &fc.TriggerArgs{ Service: defaultService.Name, Function: defaultFunction.Name, Role: defaultRole.Arn, SourceArn: defaultProject.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("acs:log:%v:%v:project/%v", defaultRegions.Regions[0].Id, defaultAccount.Id, name), nil }).(pulumi.StringOutput), Type: pulumi.String("log"), Config: pulumi.All(sourceStore.Name, defaultProject.Name, defaultStore.Name).ApplyT(func(_args []interface{}) (string, error) { sourceStoreName := _args[0].(string) defaultProjectName := _args[1].(string) defaultStoreName := _args[2].(string) return fmt.Sprintf(` { "sourceConfig": { "logstore": "%v", "startTime": null }, "jobConfig": { "maxRetryTime": 3, "triggerInterval": 60 }, "functionParameter": { "a": "b", "c": "d" }, "logConfig": { "project": "%v", "logstore": "%v" }, "targetConfig": null, "enable": true }
`, sourceStoreName, defaultProjectName, defaultStoreName), nil
}).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
MNS topic trigger:
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mns" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultAccount, err := alicloud.GetAccount(ctx, nil, nil) if err != nil { return err } defaultRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{ Current: pulumi.BoolRef(true), }, nil) if err != nil { return err } defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultTopic, err := mns.NewTopic(ctx, "defaultTopic", nil) if err != nil { return err } defaultRole, err := ram.NewRole(ctx, "defaultRole", &ram.RoleArgs{ Document: pulumi.String(` { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": [ "mns.aliyuncs.com" ] } } ], "Version": "1" }
`),
Description: pulumi.String("this is a example"), Force: pulumi.Bool(true), }) if err != nil { return err } _, err = ram.NewRolePolicyAttachment(ctx, "defaultRolePolicyAttachment", &ram.RolePolicyAttachmentArgs{ RoleName: defaultRole.Name, PolicyName: pulumi.String("AliyunMNSNotificationRolePolicy"), PolicyType: pulumi.String("System"), }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), InternetAccess: pulumi.Bool(false), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } defaultFunction, err := fc.NewFunction(ctx, "defaultFunction", &fc.FunctionArgs{ Service: defaultService.Name, Description: pulumi.String("example"), OssBucket: defaultBucket.ID(), OssKey: defaultBucketObject.Key, MemorySize: pulumi.Int(512), Runtime: pulumi.String("python3.10"), Handler: pulumi.String("hello.handler"), }) if err != nil { return err } _, err = fc.NewTrigger(ctx, "defaultTrigger", &fc.TriggerArgs{ Service: defaultService.Name, Function: defaultFunction.Name, Role: defaultRole.Arn, SourceArn: defaultTopic.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("acs:mns:%v:%v:/topics/%v", defaultRegions.Regions[0].Id, defaultAccount.Id, name), nil }).(pulumi.StringOutput), Type: pulumi.String("mns_topic"), ConfigMns: pulumi.String(` { "filterTag":"exampleTag", "notifyContentFormat":"STREAM", "notifyStrategy":"BACKOFF_RETRY" }
`),
}) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
CDN events trigger:
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cdn" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultAccount, err := alicloud.GetAccount(ctx, nil, nil) if err != nil { return err } defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } defaultDomainNew, err := cdn.NewDomainNew(ctx, "defaultDomainNew", &cdn.DomainNewArgs{ DomainName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("example%v.tf.com", result), nil }).(pulumi.StringOutput), CdnType: pulumi.String("web"), Scope: pulumi.String("overseas"), Sources: cdn.DomainNewSourceArray{ &cdn.DomainNewSourceArgs{ Content: pulumi.String("1.1.1.1"), Type: pulumi.String("ipaddr"), Priority: pulumi.Int(20), Port: pulumi.Int(80), Weight: pulumi.Int(10), }, }, }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), InternetAccess: pulumi.Bool(false), }) if err != nil { return err } defaultRole, err := ram.NewRole(ctx, "defaultRole", &ram.RoleArgs{ Document: pulumi.String(` { "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "Service": [ "cdn.aliyuncs.com" ] } } ], "Version": "1" }
`),
Description: pulumi.String("this is a example"), Force: pulumi.Bool(true), }) if err != nil { return err } defaultPolicy, err := ram.NewPolicy(ctx, "defaultPolicy", &ram.PolicyArgs{ PolicyName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("fcservicepolicy-%v", result), nil }).(pulumi.StringOutput), PolicyDocument: pulumi.All(defaultService.Name, defaultService.Name).ApplyT(func(_args []interface{}) (string, error) { defaultServiceName := _args[0].(string) defaultServiceName1 := _args[1].(string) return fmt.Sprintf(` { "Version": "1", "Statement": [ { "Action": [ "fc:InvokeFunction" ], "Resource": [ "acs:fc:*:*:services/%v/functions/*", "acs:fc:*:*:services/%v.*/functions/*" ], "Effect": "Allow" } ] }
`, defaultServiceName, defaultServiceName1), nil
}).(pulumi.StringOutput), Description: pulumi.String("this is a example"), Force: pulumi.Bool(true), }) if err != nil { return err } _, err = ram.NewRolePolicyAttachment(ctx, "defaultRolePolicyAttachment", &ram.RolePolicyAttachmentArgs{ RoleName: defaultRole.Name, PolicyName: defaultPolicy.Name, PolicyType: pulumi.String("Custom"), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } defaultFunction, err := fc.NewFunction(ctx, "defaultFunction", &fc.FunctionArgs{ Service: defaultService.Name, Description: pulumi.String("example"), OssBucket: defaultBucket.ID(), OssKey: defaultBucketObject.Key, MemorySize: pulumi.Int(512), Runtime: pulumi.String("python3.10"), Handler: pulumi.String("hello.handler"), }) if err != nil { return err } _, err = fc.NewTrigger(ctx, "defaultTrigger", &fc.TriggerArgs{ Service: defaultService.Name, Function: defaultFunction.Name, Role: defaultRole.Arn, SourceArn: pulumi.String(fmt.Sprintf("acs:cdn:*:%v", defaultAccount.Id)), Type: pulumi.String("cdn_events"), Config: defaultDomainNew.DomainName.ApplyT(func(domainName string) (string, error) { return fmt.Sprintf(` {"eventName":"LogFileCreated", "eventVersion":"1.0.0", "notes":"cdn events trigger", "filter":{ "domain": ["%v"] } }
`, domainName), nil
}).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
EventBridge trigger:
<!--Start PulumiCodeChooser --> ```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/amqp" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rocketmq" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := alicloud.GetAccount(ctx, nil, nil) if err != nil { return err } defaultRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{ Current: pulumi.BoolRef(true), }, nil) if err != nil { return err } defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{ Max: pulumi.Int(99999), Min: pulumi.Int(10000), }) if err != nil { return err } _, err = eventbridge.NewServiceLinkedRole(ctx, "serviceLinkedRole", &eventbridge.ServiceLinkedRoleArgs{ ProductName: pulumi.String("AliyunServiceRoleForEventBridgeSendToFC"), }) if err != nil { return err } defaultService, err := fc.NewService(ctx, "defaultService", &fc.ServiceArgs{ Description: pulumi.String("example-value"), InternetAccess: pulumi.Bool(false), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), }) if err != nil { return err } // If you upload the function by OSS Bucket, you need to specify path can't upload by content. defaultBucketObject, err := oss.NewBucketObject(ctx, "defaultBucketObject", &oss.BucketObjectArgs{ Bucket: defaultBucket.ID(), Key: pulumi.String("index.py"), Content: pulumi.String("import logging \ndef handler(event, context): \nlogger = logging.getLogger() \nlogger.info('hello world') \nreturn 'hello world'"), }) if err != nil { return err } defaultFunction, err := fc.NewFunction(ctx, "defaultFunction", &fc.FunctionArgs{ Service: defaultService.Name, Description: pulumi.String("example"), OssBucket: defaultBucket.ID(), OssKey: defaultBucketObject.Key, MemorySize: pulumi.Int(512), Runtime: pulumi.String("python3.10"), Handler: pulumi.String("hello.handler"), }) if err != nil { return err } _, err = fc.NewTrigger(ctx, "ossTrigger", &fc.TriggerArgs{ Service: defaultService.Name, Function: defaultFunction.Name, Type: pulumi.String("eventbridge"), Config: pulumi.String(` { "triggerEnable": false, "asyncInvocationType": false, "eventRuleFilterPattern": { "source":[ "acs.oss" ], "type":[ "oss:BucketCreated:PutBucket" ] }, "eventSourceConfig": { "eventSourceType": "Default" } }
`),
}) if err != nil { return err } _, err = fc.NewTrigger(ctx, "mnsTrigger", &fc.TriggerArgs{ Service: defaultService.Name, Function: defaultFunction.Name, Type: pulumi.String("eventbridge"), Config: pulumi.String(` { "triggerEnable": false, "asyncInvocationType": false, "eventRuleFilterPattern": "{}", "eventSourceConfig": { "eventSourceType": "MNS", "eventSourceParameters": { "sourceMNSParameters": { "RegionId": "cn-hangzhou", "QueueName": "mns-queue", "IsBase64Decode": true } } } }
`),
}) if err != nil { return err } defaultInstance, err := rocketmq.NewInstance(ctx, "defaultInstance", &rocketmq.InstanceArgs{ InstanceName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), Remark: pulumi.String("terraform-example"), }) if err != nil { return err } defaultGroup, err := rocketmq.NewGroup(ctx, "defaultGroup", &rocketmq.GroupArgs{ GroupName: pulumi.String("GID-example"), InstanceId: defaultInstance.ID(), Remark: pulumi.String("terraform-example"), }) if err != nil { return err } defaultTopic, err := rocketmq.NewTopic(ctx, "defaultTopic", &rocketmq.TopicArgs{ TopicName: pulumi.String("mytopic"), InstanceId: defaultInstance.ID(), MessageType: pulumi.Int(0), Remark: pulumi.String("terraform-example"), }) if err != nil { return err } _, err = fc.NewTrigger(ctx, "rocketmqTrigger", &fc.TriggerArgs{ Service: defaultService.Name, Function: defaultFunction.Name, Type: pulumi.String("eventbridge"), Config: pulumi.All(defaultInstance.ID(), defaultGroup.GroupName, defaultTopic.TopicName).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) groupName := _args[1].(string) topicName := _args[2].(string) return fmt.Sprintf(` { "triggerEnable": false, "asyncInvocationType": false, "eventRuleFilterPattern": "{}", "eventSourceConfig": { "eventSourceType": "RocketMQ", "eventSourceParameters": { "sourceRocketMQParameters": { "RegionId": "%v", "InstanceId": "%v", "GroupID": "%v", "Topic": "%v", "Timestamp": 1686296162, "Tag": "example-tag", "Offset": "CONSUME_FROM_LAST_OFFSET" } } } }
`, defaultRegions.Regions[0].Id, id, groupName, topicName), nil
}).(pulumi.StringOutput), }) if err != nil { return err } _, err = amqp.NewInstance(ctx, "defaultAmqp/instanceInstance", &amqp.InstanceArgs{ InstanceName: defaultRandomInteger.Result.ApplyT(func(result int) (string, error) { return fmt.Sprintf("terraform-example-%v", result), nil }).(pulumi.StringOutput), InstanceType: pulumi.String("professional"), MaxTps: pulumi.String("1000"), QueueCapacity: pulumi.String("50"), SupportEip: pulumi.Bool(true), MaxEipTps: pulumi.String("128"), PaymentType: pulumi.String("Subscription"), Period: pulumi.Int(1), }) if err != nil { return err } defaultVirtualHost, err := amqp.NewVirtualHost(ctx, "defaultVirtualHost", &amqp.VirtualHostArgs{ InstanceId: defaultAmqp / instanceInstance.Id, VirtualHostName: pulumi.String("example-VirtualHost"), }) if err != nil { return err } defaultQueue, err := amqp.NewQueue(ctx, "defaultQueue", &amqp.QueueArgs{ InstanceId: defaultVirtualHost.InstanceId, QueueName: pulumi.String("example-queue"), VirtualHostName: defaultVirtualHost.VirtualHostName, }) if err != nil { return err } _, err = fc.NewTrigger(ctx, "rabbitmqTrigger", &fc.TriggerArgs{ Service: defaultService.Name, Function: defaultFunction.Name, Type: pulumi.String("eventbridge"), Config: pulumi.All(defaultVirtualHost.VirtualHostName, defaultQueue.QueueName).ApplyT(func(_args []interface{}) (string, error) { virtualHostName := _args[0].(string) queueName := _args[1].(string) return fmt.Sprintf(` { "triggerEnable": false, "asyncInvocationType": false, "eventRuleFilterPattern": "{}", "eventSourceConfig": { "eventSourceType": "RabbitMQ", "eventSourceParameters": { "sourceRabbitMQParameters": { "RegionId": "%v", "InstanceId": "%v", "VirtualHostName": "%v", "QueueName": "%v" } } } }
`, defaultRegions.Regions[0].Id, defaultAmqp/instanceInstance.Id, virtualHostName, queueName), nil
}).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Module Support
You can use to the existing fc module to create several triggers quickly.
## 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 ¶
func (*Trigger) ToTriggerOutput ¶
func (i *Trigger) ToTriggerOutput() TriggerOutput
func (*Trigger) ToTriggerOutputWithContext ¶
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", "eventbridge"]. // // > **NOTE:** Config does not support modification when type is mns_topic. // **NOTE:** type = cdn_events, available in 1.47.0+. // **NOTE:** type = eventbridge, available in 1.173.0+. Type pulumi.StringInput }
The set of arguments for constructing a Trigger resource.
func (TriggerArgs) ElementType ¶
func (TriggerArgs) ElementType() reflect.Type
type TriggerArray ¶
type TriggerArray []TriggerInput
func (TriggerArray) ElementType ¶
func (TriggerArray) ElementType() reflect.Type
func (TriggerArray) ToTriggerArrayOutput ¶
func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArray) ToTriggerArrayOutputWithContext ¶
func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerArrayInput ¶
type TriggerArrayInput interface { pulumi.Input ToTriggerArrayOutput() TriggerArrayOutput ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput }
TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:
TriggerArray{ TriggerArgs{...} }
type TriggerArrayOutput ¶
type TriggerArrayOutput struct{ *pulumi.OutputState }
func (TriggerArrayOutput) ElementType ¶
func (TriggerArrayOutput) ElementType() reflect.Type
func (TriggerArrayOutput) Index ¶
func (o TriggerArrayOutput) Index(i pulumi.IntInput) TriggerOutput
func (TriggerArrayOutput) ToTriggerArrayOutput ¶
func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArrayOutput) ToTriggerArrayOutputWithContext ¶
func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerInput ¶
type TriggerInput interface { pulumi.Input ToTriggerOutput() TriggerOutput ToTriggerOutputWithContext(ctx context.Context) TriggerOutput }
type TriggerMap ¶
type TriggerMap map[string]TriggerInput
func (TriggerMap) ElementType ¶
func (TriggerMap) ElementType() reflect.Type
func (TriggerMap) ToTriggerMapOutput ¶
func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMap) ToTriggerMapOutputWithContext ¶
func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMapInput ¶
type TriggerMapInput interface { pulumi.Input ToTriggerMapOutput() TriggerMapOutput ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput }
TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:
TriggerMap{ "key": TriggerArgs{...} }
type TriggerMapOutput ¶
type TriggerMapOutput struct{ *pulumi.OutputState }
func (TriggerMapOutput) ElementType ¶
func (TriggerMapOutput) ElementType() reflect.Type
func (TriggerMapOutput) MapIndex ¶
func (o TriggerMapOutput) MapIndex(k pulumi.StringInput) TriggerOutput
func (TriggerMapOutput) ToTriggerMapOutput ¶
func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMapOutput) ToTriggerMapOutputWithContext ¶
func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerOutput ¶
type TriggerOutput struct{ *pulumi.OutputState }
func (TriggerOutput) Config ¶ added in v3.27.0
func (o TriggerOutput) Config() pulumi.StringPtrOutput
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.
func (TriggerOutput) ConfigMns ¶ added in v3.27.0
func (o TriggerOutput) ConfigMns() pulumi.StringPtrOutput
The config of Function Compute trigger when the type is "mnsTopic".It is conflict with `config`.
func (TriggerOutput) ElementType ¶
func (TriggerOutput) ElementType() reflect.Type
func (TriggerOutput) Function ¶ added in v3.27.0
func (o TriggerOutput) Function() pulumi.StringOutput
The Function Compute function name.
func (TriggerOutput) LastModified ¶ added in v3.27.0
func (o TriggerOutput) LastModified() pulumi.StringOutput
The date this resource was last modified.
func (TriggerOutput) Name ¶ added in v3.27.0
func (o TriggerOutput) Name() pulumi.StringOutput
The Function Compute trigger name. It is the only in one service and is conflict with "namePrefix".
func (TriggerOutput) NamePrefix ¶ added in v3.27.0
func (o TriggerOutput) NamePrefix() pulumi.StringPtrOutput
Setting a prefix to get a only trigger name. It is conflict with "name".
func (TriggerOutput) Role ¶ added in v3.27.0
func (o TriggerOutput) Role() pulumi.StringPtrOutput
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 (TriggerOutput) Service ¶ added in v3.27.0
func (o TriggerOutput) Service() pulumi.StringOutput
The Function Compute service name.
func (TriggerOutput) SourceArn ¶ added in v3.27.0
func (o TriggerOutput) SourceArn() pulumi.StringPtrOutput
Event source resource address. See [Create a trigger](https://www.alibabacloud.com/help/doc-detail/53102.htm) for more details.
func (TriggerOutput) ToTriggerOutput ¶
func (o TriggerOutput) ToTriggerOutput() TriggerOutput
func (TriggerOutput) ToTriggerOutputWithContext ¶
func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (TriggerOutput) TriggerId ¶ added in v3.27.0
func (o TriggerOutput) TriggerId() pulumi.StringOutput
The Function Compute trigger ID.
func (TriggerOutput) Type ¶ added in v3.27.0
func (o TriggerOutput) Type() pulumi.StringOutput
The Type of the trigger. Valid values: ["oss", "log", "timer", "http", "mnsTopic", "cdnEvents", "eventbridge"].
> **NOTE:** Config does not support modification when type is mns_topic. **NOTE:** type = cdn_events, available in 1.47.0+. **NOTE:** type = eventbridge, available in 1.173.0+.
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", "eventbridge"]. // // > **NOTE:** Config does not support modification when type is mns_topic. // **NOTE:** type = cdn_events, available in 1.47.0+. // **NOTE:** type = eventbridge, available in 1.173.0+. Type pulumi.StringPtrInput }
func (TriggerState) ElementType ¶
func (TriggerState) ElementType() reflect.Type
type V2Function ¶ added in v3.42.0
type V2Function struct { pulumi.CustomResourceState CaPort pulumi.IntOutput `pulumi:"caPort"` Code V2FunctionCodePtrOutput `pulumi:"code"` CodeChecksum pulumi.StringOutput `pulumi:"codeChecksum"` Cpu pulumi.Float64PtrOutput `pulumi:"cpu"` CreateTime pulumi.StringOutput `pulumi:"createTime"` CustomContainerConfig V2FunctionCustomContainerConfigPtrOutput `pulumi:"customContainerConfig"` CustomDns V2FunctionCustomDnsPtrOutput `pulumi:"customDns"` CustomHealthCheckConfig V2FunctionCustomHealthCheckConfigPtrOutput `pulumi:"customHealthCheckConfig"` CustomRuntimeConfig V2FunctionCustomRuntimeConfigPtrOutput `pulumi:"customRuntimeConfig"` Description pulumi.StringPtrOutput `pulumi:"description"` DiskSize pulumi.IntPtrOutput `pulumi:"diskSize"` EnvironmentVariables pulumi.MapOutput `pulumi:"environmentVariables"` FunctionName pulumi.StringOutput `pulumi:"functionName"` GpuMemorySize pulumi.IntPtrOutput `pulumi:"gpuMemorySize"` Handler pulumi.StringOutput `pulumi:"handler"` InitializationTimeout pulumi.IntOutput `pulumi:"initializationTimeout"` Initializer pulumi.StringPtrOutput `pulumi:"initializer"` InstanceConcurrency pulumi.IntOutput `pulumi:"instanceConcurrency"` InstanceLifecycleConfig V2FunctionInstanceLifecycleConfigPtrOutput `pulumi:"instanceLifecycleConfig"` InstanceType pulumi.StringOutput `pulumi:"instanceType"` Layers pulumi.StringArrayOutput `pulumi:"layers"` MemorySize pulumi.IntOutput `pulumi:"memorySize"` Runtime pulumi.StringOutput `pulumi:"runtime"` ServiceName pulumi.StringOutput `pulumi:"serviceName"` Timeout pulumi.IntOutput `pulumi:"timeout"` }
func GetV2Function ¶ added in v3.42.0
func GetV2Function(ctx *pulumi.Context, name string, id pulumi.IDInput, state *V2FunctionState, opts ...pulumi.ResourceOption) (*V2Function, error)
GetV2Function gets an existing V2Function 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 NewV2Function ¶ added in v3.42.0
func NewV2Function(ctx *pulumi.Context, name string, args *V2FunctionArgs, opts ...pulumi.ResourceOption) (*V2Function, error)
NewV2Function registers a new resource with the given unique name, arguments, and options.
func (*V2Function) ElementType ¶ added in v3.42.0
func (*V2Function) ElementType() reflect.Type
func (*V2Function) ToV2FunctionOutput ¶ added in v3.42.0
func (i *V2Function) ToV2FunctionOutput() V2FunctionOutput
func (*V2Function) ToV2FunctionOutputWithContext ¶ added in v3.42.0
func (i *V2Function) ToV2FunctionOutputWithContext(ctx context.Context) V2FunctionOutput
type V2FunctionArgs ¶ added in v3.42.0
type V2FunctionArgs struct { CaPort pulumi.IntPtrInput Code V2FunctionCodePtrInput CodeChecksum pulumi.StringPtrInput Cpu pulumi.Float64PtrInput CustomContainerConfig V2FunctionCustomContainerConfigPtrInput CustomDns V2FunctionCustomDnsPtrInput CustomHealthCheckConfig V2FunctionCustomHealthCheckConfigPtrInput CustomRuntimeConfig V2FunctionCustomRuntimeConfigPtrInput Description pulumi.StringPtrInput DiskSize pulumi.IntPtrInput EnvironmentVariables pulumi.MapInput FunctionName pulumi.StringInput GpuMemorySize pulumi.IntPtrInput Handler pulumi.StringInput InitializationTimeout pulumi.IntPtrInput Initializer pulumi.StringPtrInput InstanceConcurrency pulumi.IntPtrInput InstanceLifecycleConfig V2FunctionInstanceLifecycleConfigPtrInput InstanceType pulumi.StringPtrInput Layers pulumi.StringArrayInput MemorySize pulumi.IntPtrInput Runtime pulumi.StringInput ServiceName pulumi.StringInput Timeout pulumi.IntPtrInput }
The set of arguments for constructing a V2Function resource.
func (V2FunctionArgs) ElementType ¶ added in v3.42.0
func (V2FunctionArgs) ElementType() reflect.Type
type V2FunctionArray ¶ added in v3.42.0
type V2FunctionArray []V2FunctionInput
func (V2FunctionArray) ElementType ¶ added in v3.42.0
func (V2FunctionArray) ElementType() reflect.Type
func (V2FunctionArray) ToV2FunctionArrayOutput ¶ added in v3.42.0
func (i V2FunctionArray) ToV2FunctionArrayOutput() V2FunctionArrayOutput
func (V2FunctionArray) ToV2FunctionArrayOutputWithContext ¶ added in v3.42.0
func (i V2FunctionArray) ToV2FunctionArrayOutputWithContext(ctx context.Context) V2FunctionArrayOutput
type V2FunctionArrayInput ¶ added in v3.42.0
type V2FunctionArrayInput interface { pulumi.Input ToV2FunctionArrayOutput() V2FunctionArrayOutput ToV2FunctionArrayOutputWithContext(context.Context) V2FunctionArrayOutput }
V2FunctionArrayInput is an input type that accepts V2FunctionArray and V2FunctionArrayOutput values. You can construct a concrete instance of `V2FunctionArrayInput` via:
V2FunctionArray{ V2FunctionArgs{...} }
type V2FunctionArrayOutput ¶ added in v3.42.0
type V2FunctionArrayOutput struct{ *pulumi.OutputState }
func (V2FunctionArrayOutput) ElementType ¶ added in v3.42.0
func (V2FunctionArrayOutput) ElementType() reflect.Type
func (V2FunctionArrayOutput) Index ¶ added in v3.42.0
func (o V2FunctionArrayOutput) Index(i pulumi.IntInput) V2FunctionOutput
func (V2FunctionArrayOutput) ToV2FunctionArrayOutput ¶ added in v3.42.0
func (o V2FunctionArrayOutput) ToV2FunctionArrayOutput() V2FunctionArrayOutput
func (V2FunctionArrayOutput) ToV2FunctionArrayOutputWithContext ¶ added in v3.42.0
func (o V2FunctionArrayOutput) ToV2FunctionArrayOutputWithContext(ctx context.Context) V2FunctionArrayOutput
type V2FunctionCode ¶ added in v3.42.0
type V2FunctionCode struct { // The OSS bucket name of the function code package. OssBucketName *string `pulumi:"ossBucketName"` // The OSS object name of the function code package. OssObjectName *string `pulumi:"ossObjectName"` // Upload the base64 encoding of the code zip package directly in the request body. ZipFile *string `pulumi:"zipFile"` }
type V2FunctionCodeArgs ¶ added in v3.42.0
type V2FunctionCodeArgs struct { // The OSS bucket name of the function code package. OssBucketName pulumi.StringPtrInput `pulumi:"ossBucketName"` // The OSS object name of the function code package. OssObjectName pulumi.StringPtrInput `pulumi:"ossObjectName"` // Upload the base64 encoding of the code zip package directly in the request body. ZipFile pulumi.StringPtrInput `pulumi:"zipFile"` }
func (V2FunctionCodeArgs) ElementType ¶ added in v3.42.0
func (V2FunctionCodeArgs) ElementType() reflect.Type
func (V2FunctionCodeArgs) ToV2FunctionCodeOutput ¶ added in v3.42.0
func (i V2FunctionCodeArgs) ToV2FunctionCodeOutput() V2FunctionCodeOutput
func (V2FunctionCodeArgs) ToV2FunctionCodeOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCodeArgs) ToV2FunctionCodeOutputWithContext(ctx context.Context) V2FunctionCodeOutput
func (V2FunctionCodeArgs) ToV2FunctionCodePtrOutput ¶ added in v3.42.0
func (i V2FunctionCodeArgs) ToV2FunctionCodePtrOutput() V2FunctionCodePtrOutput
func (V2FunctionCodeArgs) ToV2FunctionCodePtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCodeArgs) ToV2FunctionCodePtrOutputWithContext(ctx context.Context) V2FunctionCodePtrOutput
type V2FunctionCodeInput ¶ added in v3.42.0
type V2FunctionCodeInput interface { pulumi.Input ToV2FunctionCodeOutput() V2FunctionCodeOutput ToV2FunctionCodeOutputWithContext(context.Context) V2FunctionCodeOutput }
V2FunctionCodeInput is an input type that accepts V2FunctionCodeArgs and V2FunctionCodeOutput values. You can construct a concrete instance of `V2FunctionCodeInput` via:
V2FunctionCodeArgs{...}
type V2FunctionCodeOutput ¶ added in v3.42.0
type V2FunctionCodeOutput struct{ *pulumi.OutputState }
func (V2FunctionCodeOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCodeOutput) ElementType() reflect.Type
func (V2FunctionCodeOutput) OssBucketName ¶ added in v3.42.0
func (o V2FunctionCodeOutput) OssBucketName() pulumi.StringPtrOutput
The OSS bucket name of the function code package.
func (V2FunctionCodeOutput) OssObjectName ¶ added in v3.42.0
func (o V2FunctionCodeOutput) OssObjectName() pulumi.StringPtrOutput
The OSS object name of the function code package.
func (V2FunctionCodeOutput) ToV2FunctionCodeOutput ¶ added in v3.42.0
func (o V2FunctionCodeOutput) ToV2FunctionCodeOutput() V2FunctionCodeOutput
func (V2FunctionCodeOutput) ToV2FunctionCodeOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCodeOutput) ToV2FunctionCodeOutputWithContext(ctx context.Context) V2FunctionCodeOutput
func (V2FunctionCodeOutput) ToV2FunctionCodePtrOutput ¶ added in v3.42.0
func (o V2FunctionCodeOutput) ToV2FunctionCodePtrOutput() V2FunctionCodePtrOutput
func (V2FunctionCodeOutput) ToV2FunctionCodePtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCodeOutput) ToV2FunctionCodePtrOutputWithContext(ctx context.Context) V2FunctionCodePtrOutput
func (V2FunctionCodeOutput) ZipFile ¶ added in v3.42.0
func (o V2FunctionCodeOutput) ZipFile() pulumi.StringPtrOutput
Upload the base64 encoding of the code zip package directly in the request body.
type V2FunctionCodePtrInput ¶ added in v3.42.0
type V2FunctionCodePtrInput interface { pulumi.Input ToV2FunctionCodePtrOutput() V2FunctionCodePtrOutput ToV2FunctionCodePtrOutputWithContext(context.Context) V2FunctionCodePtrOutput }
V2FunctionCodePtrInput is an input type that accepts V2FunctionCodeArgs, V2FunctionCodePtr and V2FunctionCodePtrOutput values. You can construct a concrete instance of `V2FunctionCodePtrInput` via:
V2FunctionCodeArgs{...} or: nil
func V2FunctionCodePtr ¶ added in v3.42.0
func V2FunctionCodePtr(v *V2FunctionCodeArgs) V2FunctionCodePtrInput
type V2FunctionCodePtrOutput ¶ added in v3.42.0
type V2FunctionCodePtrOutput struct{ *pulumi.OutputState }
func (V2FunctionCodePtrOutput) Elem ¶ added in v3.42.0
func (o V2FunctionCodePtrOutput) Elem() V2FunctionCodeOutput
func (V2FunctionCodePtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCodePtrOutput) ElementType() reflect.Type
func (V2FunctionCodePtrOutput) OssBucketName ¶ added in v3.42.0
func (o V2FunctionCodePtrOutput) OssBucketName() pulumi.StringPtrOutput
The OSS bucket name of the function code package.
func (V2FunctionCodePtrOutput) OssObjectName ¶ added in v3.42.0
func (o V2FunctionCodePtrOutput) OssObjectName() pulumi.StringPtrOutput
The OSS object name of the function code package.
func (V2FunctionCodePtrOutput) ToV2FunctionCodePtrOutput ¶ added in v3.42.0
func (o V2FunctionCodePtrOutput) ToV2FunctionCodePtrOutput() V2FunctionCodePtrOutput
func (V2FunctionCodePtrOutput) ToV2FunctionCodePtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCodePtrOutput) ToV2FunctionCodePtrOutputWithContext(ctx context.Context) V2FunctionCodePtrOutput
func (V2FunctionCodePtrOutput) ZipFile ¶ added in v3.42.0
func (o V2FunctionCodePtrOutput) ZipFile() pulumi.StringPtrOutput
Upload the base64 encoding of the code zip package directly in the request body.
type V2FunctionCustomContainerConfig ¶ added in v3.42.0
type V2FunctionCustomContainerConfig struct { // Image acceleration type. The value Default is to enable acceleration and None is to disable acceleration. AccelerationType *string `pulumi:"accelerationType"` // Container startup parameters. Args *string `pulumi:"args"` // Container start command, equivalent to Docker ENTRYPOINT. Command *string `pulumi:"command"` // Container Image address. Example value: registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1. Image *string `pulumi:"image"` // Whether the image is run in Web Server mode. The value of true needs to implement the Web Server in the container image to listen to the port and process the request. The value of false needs to actively exit the process after the container runs, and the ExitCode needs to be 0. Default true. WebServerMode *bool `pulumi:"webServerMode"` }
type V2FunctionCustomContainerConfigArgs ¶ added in v3.42.0
type V2FunctionCustomContainerConfigArgs struct { // Image acceleration type. The value Default is to enable acceleration and None is to disable acceleration. AccelerationType pulumi.StringPtrInput `pulumi:"accelerationType"` // Container startup parameters. Args pulumi.StringPtrInput `pulumi:"args"` // Container start command, equivalent to Docker ENTRYPOINT. Command pulumi.StringPtrInput `pulumi:"command"` // Container Image address. Example value: registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1. Image pulumi.StringPtrInput `pulumi:"image"` // Whether the image is run in Web Server mode. The value of true needs to implement the Web Server in the container image to listen to the port and process the request. The value of false needs to actively exit the process after the container runs, and the ExitCode needs to be 0. Default true. WebServerMode pulumi.BoolPtrInput `pulumi:"webServerMode"` }
func (V2FunctionCustomContainerConfigArgs) ElementType ¶ added in v3.42.0
func (V2FunctionCustomContainerConfigArgs) ElementType() reflect.Type
func (V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigOutput ¶ added in v3.42.0
func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigOutput() V2FunctionCustomContainerConfigOutput
func (V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigOutput
func (V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigPtrOutput ¶ added in v3.42.0
func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigPtrOutput() V2FunctionCustomContainerConfigPtrOutput
func (V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigPtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomContainerConfigArgs) ToV2FunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigPtrOutput
type V2FunctionCustomContainerConfigInput ¶ added in v3.42.0
type V2FunctionCustomContainerConfigInput interface { pulumi.Input ToV2FunctionCustomContainerConfigOutput() V2FunctionCustomContainerConfigOutput ToV2FunctionCustomContainerConfigOutputWithContext(context.Context) V2FunctionCustomContainerConfigOutput }
V2FunctionCustomContainerConfigInput is an input type that accepts V2FunctionCustomContainerConfigArgs and V2FunctionCustomContainerConfigOutput values. You can construct a concrete instance of `V2FunctionCustomContainerConfigInput` via:
V2FunctionCustomContainerConfigArgs{...}
type V2FunctionCustomContainerConfigOutput ¶ added in v3.42.0
type V2FunctionCustomContainerConfigOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomContainerConfigOutput) AccelerationType ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) AccelerationType() pulumi.StringPtrOutput
Image acceleration type. The value Default is to enable acceleration and None is to disable acceleration.
func (V2FunctionCustomContainerConfigOutput) Args ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) Args() pulumi.StringPtrOutput
Container startup parameters.
func (V2FunctionCustomContainerConfigOutput) Command ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) Command() pulumi.StringPtrOutput
Container start command, equivalent to Docker ENTRYPOINT.
func (V2FunctionCustomContainerConfigOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomContainerConfigOutput) ElementType() reflect.Type
func (V2FunctionCustomContainerConfigOutput) Image ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) Image() pulumi.StringPtrOutput
Container Image address. Example value: registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1.
func (V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigOutput ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigOutput() V2FunctionCustomContainerConfigOutput
func (V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigOutput
func (V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigPtrOutput() V2FunctionCustomContainerConfigPtrOutput
func (V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) ToV2FunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigPtrOutput
func (V2FunctionCustomContainerConfigOutput) WebServerMode ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigOutput) WebServerMode() pulumi.BoolPtrOutput
Whether the image is run in Web Server mode. The value of true needs to implement the Web Server in the container image to listen to the port and process the request. The value of false needs to actively exit the process after the container runs, and the ExitCode needs to be 0. Default true.
type V2FunctionCustomContainerConfigPtrInput ¶ added in v3.42.0
type V2FunctionCustomContainerConfigPtrInput interface { pulumi.Input ToV2FunctionCustomContainerConfigPtrOutput() V2FunctionCustomContainerConfigPtrOutput ToV2FunctionCustomContainerConfigPtrOutputWithContext(context.Context) V2FunctionCustomContainerConfigPtrOutput }
V2FunctionCustomContainerConfigPtrInput is an input type that accepts V2FunctionCustomContainerConfigArgs, V2FunctionCustomContainerConfigPtr and V2FunctionCustomContainerConfigPtrOutput values. You can construct a concrete instance of `V2FunctionCustomContainerConfigPtrInput` via:
V2FunctionCustomContainerConfigArgs{...} or: nil
func V2FunctionCustomContainerConfigPtr ¶ added in v3.42.0
func V2FunctionCustomContainerConfigPtr(v *V2FunctionCustomContainerConfigArgs) V2FunctionCustomContainerConfigPtrInput
type V2FunctionCustomContainerConfigPtrOutput ¶ added in v3.42.0
type V2FunctionCustomContainerConfigPtrOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomContainerConfigPtrOutput) AccelerationType ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigPtrOutput) AccelerationType() pulumi.StringPtrOutput
Image acceleration type. The value Default is to enable acceleration and None is to disable acceleration.
func (V2FunctionCustomContainerConfigPtrOutput) Args ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigPtrOutput) Args() pulumi.StringPtrOutput
Container startup parameters.
func (V2FunctionCustomContainerConfigPtrOutput) Command ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigPtrOutput) Command() pulumi.StringPtrOutput
Container start command, equivalent to Docker ENTRYPOINT.
func (V2FunctionCustomContainerConfigPtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomContainerConfigPtrOutput) ElementType() reflect.Type
func (V2FunctionCustomContainerConfigPtrOutput) Image ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigPtrOutput) Image() pulumi.StringPtrOutput
Container Image address. Example value: registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1.
func (V2FunctionCustomContainerConfigPtrOutput) ToV2FunctionCustomContainerConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigPtrOutput) ToV2FunctionCustomContainerConfigPtrOutput() V2FunctionCustomContainerConfigPtrOutput
func (V2FunctionCustomContainerConfigPtrOutput) ToV2FunctionCustomContainerConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigPtrOutput) ToV2FunctionCustomContainerConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomContainerConfigPtrOutput
func (V2FunctionCustomContainerConfigPtrOutput) WebServerMode ¶ added in v3.42.0
func (o V2FunctionCustomContainerConfigPtrOutput) WebServerMode() pulumi.BoolPtrOutput
Whether the image is run in Web Server mode. The value of true needs to implement the Web Server in the container image to listen to the port and process the request. The value of false needs to actively exit the process after the container runs, and the ExitCode needs to be 0. Default true.
type V2FunctionCustomDns ¶ added in v3.42.0
type V2FunctionCustomDns struct { // DNS resolver configuration parameter list. See `dnsOptions` below. DnsOptions []V2FunctionCustomDnsDnsOption `pulumi:"dnsOptions"` // List of IP addresses of DNS servers. NameServers []string `pulumi:"nameServers"` // List of DNS search domains. Searches []string `pulumi:"searches"` }
type V2FunctionCustomDnsArgs ¶ added in v3.42.0
type V2FunctionCustomDnsArgs struct { // DNS resolver configuration parameter list. See `dnsOptions` below. DnsOptions V2FunctionCustomDnsDnsOptionArrayInput `pulumi:"dnsOptions"` // List of IP addresses of DNS servers. NameServers pulumi.StringArrayInput `pulumi:"nameServers"` // List of DNS search domains. Searches pulumi.StringArrayInput `pulumi:"searches"` }
func (V2FunctionCustomDnsArgs) ElementType ¶ added in v3.42.0
func (V2FunctionCustomDnsArgs) ElementType() reflect.Type
func (V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsOutput ¶ added in v3.42.0
func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsOutput() V2FunctionCustomDnsOutput
func (V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsOutputWithContext(ctx context.Context) V2FunctionCustomDnsOutput
func (V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsPtrOutput ¶ added in v3.42.0
func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsPtrOutput() V2FunctionCustomDnsPtrOutput
func (V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsPtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomDnsArgs) ToV2FunctionCustomDnsPtrOutputWithContext(ctx context.Context) V2FunctionCustomDnsPtrOutput
type V2FunctionCustomDnsDnsOption ¶ added in v3.42.0
type V2FunctionCustomDnsDnsOptionArgs ¶ added in v3.42.0
type V2FunctionCustomDnsDnsOptionArgs struct { // DNS option name. Name pulumi.StringPtrInput `pulumi:"name"` // DNS option value. Value pulumi.StringPtrInput `pulumi:"value"` }
func (V2FunctionCustomDnsDnsOptionArgs) ElementType ¶ added in v3.42.0
func (V2FunctionCustomDnsDnsOptionArgs) ElementType() reflect.Type
func (V2FunctionCustomDnsDnsOptionArgs) ToV2FunctionCustomDnsDnsOptionOutput ¶ added in v3.42.0
func (i V2FunctionCustomDnsDnsOptionArgs) ToV2FunctionCustomDnsDnsOptionOutput() V2FunctionCustomDnsDnsOptionOutput
func (V2FunctionCustomDnsDnsOptionArgs) ToV2FunctionCustomDnsDnsOptionOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomDnsDnsOptionArgs) ToV2FunctionCustomDnsDnsOptionOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionOutput
type V2FunctionCustomDnsDnsOptionArray ¶ added in v3.42.0
type V2FunctionCustomDnsDnsOptionArray []V2FunctionCustomDnsDnsOptionInput
func (V2FunctionCustomDnsDnsOptionArray) ElementType ¶ added in v3.42.0
func (V2FunctionCustomDnsDnsOptionArray) ElementType() reflect.Type
func (V2FunctionCustomDnsDnsOptionArray) ToV2FunctionCustomDnsDnsOptionArrayOutput ¶ added in v3.42.0
func (i V2FunctionCustomDnsDnsOptionArray) ToV2FunctionCustomDnsDnsOptionArrayOutput() V2FunctionCustomDnsDnsOptionArrayOutput
func (V2FunctionCustomDnsDnsOptionArray) ToV2FunctionCustomDnsDnsOptionArrayOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomDnsDnsOptionArray) ToV2FunctionCustomDnsDnsOptionArrayOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionArrayOutput
type V2FunctionCustomDnsDnsOptionArrayInput ¶ added in v3.42.0
type V2FunctionCustomDnsDnsOptionArrayInput interface { pulumi.Input ToV2FunctionCustomDnsDnsOptionArrayOutput() V2FunctionCustomDnsDnsOptionArrayOutput ToV2FunctionCustomDnsDnsOptionArrayOutputWithContext(context.Context) V2FunctionCustomDnsDnsOptionArrayOutput }
V2FunctionCustomDnsDnsOptionArrayInput is an input type that accepts V2FunctionCustomDnsDnsOptionArray and V2FunctionCustomDnsDnsOptionArrayOutput values. You can construct a concrete instance of `V2FunctionCustomDnsDnsOptionArrayInput` via:
V2FunctionCustomDnsDnsOptionArray{ V2FunctionCustomDnsDnsOptionArgs{...} }
type V2FunctionCustomDnsDnsOptionArrayOutput ¶ added in v3.42.0
type V2FunctionCustomDnsDnsOptionArrayOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomDnsDnsOptionArrayOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomDnsDnsOptionArrayOutput) ElementType() reflect.Type
func (V2FunctionCustomDnsDnsOptionArrayOutput) ToV2FunctionCustomDnsDnsOptionArrayOutput ¶ added in v3.42.0
func (o V2FunctionCustomDnsDnsOptionArrayOutput) ToV2FunctionCustomDnsDnsOptionArrayOutput() V2FunctionCustomDnsDnsOptionArrayOutput
func (V2FunctionCustomDnsDnsOptionArrayOutput) ToV2FunctionCustomDnsDnsOptionArrayOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomDnsDnsOptionArrayOutput) ToV2FunctionCustomDnsDnsOptionArrayOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionArrayOutput
type V2FunctionCustomDnsDnsOptionInput ¶ added in v3.42.0
type V2FunctionCustomDnsDnsOptionInput interface { pulumi.Input ToV2FunctionCustomDnsDnsOptionOutput() V2FunctionCustomDnsDnsOptionOutput ToV2FunctionCustomDnsDnsOptionOutputWithContext(context.Context) V2FunctionCustomDnsDnsOptionOutput }
V2FunctionCustomDnsDnsOptionInput is an input type that accepts V2FunctionCustomDnsDnsOptionArgs and V2FunctionCustomDnsDnsOptionOutput values. You can construct a concrete instance of `V2FunctionCustomDnsDnsOptionInput` via:
V2FunctionCustomDnsDnsOptionArgs{...}
type V2FunctionCustomDnsDnsOptionOutput ¶ added in v3.42.0
type V2FunctionCustomDnsDnsOptionOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomDnsDnsOptionOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomDnsDnsOptionOutput) ElementType() reflect.Type
func (V2FunctionCustomDnsDnsOptionOutput) Name ¶ added in v3.42.0
func (o V2FunctionCustomDnsDnsOptionOutput) Name() pulumi.StringPtrOutput
DNS option name.
func (V2FunctionCustomDnsDnsOptionOutput) ToV2FunctionCustomDnsDnsOptionOutput ¶ added in v3.42.0
func (o V2FunctionCustomDnsDnsOptionOutput) ToV2FunctionCustomDnsDnsOptionOutput() V2FunctionCustomDnsDnsOptionOutput
func (V2FunctionCustomDnsDnsOptionOutput) ToV2FunctionCustomDnsDnsOptionOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomDnsDnsOptionOutput) ToV2FunctionCustomDnsDnsOptionOutputWithContext(ctx context.Context) V2FunctionCustomDnsDnsOptionOutput
func (V2FunctionCustomDnsDnsOptionOutput) Value ¶ added in v3.42.0
func (o V2FunctionCustomDnsDnsOptionOutput) Value() pulumi.StringPtrOutput
DNS option value.
type V2FunctionCustomDnsInput ¶ added in v3.42.0
type V2FunctionCustomDnsInput interface { pulumi.Input ToV2FunctionCustomDnsOutput() V2FunctionCustomDnsOutput ToV2FunctionCustomDnsOutputWithContext(context.Context) V2FunctionCustomDnsOutput }
V2FunctionCustomDnsInput is an input type that accepts V2FunctionCustomDnsArgs and V2FunctionCustomDnsOutput values. You can construct a concrete instance of `V2FunctionCustomDnsInput` via:
V2FunctionCustomDnsArgs{...}
type V2FunctionCustomDnsOutput ¶ added in v3.42.0
type V2FunctionCustomDnsOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomDnsOutput) DnsOptions ¶ added in v3.42.0
func (o V2FunctionCustomDnsOutput) DnsOptions() V2FunctionCustomDnsDnsOptionArrayOutput
DNS resolver configuration parameter list. See `dnsOptions` below.
func (V2FunctionCustomDnsOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomDnsOutput) ElementType() reflect.Type
func (V2FunctionCustomDnsOutput) NameServers ¶ added in v3.42.0
func (o V2FunctionCustomDnsOutput) NameServers() pulumi.StringArrayOutput
List of IP addresses of DNS servers.
func (V2FunctionCustomDnsOutput) Searches ¶ added in v3.42.0
func (o V2FunctionCustomDnsOutput) Searches() pulumi.StringArrayOutput
List of DNS search domains.
func (V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsOutput ¶ added in v3.42.0
func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsOutput() V2FunctionCustomDnsOutput
func (V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsOutputWithContext(ctx context.Context) V2FunctionCustomDnsOutput
func (V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsPtrOutput() V2FunctionCustomDnsPtrOutput
func (V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomDnsOutput) ToV2FunctionCustomDnsPtrOutputWithContext(ctx context.Context) V2FunctionCustomDnsPtrOutput
type V2FunctionCustomDnsPtrInput ¶ added in v3.42.0
type V2FunctionCustomDnsPtrInput interface { pulumi.Input ToV2FunctionCustomDnsPtrOutput() V2FunctionCustomDnsPtrOutput ToV2FunctionCustomDnsPtrOutputWithContext(context.Context) V2FunctionCustomDnsPtrOutput }
V2FunctionCustomDnsPtrInput is an input type that accepts V2FunctionCustomDnsArgs, V2FunctionCustomDnsPtr and V2FunctionCustomDnsPtrOutput values. You can construct a concrete instance of `V2FunctionCustomDnsPtrInput` via:
V2FunctionCustomDnsArgs{...} or: nil
func V2FunctionCustomDnsPtr ¶ added in v3.42.0
func V2FunctionCustomDnsPtr(v *V2FunctionCustomDnsArgs) V2FunctionCustomDnsPtrInput
type V2FunctionCustomDnsPtrOutput ¶ added in v3.42.0
type V2FunctionCustomDnsPtrOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomDnsPtrOutput) DnsOptions ¶ added in v3.42.0
func (o V2FunctionCustomDnsPtrOutput) DnsOptions() V2FunctionCustomDnsDnsOptionArrayOutput
DNS resolver configuration parameter list. See `dnsOptions` below.
func (V2FunctionCustomDnsPtrOutput) Elem ¶ added in v3.42.0
func (o V2FunctionCustomDnsPtrOutput) Elem() V2FunctionCustomDnsOutput
func (V2FunctionCustomDnsPtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomDnsPtrOutput) ElementType() reflect.Type
func (V2FunctionCustomDnsPtrOutput) NameServers ¶ added in v3.42.0
func (o V2FunctionCustomDnsPtrOutput) NameServers() pulumi.StringArrayOutput
List of IP addresses of DNS servers.
func (V2FunctionCustomDnsPtrOutput) Searches ¶ added in v3.42.0
func (o V2FunctionCustomDnsPtrOutput) Searches() pulumi.StringArrayOutput
List of DNS search domains.
func (V2FunctionCustomDnsPtrOutput) ToV2FunctionCustomDnsPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomDnsPtrOutput) ToV2FunctionCustomDnsPtrOutput() V2FunctionCustomDnsPtrOutput
func (V2FunctionCustomDnsPtrOutput) ToV2FunctionCustomDnsPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomDnsPtrOutput) ToV2FunctionCustomDnsPtrOutputWithContext(ctx context.Context) V2FunctionCustomDnsPtrOutput
type V2FunctionCustomHealthCheckConfig ¶ added in v3.42.0
type V2FunctionCustomHealthCheckConfig struct { // The threshold for the number of health check failures. The system considers the check failed after the health check fails. FailureThreshold *int `pulumi:"failureThreshold"` // Container custom health check URL address. HttpGetUrl *string `pulumi:"httpGetUrl"` // Delay from container startup to initiation of health check. InitialDelaySeconds *int `pulumi:"initialDelaySeconds"` // Health check cycle. PeriodSeconds *int `pulumi:"periodSeconds"` // The threshold for the number of successful health checks. After the health check is reached, the system considers the check successful. SuccessThreshold *int `pulumi:"successThreshold"` // Health check timeout. TimeoutSeconds *int `pulumi:"timeoutSeconds"` }
type V2FunctionCustomHealthCheckConfigArgs ¶ added in v3.42.0
type V2FunctionCustomHealthCheckConfigArgs struct { // The threshold for the number of health check failures. The system considers the check failed after the health check fails. FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"` // Container custom health check URL address. HttpGetUrl pulumi.StringPtrInput `pulumi:"httpGetUrl"` // Delay from container startup to initiation of health check. InitialDelaySeconds pulumi.IntPtrInput `pulumi:"initialDelaySeconds"` // Health check cycle. PeriodSeconds pulumi.IntPtrInput `pulumi:"periodSeconds"` // The threshold for the number of successful health checks. After the health check is reached, the system considers the check successful. SuccessThreshold pulumi.IntPtrInput `pulumi:"successThreshold"` // Health check timeout. TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` }
func (V2FunctionCustomHealthCheckConfigArgs) ElementType ¶ added in v3.42.0
func (V2FunctionCustomHealthCheckConfigArgs) ElementType() reflect.Type
func (V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigOutput ¶ added in v3.42.0
func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigOutput() V2FunctionCustomHealthCheckConfigOutput
func (V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigOutput
func (V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigPtrOutput ¶ added in v3.42.0
func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigPtrOutput() V2FunctionCustomHealthCheckConfigPtrOutput
func (V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomHealthCheckConfigArgs) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigPtrOutput
type V2FunctionCustomHealthCheckConfigInput ¶ added in v3.42.0
type V2FunctionCustomHealthCheckConfigInput interface { pulumi.Input ToV2FunctionCustomHealthCheckConfigOutput() V2FunctionCustomHealthCheckConfigOutput ToV2FunctionCustomHealthCheckConfigOutputWithContext(context.Context) V2FunctionCustomHealthCheckConfigOutput }
V2FunctionCustomHealthCheckConfigInput is an input type that accepts V2FunctionCustomHealthCheckConfigArgs and V2FunctionCustomHealthCheckConfigOutput values. You can construct a concrete instance of `V2FunctionCustomHealthCheckConfigInput` via:
V2FunctionCustomHealthCheckConfigArgs{...}
type V2FunctionCustomHealthCheckConfigOutput ¶ added in v3.42.0
type V2FunctionCustomHealthCheckConfigOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomHealthCheckConfigOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomHealthCheckConfigOutput) ElementType() reflect.Type
func (V2FunctionCustomHealthCheckConfigOutput) FailureThreshold ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) FailureThreshold() pulumi.IntPtrOutput
The threshold for the number of health check failures. The system considers the check failed after the health check fails.
func (V2FunctionCustomHealthCheckConfigOutput) HttpGetUrl ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) HttpGetUrl() pulumi.StringPtrOutput
Container custom health check URL address.
func (V2FunctionCustomHealthCheckConfigOutput) InitialDelaySeconds ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) InitialDelaySeconds() pulumi.IntPtrOutput
Delay from container startup to initiation of health check.
func (V2FunctionCustomHealthCheckConfigOutput) PeriodSeconds ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) PeriodSeconds() pulumi.IntPtrOutput
Health check cycle.
func (V2FunctionCustomHealthCheckConfigOutput) SuccessThreshold ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) SuccessThreshold() pulumi.IntPtrOutput
The threshold for the number of successful health checks. After the health check is reached, the system considers the check successful.
func (V2FunctionCustomHealthCheckConfigOutput) TimeoutSeconds ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) TimeoutSeconds() pulumi.IntPtrOutput
Health check timeout.
func (V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigOutput ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigOutput() V2FunctionCustomHealthCheckConfigOutput
func (V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigOutput
func (V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigPtrOutput() V2FunctionCustomHealthCheckConfigPtrOutput
func (V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigOutput) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigPtrOutput
type V2FunctionCustomHealthCheckConfigPtrInput ¶ added in v3.42.0
type V2FunctionCustomHealthCheckConfigPtrInput interface { pulumi.Input ToV2FunctionCustomHealthCheckConfigPtrOutput() V2FunctionCustomHealthCheckConfigPtrOutput ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext(context.Context) V2FunctionCustomHealthCheckConfigPtrOutput }
V2FunctionCustomHealthCheckConfigPtrInput is an input type that accepts V2FunctionCustomHealthCheckConfigArgs, V2FunctionCustomHealthCheckConfigPtr and V2FunctionCustomHealthCheckConfigPtrOutput values. You can construct a concrete instance of `V2FunctionCustomHealthCheckConfigPtrInput` via:
V2FunctionCustomHealthCheckConfigArgs{...} or: nil
func V2FunctionCustomHealthCheckConfigPtr ¶ added in v3.42.0
func V2FunctionCustomHealthCheckConfigPtr(v *V2FunctionCustomHealthCheckConfigArgs) V2FunctionCustomHealthCheckConfigPtrInput
type V2FunctionCustomHealthCheckConfigPtrOutput ¶ added in v3.42.0
type V2FunctionCustomHealthCheckConfigPtrOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomHealthCheckConfigPtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomHealthCheckConfigPtrOutput) ElementType() reflect.Type
func (V2FunctionCustomHealthCheckConfigPtrOutput) FailureThreshold ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) FailureThreshold() pulumi.IntPtrOutput
The threshold for the number of health check failures. The system considers the check failed after the health check fails.
func (V2FunctionCustomHealthCheckConfigPtrOutput) HttpGetUrl ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) HttpGetUrl() pulumi.StringPtrOutput
Container custom health check URL address.
func (V2FunctionCustomHealthCheckConfigPtrOutput) InitialDelaySeconds ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) InitialDelaySeconds() pulumi.IntPtrOutput
Delay from container startup to initiation of health check.
func (V2FunctionCustomHealthCheckConfigPtrOutput) PeriodSeconds ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) PeriodSeconds() pulumi.IntPtrOutput
Health check cycle.
func (V2FunctionCustomHealthCheckConfigPtrOutput) SuccessThreshold ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) SuccessThreshold() pulumi.IntPtrOutput
The threshold for the number of successful health checks. After the health check is reached, the system considers the check successful.
func (V2FunctionCustomHealthCheckConfigPtrOutput) TimeoutSeconds ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
Health check timeout.
func (V2FunctionCustomHealthCheckConfigPtrOutput) ToV2FunctionCustomHealthCheckConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) ToV2FunctionCustomHealthCheckConfigPtrOutput() V2FunctionCustomHealthCheckConfigPtrOutput
func (V2FunctionCustomHealthCheckConfigPtrOutput) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomHealthCheckConfigPtrOutput) ToV2FunctionCustomHealthCheckConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomHealthCheckConfigPtrOutput
type V2FunctionCustomRuntimeConfig ¶ added in v3.42.0
type V2FunctionCustomRuntimeConfig struct { // Parameters received by the start entry command. Args []string `pulumi:"args"` // List of Custom entry commands started by Custom Runtime. When there are multiple commands in the list, they are spliced in sequence. Commands []string `pulumi:"commands"` }
type V2FunctionCustomRuntimeConfigArgs ¶ added in v3.42.0
type V2FunctionCustomRuntimeConfigArgs struct { // Parameters received by the start entry command. Args pulumi.StringArrayInput `pulumi:"args"` // List of Custom entry commands started by Custom Runtime. When there are multiple commands in the list, they are spliced in sequence. Commands pulumi.StringArrayInput `pulumi:"commands"` }
func (V2FunctionCustomRuntimeConfigArgs) ElementType ¶ added in v3.42.0
func (V2FunctionCustomRuntimeConfigArgs) ElementType() reflect.Type
func (V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigOutput ¶ added in v3.42.0
func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigOutput() V2FunctionCustomRuntimeConfigOutput
func (V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigOutput
func (V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigPtrOutput ¶ added in v3.42.0
func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigPtrOutput() V2FunctionCustomRuntimeConfigPtrOutput
func (V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionCustomRuntimeConfigArgs) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigPtrOutput
type V2FunctionCustomRuntimeConfigInput ¶ added in v3.42.0
type V2FunctionCustomRuntimeConfigInput interface { pulumi.Input ToV2FunctionCustomRuntimeConfigOutput() V2FunctionCustomRuntimeConfigOutput ToV2FunctionCustomRuntimeConfigOutputWithContext(context.Context) V2FunctionCustomRuntimeConfigOutput }
V2FunctionCustomRuntimeConfigInput is an input type that accepts V2FunctionCustomRuntimeConfigArgs and V2FunctionCustomRuntimeConfigOutput values. You can construct a concrete instance of `V2FunctionCustomRuntimeConfigInput` via:
V2FunctionCustomRuntimeConfigArgs{...}
type V2FunctionCustomRuntimeConfigOutput ¶ added in v3.42.0
type V2FunctionCustomRuntimeConfigOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomRuntimeConfigOutput) Args ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigOutput) Args() pulumi.StringArrayOutput
Parameters received by the start entry command.
func (V2FunctionCustomRuntimeConfigOutput) Commands ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigOutput) Commands() pulumi.StringArrayOutput
List of Custom entry commands started by Custom Runtime. When there are multiple commands in the list, they are spliced in sequence.
func (V2FunctionCustomRuntimeConfigOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomRuntimeConfigOutput) ElementType() reflect.Type
func (V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigOutput ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigOutput() V2FunctionCustomRuntimeConfigOutput
func (V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigOutput
func (V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigPtrOutput() V2FunctionCustomRuntimeConfigPtrOutput
func (V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigOutput) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigPtrOutput
type V2FunctionCustomRuntimeConfigPtrInput ¶ added in v3.42.0
type V2FunctionCustomRuntimeConfigPtrInput interface { pulumi.Input ToV2FunctionCustomRuntimeConfigPtrOutput() V2FunctionCustomRuntimeConfigPtrOutput ToV2FunctionCustomRuntimeConfigPtrOutputWithContext(context.Context) V2FunctionCustomRuntimeConfigPtrOutput }
V2FunctionCustomRuntimeConfigPtrInput is an input type that accepts V2FunctionCustomRuntimeConfigArgs, V2FunctionCustomRuntimeConfigPtr and V2FunctionCustomRuntimeConfigPtrOutput values. You can construct a concrete instance of `V2FunctionCustomRuntimeConfigPtrInput` via:
V2FunctionCustomRuntimeConfigArgs{...} or: nil
func V2FunctionCustomRuntimeConfigPtr ¶ added in v3.42.0
func V2FunctionCustomRuntimeConfigPtr(v *V2FunctionCustomRuntimeConfigArgs) V2FunctionCustomRuntimeConfigPtrInput
type V2FunctionCustomRuntimeConfigPtrOutput ¶ added in v3.42.0
type V2FunctionCustomRuntimeConfigPtrOutput struct{ *pulumi.OutputState }
func (V2FunctionCustomRuntimeConfigPtrOutput) Args ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigPtrOutput) Args() pulumi.StringArrayOutput
Parameters received by the start entry command.
func (V2FunctionCustomRuntimeConfigPtrOutput) Commands ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigPtrOutput) Commands() pulumi.StringArrayOutput
List of Custom entry commands started by Custom Runtime. When there are multiple commands in the list, they are spliced in sequence.
func (V2FunctionCustomRuntimeConfigPtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionCustomRuntimeConfigPtrOutput) ElementType() reflect.Type
func (V2FunctionCustomRuntimeConfigPtrOutput) ToV2FunctionCustomRuntimeConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigPtrOutput) ToV2FunctionCustomRuntimeConfigPtrOutput() V2FunctionCustomRuntimeConfigPtrOutput
func (V2FunctionCustomRuntimeConfigPtrOutput) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionCustomRuntimeConfigPtrOutput) ToV2FunctionCustomRuntimeConfigPtrOutputWithContext(ctx context.Context) V2FunctionCustomRuntimeConfigPtrOutput
type V2FunctionInput ¶ added in v3.42.0
type V2FunctionInput interface { pulumi.Input ToV2FunctionOutput() V2FunctionOutput ToV2FunctionOutputWithContext(ctx context.Context) V2FunctionOutput }
type V2FunctionInstanceLifecycleConfig ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfig struct { // PreFreeze function configuration. See `preFreeze` below. PreFreeze *V2FunctionInstanceLifecycleConfigPreFreeze `pulumi:"preFreeze"` // PreStop function configuration. See `preStop` below. PreStop *V2FunctionInstanceLifecycleConfigPreStop `pulumi:"preStop"` }
type V2FunctionInstanceLifecycleConfigArgs ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigArgs struct { // PreFreeze function configuration. See `preFreeze` below. PreFreeze V2FunctionInstanceLifecycleConfigPreFreezePtrInput `pulumi:"preFreeze"` // PreStop function configuration. See `preStop` below. PreStop V2FunctionInstanceLifecycleConfigPreStopPtrInput `pulumi:"preStop"` }
func (V2FunctionInstanceLifecycleConfigArgs) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigArgs) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigOutput ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigOutput() V2FunctionInstanceLifecycleConfigOutput
func (V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigOutputWithContext ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigOutput
func (V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigPtrOutput ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigPtrOutput() V2FunctionInstanceLifecycleConfigPtrOutput
func (V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigArgs) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPtrOutput
type V2FunctionInstanceLifecycleConfigInput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigInput interface { pulumi.Input ToV2FunctionInstanceLifecycleConfigOutput() V2FunctionInstanceLifecycleConfigOutput ToV2FunctionInstanceLifecycleConfigOutputWithContext(context.Context) V2FunctionInstanceLifecycleConfigOutput }
V2FunctionInstanceLifecycleConfigInput is an input type that accepts V2FunctionInstanceLifecycleConfigArgs and V2FunctionInstanceLifecycleConfigOutput values. You can construct a concrete instance of `V2FunctionInstanceLifecycleConfigInput` via:
V2FunctionInstanceLifecycleConfigArgs{...}
type V2FunctionInstanceLifecycleConfigOutput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigOutput struct{ *pulumi.OutputState }
func (V2FunctionInstanceLifecycleConfigOutput) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigOutput) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigOutput) PreFreeze ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigOutput) PreFreeze() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
PreFreeze function configuration. See `preFreeze` below.
func (V2FunctionInstanceLifecycleConfigOutput) PreStop ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigOutput) PreStop() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
PreStop function configuration. See `preStop` below.
func (V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigOutput() V2FunctionInstanceLifecycleConfigOutput
func (V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigOutput
func (V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigPtrOutput() V2FunctionInstanceLifecycleConfigPtrOutput
func (V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigOutput) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPtrOutput
type V2FunctionInstanceLifecycleConfigPreFreeze ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreFreezeArgs ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreFreezeArgs struct { // entry point of function. Handler pulumi.StringPtrInput `pulumi:"handler"` // max running time of function. Timeout pulumi.IntPtrInput `pulumi:"timeout"` }
func (V2FunctionInstanceLifecycleConfigPreFreezeArgs) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigPreFreezeArgs) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezeOutput ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezeOutput() V2FunctionInstanceLifecycleConfigPreFreezeOutput
func (V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezeOutputWithContext ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezeOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezeOutput
func (V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
func (V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreFreezeArgs) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
type V2FunctionInstanceLifecycleConfigPreFreezeInput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreFreezeInput interface { pulumi.Input ToV2FunctionInstanceLifecycleConfigPreFreezeOutput() V2FunctionInstanceLifecycleConfigPreFreezeOutput ToV2FunctionInstanceLifecycleConfigPreFreezeOutputWithContext(context.Context) V2FunctionInstanceLifecycleConfigPreFreezeOutput }
V2FunctionInstanceLifecycleConfigPreFreezeInput is an input type that accepts V2FunctionInstanceLifecycleConfigPreFreezeArgs and V2FunctionInstanceLifecycleConfigPreFreezeOutput values. You can construct a concrete instance of `V2FunctionInstanceLifecycleConfigPreFreezeInput` via:
V2FunctionInstanceLifecycleConfigPreFreezeArgs{...}
type V2FunctionInstanceLifecycleConfigPreFreezeOutput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreFreezeOutput struct{ *pulumi.OutputState }
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) Handler ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) Handler() pulumi.StringPtrOutput
entry point of function.
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) Timeout ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) Timeout() pulumi.IntPtrOutput
max running time of function.
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezeOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezeOutput() V2FunctionInstanceLifecycleConfigPreFreezeOutput
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezeOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezeOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezeOutput
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
func (V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezeOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
type V2FunctionInstanceLifecycleConfigPreFreezePtrInput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreFreezePtrInput interface { pulumi.Input ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext(context.Context) V2FunctionInstanceLifecycleConfigPreFreezePtrOutput }
V2FunctionInstanceLifecycleConfigPreFreezePtrInput is an input type that accepts V2FunctionInstanceLifecycleConfigPreFreezeArgs, V2FunctionInstanceLifecycleConfigPreFreezePtr and V2FunctionInstanceLifecycleConfigPreFreezePtrOutput values. You can construct a concrete instance of `V2FunctionInstanceLifecycleConfigPreFreezePtrInput` via:
V2FunctionInstanceLifecycleConfigPreFreezeArgs{...} or: nil
func V2FunctionInstanceLifecycleConfigPreFreezePtr ¶ added in v3.42.0
func V2FunctionInstanceLifecycleConfigPreFreezePtr(v *V2FunctionInstanceLifecycleConfigPreFreezeArgs) V2FunctionInstanceLifecycleConfigPreFreezePtrInput
type V2FunctionInstanceLifecycleConfigPreFreezePtrOutput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreFreezePtrOutput struct{ *pulumi.OutputState }
func (V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) Handler ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) Handler() pulumi.StringPtrOutput
entry point of function.
func (V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) Timeout ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) Timeout() pulumi.IntPtrOutput
max running time of function.
func (V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutput() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
func (V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreFreezePtrOutput) ToV2FunctionInstanceLifecycleConfigPreFreezePtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
type V2FunctionInstanceLifecycleConfigPreStop ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreStopArgs ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreStopArgs struct { // entry point of function. Handler pulumi.StringPtrInput `pulumi:"handler"` // max running time of function. Timeout pulumi.IntPtrInput `pulumi:"timeout"` }
func (V2FunctionInstanceLifecycleConfigPreStopArgs) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigPreStopArgs) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopOutput ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopOutput() V2FunctionInstanceLifecycleConfigPreStopOutput
func (V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopOutputWithContext ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopOutput
func (V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
func (V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext ¶ added in v3.42.0
func (i V2FunctionInstanceLifecycleConfigPreStopArgs) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopPtrOutput
type V2FunctionInstanceLifecycleConfigPreStopInput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreStopInput interface { pulumi.Input ToV2FunctionInstanceLifecycleConfigPreStopOutput() V2FunctionInstanceLifecycleConfigPreStopOutput ToV2FunctionInstanceLifecycleConfigPreStopOutputWithContext(context.Context) V2FunctionInstanceLifecycleConfigPreStopOutput }
V2FunctionInstanceLifecycleConfigPreStopInput is an input type that accepts V2FunctionInstanceLifecycleConfigPreStopArgs and V2FunctionInstanceLifecycleConfigPreStopOutput values. You can construct a concrete instance of `V2FunctionInstanceLifecycleConfigPreStopInput` via:
V2FunctionInstanceLifecycleConfigPreStopArgs{...}
type V2FunctionInstanceLifecycleConfigPreStopOutput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreStopOutput struct{ *pulumi.OutputState }
func (V2FunctionInstanceLifecycleConfigPreStopOutput) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigPreStopOutput) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigPreStopOutput) Handler ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopOutput) Handler() pulumi.StringPtrOutput
entry point of function.
func (V2FunctionInstanceLifecycleConfigPreStopOutput) Timeout ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopOutput) Timeout() pulumi.IntPtrOutput
max running time of function.
func (V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopOutput() V2FunctionInstanceLifecycleConfigPreStopOutput
func (V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopOutput
func (V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
func (V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopPtrOutput
type V2FunctionInstanceLifecycleConfigPreStopPtrInput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreStopPtrInput interface { pulumi.Input ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput() V2FunctionInstanceLifecycleConfigPreStopPtrOutput ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext(context.Context) V2FunctionInstanceLifecycleConfigPreStopPtrOutput }
V2FunctionInstanceLifecycleConfigPreStopPtrInput is an input type that accepts V2FunctionInstanceLifecycleConfigPreStopArgs, V2FunctionInstanceLifecycleConfigPreStopPtr and V2FunctionInstanceLifecycleConfigPreStopPtrOutput values. You can construct a concrete instance of `V2FunctionInstanceLifecycleConfigPreStopPtrInput` via:
V2FunctionInstanceLifecycleConfigPreStopArgs{...} or: nil
func V2FunctionInstanceLifecycleConfigPreStopPtr ¶ added in v3.42.0
func V2FunctionInstanceLifecycleConfigPreStopPtr(v *V2FunctionInstanceLifecycleConfigPreStopArgs) V2FunctionInstanceLifecycleConfigPreStopPtrInput
type V2FunctionInstanceLifecycleConfigPreStopPtrOutput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPreStopPtrOutput struct{ *pulumi.OutputState }
func (V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigPreStopPtrOutput) Handler ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) Handler() pulumi.StringPtrOutput
entry point of function.
func (V2FunctionInstanceLifecycleConfigPreStopPtrOutput) Timeout ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) Timeout() pulumi.IntPtrOutput
max running time of function.
func (V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutput() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
func (V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPreStopPtrOutput) ToV2FunctionInstanceLifecycleConfigPreStopPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPreStopPtrOutput
type V2FunctionInstanceLifecycleConfigPtrInput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPtrInput interface { pulumi.Input ToV2FunctionInstanceLifecycleConfigPtrOutput() V2FunctionInstanceLifecycleConfigPtrOutput ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext(context.Context) V2FunctionInstanceLifecycleConfigPtrOutput }
V2FunctionInstanceLifecycleConfigPtrInput is an input type that accepts V2FunctionInstanceLifecycleConfigArgs, V2FunctionInstanceLifecycleConfigPtr and V2FunctionInstanceLifecycleConfigPtrOutput values. You can construct a concrete instance of `V2FunctionInstanceLifecycleConfigPtrInput` via:
V2FunctionInstanceLifecycleConfigArgs{...} or: nil
func V2FunctionInstanceLifecycleConfigPtr ¶ added in v3.42.0
func V2FunctionInstanceLifecycleConfigPtr(v *V2FunctionInstanceLifecycleConfigArgs) V2FunctionInstanceLifecycleConfigPtrInput
type V2FunctionInstanceLifecycleConfigPtrOutput ¶ added in v3.42.0
type V2FunctionInstanceLifecycleConfigPtrOutput struct{ *pulumi.OutputState }
func (V2FunctionInstanceLifecycleConfigPtrOutput) ElementType ¶ added in v3.42.0
func (V2FunctionInstanceLifecycleConfigPtrOutput) ElementType() reflect.Type
func (V2FunctionInstanceLifecycleConfigPtrOutput) PreFreeze ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPtrOutput) PreFreeze() V2FunctionInstanceLifecycleConfigPreFreezePtrOutput
PreFreeze function configuration. See `preFreeze` below.
func (V2FunctionInstanceLifecycleConfigPtrOutput) PreStop ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPtrOutput) PreStop() V2FunctionInstanceLifecycleConfigPreStopPtrOutput
PreStop function configuration. See `preStop` below.
func (V2FunctionInstanceLifecycleConfigPtrOutput) ToV2FunctionInstanceLifecycleConfigPtrOutput ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPtrOutput) ToV2FunctionInstanceLifecycleConfigPtrOutput() V2FunctionInstanceLifecycleConfigPtrOutput
func (V2FunctionInstanceLifecycleConfigPtrOutput) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext ¶ added in v3.42.0
func (o V2FunctionInstanceLifecycleConfigPtrOutput) ToV2FunctionInstanceLifecycleConfigPtrOutputWithContext(ctx context.Context) V2FunctionInstanceLifecycleConfigPtrOutput
type V2FunctionMap ¶ added in v3.42.0
type V2FunctionMap map[string]V2FunctionInput
func (V2FunctionMap) ElementType ¶ added in v3.42.0
func (V2FunctionMap) ElementType() reflect.Type
func (V2FunctionMap) ToV2FunctionMapOutput ¶ added in v3.42.0
func (i V2FunctionMap) ToV2FunctionMapOutput() V2FunctionMapOutput
func (V2FunctionMap) ToV2FunctionMapOutputWithContext ¶ added in v3.42.0
func (i V2FunctionMap) ToV2FunctionMapOutputWithContext(ctx context.Context) V2FunctionMapOutput
type V2FunctionMapInput ¶ added in v3.42.0
type V2FunctionMapInput interface { pulumi.Input ToV2FunctionMapOutput() V2FunctionMapOutput ToV2FunctionMapOutputWithContext(context.Context) V2FunctionMapOutput }
V2FunctionMapInput is an input type that accepts V2FunctionMap and V2FunctionMapOutput values. You can construct a concrete instance of `V2FunctionMapInput` via:
V2FunctionMap{ "key": V2FunctionArgs{...} }
type V2FunctionMapOutput ¶ added in v3.42.0
type V2FunctionMapOutput struct{ *pulumi.OutputState }
func (V2FunctionMapOutput) ElementType ¶ added in v3.42.0
func (V2FunctionMapOutput) ElementType() reflect.Type
func (V2FunctionMapOutput) MapIndex ¶ added in v3.42.0
func (o V2FunctionMapOutput) MapIndex(k pulumi.StringInput) V2FunctionOutput
func (V2FunctionMapOutput) ToV2FunctionMapOutput ¶ added in v3.42.0
func (o V2FunctionMapOutput) ToV2FunctionMapOutput() V2FunctionMapOutput
func (V2FunctionMapOutput) ToV2FunctionMapOutputWithContext ¶ added in v3.42.0
func (o V2FunctionMapOutput) ToV2FunctionMapOutputWithContext(ctx context.Context) V2FunctionMapOutput
type V2FunctionOutput ¶ added in v3.42.0
type V2FunctionOutput struct{ *pulumi.OutputState }
func (V2FunctionOutput) CaPort ¶ added in v3.42.0
func (o V2FunctionOutput) CaPort() pulumi.IntOutput
func (V2FunctionOutput) Code ¶ added in v3.42.0
func (o V2FunctionOutput) Code() V2FunctionCodePtrOutput
func (V2FunctionOutput) CodeChecksum ¶ added in v3.42.0
func (o V2FunctionOutput) CodeChecksum() pulumi.StringOutput
func (V2FunctionOutput) Cpu ¶ added in v3.42.0
func (o V2FunctionOutput) Cpu() pulumi.Float64PtrOutput
func (V2FunctionOutput) CreateTime ¶ added in v3.42.0
func (o V2FunctionOutput) CreateTime() pulumi.StringOutput
func (V2FunctionOutput) CustomContainerConfig ¶ added in v3.42.0
func (o V2FunctionOutput) CustomContainerConfig() V2FunctionCustomContainerConfigPtrOutput
func (V2FunctionOutput) CustomDns ¶ added in v3.42.0
func (o V2FunctionOutput) CustomDns() V2FunctionCustomDnsPtrOutput
func (V2FunctionOutput) CustomHealthCheckConfig ¶ added in v3.42.0
func (o V2FunctionOutput) CustomHealthCheckConfig() V2FunctionCustomHealthCheckConfigPtrOutput
func (V2FunctionOutput) CustomRuntimeConfig ¶ added in v3.42.0
func (o V2FunctionOutput) CustomRuntimeConfig() V2FunctionCustomRuntimeConfigPtrOutput
func (V2FunctionOutput) Description ¶ added in v3.42.0
func (o V2FunctionOutput) Description() pulumi.StringPtrOutput
func (V2FunctionOutput) DiskSize ¶ added in v3.42.0
func (o V2FunctionOutput) DiskSize() pulumi.IntPtrOutput
func (V2FunctionOutput) ElementType ¶ added in v3.42.0
func (V2FunctionOutput) ElementType() reflect.Type
func (V2FunctionOutput) EnvironmentVariables ¶ added in v3.42.0
func (o V2FunctionOutput) EnvironmentVariables() pulumi.MapOutput
func (V2FunctionOutput) FunctionName ¶ added in v3.42.0
func (o V2FunctionOutput) FunctionName() pulumi.StringOutput
func (V2FunctionOutput) GpuMemorySize ¶ added in v3.42.0
func (o V2FunctionOutput) GpuMemorySize() pulumi.IntPtrOutput
func (V2FunctionOutput) Handler ¶ added in v3.42.0
func (o V2FunctionOutput) Handler() pulumi.StringOutput
func (V2FunctionOutput) InitializationTimeout ¶ added in v3.42.0
func (o V2FunctionOutput) InitializationTimeout() pulumi.IntOutput
func (V2FunctionOutput) Initializer ¶ added in v3.42.0
func (o V2FunctionOutput) Initializer() pulumi.StringPtrOutput
func (V2FunctionOutput) InstanceConcurrency ¶ added in v3.42.0
func (o V2FunctionOutput) InstanceConcurrency() pulumi.IntOutput
func (V2FunctionOutput) InstanceLifecycleConfig ¶ added in v3.42.0
func (o V2FunctionOutput) InstanceLifecycleConfig() V2FunctionInstanceLifecycleConfigPtrOutput
func (V2FunctionOutput) InstanceType ¶ added in v3.42.0
func (o V2FunctionOutput) InstanceType() pulumi.StringOutput
func (V2FunctionOutput) Layers ¶ added in v3.42.0
func (o V2FunctionOutput) Layers() pulumi.StringArrayOutput
func (V2FunctionOutput) MemorySize ¶ added in v3.42.0
func (o V2FunctionOutput) MemorySize() pulumi.IntOutput
func (V2FunctionOutput) Runtime ¶ added in v3.42.0
func (o V2FunctionOutput) Runtime() pulumi.StringOutput
func (V2FunctionOutput) ServiceName ¶ added in v3.42.0
func (o V2FunctionOutput) ServiceName() pulumi.StringOutput
func (V2FunctionOutput) Timeout ¶ added in v3.42.0
func (o V2FunctionOutput) Timeout() pulumi.IntOutput
func (V2FunctionOutput) ToV2FunctionOutput ¶ added in v3.42.0
func (o V2FunctionOutput) ToV2FunctionOutput() V2FunctionOutput
func (V2FunctionOutput) ToV2FunctionOutputWithContext ¶ added in v3.42.0
func (o V2FunctionOutput) ToV2FunctionOutputWithContext(ctx context.Context) V2FunctionOutput
type V2FunctionState ¶ added in v3.42.0
type V2FunctionState struct { CaPort pulumi.IntPtrInput Code V2FunctionCodePtrInput CodeChecksum pulumi.StringPtrInput Cpu pulumi.Float64PtrInput CreateTime pulumi.StringPtrInput CustomContainerConfig V2FunctionCustomContainerConfigPtrInput CustomDns V2FunctionCustomDnsPtrInput CustomHealthCheckConfig V2FunctionCustomHealthCheckConfigPtrInput CustomRuntimeConfig V2FunctionCustomRuntimeConfigPtrInput Description pulumi.StringPtrInput DiskSize pulumi.IntPtrInput EnvironmentVariables pulumi.MapInput FunctionName pulumi.StringPtrInput GpuMemorySize pulumi.IntPtrInput Handler pulumi.StringPtrInput InitializationTimeout pulumi.IntPtrInput Initializer pulumi.StringPtrInput InstanceConcurrency pulumi.IntPtrInput InstanceLifecycleConfig V2FunctionInstanceLifecycleConfigPtrInput InstanceType pulumi.StringPtrInput Layers pulumi.StringArrayInput MemorySize pulumi.IntPtrInput Runtime pulumi.StringPtrInput ServiceName pulumi.StringPtrInput Timeout pulumi.IntPtrInput }
func (V2FunctionState) ElementType ¶ added in v3.42.0
func (V2FunctionState) ElementType() reflect.Type