@azure/arm-sovereign package

Classes

SovereignClient

Interfaces

CheckNameAvailabilityRequest

The check availability request body.

CheckNameAvailabilityResponse

The check availability result.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Common error response for all Azure Resource Manager APIs to return error details for failed operations.

Operation

Details of a REST API operation, returned from the Resource Provider Operations API

OperationDisplay

Localized display information for an operation.

OperationsCheckNameAvailabilityLocalOptionalParams

Optional parameters.

OperationsCheckNameAvailabilityOptionalParams

Optional parameters.

OperationsListOptionalParams

Optional parameters.

OperationsOperations

Interface representing a Operations operations.

PageSettings

Options for the byPage method

PagedAsyncIterableIterator

An interface that allows async iterable iteration both to completion and by page.

ReportStatus

The compliance report generation status, including the current state and the next attempt time.

Resource

Common fields that are returned in the response for all Azure Resource Manager resources

RestorePollerOptions
SovereignClientOptionalParams

Optional parameters for the client.

SovereignViewAffectedScopes

An affected scope in a sovereign view operational status detail.

SovereignViewArmTemplateBundle

An Azure Resource Manager template bundle produced by a remediation.

SovereignViewComplianceDetail

A compliance detail item for a resource in the sovereign view compliance details action.

SovereignViewComplianceDetailResource

A compliance detail item for a resource.

SovereignViewComplianceDetailsContent

The request for the sovereign view compliance details action.

SovereignViewComplianceDetailsDimensionFilter

The filter for compliance details based on compliance dimensions and their states.

SovereignViewComplianceDetailsFilters

The filters to apply when querying for compliance details.

SovereignViewComplianceDetailsResult

The response for the sovereign view compliance details action.

SovereignViewComplianceDetailsSearch

Search field and query for Sovereign View Compliance details.

SovereignViewComplianceDetailsSort

The sorting for compliance details.

SovereignViewComplianceDimensionSummary

The compliance summary for a specific dimension in the sovereign view compliance summary action.

SovereignViewComplianceOverallSummary

The overall compliance summary in the sovereign view compliance summary action.

SovereignViewComplianceResourceDetailsContent

The request for the compliance reasoning of one resource and dimension.

SovereignViewComplianceResourceDetailsResult

The compliance reasoning for given resource and dimension, including the reasoning for its linked and replica resources.

SovereignViewComplianceSummaryResult

The response for the sovereign view compliance summary action.

SovereignViewDataEvaluation

A linked or replica resource evaluation contributing to the compliance reasoning.

SovereignViewDataEvaluationOutcome

The compliance reasoning outcome produced by an evaluation query for a single resource.

SovereignViewDataResidencyDimensionSettings

Evaluation settings for the Data Residency dimension.

SovereignViewDataResidencyParameters

Parameters used by the Data Residency evaluation.

SovereignViewDimensionDetail

A compliance detail item for a resource in the sovereign view compliance details action.

SovereignViewDimensionSettings

Per-dimension evaluation settings for the sovereign view.

SovereignViewFilterValueItem

A filter value item with the associated count.

SovereignViewFilterValuesContent

The request for the sovereign view filter values action.

SovereignViewFilterValuesResult

The response for the sovereign view filter values action.

SovereignViewManagementGroupScope

A management group scope item for the sovereign view.

SovereignViewOperationalStatusContent

The request for the sovereign view operational status action.

SovereignViewOperationalStatusDetails

An operational status detail item describing an issue impacting the operability of the sovereign view.

SovereignViewOperationalStatusResult

The response for the sovereign view operational status action.

SovereignViewOperationsComplianceDetailsOptionalParams

Optional parameters.

SovereignViewOperationsComplianceResourceDetailsOptionalParams

Optional parameters.

SovereignViewOperationsComplianceSummaryOptionalParams

Optional parameters.

SovereignViewOperationsCreateOptionalParams

