Interface AzureResourceIdsQuery.Builder

  • Method Details

    • scope

      Limits the query to a management group or to specific subscriptions.

      Parameters:
      scope - Limits the query to a management group or to specific subscriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      Limits the query to a management group or to specific subscriptions.

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

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

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

      AzureResourceIdsQuery.Builder resourceType(String resourceType)

      Limits the results to one Azure resource type, for example Microsoft.Compute/virtualMachines.

      Parameters:
      resourceType - Limits the results to one Azure resource type, for example Microsoft.Compute/virtualMachines.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      Limits the results to one Azure Region, for example eastus.

      Parameters:
      region - Limits the results to one Azure Region, for example eastus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.

      Parameters:
      tagFilters - Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      AzureResourceIdsQuery.Builder tagFilters(TagFilter... tagFilters)

      Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.

      Parameters:
      tagFilters - Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.

      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: