Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse
scaleway.getInstanceServer
Explore with Pulumi AI
Gets information about an instance server.
Using getInstanceServer
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 getInstanceServer(args: GetInstanceServerArgs, opts?: InvokeOptions): Promise<GetInstanceServerResult>
function getInstanceServerOutput(args: GetInstanceServerOutputArgs, opts?: InvokeOptions): Output<GetInstanceServerResult>
def get_instance_server(name: Optional[str] = None,
project_id: Optional[str] = None,
server_id: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceServerResult
def get_instance_server_output(name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
server_id: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceServerResult]
func LookupInstanceServer(ctx *Context, args *LookupInstanceServerArgs, opts ...InvokeOption) (*LookupInstanceServerResult, error)
func LookupInstanceServerOutput(ctx *Context, args *LookupInstanceServerOutputArgs, opts ...InvokeOption) LookupInstanceServerResultOutput
> Note: This function is named LookupInstanceServer
in the Go SDK.
public static class GetInstanceServer
{
public static Task<GetInstanceServerResult> InvokeAsync(GetInstanceServerArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceServerResult> Invoke(GetInstanceServerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceServerResult> getInstanceServer(GetInstanceServerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getInstanceServer:getInstanceServer
arguments:
# arguments dictionary
The following arguments are supported:
- name str
- The server name. Only one of
name
andserver_id
should be specified. - project_
id str - The ID of the project the instance server is associated with.
- server_
id str - The server id. Only one of
name
andserver_id
should be specified. - zone str
zone
) The zone in which the server exists.
getInstanceServer Result
The following output properties are available:
- Additional
Volume List<string>Ids - The additional volumes attached to the server.
- Boot
Type string - Bootscript
Id string - Cloud
Init string - The cloud init script associated with this server.
- Enable
Dynamic boolIp - True if dynamic IP in enable on the server.
- Enable
Ipv6 bool - Determines if IPv6 is enabled for the server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image string
- The UUID and the label of the base image used by the server.
- Ip
Id string - Ip
Ids List<string> - Ipv6Address string
- The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
- Ipv6Gateway string
- The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
- Ipv6Prefix
Length int - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
- Organization
Id string - The ID of the organization the server is associated with.
- Placement
Group stringId - The placement group the server is attached to.
- Placement
Group boolPolicy Respected - True when the placement group policy is respected.
- Private
Ip string - The Scaleway internal IP address of the server.
- Private
Networks List<Pulumiverse.Scaleway. Outputs. Get Instance Server Private Network> - Public
Ip string - The public IP address of the server.
- Public
Ips List<Pulumiverse.Scaleway. Outputs. Get Instance Server Public Ip> - The list of public IPs of the server
- Replace
On boolType Change - Root
Volumes List<Pulumiverse.Scaleway. Outputs. Get Instance Server Root Volume> - Routed
Ip boolEnabled - True if the server support routed ip only.
- Security
Group stringId - The security group the server is attached to.
- State string
- The state of the server. Possible values are:
started
,stopped
orstandby
. - List<string>
- The tags associated with the server.
- Type string
- The commercial type of the server. You find all the available types on the pricing page.
- User
Data Dictionary<string, string> - The user data associated with the server.
- Name string
- Project
Id string - Server
Id string - Zone string
- Additional
Volume []stringIds - The additional volumes attached to the server.
- Boot
Type string - Bootscript
Id string - Cloud
Init string - The cloud init script associated with this server.
- Enable
Dynamic boolIp - True if dynamic IP in enable on the server.
- Enable
Ipv6 bool - Determines if IPv6 is enabled for the server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image string
- The UUID and the label of the base image used by the server.
- Ip
Id string - Ip
Ids []string - Ipv6Address string
- The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
- Ipv6Gateway string
- The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
- Ipv6Prefix
Length int - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
- Organization
Id string - The ID of the organization the server is associated with.
- Placement
Group stringId - The placement group the server is attached to.
- Placement
Group boolPolicy Respected - True when the placement group policy is respected.
- Private
Ip string - The Scaleway internal IP address of the server.
- Private
Networks []GetInstance Server Private Network - Public
Ip string - The public IP address of the server.
- Public
Ips []GetInstance Server Public Ip - The list of public IPs of the server
- Replace
On boolType Change - Root
Volumes []GetInstance Server Root Volume - Routed
Ip boolEnabled - True if the server support routed ip only.
- Security
Group stringId - The security group the server is attached to.
- State string
- The state of the server. Possible values are:
started
,stopped
orstandby
. - []string
- The tags associated with the server.
- Type string
- The commercial type of the server. You find all the available types on the pricing page.
- User
Data map[string]string - The user data associated with the server.
- Name string
- Project
Id string - Server
Id string - Zone string
- additional
Volume List<String>Ids - The additional volumes attached to the server.
- boot
Type String - bootscript
Id String - cloud
Init String - The cloud init script associated with this server.
- enable
Dynamic BooleanIp - True if dynamic IP in enable on the server.
- enable
Ipv6 Boolean - Determines if IPv6 is enabled for the server.
- id String
- The provider-assigned unique ID for this managed resource.
- image String
- The UUID and the label of the base image used by the server.
- ip
Id String - ip
Ids List<String> - ipv6Address String
- The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
- ipv6Gateway String
- The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
- ipv6Prefix
Length Integer - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
- organization
Id String - The ID of the organization the server is associated with.
- placement
Group StringId - The placement group the server is attached to.
- placement
Group BooleanPolicy Respected - True when the placement group policy is respected.
- private
Ip String - The Scaleway internal IP address of the server.
- private
Networks List<GetInstance Server Private Network> - public
Ip String - The public IP address of the server.
- public
Ips List<GetInstance Server Public Ip> - The list of public IPs of the server
- replace
On BooleanType Change - root
Volumes List<GetInstance Server Root Volume> - routed
Ip BooleanEnabled - True if the server support routed ip only.
- security
Group StringId - The security group the server is attached to.
- state String
- The state of the server. Possible values are:
started
,stopped
orstandby
. - List<String>
- The tags associated with the server.
- type String
- The commercial type of the server. You find all the available types on the pricing page.
- user
Data Map<String,String> - The user data associated with the server.
- name String
- project
Id String - server
Id String - zone String
- additional
Volume string[]Ids - The additional volumes attached to the server.
- boot
Type string - bootscript
Id string - cloud
Init string - The cloud init script associated with this server.
- enable
Dynamic booleanIp - True if dynamic IP in enable on the server.
- enable
Ipv6 boolean - Determines if IPv6 is enabled for the server.
- id string
- The provider-assigned unique ID for this managed resource.
- image string
- The UUID and the label of the base image used by the server.
- ip
Id string - ip
Ids string[] - ipv6Address string
- The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
- ipv6Gateway string
- The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
- ipv6Prefix
Length number - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
- organization
Id string - The ID of the organization the server is associated with.
- placement
Group stringId - The placement group the server is attached to.
- placement
Group booleanPolicy Respected - True when the placement group policy is respected.
- private
Ip string - The Scaleway internal IP address of the server.
- private
Networks GetInstance Server Private Network[] - public
Ip string - The public IP address of the server.
- public
Ips GetInstance Server Public Ip[] - The list of public IPs of the server
- replace
On booleanType Change - root
Volumes GetInstance Server Root Volume[] - routed
Ip booleanEnabled - True if the server support routed ip only.
- security
Group stringId - The security group the server is attached to.
- state string
- The state of the server. Possible values are:
started
,stopped
orstandby
. - string[]
- The tags associated with the server.
- type string
- The commercial type of the server. You find all the available types on the pricing page.
- user
Data {[key: string]: string} - The user data associated with the server.
- name string
- project
Id string - server
Id string - zone string
- additional_
volume_ Sequence[str]ids - The additional volumes attached to the server.
- boot_
type str - bootscript_
id str - cloud_
init str - The cloud init script associated with this server.
- enable_
dynamic_ boolip - True if dynamic IP in enable on the server.
- enable_
ipv6 bool - Determines if IPv6 is enabled for the server.
- id str
- The provider-assigned unique ID for this managed resource.
- image str
- The UUID and the label of the base image used by the server.
- ip_
id str - ip_
ids Sequence[str] - ipv6_
address str - The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
- ipv6_
gateway str - The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
- ipv6_
prefix_ intlength - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
- organization_
id str - The ID of the organization the server is associated with.
- placement_
group_ strid - The placement group the server is attached to.
- placement_
group_ boolpolicy_ respected - True when the placement group policy is respected.
- private_
ip str - The Scaleway internal IP address of the server.
- private_
networks Sequence[GetInstance Server Private Network] - public_
ip str - The public IP address of the server.
- public_
ips Sequence[GetInstance Server Public Ip] - The list of public IPs of the server
- replace_
on_ booltype_ change - root_
volumes Sequence[GetInstance Server Root Volume] - routed_
ip_ boolenabled - True if the server support routed ip only.
- security_
group_ strid - The security group the server is attached to.
- state str
- The state of the server. Possible values are:
started
,stopped
orstandby
. - Sequence[str]
- The tags associated with the server.
- type str
- The commercial type of the server. You find all the available types on the pricing page.
- user_
data Mapping[str, str] - The user data associated with the server.
- name str
- project_
id str - server_
id str - zone str
- additional
Volume List<String>Ids - The additional volumes attached to the server.
- boot
Type String - bootscript
Id String - cloud
Init String - The cloud init script associated with this server.
- enable
Dynamic BooleanIp - True if dynamic IP in enable on the server.
- enable
Ipv6 Boolean - Determines if IPv6 is enabled for the server.
- id String
- The provider-assigned unique ID for this managed resource.
- image String
- The UUID and the label of the base image used by the server.
- ip
Id String - ip
Ids List<String> - ipv6Address String
- The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
- ipv6Gateway String
- The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
- ipv6Prefix
Length Number - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
- organization
Id String - The ID of the organization the server is associated with.
- placement
Group StringId - The placement group the server is attached to.
- placement
Group BooleanPolicy Respected - True when the placement group policy is respected.
- private
Ip String - The Scaleway internal IP address of the server.
- private
Networks List<Property Map> - public
Ip String - The public IP address of the server.
- public
Ips List<Property Map> - The list of public IPs of the server
- replace
On BooleanType Change - root
Volumes List<Property Map> - routed
Ip BooleanEnabled - True if the server support routed ip only.
- security
Group StringId - The security group the server is attached to.
- state String
- The state of the server. Possible values are:
started
,stopped
orstandby
. - List<String>
- The tags associated with the server.
- type String
- The commercial type of the server. You find all the available types on the pricing page.
- user
Data Map<String> - The user data associated with the server.
- name String
- project
Id String - server
Id String - zone String
Supporting Types
GetInstanceServerPrivateNetwork
- Mac
Address string - MAC address of the NIC
- Pn
Id string - The Private Network ID
- Pnic
Id string - The ID of the NIC
- Status string
- The private NIC state
- Zone string
zone
) The zone in which the server exists.
- Mac
Address string - MAC address of the NIC
- Pn
Id string - The Private Network ID
- Pnic
Id string - The ID of the NIC
- Status string
- The private NIC state
- Zone string
zone
) The zone in which the server exists.
- mac
Address String - MAC address of the NIC
- pn
Id String - The Private Network ID
- pnic
Id String - The ID of the NIC
- status String
- The private NIC state
- zone String
zone
) The zone in which the server exists.
- mac
Address string - MAC address of the NIC
- pn
Id string - The Private Network ID
- pnic
Id string - The ID of the NIC
- status string
- The private NIC state
- zone string
zone
) The zone in which the server exists.
- mac_
address str - MAC address of the NIC
- pn_
id str - The Private Network ID
- pnic_
id str - The ID of the NIC
- status str
- The private NIC state
- zone str
zone
) The zone in which the server exists.
- mac
Address String - MAC address of the NIC
- pn
Id String - The Private Network ID
- pnic
Id String - The ID of the NIC
- status String
- The private NIC state
- zone String
zone
) The zone in which the server exists.
GetInstanceServerPublicIp
GetInstanceServerRootVolume
- Boot bool
- Set the volume where the boot the server
- Delete
On boolTermination - Forces deletion of the root volume on instance termination.
- Name string
- The server name. Only one of
name
andserver_id
should be specified. - Sbs
Iops int - SBS Volume IOPS, only with volume_type as sbs_volume
- Size
In intGb - Size of the root volume in gigabytes.
- Volume
Id string - The volume ID of the root volume of the server.
- Volume
Type string - Volume type of the root volume
- Boot bool
- Set the volume where the boot the server
- Delete
On boolTermination - Forces deletion of the root volume on instance termination.
- Name string
- The server name. Only one of
name
andserver_id
should be specified. - Sbs
Iops int - SBS Volume IOPS, only with volume_type as sbs_volume
- Size
In intGb - Size of the root volume in gigabytes.
- Volume
Id string - The volume ID of the root volume of the server.
- Volume
Type string - Volume type of the root volume
- boot Boolean
- Set the volume where the boot the server
- delete
On BooleanTermination - Forces deletion of the root volume on instance termination.
- name String
- The server name. Only one of
name
andserver_id
should be specified. - sbs
Iops Integer - SBS Volume IOPS, only with volume_type as sbs_volume
- size
In IntegerGb - Size of the root volume in gigabytes.
- volume
Id String - The volume ID of the root volume of the server.
- volume
Type String - Volume type of the root volume
- boot boolean
- Set the volume where the boot the server
- delete
On booleanTermination - Forces deletion of the root volume on instance termination.
- name string
- The server name. Only one of
name
andserver_id
should be specified. - sbs
Iops number - SBS Volume IOPS, only with volume_type as sbs_volume
- size
In numberGb - Size of the root volume in gigabytes.
- volume
Id string - The volume ID of the root volume of the server.
- volume
Type string - Volume type of the root volume
- boot bool
- Set the volume where the boot the server
- delete_
on_ booltermination - Forces deletion of the root volume on instance termination.
- name str
- The server name. Only one of
name
andserver_id
should be specified. - sbs_
iops int - SBS Volume IOPS, only with volume_type as sbs_volume
- size_
in_ intgb - Size of the root volume in gigabytes.
- volume_
id str - The volume ID of the root volume of the server.
- volume_
type str - Volume type of the root volume
- boot Boolean
- Set the volume where the boot the server
- delete
On BooleanTermination - Forces deletion of the root volume on instance termination.
- name String
- The server name. Only one of
name
andserver_id
should be specified. - sbs
Iops Number - SBS Volume IOPS, only with volume_type as sbs_volume
- size
In NumberGb - Size of the root volume in gigabytes.
- volume
Id String - The volume ID of the root volume of the server.
- volume
Type String - Volume type of the root volume
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.