Skip to content

List Linux Subscription Instances

licensemanagerlinuxsubscriptions_list_linux_subscription_instances R Documentation

Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions

Description

Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.

Usage

licensemanagerlinuxsubscriptions_list_linux_subscription_instances(
  Filters, MaxResults, NextToken)

Arguments

Filters

An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region in the Name, with the contains operator to list all subscriptions that match a partial string in the Value, such as us-west.

For each filter, you can specify one of the following values for the Name key to streamline results:

  • AccountID

  • AmiID

  • DualSubscription

  • InstanceID

  • InstanceType

  • ProductCode

  • Region

  • Status

  • UsageOperation

For each filter, you can use one of the following Operator values to define the behavior of the filter:

  • contains

  • equals

  • Notequal

MaxResults

The maximum items to return in a request.

NextToken

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

Value

A list with the following syntax:

list(
  Instances = list(
    list(
      AccountID = "string",
      AmiId = "string",
      DualSubscription = "string",
      InstanceID = "string",
      InstanceType = "string",
      LastUpdatedTime = "string",
      OsVersion = "string",
      ProductCode = list(
        "string"
      ),
      Region = "string",
      RegisteredWithSubscriptionProvider = "string",
      Status = "string",
      SubscriptionName = "string",
      SubscriptionProviderCreateTime = "string",
      SubscriptionProviderUpdateTime = "string",
      UsageOperation = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_linux_subscription_instances(
  Filters = list(
    list(
      Name = "string",
      Operator = "Equal"|"NotEqual"|"Contains",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)