Optional parameters.

SovereignViewOperationsDeleteOptionalParams

Optional parameters.

SovereignViewOperationsFilterValuesOptionalParams

Optional parameters.

SovereignViewOperationsGetOptionalParams

Optional parameters.

SovereignViewOperationsListByResourceGroupOptionalParams

Optional parameters.

SovereignViewOperationsListBySubscriptionOptionalParams

Optional parameters.

SovereignViewOperationsOperationalStatusOptionalParams

Optional parameters.

SovereignViewOperationsOperations

Interface representing a SovereignViewOperations operations.

SovereignViewOperationsRemediateOptionalParams

Optional parameters.

SovereignViewOperationsRemediationResultOptionalParams

Optional parameters.

SovereignViewOperationsUpdateOptionalParams

Optional parameters.

SovereignViewPolicyInitiativeDetail

The policy initiative details for the sovereign view.

SovereignViewRemediateContent

The request for the sovereign view remediate action.

SovereignViewRemediateResult

The response for the sovereign view remediate action.

SovereignViewRemediationResult

The response for the sovereign view remediationResult action.

SovereignViewRemediationResultContent

The request for the sovereign view remediationResult action.

SovereignViewRemediationResultItem

A single remediation result item.

SovereignViewResidencyRemediationConfiguration

The configuration for a residency remediation request.

SovereignViewResidencyRemediationContent

The residency remediation request payload.

SovereignViewResidencyRemediationResource

A single resource targeted by a residency remediation request.

SovereignViewResidencyRemediationResourceConfiguration

The per-resource configuration for a residency remediation request.

SovereignViewResource

The Sovereign View resource type.

SovereignViewResourcePatch

The patch model for the sovereign view resource type.

SovereignViewResourceProperties

The properties of the sovereign view resource type.

SovereignViewScope

The scope for the sovereign view in terms of the resources it would evaluate.

SovereignViewSubscriptionScope

A subscription scope item for the sovereign view.

SystemAssignedServiceIdentity

Managed service identity (either system assigned, or none)

SystemData

Metadata pertaining to creation and last modification of the resource.

TrackedResource

The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

Type Aliases

ActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
KnownActionType can be used interchangeably with ActionType, this enum contains the known values that the service supports.

Known values supported by the service

Internal: Actions are for internal-only APIs.

AzureSupportedClouds

The supported values for cloud setting as a string literal type

CheckNameAvailabilityReason

Possible reasons for a name not being available.
KnownCheckNameAvailabilityReason can be used interchangeably with CheckNameAvailabilityReason, this enum contains the known values that the service supports.

Known values supported by the service

Invalid: Name is invalid.
AlreadyExists: Name already exists.

ComplianceDimension

The compliance dimension to be associated with the policy initiative.
KnownComplianceDimension can be used interchangeably with ComplianceDimension, this enum contains the known values that the service supports.

Known values supported by the service

DataResidency: Data residency compliance dimension.
EncryptionAtRest: Encryption at rest compliance dimension.
EncryptionInTransit: Encryption in transit compliance dimension.
EncryptionInUse: Encryption in use compliance dimension.
ControlledNetworkExposure: Controlled network exposure compliance dimension.
BusinessContinuity: Business continuity compliance dimension.

ContinuablePage

An interface that describes a page of results.

CreatedByType

The kind of entity that created the resource.
KnownCreatedByType can be used interchangeably with CreatedByType, this enum contains the known values that the service supports.

Known values supported by the service

User: The entity was created by a user.
Application: The entity was created by an application.
ManagedIdentity: The entity was created by a managed identity.
Key: The entity was created by a key.

DataResidencyResourceEvaluationScope

The resource scope evaluated for the Data Residency dimension.
KnownDataResidencyResourceEvaluationScope can be used interchangeably with DataResidencyResourceEvaluationScope, this enum contains the known values that the service supports.

Known values supported by the service

Residency360: Evaluate the resource together with the resources linked to it.
ResourceOnly: Evaluate only the resource itself, without its linked resources.

DataState

The state of the report data.
KnownDataState can be used interchangeably with DataState, this enum contains the known values that the service supports.

Known values supported by the service

Processing: The data is still being processed and is not yet available.
Processed: The data is processed and available.
Error: An error occurred while processing the data.

OperationalStatusEvaluationParameter

An evaluation parameter that controls which checks are performed when determining operational status.
KnownOperationalStatusEvaluationParameter can be used interchangeably with OperationalStatusEvaluationParameter, this enum contains the known values that the service supports.

Known values supported by the service

PermissionsEvaluation: Evaluate managed identity permissions on the scopes in the sovereign view.
PolicyAssignmentEvaluation: Evaluate policy assignments on the scopes in the sovereign view.

OperationalStatusRequestMode

The level of detail to return in the sovereign view operational status response.
KnownOperationalStatusRequestMode can be used interchangeably with OperationalStatusRequestMode, this enum contains the known values that the service supports.

Known values supported by the service

Summary: Returns a high-level operational status suitable for quickly determining overall view health.
Detailed: Returns a comprehensive operational status, including detailed information about individual checks, dependencies, and any issues impacting view operability.

OperationalStatusStates

The overall operational status states for a sovereign view.
KnownOperationalStatusStates can be used interchangeably with OperationalStatusStates, this enum contains the known values that the service supports.

Known values supported by the service

Healthy: The sovereign view is healthy and fully operational.
Unhealthy: The sovereign view is unhealthy and its operability is impacted.
Unknown: The operational status of the sovereign view could not be determined.

OperationalStatusUnhealthyReason

The reasons a sovereign view or an individual scope is unhealthy.
KnownOperationalStatusUnhealthyReason can be used interchangeably with OperationalStatusUnhealthyReason, this enum contains the known values that the service supports.

Known values supported by the service

MIMissing: The managed identity is missing.
MIPermissionMissing: The managed identity is missing required permissions.
PolicyAssignmentMissing: A required policy assignment is missing.

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
KnownOrigin can be used interchangeably with Origin, this enum contains the known values that the service supports.

Known values supported by the service

user: Indicates the operation is initiated by a user.
system: Indicates the operation is initiated by a system.
user,system: Indicates the operation is initiated by a user or system.

PolicyComplianceState

Supported compliance states for the policy initiatives.
KnownPolicyComplianceState can be used interchangeably with PolicyComplianceState, this enum contains the known values that the service supports.

Known values supported by the service

Compliant: The resource is compliant with respect to the given policy.
NonCompliant: The resource is not compliant with respect to the given policy.
Conflict: The resource is in a conflict with respect to the given policy.
NotApplicable: The resource is in a state that is not applicable to the given policy.
NotEvaluated: The resource has not been evaluated for compliance with respect to the given policy.
Constrained: The resource is non-compliant for Business Continuity, but a validated actionable escape path is available.
Others: The resource is in a compliance state other than Compliant, NonCompliant, Conflict, NotApplicable, or NotEvaluated.

ProvisioningState

The custom provisioning state.
KnownProvisioningState can be used interchangeably with ProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.
Creating: The state of the resource when creating
Updating: The state of the resource when updating
Deleting: The state of the resource when deleting

ReportState

The compliance report generation state.
KnownReportState can be used interchangeably with ReportState, this enum contains the known values that the service supports.

Known values supported by the service

Generating: The compliance report is being generated for the first time.
NoDataYet: No compliance data is available yet.
UpToDate: The compliance report is up to date.
Retrying: The compliance report generation is being retried.
Refreshing: The compliance report is being refreshed.
Stale: The compliance report is stale and pending refresh.
Blocked: The compliance report generation is blocked.

ScopeLevelOperationalStatusStates

The operational status states for an individual scope within a sovereign view.
KnownScopeLevelOperationalStatusStates can be used interchangeably with ScopeLevelOperationalStatusStates, this enum contains the known values that the service supports.

Known values supported by the service

Unhealthy: The scope is unhealthy and its operability is impacted.
Unknown: The operational status of the scope could not be determined.
Deleted: The scope has been deleted.

SovereignViewComplianceDetailsFilterOperators

Supported filter operators for Sovereign View Compliance details.
KnownSovereignViewComplianceDetailsFilterOperators can be used interchangeably with SovereignViewComplianceDetailsFilterOperators, this enum contains the known values that the service supports.

Known values supported by the service

In: In filter operator. Returns results where the field value is in the provided list of values.

SovereignViewComplianceDetailsSortDirections

Supported sort directions for Sovereign View Compliance details.
KnownSovereignViewComplianceDetailsSortDirections can be used interchangeably with SovereignViewComplianceDetailsSortDirections, this enum contains the known values that the service supports.

Known values supported by the service

asc: Ascending sort direction.
desc: Descending sort direction.

SovereignViewEvaluationIntent

What an evaluation query was run to find.
KnownSovereignViewEvaluationIntent can be used interchangeably with SovereignViewEvaluationIntent, this enum contains the known values that the service supports.

Known values supported by the service

LinkedResources: Resources linked to the evaluated resource.
GeoReplica: Geo-replicas of the evaluated resource.
BusinessContinuity: Business continuity characteristics of the evaluated resource.

SovereignViewFilterField

Supported filter fields for Sovereign View compliance details.
KnownSovereignViewFilterField can be used interchangeably with SovereignViewFilterField, this enum contains the known values that the service supports.

Known values supported by the service

Subscription: Filter by subscription.
ResourceGroup: Filter by resource group.
ResourceName: Filter by resource name.
ResourceType: Filter by resource type.
Region: Filter by region.
EncryptionInTransit: Filter by Encryption In Transit compliance dimension.
DataResidency: Filter by Data Residency compliance dimension.
EncryptionAtRest: Filter by Encryption At Rest compliance dimension.
EncryptionInUse: Filter by Encryption In Use compliance dimension.
ControlledNetworkExposure: Filter by Controlled Network Exposure compliance dimension.
BusinessContinuity: Filter by Business Continuity compliance dimension.
ParentResourceName: Filter by the name of the parent resource that contains the resource.

SovereignViewLinkedResourceEvaluationSource

The source that produced a linked or replica resource evaluation.
KnownSovereignViewLinkedResourceEvaluationSource can be used interchangeably with SovereignViewLinkedResourceEvaluationSource, this enum contains the known values that the service supports.

Known values supported by the service

ARG: Azure Resource Graph.
LogAnalytics: Log Analytics.
BusinessContinuity: The business continuity evaluation source.

SovereignViewRegulatoryDocumentName

Stable regulatory-document keys recognized by the Portal.
KnownSovereignViewRegulatoryDocumentName can be used interchangeably with SovereignViewRegulatoryDocumentName, this enum contains the known values that the service supports.

Known values supported by the service

SovereignControlBaseline: The Azure Cloud Sovereign Baseline document selected by default in the Portal.

SovereignViewRemediationPayloadType

The type of remediation payload returned in a remediation result item.
KnownSovereignViewRemediationPayloadType can be used interchangeably with SovereignViewRemediationPayloadType, this enum contains the known values that the service supports.

Known values supported by the service

ArmTemplateBundle: The remediation payload is an Azure Resource Manager template bundle.

SovereignViewRemediationStatus

The status of a sovereign view remediation.
KnownSovereignViewRemediationStatus can be used interchangeably with SovereignViewRemediationStatus, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: The remediation completed successfully.
Failed: The remediation failed.

SovereignViewResourceEvaluationSource

The evaluation source that produced a compliance state for a resource and dimension.
KnownSovereignViewResourceEvaluationSource can be used interchangeably with SovereignViewResourceEvaluationSource, this enum contains the known values that the service supports.

Known values supported by the service

Policy: The evaluation was produced by Azure Policy.
SovereignIntelligence: The evaluation was produced by Sovereign Intelligence.

SovereignViewScopeType

The type of scope in a sovereign view.
KnownSovereignViewScopeType can be used interchangeably with SovereignViewScopeType, this enum contains the known values that the service supports.

Known values supported by the service

ManagementGroup: A management group scope.
Subscription: A subscription scope.

SystemAssignedServiceIdentityType

Type of managed service identity (either system assigned, or none).
KnownSystemAssignedServiceIdentityType can be used interchangeably with SystemAssignedServiceIdentityType, this enum contains the known values that the service supports.

Known values supported by the service

None: No managed system identity.
SystemAssigned: System assigned managed system identity.

Enums

AzureClouds

An enum to describe Azure Cloud environments.

KnownActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

KnownCheckNameAvailabilityReason

Possible reasons for a name not being available.

KnownComplianceDimension

The compliance dimension to be associated with the policy initiative.

KnownCreatedByType

The kind of entity that created the resource.

KnownDataResidencyResourceEvaluationScope

The resource scope evaluated for the Data Residency dimension.

KnownDataState

The state of the report data.

KnownOperationalStatusEvaluationParameter

An evaluation parameter that controls which checks are performed when determining operational status.

KnownOperationalStatusRequestMode

The level of detail to return in the sovereign view operational status response.

KnownOperationalStatusStates

The overall operational status states for a sovereign view.

KnownOperationalStatusUnhealthyReason

The reasons a sovereign view or an individual scope is unhealthy.

KnownOrigin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

KnownPolicyComplianceState

Supported compliance states for the policy initiatives.

KnownProvisioningState

The custom provisioning state.

KnownReportState

The compliance report generation state.

KnownScopeLevelOperationalStatusStates

The operational status states for an individual scope within a sovereign view.

KnownSovereignViewComplianceDetailsFilterOperators

Supported filter operators for Sovereign View Compliance details.

KnownSovereignViewComplianceDetailsSortDirections

Supported sort directions for Sovereign View Compliance details.

KnownSovereignViewEvaluationIntent

What an evaluation query was run to find.

KnownSovereignViewFilterField

Supported filter fields for Sovereign View compliance details.

KnownSovereignViewLinkedResourceEvaluationSource

The source that produced a linked or replica resource evaluation.

KnownSovereignViewRegulatoryDocumentName

Stable regulatory-document keys recognized by the Portal.

KnownSovereignViewRemediationPayloadType

The type of remediation payload returned in a remediation result item.

KnownSovereignViewRemediationStatus

The status of a sovereign view remediation.

KnownSovereignViewResourceEvaluationSource

The evaluation source that produced a compliance state for a resource and dimension.

KnownSovereignViewScopeType

The type of scope in a sovereign view.

KnownSystemAssignedServiceIdentityType

Type of managed service identity (either system assigned, or none).

KnownVersions

The Microsoft Sovereign Provider version.

Functions

isRestError(unknown)

Typeguard for RestError

restorePoller<TResponse, TResult>(SovereignClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

Variables

RestError

A custom error type for failed pipeline requests.

Function Details

isRestError(unknown)

Typeguard for RestError

function isRestError(e: unknown): e is RestError

Parameters

e

unknown

Something caught by a catch clause.

Returns

e is RestError

restorePoller<TResponse, TResult>(SovereignClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

function restorePoller<TResponse, TResult>(client: SovereignClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

Parameters

serializedState

string

sourceOperation

(args: any[]) => PollerLike<OperationState<TResult>, TResult>

Returns

PollerLike<OperationState<TResult>, TResult>

Variable Details

RestError

A custom error type for failed pipeline requests.

RestError: RestErrorConstructor

Type