Skip to content

ScopeConfiguration

Source code in docs_src/capo_inspector2/types/scope_configuration.py
class ScopeConfiguration(TypedDict, closed=True):
    scope_type: "capo_inspector2.types.scope_type.ScopeType"
    """<p>The type of scope. Valid values are <code>TENANT</code>, which scans all resources in the Azure tenant, and <code>SUBSCRIPTION</code>, which scans only the resources in the specified Azure subscriptions.</p>"""
    scope_values: NotRequired["capo_inspector2.types.scope_value_list.ScopeValueList"]
    """<p>The list of scope values. For subscription-level scope, these are Azure subscription IDs.</p>"""
    state: NotRequired["capo_inspector2.types.scope_state.ScopeState"]
    """<p>The current state of the scope configuration.</p>"""
    state_reason: NotRequired["str"]
    """<p>The reason for the current state of the scope configuration.</p>"""

scope_type instance-attribute

scope_type: ScopeType

The type of scope. Valid values are TENANT, which scans all resources in the Azure tenant, and SUBSCRIPTION, which scans only the resources in the specified Azure subscriptions.

scope_values instance-attribute

scope_values: NotRequired[ScopeValueList]

The list of scope values. For subscription-level scope, these are Azure subscription IDs.

state instance-attribute

state: NotRequired[ScopeState]

The current state of the scope configuration.

state_reason instance-attribute

state_reason: NotRequired[str]

The reason for the current state of the scope configuration.