ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getIsShareProfile
Explore with Pulumi AI
Provides a read-only data source for ShareProfile. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsShareProfile({
    name: "dp2",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_share_profile(name="dp2")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.GetIsShareProfile(ctx, &ibm.GetIsShareProfileArgs{
			Name: "dp2",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() => 
{
    var example = Ibm.GetIsShareProfile.Invoke(new()
    {
        Name = "dp2",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsShareProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = IbmFunctions.getIsShareProfile(GetIsShareProfileArgs.builder()
            .name("dp2")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: ibm:getIsShareProfile
      arguments:
        name: dp2
Using getIsShareProfile
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 getIsShareProfile(args: GetIsShareProfileArgs, opts?: InvokeOptions): Promise<GetIsShareProfileResult>
function getIsShareProfileOutput(args: GetIsShareProfileOutputArgs, opts?: InvokeOptions): Output<GetIsShareProfileResult>def get_is_share_profile(id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetIsShareProfileResult
def get_is_share_profile_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetIsShareProfileResult]func GetIsShareProfile(ctx *Context, args *GetIsShareProfileArgs, opts ...InvokeOption) (*GetIsShareProfileResult, error)
func GetIsShareProfileOutput(ctx *Context, args *GetIsShareProfileOutputArgs, opts ...InvokeOption) GetIsShareProfileResultOutput> Note: This function is named GetIsShareProfile in the Go SDK.
public static class GetIsShareProfile 
{
    public static Task<GetIsShareProfileResult> InvokeAsync(GetIsShareProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetIsShareProfileResult> Invoke(GetIsShareProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIsShareProfileResult> getIsShareProfile(GetIsShareProfileArgs args, InvokeOptions options)
public static Output<GetIsShareProfileResult> getIsShareProfile(GetIsShareProfileArgs args, InvokeOptions options)
fn::invoke:
  function: ibm:index/getIsShareProfile:getIsShareProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
getIsShareProfile Result
The following output properties are available:
- Capacities
List<Get
Is Share Profile Capacity>  - (List) - The permitted capacity range (in gigabytes) for a share with this profile. Nested 
capacityblocks have the following structure: - Family string
 - (String) The product family this share profile belongs to.
 - Href string
 - (String) The URL for this share profile.
 - Id string
 - Iops
List<Get
Is Share Profile Iop>  - (List) - The permitted IOPS range for a share with this profile. Nested 
iopsblocks have the following structure: - Name string
 - Resource
Type string - (String) The resource type.
 
- Capacities
[]Get
Is Share Profile Capacity  - (List) - The permitted capacity range (in gigabytes) for a share with this profile. Nested 
capacityblocks have the following structure: - Family string
 - (String) The product family this share profile belongs to.
 - Href string
 - (String) The URL for this share profile.
 - Id string
 - Iops
[]Get
Is Share Profile Iop  - (List) - The permitted IOPS range for a share with this profile. Nested 
iopsblocks have the following structure: - Name string
 - Resource
Type string - (String) The resource type.
 
- capacities
List<Get
Is Share Profile Capacity>  - (List) - The permitted capacity range (in gigabytes) for a share with this profile. Nested 
capacityblocks have the following structure: - family String
 - (String) The product family this share profile belongs to.
 - href String
 - (String) The URL for this share profile.
 - id String
 - iops
List<Get
Is Share Profile Iop>  - (List) - The permitted IOPS range for a share with this profile. Nested 
iopsblocks have the following structure: - name String
 - resource
Type String - (String) The resource type.
 
- capacities
Get
Is Share Profile Capacity[]  - (List) - The permitted capacity range (in gigabytes) for a share with this profile. Nested 
capacityblocks have the following structure: - family string
 - (String) The product family this share profile belongs to.
 - href string
 - (String) The URL for this share profile.
 - id string
 - iops
Get
Is Share Profile Iop[]  - (List) - The permitted IOPS range for a share with this profile. Nested 
iopsblocks have the following structure: - name string
 - resource
Type string - (String) The resource type.
 
- capacities
Sequence[Get
Is Share Profile Capacity]  - (List) - The permitted capacity range (in gigabytes) for a share with this profile. Nested 
capacityblocks have the following structure: - family str
 - (String) The product family this share profile belongs to.
 - href str
 - (String) The URL for this share profile.
 - id str
 - iops
Sequence[Get
Is Share Profile Iop]  - (List) - The permitted IOPS range for a share with this profile. Nested 
iopsblocks have the following structure: - name str
 - resource_
type str - (String) The resource type.
 
- capacities List<Property Map>
 - (List) - The permitted capacity range (in gigabytes) for a share with this profile. Nested 
capacityblocks have the following structure: - family String
 - (String) The product family this share profile belongs to.
 - href String
 - (String) The URL for this share profile.
 - id String
 - iops List<Property Map>
 - (List) - The permitted IOPS range for a share with this profile. Nested 
iopsblocks have the following structure: - name String
 - resource
Type String - (String) The resource type.
 
Supporting Types
GetIsShareProfileCapacity    
- Default double
 - (Integer) The default iops for this share profile
 - Max double
 - (Integer) The max iops for this share profile
 - Min double
 - (Integer) The min iops for this share profile
 - Step double
 - (Integer) The increment step value for this profile field
 - Type string
 - (String) The type for this profile field
 - Value double
 - (Integer) The value for this profile field
 - Values List<double>
 - (List of Integers) The permitted values for this profile field
 
- Default float64
 - (Integer) The default iops for this share profile
 - Max float64
 - (Integer) The max iops for this share profile
 - Min float64
 - (Integer) The min iops for this share profile
 - Step float64
 - (Integer) The increment step value for this profile field
 - Type string
 - (String) The type for this profile field
 - Value float64
 - (Integer) The value for this profile field
 - Values []float64
 - (List of Integers) The permitted values for this profile field
 
- default_ Double
 - (Integer) The default iops for this share profile
 - max Double
 - (Integer) The max iops for this share profile
 - min Double
 - (Integer) The min iops for this share profile
 - step Double
 - (Integer) The increment step value for this profile field
 - type String
 - (String) The type for this profile field
 - value Double
 - (Integer) The value for this profile field
 - values List<Double>
 - (List of Integers) The permitted values for this profile field
 
- default number
 - (Integer) The default iops for this share profile
 - max number
 - (Integer) The max iops for this share profile
 - min number
 - (Integer) The min iops for this share profile
 - step number
 - (Integer) The increment step value for this profile field
 - type string
 - (String) The type for this profile field
 - value number
 - (Integer) The value for this profile field
 - values number[]
 - (List of Integers) The permitted values for this profile field
 
- default float
 - (Integer) The default iops for this share profile
 - max float
 - (Integer) The max iops for this share profile
 - min float
 - (Integer) The min iops for this share profile
 - step float
 - (Integer) The increment step value for this profile field
 - type str
 - (String) The type for this profile field
 - value float
 - (Integer) The value for this profile field
 - values Sequence[float]
 - (List of Integers) The permitted values for this profile field
 
- default Number
 - (Integer) The default iops for this share profile
 - max Number
 - (Integer) The max iops for this share profile
 - min Number
 - (Integer) The min iops for this share profile
 - step Number
 - (Integer) The increment step value for this profile field
 - type String
 - (String) The type for this profile field
 - value Number
 - (Integer) The value for this profile field
 - values List<Number>
 - (List of Integers) The permitted values for this profile field
 
GetIsShareProfileIop    
- Default double
 - (Integer) The default iops for this share profile
 - Max double
 - (Integer) The max iops for this share profile
 - Min double
 - (Integer) The min iops for this share profile
 - Step double
 - (Integer) The increment step value for this profile field
 - Type string
 - (String) The type for this profile field
 - Value double
 - (Integer) The value for this profile field
 - Values double
 - (List of Integers) The permitted values for this profile field
 
- Default float64
 - (Integer) The default iops for this share profile
 - Max float64
 - (Integer) The max iops for this share profile
 - Min float64
 - (Integer) The min iops for this share profile
 - Step float64
 - (Integer) The increment step value for this profile field
 - Type string
 - (String) The type for this profile field
 - Value float64
 - (Integer) The value for this profile field
 - Values float64
 - (List of Integers) The permitted values for this profile field
 
- default_ Double
 - (Integer) The default iops for this share profile
 - max Double
 - (Integer) The max iops for this share profile
 - min Double
 - (Integer) The min iops for this share profile
 - step Double
 - (Integer) The increment step value for this profile field
 - type String
 - (String) The type for this profile field
 - value Double
 - (Integer) The value for this profile field
 - values Double
 - (List of Integers) The permitted values for this profile field
 
- default number
 - (Integer) The default iops for this share profile
 - max number
 - (Integer) The max iops for this share profile
 - min number
 - (Integer) The min iops for this share profile
 - step number
 - (Integer) The increment step value for this profile field
 - type string
 - (String) The type for this profile field
 - value number
 - (Integer) The value for this profile field
 - values number
 - (List of Integers) The permitted values for this profile field
 
- default float
 - (Integer) The default iops for this share profile
 - max float
 - (Integer) The max iops for this share profile
 - min float
 - (Integer) The min iops for this share profile
 - step float
 - (Integer) The increment step value for this profile field
 - type str
 - (String) The type for this profile field
 - value float
 - (Integer) The value for this profile field
 - values float
 - (List of Integers) The permitted values for this profile field
 
- default Number
 - (Integer) The default iops for this share profile
 - max Number
 - (Integer) The max iops for this share profile
 - min Number
 - (Integer) The min iops for this share profile
 - step Number
 - (Integer) The increment step value for this profile field
 - type String
 - (String) The type for this profile field
 - value Number
 - (Integer) The value for this profile field
 - values Number
 - (List of Integers) The permitted values for this profile field
 
Package Details
- Repository
 - ibm ibm-cloud/terraform-provider-ibm
 - License
 - Notes
 - This Pulumi package is based on the 
ibmTerraform Provider.