AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi
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:
getAsset Result
The following output properties are available:
- Arn string
- Asset
Id string - Asset
Type string - Type of the asset.
- Host
Id 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.
- Rack
Elevation int - Position of an asset in a rack measured in rack units.
- Rack
Id string - Rack ID of the asset.
- Arn string
- Asset
Id string - Asset
Type string - Type of the asset.
- Host
Id 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.
- Rack
Elevation int - Position of an asset in a rack measured in rack units.
- Rack
Id string - Rack ID of the asset.
- arn String
- asset
Id String - asset
Type String - Type of the asset.
- host
Id 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.
- rack
Elevation Integer - Position of an asset in a rack measured in rack units.
- rack
Id String - Rack ID of the asset.
- arn string
- asset
Id string - asset
Type string - Type of the asset.
- host
Id 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.
- rack
Elevation number - Position of an asset in a rack measured in rack units.
- rack
Id 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
- asset
Id String - asset
Type String - Type of the asset.
- host
Id 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.
- rack
Elevation Number - Position of an asset in a rack measured in rack units.
- rack
Id 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.