Class: Aws::ObservabilityAdmin::Types::AzureSubscriptionScope

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb

Overview

Note:

AzureSubscriptionScope is a union - when making an API calls you must set exactly one of the members.

Note:

AzureSubscriptionScope is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AzureSubscriptionScope corresponding to the set member.

The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions. Specify one.

Defined Under Namespace

Classes: All, Ids, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#all ⇒ Types::AllSubscriptions

All subscriptions that Azure role-based access control (Azure RBAC) allows the connector to read. Subscriptions that the connector can read later are included automatically.

Returns:

  • (Types::AllSubscriptions)


721
722
723
724
725
726
727
728
729
730
731
732
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 721

class AzureSubscriptionScope < Struct.new(
  :all,
  :ids,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class All < AzureSubscriptionScope; end
  class Ids < AzureSubscriptionScope; end
  class Unknown < AzureSubscriptionScope; end
end

#ids ⇒ Array<String>

A list of 1–1000 subscription IDs.

Returns:

  • (Array<String>)


721
722
723
724
725
726
727
728
729
730
731
732
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 721

class AzureSubscriptionScope < Struct.new(
  :all,
  :ids,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class All < AzureSubscriptionScope; end
  class Ids < AzureSubscriptionScope; end
  class Unknown < AzureSubscriptionScope; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



721
722
723
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 721

def unknown
  @unknown
end