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

ibm.getIsClusterNetworkProfiles

Explore with Pulumi AI

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

    Provides a read-only data source to retrieve information about a ClusterNetworkProfileCollection. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const isClusterNetworkProfiles = ibm.getIsClusterNetworkProfiles({});
    
    import pulumi
    import pulumi_ibm as ibm
    
    is_cluster_network_profiles = ibm.get_is_cluster_network_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.GetIsClusterNetworkProfiles(ctx, &ibm.GetIsClusterNetworkProfilesArgs{}, 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 isClusterNetworkProfiles = Ibm.GetIsClusterNetworkProfiles.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.GetIsClusterNetworkProfilesArgs;
    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 isClusterNetworkProfiles = IbmFunctions.getIsClusterNetworkProfiles();
    
        }
    }
    
    variables:
      isClusterNetworkProfiles:
        fn::invoke:
          function: ibm:getIsClusterNetworkProfiles
          arguments: {}
    

    Using getIsClusterNetworkProfiles

    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 getIsClusterNetworkProfiles(args: GetIsClusterNetworkProfilesArgs, opts?: InvokeOptions): Promise<GetIsClusterNetworkProfilesResult>
    function getIsClusterNetworkProfilesOutput(args: GetIsClusterNetworkProfilesOutputArgs, opts?: InvokeOptions): Output<GetIsClusterNetworkProfilesResult>
    def get_is_cluster_network_profiles(id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetIsClusterNetworkProfilesResult
    def get_is_cluster_network_profiles_output(id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetIsClusterNetworkProfilesResult]
    func GetIsClusterNetworkProfiles(ctx *Context, args *GetIsClusterNetworkProfilesArgs, opts ...InvokeOption) (*GetIsClusterNetworkProfilesResult, error)
    func GetIsClusterNetworkProfilesOutput(ctx *Context, args *GetIsClusterNetworkProfilesOutputArgs, opts ...InvokeOption) GetIsClusterNetworkProfilesResultOutput

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

    public static class GetIsClusterNetworkProfiles 
    {
        public static Task<GetIsClusterNetworkProfilesResult> InvokeAsync(GetIsClusterNetworkProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetIsClusterNetworkProfilesResult> Invoke(GetIsClusterNetworkProfilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsClusterNetworkProfilesResult> getIsClusterNetworkProfiles(GetIsClusterNetworkProfilesArgs args, InvokeOptions options)
    public static Output<GetIsClusterNetworkProfilesResult> getIsClusterNetworkProfiles(GetIsClusterNetworkProfilesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsClusterNetworkProfiles:getIsClusterNetworkProfiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier of the ClusterNetworkProfileCollection.
    Id string
    The unique identifier of the ClusterNetworkProfileCollection.
    id String
    The unique identifier of the ClusterNetworkProfileCollection.
    id string
    The unique identifier of the ClusterNetworkProfileCollection.
    id str
    The unique identifier of the ClusterNetworkProfileCollection.
    id String
    The unique identifier of the ClusterNetworkProfileCollection.

    getIsClusterNetworkProfiles Result

    The following output properties are available:

    Id string
    The unique identifier of the ClusterNetworkProfileCollection.
    Profiles List<GetIsClusterNetworkProfilesProfile>
    (List) A page of cluster network profiles.
    Id string
    The unique identifier of the ClusterNetworkProfileCollection.
    Profiles []GetIsClusterNetworkProfilesProfile
    (List) A page of cluster network profiles.
    id String
    The unique identifier of the ClusterNetworkProfileCollection.
    profiles List<GetIsClusterNetworkProfilesProfile>
    (List) A page of cluster network profiles.
    id string
    The unique identifier of the ClusterNetworkProfileCollection.
    profiles GetIsClusterNetworkProfilesProfile[]
    (List) A page of cluster network profiles.
    id str
    The unique identifier of the ClusterNetworkProfileCollection.
    profiles Sequence[GetIsClusterNetworkProfilesProfile]
    (List) A page of cluster network profiles.
    id String
    The unique identifier of the ClusterNetworkProfileCollection.
    profiles List<Property Map>
    (List) A page of cluster network profiles.

    Supporting Types

    GetIsClusterNetworkProfilesProfile

    Family string
    (String) The product family this cluster network profile belongs to.The enumerated values for this property mayexpand in the future.
    Href string
    (String) The URL for this zone.
    Name string
    (String) The globally unique name for this zone.
    ResourceType string
    (String) The resource type.
    SupportedInstanceProfiles List<GetIsClusterNetworkProfilesProfileSupportedInstanceProfile>
    (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
    Zones List<GetIsClusterNetworkProfilesProfileZone>
    (List) Zones in this region that support this cluster network profile.
    Family string
    (String) The product family this cluster network profile belongs to.The enumerated values for this property mayexpand in the future.
    Href string
    (String) The URL for this zone.
    Name string
    (String) The globally unique name for this zone.
    ResourceType string
    (String) The resource type.
    SupportedInstanceProfiles []GetIsClusterNetworkProfilesProfileSupportedInstanceProfile
    (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
    Zones []GetIsClusterNetworkProfilesProfileZone
    (List) Zones in this region that support this cluster network profile.
    family String
    (String) The product family this cluster network profile belongs to.The enumerated values for this property mayexpand in the future.
    href String
    (String) The URL for this zone.
    name String
    (String) The globally unique name for this zone.
    resourceType String
    (String) The resource type.
    supportedInstanceProfiles List<GetIsClusterNetworkProfilesProfileSupportedInstanceProfile>
    (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
    zones List<GetIsClusterNetworkProfilesProfileZone>
    (List) Zones in this region that support this cluster network profile.
    family string
    (String) The product family this cluster network profile belongs to.The enumerated values for this property mayexpand in the future.
    href string
    (String) The URL for this zone.
    name string
    (String) The globally unique name for this zone.
    resourceType string
    (String) The resource type.
    supportedInstanceProfiles GetIsClusterNetworkProfilesProfileSupportedInstanceProfile[]
    (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
    zones GetIsClusterNetworkProfilesProfileZone[]
    (List) Zones in this region that support this cluster network profile.
    family str
    (String) The product family this cluster network profile belongs to.The enumerated values for this property mayexpand in the future.
    href str
    (String) The URL for this zone.
    name str
    (String) The globally unique name for this zone.
    resource_type str
    (String) The resource type.
    supported_instance_profiles Sequence[GetIsClusterNetworkProfilesProfileSupportedInstanceProfile]
    (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
    zones Sequence[GetIsClusterNetworkProfilesProfileZone]
    (List) Zones in this region that support this cluster network profile.
    family String
    (String) The product family this cluster network profile belongs to.The enumerated values for this property mayexpand in the future.
    href String
    (String) The URL for this zone.
    name String
    (String) The globally unique name for this zone.
    resourceType String
    (String) The resource type.
    supportedInstanceProfiles List<Property Map>
    (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
    zones List<Property Map>
    (List) Zones in this region that support this cluster network profile.

    GetIsClusterNetworkProfilesProfileSupportedInstanceProfile

    Href string
    (String) The URL for this zone.
    Name string
    (String) The globally unique name for this zone.
    ResourceType string
    (String) The resource type.
    Href string
    (String) The URL for this zone.
    Name string
    (String) The globally unique name for this zone.
    ResourceType string
    (String) The resource type.
    href String
    (String) The URL for this zone.
    name String
    (String) The globally unique name for this zone.
    resourceType String
    (String) The resource type.
    href string
    (String) The URL for this zone.
    name string
    (String) The globally unique name for this zone.
    resourceType string
    (String) The resource type.
    href str
    (String) The URL for this zone.
    name str
    (String) The globally unique name for this zone.
    resource_type str
    (String) The resource type.
    href String
    (String) The URL for this zone.
    name String
    (String) The globally unique name for this zone.
    resourceType String
    (String) The resource type.

    GetIsClusterNetworkProfilesProfileZone

    Href string
    (String) The URL for this zone.
    Name string
    (String) The globally unique name for this zone.
    Href string
    (String) The URL for this zone.
    Name string
    (String) The globally unique name for this zone.
    href String
    (String) The URL for this zone.
    name String
    (String) The globally unique name for this zone.
    href string
    (String) The URL for this zone.
    name string
    (String) The globally unique name for this zone.
    href str
    (String) The URL for this zone.
    name str
    (String) The globally unique name for this zone.
    href String
    (String) The URL for this zone.
    name String
    (String) The globally unique name for this zone.

    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