This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.security.getGovernanceAssignment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a specific governanceAssignment for the requested scope by AssignmentKey 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?: InvokeOptions): 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: Optional[pulumi.Input[str]] = None,
                              assignment_key: Optional[pulumi.Input[str]] = None,
                              scope: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = 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 CompletableFuture<GetGovernanceAssignmentResult> getGovernanceAssignment(GetGovernanceAssignmentArgs args, InvokeOptions options)
public static Output<GetGovernanceAssignmentResult> getGovernanceAssignment(GetGovernanceAssignmentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:security:getGovernanceAssignment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AssessmentName string
- The Assessment Key - A unique key for the assessment type
- AssignmentKey string
- The governance assignment key - the assessment key of the required governance assignment
- Scope string
- The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- AssessmentName string
- The Assessment Key - A unique key for the assessment type
- AssignmentKey string
- The governance assignment key - the assessment key of the required governance assignment
- Scope string
- The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- assessmentName String
- The Assessment Key - A unique key for the assessment type
- assignmentKey String
- The governance assignment key - the assessment key of the required governance assignment
- scope String
- The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- assessmentName string
- The Assessment Key - A unique key for the assessment type
- assignmentKey string
- The governance assignment key - the assessment key of the required governance assignment
- scope string
- The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- assessment_name str
- The Assessment Key - A unique key for the assessment type
- assignment_key str
- The governance assignment key - the assessment key of the required governance assignment
- scope str
- The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- assessmentName String
- The Assessment Key - A unique key for the assessment type
- assignmentKey String
- The governance assignment key - the assessment key of the required governance assignment
- scope String
- The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
getGovernanceAssignment Result
The following output properties are available:
- Id string
- Resource Id
- Name string
- Resource name
- RemediationDue stringDate 
- The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- Type string
- Resource type
- AdditionalData 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
- GovernanceEmail 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
- IsGrace 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
- RemediationEta Pulumi.Azure Native. Security. Outputs. Remediation Eta Response 
- The ETA (estimated time of arrival) for remediation (optional), see example
- Id string
- Resource Id
- Name string
- Resource name
- RemediationDue stringDate 
- The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- Type string
- Resource type
- AdditionalData GovernanceAssignment Additional Data Response 
- The additional data for the governance assignment - e.g. links to ticket (optional), see example
- GovernanceEmail GovernanceNotification Email Notification Response 
- The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- IsGrace 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
- RemediationEta RemediationEta Response 
- The ETA (estimated time of arrival) for remediation (optional), see example
- id String
- Resource Id
- name String
- Resource name
- remediationDue StringDate 
- The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- type String
- Resource type
- additionalData GovernanceAssignment Additional Data Response 
- The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governanceEmail GovernanceNotification Email Notification Response 
- The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- isGrace 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
- remediationEta RemediationEta Response 
- The ETA (estimated time of arrival) for remediation (optional), see example
- id string
- Resource Id
- name string
- Resource name
- remediationDue stringDate 
- The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- type string
- Resource type
- additionalData GovernanceAssignment Additional Data Response 
- The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governanceEmail GovernanceNotification Email Notification Response 
- The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- isGrace 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
- remediationEta RemediationEta Response 
- The ETA (estimated time of arrival) for remediation (optional), see example
- id str
- Resource Id
- name str
- Resource name
- remediation_due_ strdate 
- The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- type str
- Resource type
- 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
- id String
- Resource Id
- name String
- Resource name
- remediationDue StringDate 
- The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)
- type String
- Resource type
- additionalData Property Map
- The additional data for the governance assignment - e.g. links to ticket (optional), see example
- governanceEmail Property MapNotification 
- The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
- isGrace 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
- remediationEta Property Map
- The ETA (estimated time of arrival) for remediation (optional), see example
Supporting Types
GovernanceAssignmentAdditionalDataResponse    
- TicketLink string
- Ticket link associated with this governance assignment - for example: https://snow.com
- TicketNumber int
- Ticket number associated with this governance assignment
- TicketStatus string
- The ticket status associated with this governance assignment - for example: Active
- TicketLink string
- Ticket link associated with this governance assignment - for example: https://snow.com
- TicketNumber int
- Ticket number associated with this governance assignment
- TicketStatus string
- The ticket status associated with this governance assignment - for example: Active
- ticketLink String
- Ticket link associated with this governance assignment - for example: https://snow.com
- ticketNumber Integer
- Ticket number associated with this governance assignment
- ticketStatus String
- The ticket status associated with this governance assignment - for example: Active
- ticketLink string
- Ticket link associated with this governance assignment - for example: https://snow.com
- ticketNumber number
- Ticket number associated with this governance assignment
- ticketStatus 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
- ticketLink String
- Ticket link associated with this governance assignment - for example: https://snow.com
- ticketNumber Number
- Ticket number associated with this governance assignment
- ticketStatus String
- The ticket status associated with this governance assignment - for example: Active
GovernanceEmailNotificationResponse   
- DisableManager boolEmail Notification 
- Exclude manager from weekly email notification.
- DisableOwner boolEmail Notification 
- Exclude owner from weekly email notification.
- DisableManager boolEmail Notification 
- Exclude manager from weekly email notification.
- DisableOwner boolEmail Notification 
- Exclude owner from weekly email notification.
- disableManager BooleanEmail Notification 
- Exclude manager from weekly email notification.
- disableOwner BooleanEmail Notification 
- Exclude owner from weekly email notification.
- disableManager booleanEmail Notification 
- Exclude manager from weekly email notification.
- disableOwner 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.
- disableManager BooleanEmail Notification 
- Exclude manager from weekly email notification.
- disableOwner 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 str
- ETA for remediation.
- justification str
- Justification for change of Eta.
- eta String
- ETA for remediation.
- justification String
- Justification for change of Eta.
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 v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi