custom/autogen-model-cmdlets/New-NmeRbacAssignmentUpdateModel.ps1
|
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.8, generator: @autorest/powershell@4.0.752) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Create an in-memory object for RbacAssignmentUpdate. .Description Create an in-memory object for RbacAssignmentUpdate. .Outputs NmePowershell.Models.RbacAssignmentUpdate #> function New-NmeRbacAssignmentUpdateModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.RbacAssignmentUpdate')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(Mandatory)] [NmePowershell.Models.IRbacWorkspaceScopeUpdate[]] $AvdWorkspaces ) process { $Object = [NmePowershell.Models.RbacAssignmentUpdate]::New() if ($PSBoundParameters.ContainsKey('AvdWorkspaces')) { $Object.AvdWorkspaces = $AvdWorkspaces } return $Object } } |