diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/Properties/AssemblyInfo.cs b/src/ConnectedNetwork/ConnectedNetwork.Autorest/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..73c84997fb9f
--- /dev/null
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/Properties/AssemblyInfo.cs
@@ -0,0 +1,27 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the Apache License, Version 2.0 (the ""License"");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an ""AS IS"" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+// is regenerated.
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
+[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
+[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
+[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ConnectedNetwork")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.2")]
+[assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")]
+[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
+
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/README.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/README.md
index 1f797f74a45a..f099afe12e3d 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/README.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/README.md
@@ -41,17 +41,13 @@ input-file:
module-version: 0.1.0
title: ConnectedNetwork
subject-prefix: $(service-name)
-identity-correction-for-post: true
-resourcegroup-append: true
-nested-object-to-string: true
-
-# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
-use-extension:
- "@autorest/powershell": "3.x"
directive:
- where:
- variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
+ variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
+ remove: true
+ - where:
+ variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true
- where:
verb: Set
@@ -137,11 +133,17 @@ directive:
- no-inline:
- Device
# The generated cmdlet need to Re-Name
- # - model-cmdlet:
- # - AzureStackEdgeFormat
- # - NetworkInterface
- # - NetworkInterfaceIPConfiguration
- # - NetworkFunctionUserConfiguration
- # - NetworkFunctionVendorConfiguration
- # - NetworkFunctionRoleConfiguration
+ - model-cmdlet:
+ - model-name: AzureStackEdgeFormat
+ cmdlet-name: New-AzConnectedNetworkAzureStackEdgeObject
+ - model-name: NetworkInterface
+ cmdlet-name: New-AzConnectedNetworkInterfaceObject
+ - model-name: NetworkInterfaceIPConfiguration
+ cmdlet-name: New-AzConnectedNetworkInterfaceIPConfigurationObject
+ - model-name: NetworkFunctionUserConfiguration
+ cmdlet-name: New-AzConnectedNetworkFunctionUserConfigurationObject
+ - model-name: NetworkFunctionVendorConfiguration
+ cmdlet-name: New-AzConnectedNetworkFunctionVendorConfigurationObject
+ - model-name: NetworkFunctionRoleConfiguration
+ cmdlet-name: New-AzConnectedNetworkFunctionRoleConfigurationObject
```
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkAzureStackEdgeObject.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkAzureStackEdgeObject.ps1
similarity index 69%
rename from src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkAzureStackEdgeObject.ps1
rename to src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkAzureStackEdgeObject.ps1
index 5fc2623201bb..96b9bb231bd3 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkAzureStackEdgeObject.ps1
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkAzureStackEdgeObject.ps1
@@ -16,17 +16,18 @@
<#
.Synopsis
-Create a in-memory object for AzureStackEdgeFormat
+Create an in-memory object for AzureStackEdgeFormat.
.Description
-Create a in-memory object for AzureStackEdgeFormat
+Create an in-memory object for AzureStackEdgeFormat.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.AzureStackEdgeFormat
+Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.AzureStackEdgeFormat
.Link
-https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkAzureStackEdgeObject
+https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkazurestackedgeobject
#>
function New-AzConnectedNetworkAzureStackEdgeObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.AzureStackEdgeFormat')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.AzureStackEdgeFormat')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -36,10 +37,11 @@ function New-AzConnectedNetworkAzureStackEdgeObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.AzureStackEdgeFormat]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.AzureStackEdgeFormat]::New()
- $Object.AzureStackEdgeId = $AzureStackEdgeId
- $Object.DeviceType = "AzureStackEdge"
+ if ($PSBoundParameters.ContainsKey('AzureStackEdgeId')) {
+ $Object.AzureStackEdgeId = $AzureStackEdgeId
+ }
return $Object
}
}
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionRoleConfigurationObject.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionRoleConfigurationObject.ps1
similarity index 55%
rename from src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionRoleConfigurationObject.ps1
rename to src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionRoleConfigurationObject.ps1
index 88b98f4386d7..b2f587b8f785 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionRoleConfigurationObject.ps1
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionRoleConfigurationObject.ps1
@@ -16,17 +16,18 @@
<#
.Synopsis
-Create a in-memory object for NetworkFunctionRoleConfiguration
+Create an in-memory object for NetworkFunctionRoleConfiguration.
.Description
-Create a in-memory object for NetworkFunctionRoleConfiguration
+Create an in-memory object for NetworkFunctionRoleConfiguration.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionRoleConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionRoleConfiguration
.Link
-https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkFunctionRoleConfigurationObject
+https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkfunctionroleconfigurationobject
#>
function New-AzConnectedNetworkFunctionRoleConfigurationObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionRoleConfiguration')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionRoleConfiguration')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -49,21 +50,22 @@ function New-AzConnectedNetworkFunctionRoleConfigurationObject {
[string]
$ImageReferenceVersion,
[Parameter(HelpMessage="The network interface configurations.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkInterface[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkInterface[]]
$NetworkInterface,
[Parameter(HelpMessage="The VHD name.")]
[string]
$OSDiskName,
[Parameter(HelpMessage="The OS type.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.OperatingSystemTypes]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.PSArgumentCompleterAttribute("Unknown", "Windows", "Linux")]
+ [string]
$OSDiskOstype,
[Parameter(HelpMessage="Specifies the size of os disk in gigabytes. This is the fully expanded disk size needed of the VHD image on the ASE. This disk size should be greater than the size of the VHD provided in vhdUri.")]
[int]
$OSDiskSizeGb,
- [Parameter(HelpMessage="Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in `".`"
**Disallowed values:** `"administrator`", `"admin`", `"user`", `"user1`", `"test`", `"user2`", `"test1`", `"user3`", `"admin1`", `"1`", `"123`", `"a`", `"actuser`", `"adm`", `"admin2`", `"aspnet`", `"backup`", `"console`", `"david`", `"guest`", `"john`", `"owner`", `"root`", `"server`", `"sql`", `"support`", `"support_388945a0`", `"sys`", `"test2`", `"test3`", `"user4`", `"user5`".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
+ [Parameter(HelpMessage="Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in `".`"
**Disallowed values:** `"administrator`", `"admin`", `"user`", `"user1`", `"test`", `"user2`", `"test1`", `"user3`", `"admin1`", `"1`", `"123`", `"a`", `"actuser`", `"adm`", `"admin2`", `"aspnet`", `"backup`", `"console`", `"david`", `"guest`", `"john`", `"owner`", `"root`", `"server`", `"sql`", `"support`", `"support_388945a0`", `"sys`", `"test2`", `"test3`", `"user4`", `"user5`".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
[string]
$OSProfileAdminUsername,
- [Parameter(HelpMessage="Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
+ [Parameter(HelpMessage="Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
[string]
$OSProfileCustomData,
[Parameter(HelpMessage="Indicates if custom data is required to deploy this role.")]
@@ -73,13 +75,14 @@ function New-AzConnectedNetworkFunctionRoleConfigurationObject {
[string]
$RoleName,
[Parameter(HelpMessage="Role type.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.NetworkFunctionRoleConfigurationType]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.PSArgumentCompleterAttribute("Unknown", "VirtualMachine")]
+ [string]
$RoleType,
[Parameter(HelpMessage="The list of SSH public keys used to authenticate with linux based VMs.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.ISshPublicKey[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.ISshPublicKey[]]
$SshPublicKey,
[Parameter(HelpMessage="Specifies the parameters that are used to add a data disk to a virtual machine.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IDataDisk[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDataDisk[]]
$StorageProfileDataDisk,
[Parameter(HelpMessage="The user parameters for customers. The format of user data parameters has to be matched with the provided user data template.")]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IAny]
@@ -91,34 +94,77 @@ function New-AzConnectedNetworkFunctionRoleConfigurationObject {
[string]
$VhdUri,
[Parameter(HelpMessage="The size of the virtual machine.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.VirtualMachineSizeTypes]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.PSArgumentCompleterAttribute("Unknown", "Standard_D1_v2", "Standard_D2_v2", "Standard_D3_v2", "Standard_D4_v2", "Standard_D5_v2", "Standard_D11_v2", "Standard_D12_v2", "Standard_D13_v2", "Standard_DS1_v2", "Standard_DS2_v2", "Standard_DS3_v2", "Standard_DS4_v2", "Standard_DS5_v2", "Standard_DS11_v2", "Standard_DS12_v2", "Standard_DS13_v2", "Standard_F1", "Standard_F2", "Standard_F4", "Standard_F8", "Standard_F16", "Standard_F1s", "Standard_F2s", "Standard_F4s", "Standard_F8s", "Standard_F16s")]
+ [string]
$VirtualMachineSize
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionRoleConfiguration]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionRoleConfiguration]::New()
- $Object.CustomProfileMetadataConfigurationPath = $CustomProfileMetadataConfigurationPath
- $Object.ImageReferenceExactVersion = $ImageReferenceExactVersion
- $Object.ImageReferenceOffer = $ImageReferenceOffer
- $Object.ImageReferencePublisher = $ImageReferencePublisher
- $Object.ImageReferenceSku = $ImageReferenceSku
- $Object.ImageReferenceVersion = $ImageReferenceVersion
- $Object.NetworkInterface = $NetworkInterface
- $Object.OSDiskName = $OSDiskName
- $Object.OSDiskOstype = $OSDiskOstype
- $Object.OSDiskSizeGb = $OSDiskSizeGb
- $Object.OSProfileAdminUsername = $OSProfileAdminUsername
- $Object.OSProfileCustomData = $OSProfileCustomData
- $Object.OSProfileCustomDataRequired = $OSProfileCustomDataRequired
- $Object.RoleName = $RoleName
- $Object.RoleType = $RoleType
- $Object.SshPublicKey = $SshPublicKey
- $Object.StorageProfileDataDisk = $StorageProfileDataDisk
- $Object.UserDataParameter = $UserDataParameter
- $Object.UserDataTemplate = $UserDataTemplate
- $Object.VhdUri = $VhdUri
- $Object.VirtualMachineSize = $VirtualMachineSize
+ if ($PSBoundParameters.ContainsKey('CustomProfileMetadataConfigurationPath')) {
+ $Object.CustomProfileMetadataConfigurationPath = $CustomProfileMetadataConfigurationPath
+ }
+ if ($PSBoundParameters.ContainsKey('ImageReferenceExactVersion')) {
+ $Object.ImageReferenceExactVersion = $ImageReferenceExactVersion
+ }
+ if ($PSBoundParameters.ContainsKey('ImageReferenceOffer')) {
+ $Object.ImageReferenceOffer = $ImageReferenceOffer
+ }
+ if ($PSBoundParameters.ContainsKey('ImageReferencePublisher')) {
+ $Object.ImageReferencePublisher = $ImageReferencePublisher
+ }
+ if ($PSBoundParameters.ContainsKey('ImageReferenceSku')) {
+ $Object.ImageReferenceSku = $ImageReferenceSku
+ }
+ if ($PSBoundParameters.ContainsKey('ImageReferenceVersion')) {
+ $Object.ImageReferenceVersion = $ImageReferenceVersion
+ }
+ if ($PSBoundParameters.ContainsKey('NetworkInterface')) {
+ $Object.NetworkInterface = $NetworkInterface
+ }
+ if ($PSBoundParameters.ContainsKey('OSDiskName')) {
+ $Object.OSDiskName = $OSDiskName
+ }
+ if ($PSBoundParameters.ContainsKey('OSDiskOstype')) {
+ $Object.OSDiskOstype = $OSDiskOstype
+ }
+ if ($PSBoundParameters.ContainsKey('OSDiskSizeGb')) {
+ $Object.OSDiskSizeGb = $OSDiskSizeGb
+ }
+ if ($PSBoundParameters.ContainsKey('OSProfileAdminUsername')) {
+ $Object.OSProfileAdminUsername = $OSProfileAdminUsername
+ }
+ if ($PSBoundParameters.ContainsKey('OSProfileCustomData')) {
+ $Object.OSProfileCustomData = $OSProfileCustomData
+ }
+ if ($PSBoundParameters.ContainsKey('OSProfileCustomDataRequired')) {
+ $Object.OSProfileCustomDataRequired = $OSProfileCustomDataRequired
+ }
+ if ($PSBoundParameters.ContainsKey('RoleName')) {
+ $Object.RoleName = $RoleName
+ }
+ if ($PSBoundParameters.ContainsKey('RoleType')) {
+ $Object.RoleType = $RoleType
+ }
+ if ($PSBoundParameters.ContainsKey('SshPublicKey')) {
+ $Object.SshPublicKey = $SshPublicKey
+ }
+ if ($PSBoundParameters.ContainsKey('StorageProfileDataDisk')) {
+ $Object.StorageProfileDataDisk = $StorageProfileDataDisk
+ }
+ if ($PSBoundParameters.ContainsKey('UserDataParameter')) {
+ $Object.UserDataParameter = $UserDataParameter
+ }
+ if ($PSBoundParameters.ContainsKey('UserDataTemplate')) {
+ $Object.UserDataTemplate = $UserDataTemplate
+ }
+ if ($PSBoundParameters.ContainsKey('VhdUri')) {
+ $Object.VhdUri = $VhdUri
+ }
+ if ($PSBoundParameters.ContainsKey('VirtualMachineSize')) {
+ $Object.VirtualMachineSize = $VirtualMachineSize
+ }
return $Object
}
}
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionUserConfigurationObject.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionUserConfigurationObject.ps1
similarity index 67%
rename from src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionUserConfigurationObject.ps1
rename to src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionUserConfigurationObject.ps1
index 73099da7ff7f..64bed6189c80 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionUserConfigurationObject.ps1
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionUserConfigurationObject.ps1
@@ -16,24 +16,25 @@
<#
.Synopsis
-Create a in-memory object for NetworkFunctionUserConfiguration
+Create an in-memory object for NetworkFunctionUserConfiguration.
.Description
-Create a in-memory object for NetworkFunctionUserConfiguration
+Create an in-memory object for NetworkFunctionUserConfiguration.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionUserConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionUserConfiguration
.Link
-https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkFunctionUserConfigurationObject
+https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkfunctionuserconfigurationobject
#>
function New-AzConnectedNetworkFunctionUserConfigurationObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionUserConfiguration')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionUserConfiguration')]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(HelpMessage="The network interface configuration.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkInterface[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkInterface[]]
$NetworkInterface,
- [Parameter(HelpMessage="Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
+ [Parameter(HelpMessage="Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
[string]
$OSProfileCustomData,
[Parameter(HelpMessage="The name of the network function role.")]
@@ -45,12 +46,20 @@ function New-AzConnectedNetworkFunctionUserConfigurationObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionUserConfiguration]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionUserConfiguration]::New()
- $Object.NetworkInterface = $NetworkInterface
- $Object.OSProfileCustomData = $OSProfileCustomData
- $Object.RoleName = $RoleName
- $Object.UserDataParameter = $UserDataParameter
+ if ($PSBoundParameters.ContainsKey('NetworkInterface')) {
+ $Object.NetworkInterface = $NetworkInterface
+ }
+ if ($PSBoundParameters.ContainsKey('OSProfileCustomData')) {
+ $Object.OSProfileCustomData = $OSProfileCustomData
+ }
+ if ($PSBoundParameters.ContainsKey('RoleName')) {
+ $Object.RoleName = $RoleName
+ }
+ if ($PSBoundParameters.ContainsKey('UserDataParameter')) {
+ $Object.UserDataParameter = $UserDataParameter
+ }
return $Object
}
}
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionVendorConfigurationObject.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionVendorConfigurationObject.ps1
similarity index 63%
rename from src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionVendorConfigurationObject.ps1
rename to src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionVendorConfigurationObject.ps1
index 44a4c2e4206a..c5730ed5dbeb 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkFunctionVendorConfigurationObject.ps1
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkFunctionVendorConfigurationObject.ps1
@@ -16,27 +16,28 @@
<#
.Synopsis
-Create a in-memory object for NetworkFunctionVendorConfiguration
+Create an in-memory object for NetworkFunctionVendorConfiguration.
.Description
-Create a in-memory object for NetworkFunctionVendorConfiguration
+Create an in-memory object for NetworkFunctionVendorConfiguration.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionVendorConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionVendorConfiguration
.Link
-https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkFunctionVendorConfigurationObject
+https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkfunctionvendorconfigurationobject
#>
function New-AzConnectedNetworkFunctionVendorConfigurationObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionVendorConfiguration')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionVendorConfiguration')]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(HelpMessage="The network interface configurations.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkInterface[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkInterface[]]
$NetworkInterface,
- [Parameter(HelpMessage="Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in `".`"
**Disallowed values:** `"administrator`", `"admin`", `"user`", `"user1`", `"test`", `"user2`", `"test1`", `"user3`", `"admin1`", `"1`", `"123`", `"a`", `"actuser`", `"adm`", `"admin2`", `"aspnet`", `"backup`", `"console`", `"david`", `"guest`", `"john`", `"owner`", `"root`", `"server`", `"sql`", `"support`", `"support_388945a0`", `"sys`", `"test2`", `"test3`", `"user4`", `"user5`".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
+ [Parameter(HelpMessage="Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in `".`"
**Disallowed values:** `"administrator`", `"admin`", `"user`", `"user1`", `"test`", `"user2`", `"test1`", `"user3`", `"admin1`", `"1`", `"123`", `"a`", `"actuser`", `"adm`", `"admin2`", `"aspnet`", `"backup`", `"console`", `"david`", `"guest`", `"john`", `"owner`", `"root`", `"server`", `"sql`", `"support`", `"support_388945a0`", `"sys`", `"test2`", `"test3`", `"user4`", `"user5`".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
[string]
$OSProfileAdminUsername,
- [Parameter(HelpMessage="Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
+ [Parameter(HelpMessage="Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).")]
[string]
$OSProfileCustomData,
[Parameter(HelpMessage="Indicates if custom data is required to deploy this role.")]
@@ -46,19 +47,31 @@ function New-AzConnectedNetworkFunctionVendorConfigurationObject {
[string]
$RoleName,
[Parameter(HelpMessage="The list of SSH public keys used to authenticate with linux based VMs.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.ISshPublicKey[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.ISshPublicKey[]]
$SshPublicKey
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionVendorConfiguration]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionVendorConfiguration]::New()
- $Object.NetworkInterface = $NetworkInterface
- $Object.OSProfileAdminUsername = $OSProfileAdminUsername
- $Object.OSProfileCustomData = $OSProfileCustomData
- $Object.OSProfileCustomDataRequired = $OSProfileCustomDataRequired
- $Object.RoleName = $RoleName
- $Object.SshPublicKey = $SshPublicKey
+ if ($PSBoundParameters.ContainsKey('NetworkInterface')) {
+ $Object.NetworkInterface = $NetworkInterface
+ }
+ if ($PSBoundParameters.ContainsKey('OSProfileAdminUsername')) {
+ $Object.OSProfileAdminUsername = $OSProfileAdminUsername
+ }
+ if ($PSBoundParameters.ContainsKey('OSProfileCustomData')) {
+ $Object.OSProfileCustomData = $OSProfileCustomData
+ }
+ if ($PSBoundParameters.ContainsKey('OSProfileCustomDataRequired')) {
+ $Object.OSProfileCustomDataRequired = $OSProfileCustomDataRequired
+ }
+ if ($PSBoundParameters.ContainsKey('RoleName')) {
+ $Object.RoleName = $RoleName
+ }
+ if ($PSBoundParameters.ContainsKey('SshPublicKey')) {
+ $Object.SshPublicKey = $SshPublicKey
+ }
return $Object
}
}
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkInterfaceIPConfigurationObject.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkInterfaceIPConfigurationObject.ps1
similarity index 55%
rename from src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkInterfaceIPConfigurationObject.ps1
rename to src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkInterfaceIPConfigurationObject.ps1
index 1facf0666b42..6b7a346700fb 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkInterfaceIPConfigurationObject.ps1
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkInterfaceIPConfigurationObject.ps1
@@ -16,17 +16,18 @@
<#
.Synopsis
-Create a in-memory object for NetworkInterfaceIPConfiguration
+Create an in-memory object for NetworkInterfaceIPConfiguration.
.Description
-Create a in-memory object for NetworkInterfaceIPConfiguration
+Create an in-memory object for NetworkInterfaceIPConfiguration.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterfaceIPConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterfaceIPConfiguration
.Link
-https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkInterfaceIPConfigurationObject
+https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkinterfaceipconfigurationobject
#>
function New-AzConnectedNetworkInterfaceIPConfigurationObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterfaceIPConfiguration')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterfaceIPConfiguration')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -40,10 +41,12 @@ function New-AzConnectedNetworkInterfaceIPConfigurationObject {
[string]
$IPAddress,
[Parameter(HelpMessage="IP address allocation method.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.IPAllocationMethod]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.PSArgumentCompleterAttribute("Unknown", "Static", "Dynamic")]
+ [string]
$IPAllocationMethod,
[Parameter(HelpMessage="IP address version.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.IPVersion]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.PSArgumentCompleterAttribute("Unknown", "IPv4")]
+ [string]
$IPVersion,
[Parameter(HelpMessage="The value of the subnet.")]
[string]
@@ -51,14 +54,26 @@ function New-AzConnectedNetworkInterfaceIPConfigurationObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterfaceIPConfiguration]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterfaceIPConfiguration]::New()
- $Object.DnsServer = $DnsServer
- $Object.Gateway = $Gateway
- $Object.IPAddress = $IPAddress
- $Object.IPAllocationMethod = $IPAllocationMethod
- $Object.IPVersion = $IPVersion
- $Object.Subnet = $Subnet
+ if ($PSBoundParameters.ContainsKey('DnsServer')) {
+ $Object.DnsServer = $DnsServer
+ }
+ if ($PSBoundParameters.ContainsKey('Gateway')) {
+ $Object.Gateway = $Gateway
+ }
+ if ($PSBoundParameters.ContainsKey('IPAddress')) {
+ $Object.IPAddress = $IPAddress
+ }
+ if ($PSBoundParameters.ContainsKey('IPAllocationMethod')) {
+ $Object.IPAllocationMethod = $IPAllocationMethod
+ }
+ if ($PSBoundParameters.ContainsKey('IPVersion')) {
+ $Object.IPVersion = $IPVersion
+ }
+ if ($PSBoundParameters.ContainsKey('Subnet')) {
+ $Object.Subnet = $Subnet
+ }
return $Object
}
}
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkInterfaceObject.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkInterfaceObject.ps1
similarity index 61%
rename from src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkInterfaceObject.ps1
rename to src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkInterfaceObject.ps1
index 0ca802677249..0525f67b466d 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/New-AzConnectedNetworkInterfaceObject.ps1
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/custom/autogen-model-cmdlets/New-AzConnectedNetworkInterfaceObject.ps1
@@ -16,22 +16,23 @@
<#
.Synopsis
-Create a in-memory object for NetworkInterface
+Create an in-memory object for NetworkInterface.
.Description
-Create a in-memory object for NetworkInterface
+Create an in-memory object for NetworkInterface.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterface
+Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterface
.Link
-https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkInterfaceObject
+https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkinterfaceobject
#>
function New-AzConnectedNetworkInterfaceObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterface')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.ModelCmdletAttribute()]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterface')]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(HelpMessage="A list of IP configurations of the network interface.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkInterfaceIPConfiguration[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkInterfaceIPConfiguration[]]
$IPConfiguration,
[Parameter(HelpMessage="The MAC address of the network interface.")]
[string]
@@ -40,17 +41,26 @@ function New-AzConnectedNetworkInterfaceObject {
[string]
$Name,
[Parameter(HelpMessage="The type of the VM switch.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.VMSwitchType]
+ [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.PSArgumentCompleterAttribute("Unknown", "Management", "Wan", "Lan")]
+ [string]
$VMSwitchType
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterface]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterface]::New()
- $Object.IPConfiguration = $IPConfiguration
- $Object.MacAddress = $MacAddress
- $Object.Name = $Name
- $Object.VMSwitchType = $VMSwitchType
+ if ($PSBoundParameters.ContainsKey('IPConfiguration')) {
+ $Object.IPConfiguration = $IPConfiguration
+ }
+ if ($PSBoundParameters.ContainsKey('MacAddress')) {
+ $Object.MacAddress = $MacAddress
+ }
+ if ($PSBoundParameters.ContainsKey('Name')) {
+ $Object.Name = $Name
+ }
+ if ($PSBoundParameters.ContainsKey('VMSwitchType')) {
+ $Object.VMSwitchType = $VMSwitchType
+ }
return $Object
}
}
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Az.ConnectedNetwork.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Az.ConnectedNetwork.md
index ba333a3dba1f..cdc15e31f4c3 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Az.ConnectedNetwork.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Az.ConnectedNetwork.md
@@ -1,6 +1,6 @@
---
Module Name: Az.ConnectedNetwork
-Module Guid: 86910398-1fa6-447a-8b10-54e0ac5a2a6a
+Module Guid: a88943cd-acc4-4576-9d7a-ffa6719d34cc
Download Help Link: https://learn.microsoft.com/powershell/module/az.connectednetwork
Help Version: 1.0.0.0
Locale: en-US
@@ -39,46 +39,46 @@ Gets information about the specified sku.
Gets the preview information of a vendor sku.
### [New-AzConnectedNetworkAzureStackEdgeObject](New-AzConnectedNetworkAzureStackEdgeObject.md)
-Create a in-memory object for AzureStackEdgeFormat
+Create an in-memory object for AzureStackEdgeFormat.
### [New-AzConnectedNetworkDevice](New-AzConnectedNetworkDevice.md)
-Creates or updates a device.
+create a device.
### [New-AzConnectedNetworkFunction](New-AzConnectedNetworkFunction.md)
-Creates or updates a network function resource.
+create a network function resource.
This operation can take up to 6 hours to complete.
This is expected service behavior.
### [New-AzConnectedNetworkFunctionRoleConfigurationObject](New-AzConnectedNetworkFunctionRoleConfigurationObject.md)
-Create a in-memory object for NetworkFunctionRoleConfiguration
+Create an in-memory object for NetworkFunctionRoleConfiguration.
### [New-AzConnectedNetworkFunctionUserConfigurationObject](New-AzConnectedNetworkFunctionUserConfigurationObject.md)
-Create a in-memory object for NetworkFunctionUserConfiguration
+Create an in-memory object for NetworkFunctionUserConfiguration.
### [New-AzConnectedNetworkFunctionVendorConfigurationObject](New-AzConnectedNetworkFunctionVendorConfigurationObject.md)
-Create a in-memory object for NetworkFunctionVendorConfiguration
+Create an in-memory object for NetworkFunctionVendorConfiguration.
### [New-AzConnectedNetworkInterfaceIPConfigurationObject](New-AzConnectedNetworkInterfaceIPConfigurationObject.md)
-Create a in-memory object for NetworkInterfaceIPConfiguration
+Create an in-memory object for NetworkInterfaceIPConfiguration.
### [New-AzConnectedNetworkInterfaceObject](New-AzConnectedNetworkInterfaceObject.md)
-Create a in-memory object for NetworkInterface
+Create an in-memory object for NetworkInterface.
### [New-AzConnectedNetworkVendor](New-AzConnectedNetworkVendor.md)
-Creates or updates a vendor.
+create a vendor.
### [New-AzConnectedNetworkVendorFunction](New-AzConnectedNetworkVendorFunction.md)
-Creates or updates a vendor network function.
+create a vendor network function.
This operation can take up to 6 hours to complete.
This is expected service behavior.
### [New-AzConnectedNetworkVendorSku](New-AzConnectedNetworkVendorSku.md)
-Creates or updates a sku.
+create a sku.
This operation can take up to 2 hours to complete.
This is expected service behavior.
### [New-AzConnectedNetworkVendorSkuPreview](New-AzConnectedNetworkVendorSkuPreview.md)
-Creates or updates preview information of a vendor sku.
+create preview information of a vendor sku.
### [Remove-AzConnectedNetworkDevice](Remove-AzConnectedNetworkDevice.md)
Deletes the specified device.
@@ -109,8 +109,24 @@ Starts a role instance of a vendor network function.
Powers off (stop) a role instance of a vendor network function.
### [Update-AzConnectedNetworkDeviceTag](Update-AzConnectedNetworkDeviceTag.md)
-Updates device tags.
+update device tags.
### [Update-AzConnectedNetworkFunctionTag](Update-AzConnectedNetworkFunctionTag.md)
-Updates the tags for the network function resource.
+update the tags for the network function resource.
+
+### [Update-AzConnectedNetworkVendor](Update-AzConnectedNetworkVendor.md)
+update a vendor.
+
+### [Update-AzConnectedNetworkVendorFunction](Update-AzConnectedNetworkVendorFunction.md)
+update a vendor network function.
+This operation can take up to 6 hours to complete.
+This is expected service behavior.
+
+### [Update-AzConnectedNetworkVendorSku](Update-AzConnectedNetworkVendorSku.md)
+update a sku.
+This operation can take up to 2 hours to complete.
+This is expected service behavior.
+
+### [Update-AzConnectedNetworkVendorSkuPreview](Update-AzConnectedNetworkVendorSkuPreview.md)
+update preview information of a vendor sku.
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDevice.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDevice.md
index 560808601eac..27e80e3db0b0 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDevice.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDevice.md
@@ -116,7 +116,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
@@ -185,7 +184,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IDevice
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDevice
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDeviceRegistrationKey.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDeviceRegistrationKey.md
index ef62dbf9aca0..51da5ed73b05 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDeviceRegistrationKey.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkDeviceRegistrationKey.md
@@ -148,7 +148,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### System.String
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDeviceRegistrationKey
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunction.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunction.md
index af0d36323db9..6de7966211e5 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunction.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunction.md
@@ -132,7 +132,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
@@ -201,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkFunction
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunction
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunctionVendor.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunctionVendor.md
index 9ed67c4f152e..c0ed94d03e89 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunctionVendor.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkFunctionVendor.md
@@ -91,7 +91,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkFunctionVendor
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionVendor
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendor.md
index 954e279dd0b9..f73bb57410d9 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendor.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendor.md
@@ -102,7 +102,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
@@ -155,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IVendor
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendor
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunction.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunction.md
index a3f276181ad3..3b21be479254 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunction.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunction.md
@@ -30,6 +30,18 @@ Get-AzConnectedNetworkVendorFunction -InputObject [-
[]
```
+### GetViaIdentityLocation
+```
+Get-AzConnectedNetworkVendorFunction -LocationInputObject -ServiceKey
+ -VendorName [-DefaultProfile ] []
+```
+
+### GetViaIdentityVendor
+```
+Get-AzConnectedNetworkVendorFunction -ServiceKey -VendorInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Gets information about the specified vendor network function.
@@ -128,7 +140,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
@@ -142,6 +153,21 @@ Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
+### -LocationInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityLocation
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -LocationName
The Azure region where the network function resource was created by the customer.
@@ -162,7 +188,7 @@ The GUID for the vendor network function.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityLocation, GetViaIdentityVendor
Aliases:
Required: True
@@ -187,12 +213,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -VendorInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityVendor
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -VendorName
The name of the vendor.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityLocation, List
Aliases:
Required: True
@@ -211,7 +252,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IVendorNetworkFunction
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorNetworkFunction
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunctionRoleInstance.md
index d51f8bf03ac1..1da42c5180c3 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunctionRoleInstance.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorFunctionRoleInstance.md
@@ -30,6 +30,24 @@ Get-AzConnectedNetworkVendorFunctionRoleInstance -InputObject ] []
```
+### GetViaIdentityLocation
+```
+Get-AzConnectedNetworkVendorFunctionRoleInstance -LocationInputObject
+ -Name -ServiceKey -VendorName [-DefaultProfile ] []
+```
+
+### GetViaIdentityNetworkFunction
+```
+Get-AzConnectedNetworkVendorFunctionRoleInstance -Name
+ -NetworkFunctionInputObject [-DefaultProfile ] []
+```
+
+### GetViaIdentityVendor
+```
+Get-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey
+ -VendorInputObject [-DefaultProfile ] []
+```
+
## DESCRIPTION
Gets the information of role instance of vendor network function.
@@ -102,7 +120,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
@@ -116,6 +133,21 @@ Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
+### -LocationInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityLocation
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -LocationName
The Azure region where the network function resource was created by customer.
@@ -136,7 +168,7 @@ The name of the role instance of the vendor network function.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityLocation, GetViaIdentityNetworkFunction, GetViaIdentityVendor
Aliases: RoleInstanceName
Required: True
@@ -146,12 +178,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -NetworkFunctionInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityNetworkFunction
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -ServiceKey
The GUID for the vendor network function.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityLocation, GetViaIdentityVendor, List
Aliases:
Required: True
@@ -176,12 +223,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -VendorInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityVendor
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -VendorName
The name of the vendor.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityLocation, List
Aliases:
Required: True
@@ -200,7 +262,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IRoleInstance
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IRoleInstance
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSku.md
index 9f6612a968fb..e591b1097536 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSku.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSku.md
@@ -30,6 +30,12 @@ Get-AzConnectedNetworkVendorSku -InputObject [-Defau
[]
```
+### GetViaIdentityVendor
+```
+Get-AzConnectedNetworkVendorSku -SkuName -VendorInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Gets information about the specified sku.
@@ -102,7 +108,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
@@ -121,7 +126,7 @@ The name of the sku.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityVendor
Aliases:
Required: True
@@ -146,6 +151,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -VendorInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityVendor
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -VendorName
The name of the vendor.
@@ -170,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IVendorSku
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorSku
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSkuPreview.md
index 37d05ab55178..241b16db208b 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSkuPreview.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Get-AzConnectedNetworkVendorSkuPreview.md
@@ -30,6 +30,18 @@ Get-AzConnectedNetworkVendorSkuPreview -InputObject
[]
```
+### GetViaIdentityVendor
+```
+Get-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName
+ -VendorInputObject [-DefaultProfile ] []
+```
+
+### GetViaIdentityVendorSku
+```
+Get-AzConnectedNetworkVendorSkuPreview -PreviewSubscription
+ -VendorSkuInputObject [-DefaultProfile ] []
+```
+
## DESCRIPTION
Gets the preview information of a vendor sku.
@@ -101,7 +113,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
@@ -120,7 +131,7 @@ Preview subscription ID.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityVendor, GetViaIdentityVendorSku
Aliases:
Required: True
@@ -135,7 +146,7 @@ The name of the vendor sku.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityVendor, List
Aliases:
Required: True
@@ -160,6 +171,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -VendorInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityVendor
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -VendorName
The name of the vendor.
@@ -175,6 +201,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -VendorSkuInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: GetViaIdentityVendorSku
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
@@ -184,7 +225,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IPreviewSubscription
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IPreviewSubscription
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkAzureStackEdgeObject.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkAzureStackEdgeObject.md
index 5cb87a9cd5b0..937135cdaaac 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkAzureStackEdgeObject.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkAzureStackEdgeObject.md
@@ -1,14 +1,14 @@
---
external help file:
Module Name: Az.ConnectedNetwork
-online version: https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkAzureStackEdgeObject
+online version: https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkazurestackedgeobject
schema: 2.0.0
---
# New-AzConnectedNetworkAzureStackEdgeObject
## SYNOPSIS
-Create a in-memory object for AzureStackEdgeFormat
+Create an in-memory object for AzureStackEdgeFormat.
## SYNTAX
@@ -17,7 +17,7 @@ New-AzConnectedNetworkAzureStackEdgeObject [-AzureStackEdgeId ] [ -ResourceGroupName -Location
[-SubscriptionId ] [-Property ] [-Tag ]
[-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
```
+### CreateViaJsonFilePath
+```
+New-AzConnectedNetworkDevice -Name -ResourceGroupName -JsonFilePath
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaJsonString
+```
+New-AzConnectedNetworkDevice -Name -ResourceGroupName -JsonString
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
## DESCRIPTION
-Creates or updates a device.
+create a device.
## EXAMPLES
@@ -112,12 +127,42 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Location
The geo-location where the resource lives
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: True
@@ -159,11 +204,10 @@ Accept wildcard characters: False
### -Property
Device properties.
-To construct, see NOTES section for PROPERTY properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IDevicePropertiesFormat
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDevicePropertiesFormat
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -209,7 +253,7 @@ Resource tags.
```yaml
Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -257,7 +301,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IDevice
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDevice
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunction.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunction.md
index b7e91af2129e..2188c0d04a55 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunction.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunction.md
@@ -8,12 +8,13 @@ schema: 2.0.0
# New-AzConnectedNetworkFunction
## SYNOPSIS
-Creates or updates a network function resource.
+create a network function resource.
This operation can take up to 6 hours to complete.
This is expected service behavior.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzConnectedNetworkFunction -Name -ResourceGroupName -Location
[-SubscriptionId ] [-ContainerConfiguration ] [-DeviceId ] [-Etag ]
@@ -22,8 +23,22 @@ New-AzConnectedNetworkFunction -Name -ResourceGroupName -Locat
[-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
```
+### CreateViaJsonFilePath
+```
+New-AzConnectedNetworkFunction -Name -ResourceGroupName -JsonFilePath
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaJsonString
+```
+New-AzConnectedNetworkFunction -Name -ResourceGroupName -JsonString
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
## DESCRIPTION
-Creates or updates a network function resource.
+create a network function resource.
This operation can take up to 6 hours to complete.
This is expected service behavior.
@@ -91,7 +106,7 @@ The network function container configurations from the user.
```yaml
Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -122,7 +137,7 @@ Resource ID.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -137,7 +152,7 @@ A unique read-only string that changes whenever the resource is updated.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -147,12 +162,42 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Location
The geo-location where the resource lives
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: True
@@ -167,7 +212,7 @@ The parameters for the managed application.
```yaml
Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -229,7 +274,7 @@ Once set, it cannot be updated.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -259,7 +304,7 @@ Resource tags.
```yaml
Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -271,11 +316,10 @@ Accept wildcard characters: False
### -UserConfiguration
The network function configurations from the user.
-To construct, see NOTES section for USERCONFIGURATION properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkFunctionUserConfiguration[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionUserConfiguration[]
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -291,7 +335,7 @@ Once set, it cannot be updated.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded
Aliases:
Required: False
@@ -339,7 +383,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkFunction
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunction
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionRoleConfigurationObject.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionRoleConfigurationObject.md
index 7428aacc124e..30172276960c 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionRoleConfigurationObject.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionRoleConfigurationObject.md
@@ -1,14 +1,14 @@
---
external help file:
Module Name: Az.ConnectedNetwork
-online version: https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkFunctionRoleConfigurationObject
+online version: https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkfunctionroleconfigurationobject
schema: 2.0.0
---
# New-AzConnectedNetworkFunctionRoleConfigurationObject
## SYNOPSIS
-Create a in-memory object for NetworkFunctionRoleConfiguration
+Create an in-memory object for NetworkFunctionRoleConfiguration.
## SYNTAX
@@ -16,15 +16,15 @@ Create a in-memory object for NetworkFunctionRoleConfiguration
New-AzConnectedNetworkFunctionRoleConfigurationObject [-CustomProfileMetadataConfigurationPath ]
[-ImageReferenceExactVersion ] [-ImageReferenceOffer ] [-ImageReferencePublisher ]
[-ImageReferenceSku ] [-ImageReferenceVersion ] [-NetworkInterface ]
- [-OSDiskName ] [-OSDiskOstype ] [-OSDiskSizeGb ]
- [-OSProfileAdminUsername ] [-OSProfileCustomData ] [-OSProfileCustomDataRequired ]
- [-RoleName ] [-RoleType ] [-SshPublicKey ]
- [-StorageProfileDataDisk ] [-UserDataParameter ] [-UserDataTemplate ]
- [-VhdUri ] [-VirtualMachineSize ] []
+ [-OSDiskName ] [-OSDiskOstype ] [-OSDiskSizeGb ] [-OSProfileAdminUsername ]
+ [-OSProfileCustomData ] [-OSProfileCustomDataRequired ] [-RoleName ]
+ [-RoleType ] [-SshPublicKey ] [-StorageProfileDataDisk ]
+ [-UserDataParameter ] [-UserDataTemplate ] [-VhdUri ] [-VirtualMachineSize ]
+ []
```
## DESCRIPTION
-Create a in-memory object for NetworkFunctionRoleConfiguration
+Create an in-memory object for NetworkFunctionRoleConfiguration.
## EXAMPLES
@@ -149,10 +149,9 @@ Accept wildcard characters: False
### -NetworkInterface
The network interface configurations.
-To construct, see NOTES section for NETWORKINTERFACE properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkInterface[]
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkInterface[]
Parameter Sets: (All)
Aliases:
@@ -182,7 +181,7 @@ Accept wildcard characters: False
The OS type.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.OperatingSystemTypes
+Type: System.String
Parameter Sets: (All)
Aliases:
@@ -225,8 +224,8 @@ Specifies the name of the administrator account.
**Max-length (Windows):** 20 characters
-\ For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
-\ For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+\ For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+\ For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
```yaml
Type: System.String
@@ -254,7 +253,7 @@ The maximum length of the binary array is 65535 bytes.
customData is passed to the VM to be saved as a file.
For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
- For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
```yaml
Type: System.String
@@ -302,7 +301,7 @@ Accept wildcard characters: False
Role type.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.NetworkFunctionRoleConfigurationType
+Type: System.String
Parameter Sets: (All)
Aliases:
@@ -315,10 +314,9 @@ Accept wildcard characters: False
### -SshPublicKey
The list of SSH public keys used to authenticate with linux based VMs.
-To construct, see NOTES section for SSHPUBLICKEY properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.ISshPublicKey[]
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.ISshPublicKey[]
Parameter Sets: (All)
Aliases:
@@ -331,10 +329,9 @@ Accept wildcard characters: False
### -StorageProfileDataDisk
Specifies the parameters that are used to add a data disk to a virtual machine.
-To construct, see NOTES section for STORAGEPROFILEDATADISK properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IDataDisk[]
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDataDisk[]
Parameter Sets: (All)
Aliases:
@@ -396,7 +393,7 @@ Accept wildcard characters: False
The size of the virtual machine.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.VirtualMachineSizeTypes
+Type: System.String
Parameter Sets: (All)
Aliases:
@@ -414,7 +411,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionRoleConfiguration
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionRoleConfiguration
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionUserConfigurationObject.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionUserConfigurationObject.md
index f15e42e299fa..c9146a251c8e 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionUserConfigurationObject.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkFunctionUserConfigurationObject.md
@@ -1,14 +1,14 @@
---
external help file:
Module Name: Az.ConnectedNetwork
-online version: https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkFunctionUserConfigurationObject
+online version: https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkfunctionuserconfigurationobject
schema: 2.0.0
---
# New-AzConnectedNetworkFunctionUserConfigurationObject
## SYNOPSIS
-Create a in-memory object for NetworkFunctionUserConfiguration
+Create an in-memory object for NetworkFunctionUserConfiguration.
## SYNTAX
@@ -18,7 +18,7 @@ New-AzConnectedNetworkFunctionUserConfigurationObject [-NetworkInterface For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
-\ For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+\ For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+\ For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
```yaml
Type: System.String
@@ -101,7 +100,7 @@ The maximum length of the binary array is 65535 bytes.
customData is passed to the VM to be saved as a file.
For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
- For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
```yaml
Type: System.String
@@ -147,10 +146,9 @@ Accept wildcard characters: False
### -SshPublicKey
The list of SSH public keys used to authenticate with linux based VMs.
-To construct, see NOTES section for SSHPUBLICKEY properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.ISshPublicKey[]
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.ISshPublicKey[]
Parameter Sets: (All)
Aliases:
@@ -168,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkFunctionVendorConfiguration
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkFunctionVendorConfiguration
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceIPConfigurationObject.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceIPConfigurationObject.md
index 7c4293c93b01..7e9f050c6dc1 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceIPConfigurationObject.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceIPConfigurationObject.md
@@ -1,25 +1,25 @@
---
external help file:
Module Name: Az.ConnectedNetwork
-online version: https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkInterfaceIPConfigurationObject
+online version: https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkinterfaceipconfigurationobject
schema: 2.0.0
---
# New-AzConnectedNetworkInterfaceIPConfigurationObject
## SYNOPSIS
-Create a in-memory object for NetworkInterfaceIPConfiguration
+Create an in-memory object for NetworkInterfaceIPConfiguration.
## SYNTAX
```
New-AzConnectedNetworkInterfaceIPConfigurationObject [-DnsServer ] [-Gateway ]
- [-IPAddress ] [-IPAllocationMethod ] [-IPVersion ] [-Subnet ]
+ [-IPAddress ] [-IPAllocationMethod ] [-IPVersion ] [-Subnet ]
[]
```
## DESCRIPTION
-Create a in-memory object for NetworkInterfaceIPConfiguration
+Create an in-memory object for NetworkInterfaceIPConfiguration.
## EXAMPLES
@@ -87,7 +87,7 @@ Accept wildcard characters: False
IP address allocation method.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.IPAllocationMethod
+Type: System.String
Parameter Sets: (All)
Aliases:
@@ -102,7 +102,7 @@ Accept wildcard characters: False
IP address version.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.IPVersion
+Type: System.String
Parameter Sets: (All)
Aliases:
@@ -135,7 +135,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterfaceIPConfiguration
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterfaceIPConfiguration
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceObject.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceObject.md
index bb2e898f14bc..5c5be2c314aa 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceObject.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkInterfaceObject.md
@@ -1,24 +1,24 @@
---
external help file:
Module Name: Az.ConnectedNetwork
-online version: https://learn.microsoft.com/powershell/module/az.ConnectedNetwork/new-AzConnectedNetworkInterfaceObject
+online version: https://learn.microsoft.com/powershell/module/Az.ConnectedNetwork/new-azconnectednetworkinterfaceobject
schema: 2.0.0
---
# New-AzConnectedNetworkInterfaceObject
## SYNOPSIS
-Create a in-memory object for NetworkInterface
+Create an in-memory object for NetworkInterface.
## SYNTAX
```
New-AzConnectedNetworkInterfaceObject [-IPConfiguration ]
- [-MacAddress ] [-Name ] [-VMSwitchType ] []
+ [-MacAddress ] [-Name ] [-VMSwitchType ] []
```
## DESCRIPTION
-Create a in-memory object for NetworkInterface
+Create an in-memory object for NetworkInterface.
## EXAMPLES
@@ -39,10 +39,9 @@ Create a in-memory object for NetworkInterface
### -IPConfiguration
A list of IP configurations of the network interface.
-To construct, see NOTES section for IPCONFIGURATION properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkInterfaceIPConfiguration[]
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkInterfaceIPConfiguration[]
Parameter Sets: (All)
Aliases:
@@ -87,7 +86,7 @@ Accept wildcard characters: False
The type of the VM switch.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.VMSwitchType
+Type: System.String
Parameter Sets: (All)
Aliases:
@@ -105,7 +104,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterface
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.NetworkInterface
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendor.md
index d0a56446d083..b6721597daf9 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendor.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendor.md
@@ -8,17 +8,30 @@ schema: 2.0.0
# New-AzConnectedNetworkVendor
## SYNOPSIS
-Creates or updates a vendor.
+create a vendor.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzConnectedNetworkVendor -Name [-SubscriptionId ] [-DefaultProfile ] [-AsJob]
[-NoWait] [-Confirm] [-WhatIf] []
```
+### CreateViaJsonFilePath
+```
+New-AzConnectedNetworkVendor -Name -JsonFilePath [-SubscriptionId ]
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+```
+
+### CreateViaJsonString
+```
+New-AzConnectedNetworkVendor -Name -JsonString [-SubscriptionId ]
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+```
+
## DESCRIPTION
-Creates or updates a vendor.
+create a vendor.
## EXAMPLES
@@ -99,6 +112,36 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Name
The name of the vendor.
@@ -182,7 +225,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IVendor
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendor
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorFunction.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorFunction.md
index 01ead36ec60c..002fdbc77b13 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorFunction.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorFunction.md
@@ -8,22 +8,52 @@ schema: 2.0.0
# New-AzConnectedNetworkVendorFunction
## SYNOPSIS
-Creates or updates a vendor network function.
+create a vendor network function.
This operation can take up to 6 hours to complete.
This is expected service behavior.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzConnectedNetworkVendorFunction -LocationName -ServiceKey -VendorName
- [-SubscriptionId ] [-SkuType ]
- [-VendorConfiguration ]
- [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait]
- [-Confirm] [-WhatIf] []
+ [-SubscriptionId ] [-SkuType ] [-VendorConfiguration ]
+ [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaIdentityLocationExpanded
+```
+New-AzConnectedNetworkVendorFunction -LocationInputObject -ServiceKey
+ -VendorName [-SkuType ] [-VendorConfiguration ]
+ [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaIdentityVendorExpanded
+```
+New-AzConnectedNetworkVendorFunction -ServiceKey -VendorInputObject
+ [-SkuType ] [-VendorConfiguration ]
+ [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaJsonFilePath
+```
+New-AzConnectedNetworkVendorFunction -LocationName -ServiceKey -VendorName
+ -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm]
+ [-WhatIf] []
+```
+
+### CreateViaJsonString
+```
+New-AzConnectedNetworkVendorFunction -LocationName -ServiceKey -VendorName
+ -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm]
+ [-WhatIf] []
```
## DESCRIPTION
-Creates or updates a vendor network function.
+create a vendor network function.
This operation can take up to 6 hours to complete.
This is expected service behavior.
@@ -80,12 +110,57 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -LocationInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: CreateViaIdentityLocationExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -LocationName
The Azure region where the network function resource was created by the customer.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -129,8 +204,8 @@ Accept wildcard characters: False
The sku type.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.SkuType
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateExpanded, CreateViaIdentityLocationExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -145,7 +220,7 @@ The ID of the target subscription.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: False
@@ -157,11 +232,10 @@ Accept wildcard characters: False
### -VendorConfiguration
An array of network function vendor configurations.
-To construct, see NOTES section for VENDORCONFIGURATION properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkFunctionVendorConfiguration[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionVendorConfiguration[]
+Parameter Sets: CreateExpanded, CreateViaIdentityLocationExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -171,12 +245,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -VendorInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: CreateViaIdentityVendorExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -VendorName
The name of the vendor.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityLocationExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -190,8 +279,8 @@ Accept wildcard characters: False
The vendor controlled provisioning state of the vendor network function.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.VendorProvisioningState
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateExpanded, CreateViaIdentityLocationExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -237,9 +326,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IVendorNetworkFunction
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorNetworkFunction
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSku.md
index ae335902ea28..64a40cf6bcb2 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSku.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSku.md
@@ -8,23 +8,48 @@ schema: 2.0.0
# New-AzConnectedNetworkVendorSku
## SYNOPSIS
-Creates or updates a sku.
+create a sku.
This operation can take up to 2 hours to complete.
This is expected service behavior.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzConnectedNetworkVendorSku -SkuName -VendorName [-SubscriptionId ]
- [-DeploymentMode ] [-ManagedApplicationParameter ]
+ [-DeploymentMode ] [-ManagedApplicationParameter ]
[-ManagedApplicationTemplate ]
- [-NetworkFunctionRoleConfigurationType ]
- [-NetworkFunctionType ] [-Preview] [-SkuType ] [-DefaultProfile ]
- [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+ [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ]
+ [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaIdentityVendorExpanded
+```
+New-AzConnectedNetworkVendorSku -SkuName -VendorInputObject
+ [-DeploymentMode ] [-ManagedApplicationParameter ]
+ [-ManagedApplicationTemplate ]
+ [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ]
+ [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaJsonFilePath
+```
+New-AzConnectedNetworkVendorSku -SkuName -VendorName -JsonFilePath
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
+```
+
+### CreateViaJsonString
+```
+New-AzConnectedNetworkVendorSku -SkuName -VendorName -JsonString
+ [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
```
## DESCRIPTION
-Creates or updates a sku.
+create a sku.
This operation can take up to 2 hours to complete.
This is expected service behavior.
@@ -76,8 +101,8 @@ Accept wildcard characters: False
The sku deployment mode.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.SkuDeploymentMode
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -87,12 +112,42 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -JsonFilePath
+Path of Json file supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonFilePath
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -JsonString
+Json string supplied to the Create operation
+
+```yaml
+Type: System.String
+Parameter Sets: CreateViaJsonString
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ManagedApplicationParameter
The parameters for the managed application to be supplied by the vendor.
```yaml
Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -107,7 +162,7 @@ The template for the managed application deployment.
```yaml
Type: System.Collections.Hashtable
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -119,11 +174,10 @@ Accept wildcard characters: False
### -NetworkFunctionRoleConfigurationType
An array of network function role definitions.
-To construct, see NOTES section for NETWORKFUNCTIONROLECONFIGURATIONTYPE properties and create a hash table.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkFunctionRoleConfiguration[]
-Parameter Sets: (All)
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionRoleConfiguration[]
+Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -137,8 +191,8 @@ Accept wildcard characters: False
The network function type.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.NetworkFunctionType
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -168,7 +222,7 @@ Indicates if the vendor sku is in preview mode.
```yaml
Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -197,8 +251,8 @@ Accept wildcard characters: False
The sku type.
```yaml
-Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.SkuType
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded
Aliases:
Required: False
@@ -213,7 +267,7 @@ The ID of the target subscription.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: False
@@ -223,12 +277,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -VendorInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+Parameter Sets: CreateViaIdentityVendorExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -VendorName
The name of the vendor.
```yaml
Type: System.String
-Parameter Sets: (All)
+Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString
Aliases:
Required: True
@@ -274,9 +343,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity
+
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IVendorSku
+### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorSku
## NOTES
diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSkuPreview.md
index 2be1a50a7bac..de548e1b9648 100644
--- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSkuPreview.md
+++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/New-AzConnectedNetworkVendorSkuPreview.md
@@ -8,18 +8,47 @@ schema: 2.0.0
# New-AzConnectedNetworkVendorSkuPreview
## SYNOPSIS
-Creates or updates preview information of a vendor sku.
+create preview information of a vendor sku.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName -VendorName
[-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[