ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getIsClusterNetworkProfile
Explore with Pulumi AI
Provides a read-only data source to retrieve information about a ClusterNetworkProfile. 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 isClusterNetworkProfile = ibm.getIsClusterNetworkProfile({
name: "h100",
});
import pulumi
import pulumi_ibm as ibm
is_cluster_network_profile = ibm.get_is_cluster_network_profile(name="h100")
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.LookupIsClusterNetworkProfile(ctx, &ibm.LookupIsClusterNetworkProfileArgs{
Name: "h100",
}, 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 isClusterNetworkProfile = Ibm.GetIsClusterNetworkProfile.Invoke(new()
{
Name = "h100",
});
});
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.GetIsClusterNetworkProfileArgs;
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 isClusterNetworkProfile = IbmFunctions.getIsClusterNetworkProfile(GetIsClusterNetworkProfileArgs.builder()
.name("h100")
.build());
}
}
variables:
isClusterNetworkProfile:
fn::invoke:
function: ibm:getIsClusterNetworkProfile
arguments:
name: h100
Using getIsClusterNetworkProfile
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 getIsClusterNetworkProfile(args: GetIsClusterNetworkProfileArgs, opts?: InvokeOptions): Promise<GetIsClusterNetworkProfileResult>
function getIsClusterNetworkProfileOutput(args: GetIsClusterNetworkProfileOutputArgs, opts?: InvokeOptions): Output<GetIsClusterNetworkProfileResult>
def get_is_cluster_network_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsClusterNetworkProfileResult
def get_is_cluster_network_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsClusterNetworkProfileResult]
func LookupIsClusterNetworkProfile(ctx *Context, args *LookupIsClusterNetworkProfileArgs, opts ...InvokeOption) (*LookupIsClusterNetworkProfileResult, error)
func LookupIsClusterNetworkProfileOutput(ctx *Context, args *LookupIsClusterNetworkProfileOutputArgs, opts ...InvokeOption) LookupIsClusterNetworkProfileResultOutput
> Note: This function is named LookupIsClusterNetworkProfile
in the Go SDK.
public static class GetIsClusterNetworkProfile
{
public static Task<GetIsClusterNetworkProfileResult> InvokeAsync(GetIsClusterNetworkProfileArgs args, InvokeOptions? opts = null)
public static Output<GetIsClusterNetworkProfileResult> Invoke(GetIsClusterNetworkProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsClusterNetworkProfileResult> getIsClusterNetworkProfile(GetIsClusterNetworkProfileArgs args, InvokeOptions options)
public static Output<GetIsClusterNetworkProfileResult> getIsClusterNetworkProfile(GetIsClusterNetworkProfileArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsClusterNetworkProfile:getIsClusterNetworkProfile
arguments:
# arguments dictionary
The following arguments are supported:
getIsClusterNetworkProfile Result
The following output properties are available:
- 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.
- Id string
- The unique identifier of the ClusterNetworkProfile.(same as
name
) - Name string
- (String) The globally unique name for this zone.
- Resource
Type string - (String) The resource type.
- Supported
Instance List<GetProfiles Is Cluster Network Profile Supported Instance Profile> - (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
- Zones
List<Get
Is Cluster Network Profile Zone> - (List) Zones in this region that support this cluster network profile. Nested schema for zones:
- 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.
- Id string
- The unique identifier of the ClusterNetworkProfile.(same as
name
) - Name string
- (String) The globally unique name for this zone.
- Resource
Type string - (String) The resource type.
- Supported
Instance []GetProfiles Is Cluster Network Profile Supported Instance Profile - (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
- Zones
[]Get
Is Cluster Network Profile Zone - (List) Zones in this region that support this cluster network profile. Nested schema for zones:
- 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.
- id String
- The unique identifier of the ClusterNetworkProfile.(same as
name
) - name String
- (String) The globally unique name for this zone.
- resource
Type String - (String) The resource type.
- supported
Instance List<GetProfiles Is Cluster Network Profile Supported Instance Profile> - (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
- zones
List<Get
Is Cluster Network Profile Zone> - (List) Zones in this region that support this cluster network profile. Nested schema for zones:
- 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.
- id string
- The unique identifier of the ClusterNetworkProfile.(same as
name
) - name string
- (String) The globally unique name for this zone.
- resource
Type string - (String) The resource type.
- supported
Instance GetProfiles Is Cluster Network Profile Supported Instance Profile[] - (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
- zones
Get
Is Cluster Network Profile Zone[] - (List) Zones in this region that support this cluster network profile. Nested schema for zones:
- 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.
- id str
- The unique identifier of the ClusterNetworkProfile.(same as
name
) - name str
- (String) The globally unique name for this zone.
- resource_
type str - (String) The resource type.
- supported_
instance_ Sequence[Getprofiles Is Cluster Network Profile Supported Instance Profile] - (List) The instance profiles that support this cluster network profile. Nested schema for supported_instance_profiles:
- zones
Sequence[Get
Is Cluster Network Profile Zone] - (List) Zones in this region that support this cluster network profile. Nested schema for zones:
- 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.
- id String
- The unique identifier of the ClusterNetworkProfile.(same as
name
) - name String
- (String) The globally unique name for this zone.
- resource
Type String - (String) The resource type.
- supported
Instance List<Property Map>Profiles - (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. Nested schema for zones:
Supporting Types
GetIsClusterNetworkProfileSupportedInstanceProfile
- Href string
- (String) The URL for this zone.
- Name string
- The cluster network profile name.
- Resource
Type string - (String) The resource type.
- Href string
- (String) The URL for this zone.
- Name string
- The cluster network profile name.
- Resource
Type string - (String) The resource type.
- href String
- (String) The URL for this zone.
- name String
- The cluster network profile name.
- resource
Type String - (String) The resource type.
- href string
- (String) The URL for this zone.
- name string
- The cluster network profile name.
- resource
Type string - (String) The resource type.
- href str
- (String) The URL for this zone.
- name str
- The cluster network profile name.
- resource_
type str - (String) The resource type.
- href String
- (String) The URL for this zone.
- name String
- The cluster network profile name.
- resource
Type String - (String) The resource type.
GetIsClusterNetworkProfileZone
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.