custom/autogen-model-cmdlets/New-NmeVmsAssociateModel.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 VmsAssociate.
.Description
Create an in-memory object for VmsAssociate.

.Outputs
NmePowershell.Models.VmsAssociate

#>

function New-NmeVmsAssociateModel {
    [NmePowershell.ModelCmdletAttribute()]
    [OutputType('NmePowershell.Models.VmsAssociate')]
    [CmdletBinding(PositionalBinding=$false)]
    Param(

        [Parameter(Mandatory)]
        [string]
        $ResourceGroupId
    )

    process {
        $Object = [NmePowershell.Models.VmsAssociate]::New()

        if ($PSBoundParameters.ContainsKey('ResourceGroupId')) {
            $Object.ResourceGroupId = $ResourceGroupId
        }
        return $Object
    }
}