Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrola committed Sep 26, 2023
1 parent 18e8ddf commit 691e5d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,13 +429,13 @@ function Export-TargetResource
$complexMapping = @(
@{
Name = 'ComplianceRecordingApplications'
CimInstanceName = 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.ComplianceRecordingApplication'
CimInstanceName = 'TeamsComplianceRecordingApplication'
IsRequired = $False
}
)
$complexTypeStringResult = Get-M365DSCDRGComplexTypeToString `
-ComplexObject $Results.ComplianceRecordingApplications `
-CIMInstanceName 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.ComplianceRecordingApplication' `
-CIMInstanceName 'TeamsComplianceRecordingApplicationn' `
-ComplexTypeMapping $complexMapping

if (-Not [String]::IsNullOrWhiteSpace($complexTypeStringResult))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[ClassVersion("0.0.96.0"), FriendlyName("TeamsComplianceRecordingApplication)]
class MSFT_Microsoft.Teams.Policy.Administration.Cmdlets.Core.ComplianceRecordingApplication
[ClassVersion("1.0.0"), FriendlyName("TeamsComplianceRecordingApplication)]
class MSFT_TeamsComplianceRecordingApplication
{
[Write, Description("")] String Id;
[Write, Description("")] String[] ComplianceRecordingPairedApplications;
Expand All @@ -14,7 +14,7 @@ class MSFT_Microsoft.Teams.Policy.Administration.Cmdlets.Core.ComplianceRecordin
class MSFT_TeamsComplianceRecordingPolicy : OMI_BaseResource
{
[Key, Description("Unique identifier of the application instance of a policy-based recording application to be retrieved.")] String Identity;
[Write, Description("A list of application instances of policy-based recording applications to assign to this policy. The Id of each of these application instances must be the ObjectId of the application instance as obtained by the Get-CsOnlineApplicationInstance cmdlet."), EmbeddedInstance("MSFT_Microsoft.Teams.Policy.Administration.Cmdlets.Core.ComplianceRecordingApplication")] String ComplianceRecordingApplications[];
[Write, Description("A list of application instances of policy-based recording applications to assign to this policy. The Id of each of these application instances must be the ObjectId of the application instance as obtained by the Get-CsOnlineApplicationInstance cmdlet."), EmbeddedInstance("MSFT_TeamsComplianceRecordingApplication")] String ComplianceRecordingApplications[];
[Write, Description("Enables administrators to provide explanatory text to accompany a Teams recording policy. For example, the Description might include information about the users the policy should be assigned to.")] String Description;
[Write, Description("Setting this attribute to true disables recording audio notifications for 1:1 calls that are under compliance recording.")] Boolean DisableComplianceRecordingAudioNotificationForCalls;
[Write, Description("Controls whether this Teams recording policy is active or not.")] Boolean Enabled;
Expand Down

0 comments on commit 691e5d6

Please sign in to comment.