1. Packages
  2. Ibm Provider
  3. API Docs
  4. getIsShareProfiles
ibm 1.77.1 published on Monday, Apr 14, 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({});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_share_profiles()
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var example = Ibm.GetIsShareProfiles.Invoke();

});
Copy
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();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsShareProfiles
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetIsShareProfiles(ctx *Context, args *GetIsShareProfilesArgs, opts ...InvokeOption) (*GetIsShareProfilesResult, error)
func GetIsShareProfilesOutput(ctx *Context, args *GetIsShareProfilesOutputArgs, opts ...InvokeOption) GetIsShareProfilesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIsShareProfilesResult> getIsShareProfiles(GetIsShareProfilesArgs args, InvokeOptions options)
public static Output<GetIsShareProfilesResult> getIsShareProfiles(GetIsShareProfilesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getIsShareProfiles:getIsShareProfiles
  arguments:
    # arguments dictionary
Copy

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<GetIsShareProfilesProfile>
(List) Collection of share profiles. Nested profiles blocks have the following structure:
TotalCount double
The total number of resources across all pages.
Id string
Profiles []GetIsShareProfilesProfile
(List) Collection of share profiles. Nested profiles blocks have the following structure:
TotalCount float64
The total number of resources across all pages.
id String
profiles List<GetIsShareProfilesProfile>
(List) Collection of share profiles. Nested profiles blocks have the following structure:
totalCount Double
The total number of resources across all pages.
id string
profiles GetIsShareProfilesProfile[]
(List) Collection of share profiles. Nested profiles blocks have the following structure:
totalCount number
The total number of resources across all pages.
id str
profiles Sequence[GetIsShareProfilesProfile]
(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:
totalCount Number
The total number of resources across all pages.

Supporting Types

GetIsShareProfilesProfile

Capacities This property is required. List<GetIsShareProfilesProfileCapacity>
(List) The permitted capacity range (in gigabytes) for a share with this profile. Nested capacity blocks have the following structure:
Family This property is required. string
(String) The product family this share profile belongs to.
Href This property is required. string
(String) The URL for this share profile.
Iops This property is required. List<GetIsShareProfilesProfileIop>
(List) The permitted IOPS range for a share with this profile. Nested iops blocks have the following structure:
Name This property is required. string
(String) The globally unique name for this share profile.
ResourceType This property is required. string
(String) The resource type.
Capacities This property is required. []GetIsShareProfilesProfileCapacity
(List) The permitted capacity range (in gigabytes) for a share with this profile. Nested capacity blocks have the following structure:
Family This property is required. string
(String) The product family this share profile belongs to.
Href This property is required. string
(String) The URL for this share profile.
Iops This property is required. []GetIsShareProfilesProfileIop
(List) The permitted IOPS range for a share with this profile. Nested iops blocks have the following structure:
Name This property is required. string
(String) The globally unique name for this share profile.
ResourceType This property is required. string
(String) The resource type.
capacities This property is required. List<GetIsShareProfilesProfileCapacity>
(List) The permitted capacity range (in gigabytes) for a share with this profile. Nested capacity blocks have the following structure:
family This property is required. String
(String) The product family this share profile belongs to.
href This property is required. String
(String) The URL for this share profile.
iops This property is required. List<GetIsShareProfilesProfileIop>
(List) The permitted IOPS range for a share with this profile. Nested iops blocks have the following structure:
name This property is required. String
(String) The globally unique name for this share profile.
resourceType This property is required. String
(String) The resource type.
capacities This property is required. GetIsShareProfilesProfileCapacity[]
(List) The permitted capacity range (in gigabytes) for a share with this profile. Nested capacity blocks have the following structure:
family This property is required. string
(String) The product family this share profile belongs to.
href This property is required. string
(String) The URL for this share profile.
iops This property is required. GetIsShareProfilesProfileIop[]
(List) The permitted IOPS range for a share with this profile. Nested iops blocks have the following structure:
name This property is required. string
(String) The globally unique name for this share profile.
resourceType This property is required. string
(String) The resource type.
capacities This property is required. Sequence[GetIsShareProfilesProfileCapacity]
(List) The permitted capacity range (in gigabytes) for a share with this profile. Nested capacity blocks have the following structure:
family This property is required. str
(String) The product family this share profile belongs to.
href This property is required. str
(String) The URL for this share profile.
iops This property is required. Sequence[GetIsShareProfilesProfileIop]
(List) The permitted IOPS range for a share with this profile. Nested iops blocks have the following structure:
name This property is required. str
(String) The globally unique name for this share profile.
resource_type This property is required. str
(String) The resource type.
capacities This property is required. List<Property Map>
(List) The permitted capacity range (in gigabytes) for a share with this profile. Nested capacity blocks have the following structure:
family This property is required. String
(String) The product family this share profile belongs to.
href This property is required. String
(String) The URL for this share profile.
iops This property is required. List<Property Map>
(List) The permitted IOPS range for a share with this profile. Nested iops blocks have the following structure:
name This property is required. String
(String) The globally unique name for this share profile.
resourceType This property is required. String
(String) The resource type.

GetIsShareProfilesProfileCapacity

Default This property is required. double
(Integer) The default iops for this share profile
Max This property is required. double
(Integer) The max iops for this share profile
Min This property is required. double
(Integer) The min iops for this share profile
Step This property is required. double
(Integer) The increment step value for this profile field
Type This property is required. string
(String) The type for this profile field
Value This property is required. double
(Integer) The value for this profile field
Values This property is required. List<double>
(List of Integers) The permitted values for this profile field
Default This property is required. float64
(Integer) The default iops for this share profile
Max This property is required. float64
(Integer) The max iops for this share profile
Min This property is required. float64
(Integer) The min iops for this share profile
Step This property is required. float64
(Integer) The increment step value for this profile field
Type This property is required. string
(String) The type for this profile field
Value This property is required. float64
(Integer) The value for this profile field
Values This property is required. []float64
(List of Integers) The permitted values for this profile field
default_ This property is required. Double
(Integer) The default iops for this share profile
max This property is required. Double
(Integer) The max iops for this share profile
min This property is required. Double
(Integer) The min iops for this share profile
step This property is required. Double
(Integer) The increment step value for this profile field
type This property is required. String
(String) The type for this profile field
value This property is required. Double
(Integer) The value for this profile field
values This property is required. List<Double>
(List of Integers) The permitted values for this profile field
default This property is required. number
(Integer) The default iops for this share profile
max This property is required. number
(Integer) The max iops for this share profile
min This property is required. number
(Integer) The min iops for this share profile
step This property is required. number
(Integer) The increment step value for this profile field
type This property is required. string
(String) The type for this profile field
value This property is required. number
(Integer) The value for this profile field
values This property is required. number[]
(List of Integers) The permitted values for this profile field
default This property is required. float
(Integer) The default iops for this share profile
max This property is required. float
(Integer) The max iops for this share profile
min This property is required. float
(Integer) The min iops for this share profile
step This property is required. float
(Integer) The increment step value for this profile field
type This property is required. str
(String) The type for this profile field
value This property is required. float
(Integer) The value for this profile field
values This property is required. Sequence[float]
(List of Integers) The permitted values for this profile field
default This property is required. Number
(Integer) The default iops for this share profile
max This property is required. Number
(Integer) The max iops for this share profile
min This property is required. Number
(Integer) The min iops for this share profile
step This property is required. Number
(Integer) The increment step value for this profile field
type This property is required. String
(String) The type for this profile field
value This property is required. Number
(Integer) The value for this profile field
values This property is required. List<Number>
(List of Integers) The permitted values for this profile field

GetIsShareProfilesProfileIop

Default This property is required. double
(Integer) The default iops for this share profile
Max This property is required. double
(Integer) The max iops for this share profile
Min This property is required. double
(Integer) The min iops for this share profile
Step This property is required. double
(Integer) The increment step value for this profile field
Type This property is required. string
(String) The type for this profile field
Value This property is required. double
(Integer) The value for this profile field
Values This property is required. List<double>
(List of Integers) The permitted values for this profile field
Default This property is required. float64
(Integer) The default iops for this share profile
Max This property is required. float64
(Integer) The max iops for this share profile
Min This property is required. float64
(Integer) The min iops for this share profile
Step This property is required. float64
(Integer) The increment step value for this profile field
Type This property is required. string
(String) The type for this profile field
Value This property is required. float64
(Integer) The value for this profile field
Values This property is required. []float64
(List of Integers) The permitted values for this profile field
default_ This property is required. Double
(Integer) The default iops for this share profile
max This property is required. Double
(Integer) The max iops for this share profile
min This property is required. Double
(Integer) The min iops for this share profile
step This property is required. Double
(Integer) The increment step value for this profile field
type This property is required. String
(String) The type for this profile field
value This property is required. Double
(Integer) The value for this profile field
values This property is required. List<Double>
(List of Integers) The permitted values for this profile field
default This property is required. number
(Integer) The default iops for this share profile
max This property is required. number
(Integer) The max iops for this share profile
min This property is required. number
(Integer) The min iops for this share profile
step This property is required. number
(Integer) The increment step value for this profile field
type This property is required. string
(String) The type for this profile field
value This property is required. number
(Integer) The value for this profile field
values This property is required. number[]
(List of Integers) The permitted values for this profile field
default This property is required. float
(Integer) The default iops for this share profile
max This property is required. float
(Integer) The max iops for this share profile
min This property is required. float
(Integer) The min iops for this share profile
step This property is required. float
(Integer) The increment step value for this profile field
type This property is required. str
(String) The type for this profile field
value This property is required. float
(Integer) The value for this profile field
values This property is required. Sequence[float]
(List of Integers) The permitted values for this profile field
default This property is required. Number
(Integer) The default iops for this share profile
max This property is required. Number
(Integer) The max iops for this share profile
min This property is required. Number
(Integer) The min iops for this share profile
step This property is required. Number
(Integer) The increment step value for this profile field
type This property is required. String
(String) The type for this profile field
value This property is required. Number
(Integer) The value for this profile field
values This property is required. 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.