ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getIsShareProfiles
Explore with Pulumi AI
Provides a read-only data source for ShareProfileCollection. 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.getIsShareProfiles({});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_share_profiles()
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.GetIsShareProfiles(ctx, &ibm.GetIsShareProfilesArgs{}, 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.GetIsShareProfiles.Invoke();
});
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.GetIsShareProfilesArgs;
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.getIsShareProfiles();
}
}
variables:
example:
fn::invoke:
function: ibm:getIsShareProfiles
arguments: {}
Using getIsShareProfiles
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 getIsShareProfiles(args: GetIsShareProfilesArgs, opts?: InvokeOptions): Promise<GetIsShareProfilesResult>
function getIsShareProfilesOutput(args: GetIsShareProfilesOutputArgs, opts?: InvokeOptions): Output<GetIsShareProfilesResult>
def get_is_share_profiles(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsShareProfilesResult
def get_is_share_profiles_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsShareProfilesResult]
func GetIsShareProfiles(ctx *Context, args *GetIsShareProfilesArgs, opts ...InvokeOption) (*GetIsShareProfilesResult, error)
func GetIsShareProfilesOutput(ctx *Context, args *GetIsShareProfilesOutputArgs, opts ...InvokeOption) GetIsShareProfilesResultOutput
> Note: This function is named GetIsShareProfiles
in the Go SDK.
public static class GetIsShareProfiles
{
public static Task<GetIsShareProfilesResult> InvokeAsync(GetIsShareProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetIsShareProfilesResult> Invoke(GetIsShareProfilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsShareProfilesResult> getIsShareProfiles(GetIsShareProfilesArgs args, InvokeOptions options)
public static Output<GetIsShareProfilesResult> getIsShareProfiles(GetIsShareProfilesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsShareProfiles:getIsShareProfiles
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getIsShareProfiles Result
The following output properties are available:
- Id string
- Profiles
List<Get
Is Share Profiles Profile> - (List) Collection of share profiles. Nested
profiles
blocks have the following structure: - Total
Count double - The total number of resources across all pages.
- Id string
- Profiles
[]Get
Is Share Profiles Profile - (List) Collection of share profiles. Nested
profiles
blocks have the following structure: - Total
Count float64 - The total number of resources across all pages.
- id String
- profiles
List<Get
Is Share Profiles Profile> - (List) Collection of share profiles. Nested
profiles
blocks have the following structure: - total
Count Double - The total number of resources across all pages.
- id string
- profiles
Get
Is Share Profiles Profile[] - (List) Collection of share profiles. Nested
profiles
blocks have the following structure: - total
Count number - The total number of resources across all pages.
- id str
- profiles
Sequence[Get
Is Share Profiles Profile] - (List) Collection of share profiles. Nested
profiles
blocks have the following structure: - total_
count float - The total number of resources across all pages.
- id String
- profiles List<Property Map>
- (List) Collection of share profiles. Nested
profiles
blocks have the following structure: - total
Count Number - The total number of resources across all pages.
Supporting Types
GetIsShareProfilesProfile
- Capacities
List<Get
Is Share Profiles Profile Capacity> - (List) The permitted capacity range (in gigabytes) for a share with this profile. Nested
capacity
blocks have the following structure: - Family string
- (String) The product family this share profile belongs to.
- Href string
- (String) The URL for this share profile.
- Iops
List<Get
Is Share Profiles Profile Iop> - (List) The permitted IOPS range for a share with this profile. Nested
iops
blocks have the following structure: - Name string
- (String) The globally unique name for this share profile.
- Resource
Type string - (String) The resource type.
- Capacities
[]Get
Is Share Profiles Profile Capacity - (List) The permitted capacity range (in gigabytes) for a share with this profile. Nested
capacity
blocks have the following structure: - Family string
- (String) The product family this share profile belongs to.
- Href string
- (String) The URL for this share profile.
- Iops
[]Get
Is Share Profiles Profile Iop - (List) The permitted IOPS range for a share with this profile. Nested
iops
blocks have the following structure: - Name string
- (String) The globally unique name for this share profile.
- Resource
Type string - (String) The resource type.
- capacities
List<Get
Is Share Profiles Profile Capacity> - (List) The permitted capacity range (in gigabytes) for a share with this profile. Nested
capacity
blocks have the following structure: - family String
- (String) The product family this share profile belongs to.
- href String
- (String) The URL for this share profile.
- iops
List<Get
Is Share Profiles Profile Iop> - (List) The permitted IOPS range for a share with this profile. Nested
iops
blocks have the following structure: - name String
- (String) The globally unique name for this share profile.
- resource
Type String - (String) The resource type.
- capacities
Get
Is Share Profiles Profile Capacity[] - (List) The permitted capacity range (in gigabytes) for a share with this profile. Nested
capacity
blocks have the following structure: - family string
- (String) The product family this share profile belongs to.
- href string
- (String) The URL for this share profile.
- iops
Get
Is Share Profiles Profile Iop[] - (List) The permitted IOPS range for a share with this profile. Nested
iops
blocks have the following structure: - name string
- (String) The globally unique name for this share profile.
- resource
Type string - (String) The resource type.
- capacities
Sequence[Get
Is Share Profiles Profile Capacity] - (List) The permitted capacity range (in gigabytes) for a share with this profile. Nested
capacity
blocks have the following structure: - family str
- (String) The product family this share profile belongs to.
- href str
- (String) The URL for this share profile.
- iops
Sequence[Get
Is Share Profiles Profile Iop] - (List) The permitted IOPS range for a share with this profile. Nested
iops
blocks have the following structure: - name str
- (String) The globally unique name for this share profile.
- 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
capacity
blocks have the following structure: - family String
- (String) The product family this share profile belongs to.
- href String
- (String) The URL for this share profile.
- iops List<Property Map>
- (List) The permitted IOPS range for a share with this profile. Nested
iops
blocks have the following structure: - name String
- (String) The globally unique name for this share profile.
- resource
Type String - (String) The resource type.
GetIsShareProfilesProfileCapacity
- 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
GetIsShareProfilesProfileIop
- 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
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.