aws logo
AWS Classic v5.41.0, May 15 23

aws.outposts.getAsset

Explore with Pulumi AI

Information about a specific hardware asset in an Outpost.

Using getAsset

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 getAsset(args: GetAssetArgs, opts?: InvokeOptions): Promise<GetAssetResult>
function getAssetOutput(args: GetAssetOutputArgs, opts?: InvokeOptions): Output<GetAssetResult>
def get_asset(arn: Optional[str] = None,
              asset_id: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetAssetResult
def get_asset_output(arn: Optional[pulumi.Input[str]] = None,
              asset_id: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetAssetResult]
func GetAsset(ctx *Context, args *GetAssetArgs, opts ...InvokeOption) (*GetAssetResult, error)
func GetAssetOutput(ctx *Context, args *GetAssetOutputArgs, opts ...InvokeOption) GetAssetResultOutput

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

public static class GetAsset 
{
    public static Task<GetAssetResult> InvokeAsync(GetAssetArgs args, InvokeOptions? opts = null)
    public static Output<GetAssetResult> Invoke(GetAssetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssetResult> getAsset(GetAssetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws:outposts/getAsset:getAsset
  arguments:
    # arguments dictionary

The following arguments are supported:

Arn string

Outpost ARN.

AssetId string

ID of the asset.

Arn string

Outpost ARN.

AssetId string

ID of the asset.

arn String

Outpost ARN.

assetId String

ID of the asset.

arn string

Outpost ARN.

assetId string

ID of the asset.

arn str

Outpost ARN.

asset_id str

ID of the asset.

arn String

Outpost ARN.

assetId String

ID of the asset.

getAsset Result

The following output properties are available:

Arn string
AssetId string
AssetType string

Type of the asset.

HostId string

Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.

Id string

The provider-assigned unique ID for this managed resource.

RackElevation int

Position of an asset in a rack measured in rack units.

RackId string

Rack ID of the asset.

Arn string
AssetId string
AssetType string

Type of the asset.

HostId string

Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.

Id string

The provider-assigned unique ID for this managed resource.

RackElevation int

Position of an asset in a rack measured in rack units.

RackId string

Rack ID of the asset.

arn String
assetId String
assetType String

Type of the asset.

hostId String

Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.

id String

The provider-assigned unique ID for this managed resource.

rackElevation Integer

Position of an asset in a rack measured in rack units.

rackId String

Rack ID of the asset.

arn string
assetId string
assetType string

Type of the asset.

hostId string

Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.

id string

The provider-assigned unique ID for this managed resource.

rackElevation number

Position of an asset in a rack measured in rack units.

rackId string

Rack ID of the asset.

arn str
asset_id str
asset_type str

Type of the asset.

host_id str

Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.

id str

The provider-assigned unique ID for this managed resource.

rack_elevation int

Position of an asset in a rack measured in rack units.

rack_id str

Rack ID of the asset.

arn String
assetId String
assetType String

Type of the asset.

hostId String

Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.

id String

The provider-assigned unique ID for this managed resource.

rackElevation Number

Position of an asset in a rack measured in rack units.

rackId String

Rack ID of the asset.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.