1. Packages
  2. Ibm Provider
  3. API Docs
  4. getFunctionPackage
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getFunctionPackage

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Retrieve the information about an existing IBM Cloud Functions package.

    Using getFunctionPackage

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFunctionPackage(args: GetFunctionPackageArgs, opts?: InvokeOptions): Promise<GetFunctionPackageResult>
    function getFunctionPackageOutput(args: GetFunctionPackageOutputArgs, opts?: InvokeOptions): Output<GetFunctionPackageResult>
    def get_function_package(id: Optional[str] = None,
                             name: Optional[str] = None,
                             namespace: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetFunctionPackageResult
    def get_function_package_output(id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             namespace: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetFunctionPackageResult]
    func LookupFunctionPackage(ctx *Context, args *LookupFunctionPackageArgs, opts ...InvokeOption) (*LookupFunctionPackageResult, error)
    func LookupFunctionPackageOutput(ctx *Context, args *LookupFunctionPackageOutputArgs, opts ...InvokeOption) LookupFunctionPackageResultOutput

    > Note: This function is named LookupFunctionPackage in the Go SDK.

    public static class GetFunctionPackage 
    {
        public static Task<GetFunctionPackageResult> InvokeAsync(GetFunctionPackageArgs args, InvokeOptions? opts = null)
        public static Output<GetFunctionPackageResult> Invoke(GetFunctionPackageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFunctionPackageResult> getFunctionPackage(GetFunctionPackageArgs args, InvokeOptions options)
    public static Output<GetFunctionPackageResult> getFunctionPackage(GetFunctionPackageArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getFunctionPackage:getFunctionPackage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the package.
    Namespace string
    The name of the function namespace.
    Id string
    (String) The ID of the package.
    Name string
    The name of the package.
    Namespace string
    The name of the function namespace.
    Id string
    (String) The ID of the package.
    name String
    The name of the package.
    namespace String
    The name of the function namespace.
    id String
    (String) The ID of the package.
    name string
    The name of the package.
    namespace string
    The name of the function namespace.
    id string
    (String) The ID of the package.
    name str
    The name of the package.
    namespace str
    The name of the function namespace.
    id str
    (String) The ID of the package.
    name String
    The name of the package.
    namespace String
    The name of the function namespace.
    id String
    (String) The ID of the package.

    getFunctionPackage Result

    The following output properties are available:

    Annotations string
    (List) All annotations to describe the package, including those set by you or by IBM Cloud Functions.
    BindPackageName string
    Id string
    (String) The ID of the package.
    Name string
    Namespace string
    (String) The name of the function namespace.
    PackageId string
    (String) The package ID.
    Parameters string
    (List) All parameters passed to the package, including those set by you or by IBM Cloud Functions.
    Publish bool
    (Bool) Package visibility.
    Version string
    (String) Semantic version of the package.
    Annotations string
    (List) All annotations to describe the package, including those set by you or by IBM Cloud Functions.
    BindPackageName string
    Id string
    (String) The ID of the package.
    Name string
    Namespace string
    (String) The name of the function namespace.
    PackageId string
    (String) The package ID.
    Parameters string
    (List) All parameters passed to the package, including those set by you or by IBM Cloud Functions.
    Publish bool
    (Bool) Package visibility.
    Version string
    (String) Semantic version of the package.
    annotations String
    (List) All annotations to describe the package, including those set by you or by IBM Cloud Functions.
    bindPackageName String
    id String
    (String) The ID of the package.
    name String
    namespace String
    (String) The name of the function namespace.
    packageId String
    (String) The package ID.
    parameters String
    (List) All parameters passed to the package, including those set by you or by IBM Cloud Functions.
    publish Boolean
    (Bool) Package visibility.
    version String
    (String) Semantic version of the package.
    annotations string
    (List) All annotations to describe the package, including those set by you or by IBM Cloud Functions.
    bindPackageName string
    id string
    (String) The ID of the package.
    name string
    namespace string
    (String) The name of the function namespace.
    packageId string
    (String) The package ID.
    parameters string
    (List) All parameters passed to the package, including those set by you or by IBM Cloud Functions.
    publish boolean
    (Bool) Package visibility.
    version string
    (String) Semantic version of the package.
    annotations str
    (List) All annotations to describe the package, including those set by you or by IBM Cloud Functions.
    bind_package_name str
    id str
    (String) The ID of the package.
    name str
    namespace str
    (String) The name of the function namespace.
    package_id str
    (String) The package ID.
    parameters str
    (List) All parameters passed to the package, including those set by you or by IBM Cloud Functions.
    publish bool
    (Bool) Package visibility.
    version str
    (String) Semantic version of the package.
    annotations String
    (List) All annotations to describe the package, including those set by you or by IBM Cloud Functions.
    bindPackageName String
    id String
    (String) The ID of the package.
    name String
    namespace String
    (String) The name of the function namespace.
    packageId String
    (String) The package ID.
    parameters String
    (List) All parameters passed to the package, including those set by you or by IBM Cloud Functions.
    publish Boolean
    (Bool) Package visibility.
    version String
    (String) Semantic version of the package.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud