GetGovernanceRuleResult

data class GetGovernanceRuleResult(val azureApiVersion: String, val description: String? = null, val displayName: String, val excludedScopes: List<String>? = null, val governanceEmailNotification: GovernanceRuleEmailNotificationResponse? = null, val id: String, val includeMemberScopes: Boolean? = null, val isDisabled: Boolean? = null, val isGracePeriod: Boolean? = null, val metadata: GovernanceRuleMetadataResponse? = null, val name: String, val ownerSource: GovernanceRuleOwnerSourceResponse, val remediationTimeframe: String? = null, val rulePriority: Int, val ruleType: String, val sourceResourceType: String, val tenantId: String, val type: String)

Governance rule over a given scope

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, description: String? = null, displayName: String, excludedScopes: List<String>? = null, governanceEmailNotification: GovernanceRuleEmailNotificationResponse? = null, id: String, includeMemberScopes: Boolean? = null, isDisabled: Boolean? = null, isGracePeriod: Boolean? = null, metadata: GovernanceRuleMetadataResponse? = null, name: String, ownerSource: GovernanceRuleOwnerSourceResponse, remediationTimeframe: String? = null, rulePriority: Int, ruleType: String, sourceResourceType: String, tenantId: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val description: String? = null

Description of the governance rule

Link copied to clipboard

Display name of the governance rule

Link copied to clipboard
val excludedScopes: List<String>? = null

Excluded scopes, filter out the descendants of the scope (on management scopes)

Link copied to clipboard

The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners

Link copied to clipboard
val id: String

Resource Id

Link copied to clipboard

Defines whether the rule is management scope rule (master connector as a single scope or management scope)

Link copied to clipboard
val isDisabled: Boolean? = null

Defines whether the rule is active/inactive

Link copied to clipboard
val isGracePeriod: Boolean? = null

Defines whether there is a grace period on the governance rule

Link copied to clipboard

The governance rule metadata

Link copied to clipboard

Resource name

Link copied to clipboard

The owner source for the governance rule - e.g. Manually by user@contoso.com - see example

Link copied to clipboard

Governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days

Link copied to clipboard

The governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed

Link copied to clipboard

The rule type of the governance rule, defines the source of the rule e.g. Integrated

Link copied to clipboard

The governance rule source, what the rule affects, e.g. Assessments

Link copied to clipboard

The tenantId (GUID)

Link copied to clipboard

Resource type