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

ibm.getServicePlan

Explore with Pulumi AI

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

    Using getServicePlan

    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 getServicePlan(args: GetServicePlanArgs, opts?: InvokeOptions): Promise<GetServicePlanResult>
    function getServicePlanOutput(args: GetServicePlanOutputArgs, opts?: InvokeOptions): Output<GetServicePlanResult>
    def get_service_plan(id: Optional[str] = None,
                         plan: Optional[str] = None,
                         service: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetServicePlanResult
    def get_service_plan_output(id: Optional[pulumi.Input[str]] = None,
                         plan: Optional[pulumi.Input[str]] = None,
                         service: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetServicePlanResult]
    func GetServicePlan(ctx *Context, args *GetServicePlanArgs, opts ...InvokeOption) (*GetServicePlanResult, error)
    func GetServicePlanOutput(ctx *Context, args *GetServicePlanOutputArgs, opts ...InvokeOption) GetServicePlanResultOutput

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

    public static class GetServicePlan 
    {
        public static Task<GetServicePlanResult> InvokeAsync(GetServicePlanArgs args, InvokeOptions? opts = null)
        public static Output<GetServicePlanResult> Invoke(GetServicePlanInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServicePlanResult> getServicePlan(GetServicePlanArgs args, InvokeOptions options)
    public static Output<GetServicePlanResult> getServicePlan(GetServicePlanArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getServicePlan:getServicePlan
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Plan string
    Service string
    Id string
    Plan string
    Service string
    Id string
    plan String
    service String
    id String
    plan string
    service string
    id string
    plan str
    service str
    id str
    plan String
    service String
    id String

    getServicePlan Result

    The following output properties are available:

    Id string
    Plan string
    Service string
    Id string
    Plan string
    Service string
    id String
    plan String
    service String
    id string
    plan string
    service string
    id str
    plan str
    service str
    id String
    plan String
    service String

    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