Viewing docs for flexibleengine 1.46.0
published on Monday, Apr 14, 2025 by flexibleenginecloud
published on Monday, Apr 14, 2025 by flexibleenginecloud
Viewing docs for flexibleengine 1.46.0
published on Monday, Apr 14, 2025 by flexibleenginecloud
published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.ComputeBmsServerV2 used to query a BMS or BMSs details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const bmsName = config.requireObject("bmsName");
const server = flexibleengine.getComputeBmsServerV2({
name: bmsName,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
bms_name = config.require_object("bmsName")
server = flexibleengine.get_compute_bms_server_v2(name=bms_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
bmsName := cfg.RequireObject("bmsName")
_, err := flexibleengine.LookupComputeBmsServerV2(ctx, &flexibleengine.LookupComputeBmsServerV2Args{
Name: pulumi.StringRef(bmsName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var bmsName = config.RequireObject<dynamic>("bmsName");
var server = Flexibleengine.GetComputeBmsServerV2.Invoke(new()
{
Name = bmsName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetComputeBmsServerV2Args;
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 config = ctx.config();
final var bmsName = config.get("bmsName");
final var server = FlexibleengineFunctions.getComputeBmsServerV2(GetComputeBmsServerV2Args.builder()
.name(bmsName)
.build());
}
}
configuration:
bmsName:
type: dynamic
variables:
server:
fn::invoke:
function: flexibleengine:getComputeBmsServerV2
arguments:
name: ${bmsName}
Using getComputeBmsServerV2
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 getComputeBmsServerV2(args: GetComputeBmsServerV2Args, opts?: InvokeOptions): Promise<GetComputeBmsServerV2Result>
function getComputeBmsServerV2Output(args: GetComputeBmsServerV2OutputArgs, opts?: InvokeOptions): Output<GetComputeBmsServerV2Result>def get_compute_bms_server_v2(flavor_id: Optional[str] = None,
host_status: Optional[str] = None,
id: Optional[str] = None,
image_id: Optional[str] = None,
key_name: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetComputeBmsServerV2Result
def get_compute_bms_server_v2_output(flavor_id: Optional[pulumi.Input[str]] = None,
host_status: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
key_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetComputeBmsServerV2Result]func LookupComputeBmsServerV2(ctx *Context, args *LookupComputeBmsServerV2Args, opts ...InvokeOption) (*LookupComputeBmsServerV2Result, error)
func LookupComputeBmsServerV2Output(ctx *Context, args *LookupComputeBmsServerV2OutputArgs, opts ...InvokeOption) LookupComputeBmsServerV2ResultOutput> Note: This function is named LookupComputeBmsServerV2 in the Go SDK.
public static class GetComputeBmsServerV2
{
public static Task<GetComputeBmsServerV2Result> InvokeAsync(GetComputeBmsServerV2Args args, InvokeOptions? opts = null)
public static Output<GetComputeBmsServerV2Result> Invoke(GetComputeBmsServerV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetComputeBmsServerV2Result> getComputeBmsServerV2(GetComputeBmsServerV2Args args, InvokeOptions options)
public static Output<GetComputeBmsServerV2Result> getComputeBmsServerV2(GetComputeBmsServerV2Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getComputeBmsServerV2:getComputeBmsServerV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Flavor
Id string - It gives the BMS flavor information.
- Host
Status string - The nova-compute status: UP, UNKNOWN, DOWN, MAINTENANCE and Null.
- Id string
- The unique ID of the BMS.
- Image
Id string - The BMS image.
- Key
Name string - It is the SSH key name.
- Name string
- The name of BMS.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Status string
- The BMS status.
- User
Id string - The ID of the user to which the BMS belongs.
- Flavor
Id string - It gives the BMS flavor information.
- Host
Status string - The nova-compute status: UP, UNKNOWN, DOWN, MAINTENANCE and Null.
- Id string
- The unique ID of the BMS.
- Image
Id string - The BMS image.
- Key
Name string - It is the SSH key name.
- Name string
- The name of BMS.
- Region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- Status string
- The BMS status.
- User
Id string - The ID of the user to which the BMS belongs.
- flavor
Id String - It gives the BMS flavor information.
- host
Status String - The nova-compute status: UP, UNKNOWN, DOWN, MAINTENANCE and Null.
- id String
- The unique ID of the BMS.
- image
Id String - The BMS image.
- key
Name String - It is the SSH key name.
- name String
- The name of BMS.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- status String
- The BMS status.
- user
Id String - The ID of the user to which the BMS belongs.
- flavor
Id string - It gives the BMS flavor information.
- host
Status string - The nova-compute status: UP, UNKNOWN, DOWN, MAINTENANCE and Null.
- id string
- The unique ID of the BMS.
- image
Id string - The BMS image.
- key
Name string - It is the SSH key name.
- name string
- The name of BMS.
- region string
- The region in which to query the data source. If omitted, the provider-level region will be used.
- status string
- The BMS status.
- user
Id string - The ID of the user to which the BMS belongs.
- flavor_
id str - It gives the BMS flavor information.
- host_
status str - The nova-compute status: UP, UNKNOWN, DOWN, MAINTENANCE and Null.
- id str
- The unique ID of the BMS.
- image_
id str - The BMS image.
- key_
name str - It is the SSH key name.
- name str
- The name of BMS.
- region str
- The region in which to query the data source. If omitted, the provider-level region will be used.
- status str
- The BMS status.
- user_
id str - The ID of the user to which the BMS belongs.
- flavor
Id String - It gives the BMS flavor information.
- host
Status String - The nova-compute status: UP, UNKNOWN, DOWN, MAINTENANCE and Null.
- id String
- The unique ID of the BMS.
- image
Id String - The BMS image.
- key
Name String - It is the SSH key name.
- name String
- The name of BMS.
- region String
- The region in which to query the data source. If omitted, the provider-level region will be used.
- status String
- The BMS status.
- user
Id String - The ID of the user to which the BMS belongs.
getComputeBmsServerV2 Result
The following output properties are available:
- Access
Ip stringV4 - This is a reserved attribute.
- Access
Ip stringV6 - This is a reserved attribute.
- Availability
Zone string - Specifies the AZ ID.
- Config
Drive string - This is a reserved attribute.
- Description string
- Provides supplementary information about the pool.
- Host
Id string - It is the host ID of the BMS.
- Hypervisor
Hostname string - It is the name of a host on the hypervisor.
- Instance
Name string - Instance name is specified.
- Kernel
Id string - The UUID of the kernel image when the AMI image is used.
- Locked bool
- It specifies whether a BMS is locked, true: The BMS is locked, false: The BMS is not locked.
- Metadata Dictionary<string, string>
- The BMS metadata is specified.
- Networks
List<Get
Compute Bms Server V2Network> - Progress double
- This is a reserved attribute.
- Region string
- Security
Groups List<GetCompute Bms Server V2Security Group> - The list of security groups to which the BMS belongs. The security_groups object structure is documented below.
- List<string>
- Specifies the BMS tag.
- Tenant
Id string - Specifies the ID of the tenant owning the BMS. The value is in UUID format. This parameter specifies the same meaning as project_id.
- Flavor
Id string - Host
Status string - Id string
- Image
Id string - Key
Name string - Name string
- The name of security_groups.
- Status string
- User
Id string
- Access
Ip stringV4 - This is a reserved attribute.
- Access
Ip stringV6 - This is a reserved attribute.
- Availability
Zone string - Specifies the AZ ID.
- Config
Drive string - This is a reserved attribute.
- Description string
- Provides supplementary information about the pool.
- Host
Id string - It is the host ID of the BMS.
- Hypervisor
Hostname string - It is the name of a host on the hypervisor.
- Instance
Name string - Instance name is specified.
- Kernel
Id string - The UUID of the kernel image when the AMI image is used.
- Locked bool
- It specifies whether a BMS is locked, true: The BMS is locked, false: The BMS is not locked.
- Metadata map[string]string
- The BMS metadata is specified.
- Networks
[]Get
Compute Bms Server V2Network - Progress float64
- This is a reserved attribute.
- Region string
- Security
Groups []GetCompute Bms Server V2Security Group - The list of security groups to which the BMS belongs. The security_groups object structure is documented below.
- []string
- Specifies the BMS tag.
- Tenant
Id string - Specifies the ID of the tenant owning the BMS. The value is in UUID format. This parameter specifies the same meaning as project_id.
- Flavor
Id string - Host
Status string - Id string
- Image
Id string - Key
Name string - Name string
- The name of security_groups.
- Status string
- User
Id string
- access
Ip StringV4 - This is a reserved attribute.
- access
Ip StringV6 - This is a reserved attribute.
- availability
Zone String - Specifies the AZ ID.
- config
Drive String - This is a reserved attribute.
- description String
- Provides supplementary information about the pool.
- host
Id String - It is the host ID of the BMS.
- hypervisor
Hostname String - It is the name of a host on the hypervisor.
- instance
Name String - Instance name is specified.
- kernel
Id String - The UUID of the kernel image when the AMI image is used.
- locked Boolean
- It specifies whether a BMS is locked, true: The BMS is locked, false: The BMS is not locked.
- metadata Map<String,String>
- The BMS metadata is specified.
- networks
List<Get
Compute Bms Server V2Network> - progress Double
- This is a reserved attribute.
- region String
- security
Groups List<GetCompute Bms Server V2Security Group> - The list of security groups to which the BMS belongs. The security_groups object structure is documented below.
- List<String>
- Specifies the BMS tag.
- tenant
Id String - Specifies the ID of the tenant owning the BMS. The value is in UUID format. This parameter specifies the same meaning as project_id.
- flavor
Id String - host
Status String - id String
- image
Id String - key
Name String - name String
- The name of security_groups.
- status String
- user
Id String
- access
Ip stringV4 - This is a reserved attribute.
- access
Ip stringV6 - This is a reserved attribute.
- availability
Zone string - Specifies the AZ ID.
- config
Drive string - This is a reserved attribute.
- description string
- Provides supplementary information about the pool.
- host
Id string - It is the host ID of the BMS.
- hypervisor
Hostname string - It is the name of a host on the hypervisor.
- instance
Name string - Instance name is specified.
- kernel
Id string - The UUID of the kernel image when the AMI image is used.
- locked boolean
- It specifies whether a BMS is locked, true: The BMS is locked, false: The BMS is not locked.
- metadata {[key: string]: string}
- The BMS metadata is specified.
- networks
Get
Compute Bms Server V2Network[] - progress number
- This is a reserved attribute.
- region string
- security
Groups GetCompute Bms Server V2Security Group[] - The list of security groups to which the BMS belongs. The security_groups object structure is documented below.
- string[]
- Specifies the BMS tag.
- tenant
Id string - Specifies the ID of the tenant owning the BMS. The value is in UUID format. This parameter specifies the same meaning as project_id.
- flavor
Id string - host
Status string - id string
- image
Id string - key
Name string - name string
- The name of security_groups.
- status string
- user
Id string
- access_
ip_ strv4 - This is a reserved attribute.
- access_
ip_ strv6 - This is a reserved attribute.
- availability_
zone str - Specifies the AZ ID.
- config_
drive str - This is a reserved attribute.
- description str
- Provides supplementary information about the pool.
- host_
id str - It is the host ID of the BMS.
- hypervisor_
hostname str - It is the name of a host on the hypervisor.
- instance_
name str - Instance name is specified.
- kernel_
id str - The UUID of the kernel image when the AMI image is used.
- locked bool
- It specifies whether a BMS is locked, true: The BMS is locked, false: The BMS is not locked.
- metadata Mapping[str, str]
- The BMS metadata is specified.
- networks
Sequence[Get
Compute Bms Server V2Network] - progress float
- This is a reserved attribute.
- region str
- security_
groups Sequence[GetCompute Bms Server V2Security Group] - The list of security groups to which the BMS belongs. The security_groups object structure is documented below.
- Sequence[str]
- Specifies the BMS tag.
- tenant_
id str - Specifies the ID of the tenant owning the BMS. The value is in UUID format. This parameter specifies the same meaning as project_id.
- flavor_
id str - host_
status str - id str
- image_
id str - key_
name str - name str
- The name of security_groups.
- status str
- user_
id str
- access
Ip StringV4 - This is a reserved attribute.
- access
Ip StringV6 - This is a reserved attribute.
- availability
Zone String - Specifies the AZ ID.
- config
Drive String - This is a reserved attribute.
- description String
- Provides supplementary information about the pool.
- host
Id String - It is the host ID of the BMS.
- hypervisor
Hostname String - It is the name of a host on the hypervisor.
- instance
Name String - Instance name is specified.
- kernel
Id String - The UUID of the kernel image when the AMI image is used.
- locked Boolean
- It specifies whether a BMS is locked, true: The BMS is locked, false: The BMS is not locked.
- metadata Map<String>
- The BMS metadata is specified.
- networks List<Property Map>
- progress Number
- This is a reserved attribute.
- region String
- security
Groups List<Property Map> - The list of security groups to which the BMS belongs. The security_groups object structure is documented below.
- List<String>
- Specifies the BMS tag.
- tenant
Id String - Specifies the ID of the tenant owning the BMS. The value is in UUID format. This parameter specifies the same meaning as project_id.
- flavor
Id String - host
Status String - id String
- image
Id String - key
Name String - name String
- The name of security_groups.
- status String
- user
Id String
Supporting Types
GetComputeBmsServerV2Network
- fixed_
ip_ strv4 - fixed_
ip_ strv6 - mac str
- name str
- The name of BMS.
- port str
- uuid str
GetComputeBmsServerV2SecurityGroup
- Name string
- The name of BMS.
- Name string
- The name of BMS.
- name String
- The name of BMS.
- name string
- The name of BMS.
- name str
- The name of BMS.
- name String
- The name of BMS.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
Viewing docs for flexibleengine 1.46.0
published on Monday, Apr 14, 2025 by flexibleenginecloud
published on Monday, Apr 14, 2025 by flexibleenginecloud
