Interface AzureScope.Builder

  • Method Details

    • subscriptions

      AzureScope.Builder subscriptions(AzureSubscriptionScope subscriptions)

      The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions. Required when you use Regions and ResourceTypes.

      Parameters:
      subscriptions - The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions. Required when you use Regions and ResourceTypes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriptions

      default AzureScope.Builder subscriptions(Consumer<AzureSubscriptionScope.Builder> subscriptions)

      The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions. Required when you use Regions and ResourceTypes.

      This is a convenience method that creates an instance of the AzureSubscriptionScope.Builder avoiding the need to create one manually via AzureSubscriptionScope.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subscriptions(AzureSubscriptionScope).

      Parameters:
      subscriptions - a consumer that will call methods on AzureSubscriptionScope.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • regions

      The Azure Regions to find resources in. Required when you use Subscriptions and ResourceTypes.

      Parameters:
      regions - The Azure Regions to find resources in. Required when you use Subscriptions and ResourceTypes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      AzureScope.Builder regions(String... regions)

      The Azure Regions to find resources in. Required when you use Subscriptions and ResourceTypes.

      Parameters:
      regions - The Azure Regions to find resources in. Required when you use Subscriptions and ResourceTypes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      AzureScope.Builder resourceTypes(Collection<String> resourceTypes)

      The Azure resource types to find. Required when you use Subscriptions and Regions.

      Parameters:
      resourceTypes - The Azure resource types to find. Required when you use Subscriptions and Regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      AzureScope.Builder resourceTypes(String... resourceTypes)

      The Azure resource types to find. Required when you use Subscriptions and Regions.

      Parameters:
      resourceTypes - The Azure resource types to find. Required when you use Subscriptions and Regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      AzureScope.Builder tagFilters(Collection<TagFilter> tagFilters)

      Limits the resources found by Subscriptions, Regions, and ResourceTypes to those that have these tags. You can specify up to 50 filters.

      Parameters:
      tagFilters - Limits the resources found by Subscriptions, Regions, and ResourceTypes to those that have these tags. You can specify up to 50 filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      AzureScope.Builder tagFilters(TagFilter... tagFilters)

      Limits the resources found by Subscriptions, Regions, and ResourceTypes to those that have these tags. You can specify up to 50 filters.

      Parameters:
      tagFilters - Limits the resources found by Subscriptions, Regions, and ResourceTypes to those that have these tags. You can specify up to 50 filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      AzureScope.Builder tagFilters(Consumer<TagFilter.Builder>... tagFilters)

      Limits the resources found by Subscriptions, Regions, and ResourceTypes to those that have these tags. You can specify up to 50 filters.

      This is a convenience method that creates an instance of the TagFilter.Builder avoiding the need to create one manually via TagFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagFilters(List<TagFilter>).

      Parameters:
      tagFilters - a consumer that will call methods on TagFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resources

      Specific Azure resources, listed by Azure Region.

      Parameters:
      resources - Specific Azure resources, listed by Azure Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      AzureScope.Builder resources(AzureResourceIdScope... resources)

      Specific Azure resources, listed by Azure Region.

      Parameters:
      resources - Specific Azure resources, listed by Azure Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      Specific Azure resources, listed by Azure Region.

      This is a convenience method that creates an instance of the AzureResourceIdScope.Builder avoiding the need to create one manually via AzureResourceIdScope.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resources(List<AzureResourceIdScope>).

      Parameters:
      resources - a consumer that will call methods on AzureResourceIdScope.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: