New-MgBetaTenantRelationshipManagedTenantAlertRuleDefinition

Create new navigation property to managedTenantAlertRuleDefinitions for tenantRelationships

Syntax

PowerShell
New-MgBetaTenantRelationshipManagedTenantAlertRuleDefinition
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-AlertRules <IMicrosoftGraphManagedTenantsManagedTenantAlertRule[]>]
   [-CreatedByUserId <String>]
   [-CreatedDateTime <DateTime>]
   [-DefinitionTemplate <IMicrosoftGraphManagedTenantsAlertRuleDefinitionTemplate>]
   [-DisplayName <String>]
   [-Id <String>]
   [-LastActionByUserId <String>]
   [-LastActionDateTime <DateTime>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
PowerShell
New-MgBetaTenantRelationshipManagedTenantAlertRuleDefinition
   -BodyParameter <IMicrosoftGraphManagedTenantsManagedTenantAlertRuleDefinition>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create new navigation property to managedTenantAlertRuleDefinitions for tenantRelationships

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AlertRules

To construct, see NOTES section for ALERTRULES properties and create a hash table.

Type:IMicrosoftGraphManagedTenantsManagedTenantAlertRule[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

managedTenantAlertRuleDefinition To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphManagedTenantsManagedTenantAlertRuleDefinition
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreatedByUserId

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreatedDateTime

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefinitionTemplate

alertRuleDefinitionTemplate To construct, see NOTES section for DEFINITIONTEMPLATE properties and create a hash table.

Type:IMicrosoftGraphManagedTenantsAlertRuleDefinitionTemplate
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Id

The unique identifier for an entity. Read-only.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LastActionByUserId

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LastActionDateTime

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphManagedTenantsManagedTenantAlertRuleDefinition

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphManagedTenantsManagedTenantAlertRuleDefinition

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

ALERTRULES <IMicrosoftGraphManagedTenantsManagedTenantAlertRule- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [AlertDisplayName <String>]:
  • [AlertTtl <Int32?>]:
  • [Alerts <IMicrosoftGraphManagedTenantsManagedTenantAlert- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [AlertData <IMicrosoftGraphManagedTenantsAlertData>]: alertData
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DisplayName <String>]:
    • [AlertDataReferenceStrings <IMicrosoftGraphManagedTenantsAlertDataReferenceString- []>]:
      • [DisplayName <String>]:
    • [AlertLogs <IMicrosoftGraphManagedTenantsManagedTenantAlertLog- []>]:
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Alert <IMicrosoftGraphManagedTenantsManagedTenantAlert>]: managedTenantAlert
      • [Content <IMicrosoftGraphManagedTenantsAlertLogContent>]: alertLogContent
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [DisplayName <String>]:
      • [CreatedByUserId <String>]:
      • [CreatedDateTime <DateTime?>]:
      • [LastActionByUserId <String>]:
      • [LastActionDateTime <DateTime?>]:
    • [AlertRule <IMicrosoftGraphManagedTenantsManagedTenantAlertRule>]: managedTenantAlertRule
    • [AlertRuleDisplayName <String>]:
    • [ApiNotifications <IMicrosoftGraphManagedTenantsManagedTenantApiNotification- []>]:
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Alert <IMicrosoftGraphManagedTenantsManagedTenantAlert>]: managedTenantAlert
      • [CreatedByUserId <String>]:
      • [CreatedDateTime <DateTime?>]:
      • [IsAcknowledged <Boolean?>]:
      • [LastActionByUserId <String>]:
      • [LastActionDateTime <DateTime?>]:
      • [Message <String>]:
      • [Title <String>]:
      • [UserId <String>]:
    • [AssignedToUserId <String>]:
    • [CorrelationCount <Int32?>]:
    • [CorrelationId <String>]:
    • [CreatedByUserId <String>]:
    • [CreatedDateTime <DateTime?>]:
    • [EmailNotifications <IMicrosoftGraphManagedTenantsManagedTenantEmailNotification- []>]:
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Alert <IMicrosoftGraphManagedTenantsManagedTenantAlert>]: managedTenantAlert
      • [CreatedByUserId <String>]:
      • [CreatedDateTime <DateTime?>]:
      • [EmailAddresses <IMicrosoftGraphManagedTenantsEmail- []>]:
        • [EmailAddress <String>]:
      • [EmailBody <String>]:
      • [LastActionByUserId <String>]:
      • [LastActionDateTime <DateTime?>]:
      • [Subject <String>]:
    • [LastActionByUserId <String>]:
    • [LastActionDateTime <DateTime?>]:
    • [Message <String>]:
    • [Severity <String>]: alertSeverity
    • [Status <String>]: alertStatus
    • [TenantId <String>]:
    • [Title <String>]:
  • [CreatedByUserId <String>]:
  • [CreatedDateTime <DateTime?>]:
  • [Description <String>]:
  • [DisplayName <String>]:
  • [LastActionByUserId <String>]:
  • [LastActionDateTime <DateTime?>]:
  • [LastRunDateTime <DateTime?>]:
  • [NotificationFinalDestinations <String>]: notificationDestination
  • [RuleDefinition <IMicrosoftGraphManagedTenantsManagedTenantAlertRuleDefinition>]: managedTenantAlertRuleDefinition
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [AlertRules <IMicrosoftGraphManagedTenantsManagedTenantAlertRule- []>]:
    • [CreatedByUserId <String>]:
    • [CreatedDateTime <DateTime?>]:
    • [DefinitionTemplate <IMicrosoftGraphManagedTenantsAlertRuleDefinitionTemplate>]: alertRuleDefinitionTemplate
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DefaultSeverity <String>]: alertSeverity
    • [DisplayName <String>]:
    • [LastActionByUserId <String>]:
    • [LastActionDateTime <DateTime?>]:
  • [Severity <String>]: alertSeverity
  • [Targets <IMicrosoftGraphManagedTenantsNotificationTarget- []>]:
    • [DisplayName <String>]:
  • [TenantIds <IMicrosoftGraphManagedTenantsTenantInfo- []>]:
    • [TenantId <String>]: The Microsoft Entra tenant identifier for the managed tenant. Optional.

BODYPARAMETER <IMicrosoftGraphManagedTenantsManagedTenantAlertRuleDefinition>: managedTenantAlertRuleDefinition

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [AlertRules <IMicrosoftGraphManagedTenantsManagedTenantAlertRule- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [AlertDisplayName <String>]:
    • [AlertTtl <Int32?>]:
    • [Alerts <IMicrosoftGraphManagedTenantsManagedTenantAlert- []>]:
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [AlertData <IMicrosoftGraphManagedTenantsAlertData>]: alertData
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [DisplayName <String>]:
      • [AlertDataReferenceStrings <IMicrosoftGraphManagedTenantsAlertDataReferenceString- []>]:
        • [DisplayName <String>]:
      • [AlertLogs <IMicrosoftGraphManagedTenantsManagedTenantAlertLog- []>]:
        • [Id <String>]: The unique identifier for an entity. Read-only.
        • [Alert <IMicrosoftGraphManagedTenantsManagedTenantAlert>]: managedTenantAlert
        • [Content <IMicrosoftGraphManagedTenantsAlertLogContent>]: alertLogContent
          • [(Any) <Object>]: This indicates any property can be added to this object.
          • [DisplayName <String>]:
        • [CreatedByUserId <String>]:
        • [CreatedDateTime <DateTime?>]:
        • [LastActionByUserId <String>]:
        • [LastActionDateTime <DateTime?>]:
      • [AlertRule <IMicrosoftGraphManagedTenantsManagedTenantAlertRule>]: managedTenantAlertRule
      • [AlertRuleDisplayName <String>]:
      • [ApiNotifications <IMicrosoftGraphManagedTenantsManagedTenantApiNotification- []>]:
        • [Id <String>]: The unique identifier for an entity. Read-only.
        • [Alert <IMicrosoftGraphManagedTenantsManagedTenantAlert>]: managedTenantAlert
        • [CreatedByUserId <String>]:
        • [CreatedDateTime <DateTime?>]:
        • [IsAcknowledged <Boolean?>]:
        • [LastActionByUserId <String>]:
        • [LastActionDateTime <DateTime?>]:
        • [Message <String>]:
        • [Title <String>]:
        • [UserId <String>]:
      • [AssignedToUserId <String>]:
      • [CorrelationCount <Int32?>]:
      • [CorrelationId <String>]:
      • [CreatedByUserId <String>]:
      • [CreatedDateTime <DateTime?>]:
      • [EmailNotifications <IMicrosoftGraphManagedTenantsManagedTenantEmailNotification- []>]:
        • [Id <String>]: The unique identifier for an entity. Read-only.
        • [Alert <IMicrosoftGraphManagedTenantsManagedTenantAlert>]: managedTenantAlert
        • [CreatedByUserId <String>]:
        • [CreatedDateTime <DateTime?>]:
        • [EmailAddresses <IMicrosoftGraphManagedTenantsEmail- []>]:
          • [EmailAddress <String>]:
        • [EmailBody <String>]:
        • [LastActionByUserId <String>]:
        • [LastActionDateTime <DateTime?>]:
        • [Subject <String>]:
      • [LastActionByUserId <String>]:
      • [LastActionDateTime <DateTime?>]:
      • [Message <String>]:
      • [Severity <String>]: alertSeverity
      • [Status <String>]: alertStatus
      • [TenantId <String>]:
      • [Title <String>]:
    • [CreatedByUserId <String>]:
    • [CreatedDateTime <DateTime?>]:
    • [Description <String>]:
    • [DisplayName <String>]:
    • [LastActionByUserId <String>]:
    • [LastActionDateTime <DateTime?>]:
    • [LastRunDateTime <DateTime?>]:
    • [NotificationFinalDestinations <String>]: notificationDestination
    • [RuleDefinition <IMicrosoftGraphManagedTenantsManagedTenantAlertRuleDefinition>]: managedTenantAlertRuleDefinition
    • [Severity <String>]: alertSeverity
    • [Targets <IMicrosoftGraphManagedTenantsNotificationTarget- []>]:
      • [DisplayName <String>]:
    • [TenantIds <IMicrosoftGraphManagedTenantsTenantInfo- []>]:
      • [TenantId <String>]: The Microsoft Entra tenant identifier for the managed tenant. Optional.
  • [CreatedByUserId <String>]:
  • [CreatedDateTime <DateTime?>]:
  • [DefinitionTemplate <IMicrosoftGraphManagedTenantsAlertRuleDefinitionTemplate>]: alertRuleDefinitionTemplate
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DefaultSeverity <String>]: alertSeverity
  • [DisplayName <String>]:
  • [LastActionByUserId <String>]:
  • [LastActionDateTime <DateTime?>]:

DEFINITIONTEMPLATE <IMicrosoftGraphManagedTenantsAlertRuleDefinitionTemplate>: alertRuleDefinitionTemplate

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [DefaultSeverity <String>]: alertSeverity