AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getAsset

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

The ID of the asset.

Arn string

Outpost ARN.

AssetId string

The ID of the asset.

arn String

Outpost ARN.

assetId String

The ID of the asset.

arn string

Outpost ARN.

assetId string

The ID of the asset.

arn str

Outpost ARN.

asset_id str

The ID of the asset.

arn String

Outpost ARN.

assetId String

The ID of the asset.

getAsset Result

The following output properties are available:

Arn string
AssetId string
AssetType string

The type of the asset.

HostId string

The 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.

RackId string

The rack ID of the asset.

Arn string
AssetId string
AssetType string

The type of the asset.

HostId string

The 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.

RackId string

The rack ID of the asset.

arn String
assetId String
assetType String

The type of the asset.

hostId String

The 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.

rackId String

The rack ID of the asset.

arn string
assetId string
assetType string

The type of the asset.

hostId string

The 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.

rackId string

The rack ID of the asset.

arn str
asset_id str
asset_type str

The type of the asset.

host_id str

The 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_id str

The rack ID of the asset.

arn String
assetId String
assetType String

The type of the asset.

hostId String

The 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.

rackId String

The rack ID of the asset.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.