Skip to content

aws.sms.get_servers

Example SQL Queries

SELECT * FROM
aws.sms.get_servers;

Description

Describes the servers in your server catalog.

Before you can describe your servers, you must import them using ImportServerCatalog.

Table Definition

Column NameColumn Data Type
vm_server_address_list Input Column

The server addresses.

STRUCT(
"vm_manager_id" VARCHAR,
"vm_id" VARCHAR
)[]
Show child fields
vm_server_address_list[]
Show child fields
vm_server_address_list[].vm_id

The ID of the VM.

vm_server_address_list[].vm_manager_id

The ID of the VM manager.

_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
last_modified_on

The time when the server was last modified.

TIMESTAMP_S
server_catalog_status

The status of the server catalog.

VARCHAR
server_list

Information about the servers.

STRUCT(
"server_id" VARCHAR,
"server_type" VARCHAR,
"vm_server" STRUCT(
"vm_server_address" STRUCT(
"vm_manager_id" VARCHAR,
"vm_id" VARCHAR
),
"vm_name" VARCHAR,
"vm_manager_name" VARCHAR,
"vm_manager_type" VARCHAR,
"vm_path" VARCHAR
),
"replication_job_id" VARCHAR,
"replication_job_terminated" BOOLEAN
)[]
Show child fields
server_list[]
Show child fields
server_list[].replication_job_id

The ID of the replication job.

server_list[].replication_job_terminated

Indicates whether the replication job is deleted or failed.

server_list[].server_id

The ID of the server.

server_list[].server_type

The type of server.

server_list[].vm_server

Information about the VM server.

Show child fields
server_list[].vm_server.vm_manager_name

The name of the VM manager.

server_list[].vm_server.vm_manager_type

The type of VM management product.

server_list[].vm_server.vm_name

The name of the VM.

server_list[].vm_server.vm_path

The VM folder path in the vCenter Server virtual machine inventory tree.

server_list[].vm_server.vm_server_address

The VM server location.

Show child fields
server_list[].vm_server.vm_server_address.vm_id

The ID of the VM.

server_list[].vm_server.vm_server_address.vm_manager_id

The ID of the VM manager.