This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
Get a specific governanceAssignment for the requested scope by AssignmentKey
Uses Azure REST API version 2022-01-01-preview.
Using getGovernanceAssignment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGovernanceAssignment(args: GetGovernanceAssignmentArgs, opts?: InvokeOptions): Promise<GetGovernanceAssignmentResult>
function getGovernanceAssignmentOutput(args: GetGovernanceAssignmentOutputArgs, opts?: InvokeOutputOptions): Output<GetGovernanceAssignmentResult>def get_governance_assignment(assessment_name: Optional[str] = None,
assignment_key: Optional[str] = None,
scope: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGovernanceAssignmentResult
def get_governance_assignment_output(assessment_name: pulumi.Input[Optional[str]] = None,
assignment_key: pulumi.Input[Optional[str]] = None,
scope: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetGovernanceAssignmentResult]func LookupGovernanceAssignment(ctx *Context, args *LookupGovernanceAssignmentArgs, opts ...InvokeOption) (*LookupGovernanceAssignmentResult, error)
func LookupGovernanceAssignmentOutput(ctx *Context, args *LookupGovernanceAssignmentOutputArgs, opts ...InvokeOption) LookupGovernanceAssignmentResultOutput> Note: This function is named LookupGovernanceAssignment in the Go SDK.
public static class GetGovernanceAssignment
{
public static Task<GetGovernanceAssignmentResult> InvokeAsync(GetGovernanceAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetGovernanceAssignmentResult> Invoke(GetGovernanceAssignmentInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetGovernanceAssignmentResult> Invoke(GetGovernanceAssignmentInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetGovernanceAssignmentResult> getGovernanceAssignment(GetGovernanceAssignmentArgs args, InvokeOptions options)
public static Output<GetGovernanceAssignmentResult> getGovernanceAssignment(GetGovernanceAssignmentArgs args, InvokeOptions options)
public static Output<GetGovernanceAssignmentResult> getGovernanceAssignment(GetGovernanceAssignmentArgs args, InvokeOutputOptions options)
fn::invoke:
function: azure-native:security:getGovernanceAssignment
arguments:
# arguments dictionarydata "azure-native_security_get_governance_assignment" "name" {
# arguments
}The following arguments are supported:
- Assessment
Name string - The assessment key of the governance assignment.
- Assignment
Key string - The governance assignment key.
- Scope string
- The scope of the governance assignment.
- Assessment
Name string - The assessment key of the governance assignment.
- Assignment
Key string - The governance assignment key.
- Scope string
- The scope of the governance assignment.
- assessment_
name string - The assessment key of the governance assignment.
- assignment_
key string - The governance assignment key.
- scope string
- The scope of the governance assignment.
- assessment
Name String - The assessment key of the governance assignment.
- assignment
Key String - The governance assignment key.
- scope String
- The scope of the governance assignment.
- assessment
Name string - The assessment key of the governance assignment.
- assignment
Key string - The governance assignment key.
- scope string
- The scope of the governance assignment.
- assessment_
name str - The assessment key of the governance assignment.
- assignment_
key str - The governance assignment key.
- scope str
- The scope of the governance assignment.
- assessment
Name String - The assessment key of the governance assignment.
- assignment
Key String - The governance assignment key.
- scope String
- The scope of the governance assignment.
getGovernanceAssignment Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Remediation
Due stringDate - The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- System
Data Pulumi.Azure Native. Security. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Additional
Data Pulumi.Azure Native. Security. Outputs. Governance Assignment Additional Data Response - The additional data for the governance assignment - e.g. links to ticket (optional), see example
- Governance
Email Pulumi.Notification Azure Native. Security. Outputs. Governance Email Notification Response - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- Is
Grace boolPeriod - Defines whether there is a grace period on the governance assignment
- Owner string
- The Owner for the governance assignment - e.g. user@contoso.com - see example
- Remediation
Eta Pulumi.Azure Native. Security. Outputs. Remediation Eta Response - The ETA (estimated time of arrival) for remediation (optional), see example
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Remediation
Due stringDate - The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Additional
Data GovernanceAssignment Additional Data Response - The additional data for the governance assignment - e.g. links to ticket (optional), see example
- Governance
Email GovernanceNotification Email Notification Response - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- Is
Grace boolPeriod - Defines whether there is a grace period on the governance assignment
- Owner string
- The Owner for the governance assignment - e.g. user@contoso.com - see example
- Remediation
Eta RemediationEta Response - The ETA (estimated time of arrival) for remediation (optional), see example
- azure_
api_ stringversion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- remediation_
due_ stringdate - The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- additional_
data object - The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governance_
email_ objectnotification - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- is_
grace_ boolperiod - Defines whether there is a grace period on the governance assignment
- owner string
- The Owner for the governance assignment - e.g. user@contoso.com - see example
- remediation_
eta object - The ETA (estimated time of arrival) for remediation (optional), see example
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- remediation
Due StringDate - The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- additional
Data GovernanceAssignment Additional Data Response - The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governance
Email GovernanceNotification Email Notification Response - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- is
Grace BooleanPeriod - Defines whether there is a grace period on the governance assignment
- owner String
- The Owner for the governance assignment - e.g. user@contoso.com - see example
- remediation
Eta RemediationEta Response - The ETA (estimated time of arrival) for remediation (optional), see example
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- remediation
Due stringDate - The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- additional
Data GovernanceAssignment Additional Data Response - The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governance
Email GovernanceNotification Email Notification Response - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- is
Grace booleanPeriod - Defines whether there is a grace period on the governance assignment
- owner string
- The Owner for the governance assignment - e.g. user@contoso.com - see example
- remediation
Eta RemediationEta Response - The ETA (estimated time of arrival) for remediation (optional), see example
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- remediation_
due_ strdate - The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- additional_
data GovernanceAssignment Additional Data Response - The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governance_
email_ Governancenotification Email Notification Response - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- is_
grace_ boolperiod - Defines whether there is a grace period on the governance assignment
- owner str
- The Owner for the governance assignment - e.g. user@contoso.com - see example
- remediation_
eta RemediationEta Response - The ETA (estimated time of arrival) for remediation (optional), see example
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- remediation
Due StringDate - The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- additional
Data Property Map - The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governance
Email Property MapNotification - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- is
Grace BooleanPeriod - Defines whether there is a grace period on the governance assignment
- owner String
- The Owner for the governance assignment - e.g. user@contoso.com - see example
- remediation
Eta Property Map - The ETA (estimated time of arrival) for remediation (optional), see example
Supporting Types
GovernanceAssignmentAdditionalDataResponse
- Ticket
Link string - Ticket link associated with this governance assignment - for example: https://snow.com
- Ticket
Number int - Ticket number associated with this governance assignment
- Ticket
Status string - The ticket status associated with this governance assignment - for example: Active
- Ticket
Link string - Ticket link associated with this governance assignment - for example: https://snow.com
- Ticket
Number int - Ticket number associated with this governance assignment
- Ticket
Status string - The ticket status associated with this governance assignment - for example: Active
- ticket_
link string - Ticket link associated with this governance assignment - for example: https://snow.com
- ticket_
number number - Ticket number associated with this governance assignment
- ticket_
status string - The ticket status associated with this governance assignment - for example: Active
- ticket
Link String - Ticket link associated with this governance assignment - for example: https://snow.com
- ticket
Number Integer - Ticket number associated with this governance assignment
- ticket
Status String - The ticket status associated with this governance assignment - for example: Active
- ticket
Link string - Ticket link associated with this governance assignment - for example: https://snow.com
- ticket
Number number - Ticket number associated with this governance assignment
- ticket
Status string - The ticket status associated with this governance assignment - for example: Active
- ticket_
link str - Ticket link associated with this governance assignment - for example: https://snow.com
- ticket_
number int - Ticket number associated with this governance assignment
- ticket_
status str - The ticket status associated with this governance assignment - for example: Active
- ticket
Link String - Ticket link associated with this governance assignment - for example: https://snow.com
- ticket
Number Number - Ticket number associated with this governance assignment
- ticket
Status String - The ticket status associated with this governance assignment - for example: Active
GovernanceEmailNotificationResponse
- Disable
Manager boolEmail Notification - Exclude manager from weekly email notification.
- Disable
Owner boolEmail Notification - Exclude owner from weekly email notification.
- Disable
Manager boolEmail Notification - Exclude manager from weekly email notification.
- Disable
Owner boolEmail Notification - Exclude owner from weekly email notification.
- disable_
manager_ boolemail_ notification - Exclude manager from weekly email notification.
- disable_
owner_ boolemail_ notification - Exclude owner from weekly email notification.
- disable
Manager BooleanEmail Notification - Exclude manager from weekly email notification.
- disable
Owner BooleanEmail Notification - Exclude owner from weekly email notification.
- disable
Manager booleanEmail Notification - Exclude manager from weekly email notification.
- disable
Owner booleanEmail Notification - Exclude owner from weekly email notification.
- disable_
manager_ boolemail_ notification - Exclude manager from weekly email notification.
- disable_
owner_ boolemail_ notification - Exclude owner from weekly email notification.
- disable
Manager BooleanEmail Notification - Exclude manager from weekly email notification.
- disable
Owner BooleanEmail Notification - Exclude owner from weekly email notification.
RemediationEtaResponse
- Eta string
- ETA for remediation.
- Justification string
- Justification for change of Eta.
- Eta string
- ETA for remediation.
- Justification string
- Justification for change of Eta.
- eta string
- ETA for remediation.
- justification string
- Justification for change of Eta.
- eta String
- ETA for remediation.
- justification String
- Justification for change of Eta.
- eta string
- ETA for remediation.
- justification string
- Justification for change of Eta.
- eta str
- ETA for remediation.
- justification str
- Justification for change of Eta.
- eta String
- ETA for remediation.
- justification String
- Justification for change of Eta.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at string - The timestamp of resource creation (UTC).
- created_
by string - The identity that created the resource.
- created_
by_ stringtype - The type of identity that created the resource.
- last_
modified_ stringat - The timestamp of resource last modification (UTC)
- last_
modified_ stringby - The identity that last modified the resource.
- last_
modified_ stringby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi