Ler em inglês

Compartilhar via


Update-MgBetaTenantRelationshipManagedTenantManagementTemplateCollection

Update the navigation property managementTemplateCollections in tenantRelationships

Syntax

PowerShell
Update-MgBetaTenantRelationshipManagedTenantManagementTemplateCollection
      -ManagementTemplateCollectionId <String>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-CreatedByUserId <String>]
      [-CreatedDateTime <DateTime>]
      [-Description <String>]
      [-DisplayName <String>]
      [-Id <String>]
      [-LastActionByUserId <String>]
      [-LastActionDateTime <DateTime>]
      [-ManagementTemplates <IMicrosoftGraphManagedTenantsManagementTemplate[]>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
PowerShell
Update-MgBetaTenantRelationshipManagedTenantManagementTemplateCollection
      -ManagementTemplateCollectionId <String>
      -BodyParameter <IMicrosoftGraphManagedTenantsManagementTemplateCollection>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
PowerShell
Update-MgBetaTenantRelationshipManagedTenantManagementTemplateCollection
      -InputObject <IManagedTenantsIdentity>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-CreatedByUserId <String>]
      [-CreatedDateTime <DateTime>]
      [-Description <String>]
      [-DisplayName <String>]
      [-Id <String>]
      [-LastActionByUserId <String>]
      [-LastActionDateTime <DateTime>]
      [-ManagementTemplates <IMicrosoftGraphManagedTenantsManagementTemplate[]>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
PowerShell
Update-MgBetaTenantRelationshipManagedTenantManagementTemplateCollection
      -InputObject <IManagedTenantsIdentity>
      -BodyParameter <IMicrosoftGraphManagedTenantsManagementTemplateCollection>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update the navigation property managementTemplateCollections in tenantRelationships

Parameters

-AdditionalProperties

Additional Parameters

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

-BodyParameter

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

Type:IMicrosoftGraphManagedTenantsManagementTemplateCollection
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

-Description

Type:String
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

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IManagedTenantsIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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

-ManagementTemplateCollectionId

The unique identifier of managementTemplateCollection

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

-ManagementTemplates

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

Type:IMicrosoftGraphManagedTenantsManagementTemplate[]
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.IManagedTenantsIdentity

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphManagedTenantsManagementTemplateCollection

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphManagedTenantsManagementTemplateCollection

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.

BODYPARAMETER <IMicrosoftGraphManagedTenantsManagementTemplateCollection>: managementTemplateCollection

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [CreatedByUserId <String>]:
  • [CreatedDateTime <DateTime?>]:
  • [Description <String>]:
  • [DisplayName <String>]:
  • [LastActionByUserId <String>]:
  • [LastActionDateTime <DateTime?>]:
  • [ManagementTemplates <IMicrosoftGraphManagedTenantsManagementTemplate- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Category <String>]: managementCategory
    • [CreatedByUserId <String>]:
    • [CreatedDateTime <DateTime?>]:
    • [Description <String>]: The description for the management template. Optional. Read-only.
    • [DisplayName <String>]: The display name for the management template. Required. Read-only.
    • [InformationLinks <IMicrosoftGraphActionUrl- []>]:
      • [DisplayName <String>]: Brief title for the page that the links directs to.
      • [Url <String>]: The URL to the documentation or Microsoft Entra admin center page.
    • [LastActionByUserId <String>]:
    • [LastActionDateTime <DateTime?>]:
    • [ManagementTemplateCollections <IMicrosoftGraphManagedTenantsManagementTemplateCollection- []>]:
    • [ManagementTemplateSteps <IMicrosoftGraphManagedTenantsManagementTemplateStep- []>]:
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [AcceptedVersion <IMicrosoftGraphManagedTenantsManagementTemplateStepVersion>]: managementTemplateStepVersion
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [Id <String>]: The unique identifier for an entity. Read-only.
        • [AcceptedFor <IMicrosoftGraphManagedTenantsManagementTemplateStep>]: managementTemplateStep
        • [ContentMarkdown <String>]:
        • [CreatedByUserId <String>]:
        • [CreatedDateTime <DateTime?>]:
        • [Deployments <IMicrosoftGraphManagedTenantsManagementTemplateStepDeployment- []>]:
          • [Id <String>]: The unique identifier for an entity. Read-only.
          • [CreatedByUserId <String>]:
          • [CreatedDateTime <DateTime?>]:
          • [Error <IMicrosoftGraphManagedTenantsGraphApiErrorDetails>]: graphAPIErrorDetails
            • [(Any) <Object>]: This indicates any property can be added to this object.
            • [Code <String>]:
            • [Message <String>]:
          • [LastActionByUserId <String>]:
          • [LastActionDateTime <DateTime?>]:
          • [Status <String>]: managementTemplateDeploymentStatus
          • [TemplateStepVersion <IMicrosoftGraphManagedTenantsManagementTemplateStepVersion>]: managementTemplateStepVersion
          • [TenantId <String>]:
        • [LastActionByUserId <String>]:
        • [LastActionDateTime <DateTime?>]:
        • [Name <String>]:
        • [TemplateStep <IMicrosoftGraphManagedTenantsManagementTemplateStep>]: managementTemplateStep
        • [Version <Int32?>]:
        • [VersionInformation <String>]:
      • [Category <String>]: managementCategory
      • [CreatedByUserId <String>]:
      • [CreatedDateTime <DateTime?>]:
      • [Description <String>]:
      • [DisplayName <String>]:
      • [InformationLinks <IMicrosoftGraphActionUrl- []>]:
      • [LastActionByUserId <String>]:
      • [LastActionDateTime <DateTime?>]:
      • [ManagementTemplate <IMicrosoftGraphManagedTenantsManagementTemplate>]: managementTemplate
      • [PortalLink <IMicrosoftGraphActionUrl>]: actionUrl
      • [Priority <Int32?>]:
      • [UserImpact <String>]:
      • [Versions <IMicrosoftGraphManagedTenantsManagementTemplateStepVersion- []>]:
    • [Parameters <IMicrosoftGraphManagedTenantsTemplateParameter- []>]: The collection of parameters used by the management template. Optional. Read-only.
      • [Description <String>]: The description for the template parameter. Optional. Read-only.
      • [DisplayName <String>]: The display name for the template parameter. Required. Read-only.
      • [JsonAllowedValues <String>]: The allowed values for the template parameter represented by a serialized string of JSON. Optional. Read-only.
      • [JsonDefaultValue <String>]: The default value for the template parameter represented by a serialized string of JSON. Required. Read-only.
      • [ValueType <String>]: managementParameterValueType
    • [Priority <Int32?>]:
    • [Provider <String>]: managementProvider
    • [UserImpact <String>]:
    • [Version <Int32?>]:
    • [WorkloadActions <IMicrosoftGraphManagedTenantsWorkloadAction- []>]: The collection of workload actions associated with the management template. Optional. Read-only.
      • [ActionId <String>]: The unique identifier for the workload action. Required. Read-only.
      • [Category <String>]: workloadActionCategory
      • [Description <String>]: The description for the workload action. Optional. Read-only.
      • [DisplayName <String>]: The display name for the workload action. Optional. Read-only.
      • [Licenses <String- []>]:
      • [Service <String>]: The service associated with workload action. Optional. Read-only.
      • [Settings <IMicrosoftGraphManagedTenantsSetting- []>]: The collection of settings associated with the workload action. Optional. Read-only.
        • [DisplayName <String>]: The display name for the setting. Required. Read-only.
        • [JsonValue <String>]: The value for the setting serialized as string of JSON. Required. Read-only.
        • [OverwriteAllowed <Boolean?>]: A flag indicating whether the setting can be override existing configurations when applied. Required. Read-only.
        • [SettingId <String>]:
        • [ValueType <String>]: managementParameterValueType

INPUTOBJECT <IManagedTenantsIdentity>: Identity Parameter

  • [AggregatedPolicyComplianceId <String>]: The unique identifier of aggregatedPolicyCompliance
  • [AppPerformanceId <String>]: The unique identifier of appPerformance
  • [AuditEventId <String>]: The unique identifier of auditEvent
  • [CloudPcConnectionId <String>]: The unique identifier of cloudPcConnection
  • [CloudPcDeviceId <String>]: The unique identifier of cloudPcDevice
  • [CloudPcOverviewTenantId <String>]: The unique identifier of cloudPcOverview
  • [ConditionalAccessPolicyCoverageId <String>]: The unique identifier of conditionalAccessPolicyCoverage
  • [CredentialUserRegistrationsSummaryId <String>]: The unique identifier of credentialUserRegistrationsSummary
  • [DeviceAppPerformanceId <String>]: The unique identifier of deviceAppPerformance
  • [DeviceCompliancePolicySettingStateSummaryId <String>]: The unique identifier of deviceCompliancePolicySettingStateSummary
  • [DeviceHealthStatusId <String>]: The unique identifier of deviceHealthStatus
  • [ManagedDeviceComplianceId <String>]: The unique identifier of managedDeviceCompliance
  • [ManagedDeviceComplianceTrendId <String>]: The unique identifier of managedDeviceComplianceTrend
  • [ManagedTenantAlertId <String>]: The unique identifier of managedTenantAlert
  • [ManagedTenantAlertLogId <String>]: The unique identifier of managedTenantAlertLog
  • [ManagedTenantAlertRuleDefinitionId <String>]: The unique identifier of managedTenantAlertRuleDefinition
  • [ManagedTenantAlertRuleId <String>]: The unique identifier of managedTenantAlertRule
  • [ManagedTenantApiNotificationId <String>]: The unique identifier of managedTenantApiNotification
  • [ManagedTenantEmailNotificationId <String>]: The unique identifier of managedTenantEmailNotification
  • [ManagedTenantTicketingEndpointId <String>]: The unique identifier of managedTenantTicketingEndpoint
  • [ManagementActionId <String>]: The unique identifier of managementAction
  • [ManagementActionTenantDeploymentStatusId <String>]: The unique identifier of managementActionTenantDeploymentStatus
  • [ManagementIntentId <String>]: The unique identifier of managementIntent
  • [ManagementTemplateCollectionId <String>]: The unique identifier of managementTemplateCollection
  • [ManagementTemplateCollectionTenantSummaryId <String>]: The unique identifier of managementTemplateCollectionTenantSummary
  • [ManagementTemplateId <String>]: The unique identifier of managementTemplate
  • [ManagementTemplateStepDeploymentId <String>]: The unique identifier of managementTemplateStepDeployment
  • [ManagementTemplateStepId <String>]: The unique identifier of managementTemplateStep
  • [ManagementTemplateStepTenantSummaryId <String>]: The unique identifier of managementTemplateStepTenantSummary
  • [ManagementTemplateStepVersionId <String>]: The unique identifier of managementTemplateStepVersion
  • [MyRoleTenantId <String>]: The unique identifier of myRole
  • [TenantCustomizedInformationId <String>]: The unique identifier of tenantCustomizedInformation
  • [TenantDetailedInformationId <String>]: The unique identifier of tenantDetailedInformation
  • [TenantGroupId <String>]: The unique identifier of tenantGroup
  • [TenantId <String>]: The unique identifier of tenant
  • [TenantTagId <String>]: The unique identifier of tenantTag
  • [WindowsDeviceMalwareStateId <String>]: The unique identifier of windowsDeviceMalwareState
  • [WindowsProtectionStateId <String>]: The unique identifier of windowsProtectionState

MANAGEMENTTEMPLATES <IMicrosoftGraphManagedTenantsManagementTemplate- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Category <String>]: managementCategory
  • [CreatedByUserId <String>]:
  • [CreatedDateTime <DateTime?>]:
  • [Description <String>]: The description for the management template. Optional. Read-only.
  • [DisplayName <String>]: The display name for the management template. Required. Read-only.
  • [InformationLinks <IMicrosoftGraphActionUrl- []>]:
    • [DisplayName <String>]: Brief title for the page that the links directs to.
    • [Url <String>]: The URL to the documentation or Microsoft Entra admin center page.
  • [LastActionByUserId <String>]:
  • [LastActionDateTime <DateTime?>]:
  • [ManagementTemplateCollections <IMicrosoftGraphManagedTenantsManagementTemplateCollection- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [CreatedByUserId <String>]:
    • [CreatedDateTime <DateTime?>]:
    • [Description <String>]:
    • [DisplayName <String>]:
    • [LastActionByUserId <String>]:
    • [LastActionDateTime <DateTime?>]:
    • [ManagementTemplates <IMicrosoftGraphManagedTenantsManagementTemplate- []>]:
  • [ManagementTemplateSteps <IMicrosoftGraphManagedTenantsManagementTemplateStep- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [AcceptedVersion <IMicrosoftGraphManagedTenantsManagementTemplateStepVersion>]: managementTemplateStepVersion
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [AcceptedFor <IMicrosoftGraphManagedTenantsManagementTemplateStep>]: managementTemplateStep
      • [ContentMarkdown <String>]:
      • [CreatedByUserId <String>]:
      • [CreatedDateTime <DateTime?>]:
      • [Deployments <IMicrosoftGraphManagedTenantsManagementTemplateStepDeployment- []>]:
        • [Id <String>]: The unique identifier for an entity. Read-only.
        • [CreatedByUserId <String>]:
        • [CreatedDateTime <DateTime?>]:
        • [Error <IMicrosoftGraphManagedTenantsGraphApiErrorDetails>]: graphAPIErrorDetails
          • [(Any) <Object>]: This indicates any property can be added to this object.
          • [Code <String>]:
          • [Message <String>]:
        • [LastActionByUserId <String>]:
        • [LastActionDateTime <DateTime?>]:
        • [Status <String>]: managementTemplateDeploymentStatus
        • [TemplateStepVersion <IMicrosoftGraphManagedTenantsManagementTemplateStepVersion>]: managementTemplateStepVersion
        • [TenantId <String>]:
      • [LastActionByUserId <String>]:
      • [LastActionDateTime <DateTime?>]:
      • [Name <String>]:
      • [TemplateStep <IMicrosoftGraphManagedTenantsManagementTemplateStep>]: managementTemplateStep
      • [Version <Int32?>]:
      • [VersionInformation <String>]:
    • [Category <String>]: managementCategory
    • [CreatedByUserId <String>]:
    • [CreatedDateTime <DateTime?>]:
    • [Description <String>]:
    • [DisplayName <String>]:
    • [InformationLinks <IMicrosoftGraphActionUrl- []>]:
    • [LastActionByUserId <String>]:
    • [LastActionDateTime <DateTime?>]:
    • [ManagementTemplate <IMicrosoftGraphManagedTenantsManagementTemplate>]: managementTemplate
    • [PortalLink <IMicrosoftGraphActionUrl>]: actionUrl
    • [Priority <Int32?>]:
    • [UserImpact <String>]:
    • [Versions <IMicrosoftGraphManagedTenantsManagementTemplateStepVersion- []>]:
  • [Parameters <IMicrosoftGraphManagedTenantsTemplateParameter- []>]: The collection of parameters used by the management template. Optional. Read-only.
    • [Description <String>]: The description for the template parameter. Optional. Read-only.
    • [DisplayName <String>]: The display name for the template parameter. Required. Read-only.
    • [JsonAllowedValues <String>]: The allowed values for the template parameter represented by a serialized string of JSON. Optional. Read-only.
    • [JsonDefaultValue <String>]: The default value for the template parameter represented by a serialized string of JSON. Required. Read-only.
    • [ValueType <String>]: managementParameterValueType
  • [Priority <Int32?>]:
  • [Provider <String>]: managementProvider
  • [UserImpact <String>]:
  • [Version <Int32?>]:
  • [WorkloadActions <IMicrosoftGraphManagedTenantsWorkloadAction- []>]: The collection of workload actions associated with the management template. Optional. Read-only.
    • [ActionId <String>]: The unique identifier for the workload action. Required. Read-only.
    • [Category <String>]: workloadActionCategory
    • [Description <String>]: The description for the workload action. Optional. Read-only.
    • [DisplayName <String>]: The display name for the workload action. Optional. Read-only.
    • [Licenses <String- []>]:
    • [Service <String>]: The service associated with workload action. Optional. Read-only.
    • [Settings <IMicrosoftGraphManagedTenantsSetting- []>]: The collection of settings associated with the workload action. Optional. Read-only.
      • [DisplayName <String>]: The display name for the setting. Required. Read-only.
      • [JsonValue <String>]: The value for the setting serialized as string of JSON. Required. Read-only.
      • [OverwriteAllowed <Boolean?>]: A flag indicating whether the setting can be override existing configurations when applied. Required. Read-only.
      • [SettingId <String>]:
      • [ValueType <String>]: managementParameterValueType

https://learn.microsoft.com/powershell/module/microsoft.graph.beta.managedtenants/update-mgbetatenantrelationshipmanagedtenantmanagementtemplatecollection