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] [] ``` +### CreateViaIdentityVendorExpanded +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityVendorSkuExpanded +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription + -VendorSkuInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName -VendorName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName -VendorName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + ## DESCRIPTION -Creates or updates preview information of a vendor sku. +create preview information of a vendor sku. ## EXAMPLES @@ -78,6 +107,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 +``` + ### -NoWait Run the command asynchronously @@ -113,7 +172,7 @@ The name of the vendor sku. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityVendorExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -128,7 +187,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -138,12 +197,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 @@ -153,6 +227,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorSkuInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: CreateViaIdentityVendorSkuExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -189,9 +278,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.IPreviewSubscription +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IPreviewSubscription ## NOTES diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkDevice.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkDevice.md index fa0ee279b1ad..b262f1253f80 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkDevice.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkDevice.md @@ -80,7 +80,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 diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkFunction.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkFunction.md index 9018f0a34585..d2ab6a4b788f 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkFunction.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkFunction.md @@ -84,7 +84,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 diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendor.md index 7867ed8c277b..f229fd128083 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendor.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendor.md @@ -79,7 +79,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 diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSku.md index a17cf76cb457..520128fc5f13 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSku.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSku.md @@ -26,6 +26,12 @@ Remove-AzConnectedNetworkVendorSku -InputObject [-De [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityVendor +``` +Remove-AzConnectedNetworkVendorSku -SkuName -VendorInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Deletes the specified sku. This operation can take up to 2 hours to complete. @@ -84,7 +90,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 @@ -133,7 +138,7 @@ The name of the sku. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVendor Aliases: Required: True @@ -158,6 +163,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: DeleteViaIdentityVendor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VendorName The name of the vendor. diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSkuPreview.md index 637512aaac39..9d9cefb77dcc 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSkuPreview.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Remove-AzConnectedNetworkVendorSkuPreview.md @@ -25,6 +25,20 @@ Remove-AzConnectedNetworkVendorSkuPreview -InputObject ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityVendor +``` +Remove-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityVendorSku +``` +Remove-AzConnectedNetworkVendorSkuPreview -PreviewSubscription + -VendorSkuInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Deletes the preview information of a vendor sku. @@ -81,7 +95,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 @@ -130,7 +143,7 @@ Preview subscription ID. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVendor, DeleteViaIdentityVendorSku Aliases: Required: True @@ -145,7 +158,7 @@ The name of the vendor sku. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVendor Aliases: Required: True @@ -170,6 +183,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: DeleteViaIdentityVendor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VendorName The name of the vendor. @@ -185,6 +213,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorSkuInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: DeleteViaIdentityVendorSku +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md index a052fb109ca1..fd7752bf618e 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md @@ -25,6 +25,27 @@ Restart-AzConnectedNetworkVendorFunctionRoleInstance -InputObject ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### RestartViaIdentityLocation +``` +Restart-AzConnectedNetworkVendorFunctionRoleInstance -LocationInputObject + -Name -ServiceKey -VendorName [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentityNetworkFunction +``` +Restart-AzConnectedNetworkVendorFunctionRoleInstance -Name + -NetworkFunctionInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentityVendor +``` +Restart-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Restarts a role instance of a vendor network function. @@ -81,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 @@ -95,6 +115,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: RestartViaIdentityLocation +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. @@ -115,7 +150,7 @@ The name of the role instance of the vendor network function. ```yaml Type: System.String -Parameter Sets: Restart +Parameter Sets: Restart, RestartViaIdentityLocation, RestartViaIdentityNetworkFunction, RestartViaIdentityVendor Aliases: RoleInstanceName Required: True @@ -125,6 +160,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkFunctionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: RestartViaIdentityNetworkFunction +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -160,7 +210,7 @@ The GUID for the vendor network function. ```yaml Type: System.String -Parameter Sets: Restart +Parameter Sets: Restart, RestartViaIdentityLocation, RestartViaIdentityVendor Aliases: Required: True @@ -185,12 +235,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: RestartViaIdentityVendor +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: Restart +Parameter Sets: Restart, RestartViaIdentityLocation Aliases: Required: True diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Start-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Start-AzConnectedNetworkVendorFunctionRoleInstance.md index 25ea2e3bbaca..5f900d2df38b 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Start-AzConnectedNetworkVendorFunctionRoleInstance.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Start-AzConnectedNetworkVendorFunctionRoleInstance.md @@ -25,6 +25,27 @@ Start-AzConnectedNetworkVendorFunctionRoleInstance -InputObject ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### StartViaIdentityLocation +``` +Start-AzConnectedNetworkVendorFunctionRoleInstance -LocationInputObject + -Name -ServiceKey -VendorName [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentityNetworkFunction +``` +Start-AzConnectedNetworkVendorFunctionRoleInstance -Name + -NetworkFunctionInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentityVendor +``` +Start-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Starts a role instance of a vendor network function. @@ -81,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 @@ -95,6 +115,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StartViaIdentityLocation +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. @@ -115,7 +150,7 @@ The name of the role instance of the vendor network function. ```yaml Type: System.String -Parameter Sets: Start +Parameter Sets: Start, StartViaIdentityLocation, StartViaIdentityNetworkFunction, StartViaIdentityVendor Aliases: RoleInstanceName Required: True @@ -125,6 +160,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkFunctionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StartViaIdentityNetworkFunction +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -160,7 +210,7 @@ The GUID for the vendor network function. ```yaml Type: System.String -Parameter Sets: Start +Parameter Sets: Start, StartViaIdentityLocation, StartViaIdentityVendor Aliases: Required: True @@ -185,12 +235,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StartViaIdentityVendor +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: Start +Parameter Sets: Start, StartViaIdentityLocation Aliases: Required: True diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md index 35b1d87233ab..b8c79aca898e 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md @@ -25,6 +25,27 @@ Stop-AzConnectedNetworkVendorFunctionRoleInstance -InputObject ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### StopViaIdentityLocation +``` +Stop-AzConnectedNetworkVendorFunctionRoleInstance -LocationInputObject + -Name -ServiceKey -VendorName [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentityNetworkFunction +``` +Stop-AzConnectedNetworkVendorFunctionRoleInstance -Name + -NetworkFunctionInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentityVendor +``` +Stop-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Powers off (stop) a role instance of a vendor network function. @@ -81,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 @@ -95,6 +115,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StopViaIdentityLocation +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. @@ -115,7 +150,7 @@ The name of the role instance of the vendor network function. ```yaml Type: System.String -Parameter Sets: Stop +Parameter Sets: Stop, StopViaIdentityLocation, StopViaIdentityNetworkFunction, StopViaIdentityVendor Aliases: RoleInstanceName Required: True @@ -125,6 +160,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkFunctionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StopViaIdentityNetworkFunction +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -160,7 +210,7 @@ The GUID for the vendor network function. ```yaml Type: System.String -Parameter Sets: Stop +Parameter Sets: Stop, StopViaIdentityLocation, StopViaIdentityVendor Aliases: Required: True @@ -185,12 +235,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StopViaIdentityVendor +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: Stop +Parameter Sets: Stop, StopViaIdentityLocation Aliases: Required: True diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkDeviceTag.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkDeviceTag.md index 6faa63cf42f9..6bbf4febce9c 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkDeviceTag.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkDeviceTag.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzConnectedNetworkDeviceTag ## SYNOPSIS -Updates device tags. +update device tags. ## SYNTAX @@ -24,8 +24,20 @@ Update-AzConnectedNetworkDeviceTag -InputObject [-Ta [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzConnectedNetworkDeviceTag -DeviceName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzConnectedNetworkDeviceTag -DeviceName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Updates device tags. +update device tags. ## EXAMPLES @@ -111,7 +123,7 @@ The name of the device resource. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -123,7 +135,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 @@ -137,13 +148,43 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -158,7 +199,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -173,7 +214,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -223,7 +264,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/Update-AzConnectedNetworkFunctionTag.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkFunctionTag.md index 375a1986fa53..e14831036e38 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkFunctionTag.md +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkFunctionTag.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzConnectedNetworkFunctionTag ## SYNOPSIS -Updates the tags for the network function resource. +update the tags for the network function resource. ## SYNTAX @@ -25,8 +25,22 @@ Update-AzConnectedNetworkFunctionTag -InputObject [- [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzConnectedNetworkFunctionTag -NetworkFunctionName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzConnectedNetworkFunctionTag -NetworkFunctionName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Updates the tags for the network function resource. +update the tags for the network function resource. ## EXAMPLES @@ -81,7 +95,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 @@ -95,12 +108,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NetworkFunctionName Resource name for the network function resource. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -116,7 +159,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -131,7 +174,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -146,7 +189,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -196,7 +239,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/Update-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendor.md new file mode 100644 index 000000000000..81f7022fb6e0 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendor.md @@ -0,0 +1,214 @@ +--- +external help file: +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendor +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendor + +## SYNOPSIS +update a vendor. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendor -Name [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendor -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +update a vendor. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendor +```powershell +Update-AzConnectedNetworkVendor -Name myVendor +``` + +```output +Id : /subscriptions/xxxxx-00000-xxxxx-00000/providers/Microsoft.HybridNetwork/vendors/myVendor +Name : myVendor +ProvisioningState : Succeeded +ResourceGroupName : +Sku : +SystemDataCreatedAt : 11/23/2021 6:18:55 PM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 11/23/2021 6:19:08 PM +SystemDataLastModifiedBy : xxxxx-11111-xxxxx-11111 +SystemDataLastModifiedByType : Application +Type : microsoft.hybridnetwork/vendors +``` + +Update a vendor with name myVendor. + +### Example 2: Update-AzConnectedNetworkVendor with SubscriptionId +```powershell +Update-AzConnectedNetworkVendor -Name myVendor2 -SubscriptionId xxxxx-22222-xxxxx-22222 +``` + +```output +Id : /subscriptions/xxxxx-22222-xxxxx-22222/providers/Microsoft.HybridNetwork/vendors/myVendor2 +Name : myVendor2 +ProvisioningState : Succeeded +ResourceGroupName : +Sku : +SystemDataCreatedAt : 11/23/2021 6:20:28 PM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 11/23/2021 6:20:32 PM +SystemDataLastModifiedBy : xxxxx-11111-xxxxx-11111 +SystemDataLastModifiedByType : Application +Type : microsoft.hybridnetwork/vendors +``` + +Update a vendor with name myVendor2 in xxxxx-22222-xxxxx-22222 subscription. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the vendor. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: VendorName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendor + +## NOTES + +## RELATED LINKS + diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorFunction.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorFunction.md new file mode 100644 index 000000000000..80c62ec9cc3e --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorFunction.md @@ -0,0 +1,316 @@ +--- +external help file: +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendorfunction +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendorFunction + +## SYNOPSIS +update a vendor network function. +This operation can take up to 6 hours to complete. +This is expected service behavior. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendorFunction -LocationName -ServiceKey -VendorName + [-SubscriptionId ] [-SkuType ] [-VendorConfiguration ] + [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendorFunction -InputObject [-SkuType ] + [-VendorConfiguration ] [-VendorProvisioningState ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityLocationExpanded +``` +Update-AzConnectedNetworkVendorFunction -LocationInputObject -ServiceKey + -VendorName [-SkuType ] [-VendorConfiguration ] + [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityVendorExpanded +``` +Update-AzConnectedNetworkVendorFunction -ServiceKey -VendorInputObject + [-SkuType ] [-VendorConfiguration ] + [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +update a vendor network function. +This operation can take up to 6 hours to complete. +This is expected service behavior. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendorFunction +```powershell +$ipconf1 = New-AzConnectedNetworkInterfaceIPConfigurationObject -IPAllocationMethod "Dynamic" -IPVersion "IPv4" +$ipconf2 = New-AzConnectedNetworkInterfaceIPConfigurationObject -IPAllocationMethod "Dynamic" -IPVersion "IPv4" +$ip1 = New-AzConnectedNetworkInterfaceObject -IPConfiguration $ipconf1 -Name "mrmmanagementnic1" -VMSwitchType "Management" +$ip2 = New-AzConnectedNetworkInterfaceObject -IPConfiguration $ipconf2 -Name "mrmlannic1" -VMSwitchType "Lan" +$keyData = @{keyData = "ssh-rsa\AAAAB3NzaC1yc2EAAAADAQABAAABAQCyMpVbBgu0kftv1k+z1c3NtcB5CVDoo/X9X1LE2JUjlLlo0luEkFGJk61i53BhiTSTeRmQXN8hAZ7sn4MDUmZK7fWcHouZ2fsJo+ehses3wQPLubWBFw2L/hoSTyXifXMbEBu9SxHgqf1CEKQcvdNiWf4U7npXwjweXW9DtsF5E7h4kxhKJKFI4sNFTIX0IwUB15QEVHoBs92kDwH3fBH3kZZCMBJE/u6kT+XB22crRKkIGlp3a9gcogtOCvP+3xmsP7hjw5+nHxMUwkc/6kYyfTeLwvfI4xrTWpnB5xufts5LW5/U5GOXVg97ix9EXgiV0czThowG5K2xQ649UlJb redmond\user@n1-azuredev1"; path = $Null} +$keys = @{ } +$key += $keyData +$vendorconf = New-AzConnectedNetworkFunctionVendorConfigurationObject -NetworkInterface $ip1,$ip2 -RoleName hpehss -OSProfileAdminUsername MecUser -OSProfileCustomData $customData -OSProfileCustomDataRequired $True -SshPublicKey $key +$vendorvnf1 = Update-AzConnectedNetworkVendorFunction -LocationName eastus2euap -ServiceKey b78d39-xxxx-xxxx-00946c5 -SubscriptionId xxxx-4444-xxxx-4444 -VendorName myVendor -VendorConfiguration $vendorconf -SkuType EvolvedPacketCore -VendorProvisioningState Provisioning +``` + +Update network interfaces with dynamic method allocation and ip version to IPv4. +And using these to create two network configuration objects with vm switch type. +Update a ssh key identity, Then using those to create vendor configuration object with role name hpehss, custom data, keyData and network interface array. +Using this to create vendor NF with the specified service key, vendor subscription, location eastus2euap, vendor name myVendor, sku type EvolvedPacketCore, vendor provisioning state Provisioning. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityLocationExpanded +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: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceKey +The GUID for the vendor network function. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityLocationExpanded, UpdateViaIdentityVendorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuType +The sku type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorConfiguration +An array of network function vendor configurations. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionVendorConfiguration[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorExpanded +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: UpdateExpanded, UpdateViaIdentityLocationExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorProvisioningState +The vendor controlled provisioning state of the vendor network function. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorNetworkFunction + +## NOTES + +## RELATED LINKS + diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorSku.md new file mode 100644 index 000000000000..dc67378cea20 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorSku.md @@ -0,0 +1,335 @@ +--- +external help file: +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendorsku +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendorSku + +## SYNOPSIS +update a sku. +This operation can take up to 2 hours to complete. +This is expected service behavior. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendorSku -SkuName -VendorName [-SubscriptionId ] + [-DeploymentMode ] [-ManagedApplicationParameter ] + [-ManagedApplicationTemplate ] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendorSku -InputObject [-DeploymentMode ] + [-ManagedApplicationParameter ] [-ManagedApplicationTemplate ] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityVendorExpanded +``` +Update-AzConnectedNetworkVendorSku -SkuName -VendorInputObject + [-DeploymentMode ] [-ManagedApplicationParameter ] + [-ManagedApplicationTemplate ] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +update a sku. +This operation can take up to 2 hours to complete. +This is expected service behavior. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendorSku +```powershell +$role = New-AzConnectedNetworkFunctionRoleConfigurationObject -NetworkInterface $ip1,$ip2 -OSDiskName NetFoundry -OSDiskOstype Linux -OSDiskSizeGb 40 -OSProfileCustomDataRequired $False -OSProfileAdminUsername MecUser -RoleName hpehss -RoleType VirtualMachine -VirtualMachineSize "Standard_D3_v2" -SshPublicKey $key -StorageProfileDataDisk $storage -VhdUri "https://mecvdrvhd.blob.core.windows/myvhd.vhd" +Update-AzConnectedNetworkVendorSku -SkuName sku1 -VendorName myVendor -SubscriptionId xxxxx-22222-xxxxx-22222 -SkuType VirtualMachine -DeploymentMode PrivateEdgeZone -NetworkFunctionRoleConfigurationType @($role) +``` + +Update NF role configuration object wuth the specified details. +Using this to create sku with sku name sku1, vendor name myVendor, sku type VirtualMachine, deployment type PrivateEdgeZone. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DeploymentMode +The sku deployment mode. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +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) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagedApplicationTemplate +The template for the managed application deployment. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkFunctionRoleConfigurationType +An array of network function role definitions. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionRoleConfiguration[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkFunctionType +The network function type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Preview +Indicates if the vendor sku is in preview mode. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +The name of the sku. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityVendorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuType +The sku type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorExpanded +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: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorSku + +## NOTES + +## RELATED LINKS + diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorSkuPreview.md new file mode 100644 index 000000000000..052ac7fe1206 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/docs/Update-AzConnectedNetworkVendorSkuPreview.md @@ -0,0 +1,267 @@ +--- +external help file: +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendorskupreview +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendorSkuPreview + +## SYNOPSIS +update preview information of a vendor sku. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName -VendorName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendorSkuPreview -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityVendorExpanded +``` +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentityVendorSkuExpanded +``` +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription + -VendorSkuInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +update preview information of a vendor sku. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendorSkuPreview using preview subscription, sku name, vendor name and subscription +```powershell +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription xxxxx-00000-xxxxx-00000 -SkuName mySku -VendorName myVendor -SubscriptionId xxxxx-22222-xxxxx-22222 +``` + +```output +Id : /subscriptions/xxxxx-22222-xxxxx-22222/providers/Microsoft.HybridNetwork/vendors/myVendor/vendorSkus/mySku/previewSubscriptions/xxxxx-00000-xxxxx-00000 +Name : xxxxx-00000-xxxxx-00000 +ProvisioningState : Succeeded +ResourceGroupName : +SystemDataCreatedAt : 12/6/2021 5:37:35 AM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 12/6/2021 5:37:35 AM +SystemDataLastModifiedBy : user@microsoft.com +SystemDataLastModifiedByType : User +Type : microsoft.hybridnetwork/vendors/vendorskus/previewsubscriptions + +``` + +Update preview subscription for subscription xxxxx-00000-xxxxx-00000 of a vendor sku mySku with vendor name myVendor, which is allowed to deploy network function. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreviewSubscription +Preview subscription ID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityVendorExpanded, UpdateViaIdentityVendorSkuExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +The name of the vendor sku. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityVendorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorExpanded +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: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorSkuInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorSkuExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IPreviewSubscription + +## NOTES + +## RELATED LINKS + diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendor.md new file mode 100644 index 000000000000..ce7eae4f740f --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendor.md @@ -0,0 +1,43 @@ +### Example 1: Update-AzConnectedNetworkVendor +```powershell +Update-AzConnectedNetworkVendor -Name myVendor +``` + +```output +Id : /subscriptions/xxxxx-00000-xxxxx-00000/providers/Microsoft.HybridNetwork/vendors/myVendor +Name : myVendor +ProvisioningState : Succeeded +ResourceGroupName : +Sku : +SystemDataCreatedAt : 11/23/2021 6:18:55 PM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 11/23/2021 6:19:08 PM +SystemDataLastModifiedBy : xxxxx-11111-xxxxx-11111 +SystemDataLastModifiedByType : Application +Type : microsoft.hybridnetwork/vendors +``` + +Update a vendor with name myVendor. + +### Example 2: Update-AzConnectedNetworkVendor with SubscriptionId +```powershell +Update-AzConnectedNetworkVendor -Name myVendor2 -SubscriptionId xxxxx-22222-xxxxx-22222 +``` + +```output +Id : /subscriptions/xxxxx-22222-xxxxx-22222/providers/Microsoft.HybridNetwork/vendors/myVendor2 +Name : myVendor2 +ProvisioningState : Succeeded +ResourceGroupName : +Sku : +SystemDataCreatedAt : 11/23/2021 6:20:28 PM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 11/23/2021 6:20:32 PM +SystemDataLastModifiedBy : xxxxx-11111-xxxxx-11111 +SystemDataLastModifiedByType : Application +Type : microsoft.hybridnetwork/vendors +``` + +Update a vendor with name myVendor2 in xxxxx-22222-xxxxx-22222 subscription. \ No newline at end of file diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorFunction.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorFunction.md new file mode 100644 index 000000000000..bf2781e30e96 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorFunction.md @@ -0,0 +1,14 @@ +### Example 1: Update-AzConnectedNetworkVendorFunction +```powershell +$ipconf1 = New-AzConnectedNetworkInterfaceIPConfigurationObject -IPAllocationMethod "Dynamic" -IPVersion "IPv4" +$ipconf2 = New-AzConnectedNetworkInterfaceIPConfigurationObject -IPAllocationMethod "Dynamic" -IPVersion "IPv4" +$ip1 = New-AzConnectedNetworkInterfaceObject -IPConfiguration $ipconf1 -Name "mrmmanagementnic1" -VMSwitchType "Management" +$ip2 = New-AzConnectedNetworkInterfaceObject -IPConfiguration $ipconf2 -Name "mrmlannic1" -VMSwitchType "Lan" +$keyData = @{keyData = "ssh-rsa\AAAAB3NzaC1yc2EAAAADAQABAAABAQCyMpVbBgu0kftv1k+z1c3NtcB5CVDoo/X9X1LE2JUjlLlo0luEkFGJk61i53BhiTSTeRmQXN8hAZ7sn4MDUmZK7fWcHouZ2fsJo+ehses3wQPLubWBFw2L/hoSTyXifXMbEBu9SxHgqf1CEKQcvdNiWf4U7npXwjweXW9DtsF5E7h4kxhKJKFI4sNFTIX0IwUB15QEVHoBs92kDwH3fBH3kZZCMBJE/u6kT+XB22crRKkIGlp3a9gcogtOCvP+3xmsP7hjw5+nHxMUwkc/6kYyfTeLwvfI4xrTWpnB5xufts5LW5/U5GOXVg97ix9EXgiV0czThowG5K2xQ649UlJb redmond\user@n1-azuredev1"; path = $Null} +$keys = @{ } +$key += $keyData +$vendorconf = New-AzConnectedNetworkFunctionVendorConfigurationObject -NetworkInterface $ip1,$ip2 -RoleName hpehss -OSProfileAdminUsername MecUser -OSProfileCustomData $customData -OSProfileCustomDataRequired $True -SshPublicKey $key +$vendorvnf1 = Update-AzConnectedNetworkVendorFunction -LocationName eastus2euap -ServiceKey b78d39-xxxx-xxxx-00946c5 -SubscriptionId xxxx-4444-xxxx-4444 -VendorName myVendor -VendorConfiguration $vendorconf -SkuType EvolvedPacketCore -VendorProvisioningState Provisioning +``` + +Update network interfaces with dynamic method allocation and ip version to IPv4. And using these to create two network configuration objects with vm switch type. Update a ssh key identity, Then using those to create vendor configuration object with role name hpehss, custom data, keyData and network interface array. Using this to create vendor NF with the specified service key, vendor subscription, location eastus2euap, vendor name myVendor, sku type EvolvedPacketCore, vendor provisioning state Provisioning. \ No newline at end of file diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorSku.md new file mode 100644 index 000000000000..213fc5fb6182 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorSku.md @@ -0,0 +1,7 @@ +### Example 1: Update-AzConnectedNetworkVendorSku +```powershell +$role = New-AzConnectedNetworkFunctionRoleConfigurationObject -NetworkInterface $ip1,$ip2 -OSDiskName NetFoundry -OSDiskOstype Linux -OSDiskSizeGb 40 -OSProfileCustomDataRequired $False -OSProfileAdminUsername MecUser -RoleName hpehss -RoleType VirtualMachine -VirtualMachineSize "Standard_D3_v2" -SshPublicKey $key -StorageProfileDataDisk $storage -VhdUri "https://mecvdrvhd.blob.core.windows/myvhd.vhd" +Update-AzConnectedNetworkVendorSku -SkuName sku1 -VendorName myVendor -SubscriptionId xxxxx-22222-xxxxx-22222 -SkuType VirtualMachine -DeploymentMode PrivateEdgeZone -NetworkFunctionRoleConfigurationType @($role) +``` + +Update NF role configuration object wuth the specified details. Using this to create sku with sku name sku1, vendor name myVendor, sku type VirtualMachine, deployment type PrivateEdgeZone. \ No newline at end of file diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorSkuPreview.md new file mode 100644 index 000000000000..c0bb5acb06f2 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/examples/Update-AzConnectedNetworkVendorSkuPreview.md @@ -0,0 +1,21 @@ +### Example 1: Update-AzConnectedNetworkVendorSkuPreview using preview subscription, sku name, vendor name and subscription +```powershell +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription xxxxx-00000-xxxxx-00000 -SkuName mySku -VendorName myVendor -SubscriptionId xxxxx-22222-xxxxx-22222 +``` + +```output +Id : /subscriptions/xxxxx-22222-xxxxx-22222/providers/Microsoft.HybridNetwork/vendors/myVendor/vendorSkus/mySku/previewSubscriptions/xxxxx-00000-xxxxx-00000 +Name : xxxxx-00000-xxxxx-00000 +ProvisioningState : Succeeded +ResourceGroupName : +SystemDataCreatedAt : 12/6/2021 5:37:35 AM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 12/6/2021 5:37:35 AM +SystemDataLastModifiedBy : user@microsoft.com +SystemDataLastModifiedByType : User +Type : microsoft.hybridnetwork/vendors/vendorskus/previewsubscriptions + +``` + +Update preview subscription for subscription xxxxx-00000-xxxxx-00000 of a vendor sku mySku with vendor name myVendor, which is allowed to deploy network function. \ No newline at end of file diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/generate-info.json b/src/ConnectedNetwork/ConnectedNetwork.Autorest/generate-info.json index 9f2b766ea042..1b6dcbca0f5c 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.Autorest/generate-info.json +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "2f839d46-b137-4c8d-bb2f-242a8558b140" + "generate_Id": "c8cc25c8-3dec-4aab-9836-9a451d4acec0" } diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/resources/README.md b/src/ConnectedNetwork/ConnectedNetwork.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendor.Tests.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendor.Tests.ps1 new file mode 100644 index 000000000000..6c3ea351dfb2 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendor.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzConnectedNetworkVendor')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzConnectedNetworkVendor.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzConnectedNetworkVendor' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorFunction.Tests.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorFunction.Tests.ps1 new file mode 100644 index 000000000000..b8bb801326f1 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorFunction.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzConnectedNetworkVendorFunction')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzConnectedNetworkVendorFunction.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzConnectedNetworkVendorFunction' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityVendorExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityLocationExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorSku.Tests.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorSku.Tests.ps1 new file mode 100644 index 000000000000..6aa4df7bc878 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorSku.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzConnectedNetworkVendorSku')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzConnectedNetworkVendorSku.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzConnectedNetworkVendorSku' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityVendorExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorSkuPreview.Tests.ps1 b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorSkuPreview.Tests.ps1 new file mode 100644 index 000000000000..0d2bec0f126f --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork.Autorest/test/Update-AzConnectedNetworkVendorSkuPreview.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzConnectedNetworkVendorSkuPreview')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzConnectedNetworkVendorSkuPreview.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzConnectedNetworkVendorSkuPreview' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityVendorSkuExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityVendorExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ConnectedNetwork/ConnectedNetwork.sln b/src/ConnectedNetwork/ConnectedNetwork.sln index af565a7bab43..d935fa2df06c 100644 --- a/src/ConnectedNetwork/ConnectedNetwork.sln +++ b/src/ConnectedNetwork/ConnectedNetwork.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConnectedNetwork", "ConnectedNetwork\ConnectedNetwork.csproj", "{DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ConnectedNetwork", "..\..\generated\ConnectedNetwork\ConnectedNetwork.Autorest\Az.ConnectedNetwork.csproj", "{061A3ED1-2D08-404C-9507-91329F276B4A}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConnectedNetwork.Autorest", "ConnectedNetwork.Autorest", "{82477718-5B4D-EF48-F415-FDA769428BEF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ConnectedNetwork", "..\..\generated\ConnectedNetwork\ConnectedNetwork.Autorest\Az.ConnectedNetwork.csproj", "{DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Debug|x64.ActiveCfg = Debug|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Debug|x64.Build.0 = Debug|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Debug|x86.ActiveCfg = Debug|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Debug|x86.Build.0 = Debug|Any CPU {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Release|Any CPU.ActiveCfg = Release|Any CPU {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Release|Any CPU.Build.0 = Release|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Release|x64.ActiveCfg = Release|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Release|x64.Build.0 = Release|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Release|x86.ActiveCfg = Release|Any CPU + {25589B5E-DAF1-466D-9B19-6EB3E85D516C}.Release|x86.Build.0 = Release|Any CPU {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Debug|x64.ActiveCfg = Debug|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Debug|x64.Build.0 = Debug|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Debug|x86.ActiveCfg = Debug|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Debug|x86.Build.0 = Debug|Any CPU {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Release|Any CPU.ActiveCfg = Release|Any CPU {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Release|Any CPU.Build.0 = Release|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Release|x64.ActiveCfg = Release|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Release|x64.Build.0 = Release|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Release|x86.ActiveCfg = Release|Any CPU + {C5F531A4-EC59-4D23-9899-E1ED346E917D}.Release|x86.Build.0 = Release|Any CPU {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Debug|x64.ActiveCfg = Debug|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Debug|x64.Build.0 = Debug|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Debug|x86.ActiveCfg = Debug|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Debug|x86.Build.0 = Debug|Any CPU {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Release|Any CPU.ActiveCfg = Release|Any CPU {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Release|Any CPU.Build.0 = Release|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Release|x64.ActiveCfg = Release|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Release|x64.Build.0 = Release|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Release|x86.ActiveCfg = Release|Any CPU + {80F2B10C-06EB-4534-A614-17966F4B1CA2}.Release|x86.Build.0 = Release|Any CPU {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Debug|x64.ActiveCfg = Debug|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Debug|x64.Build.0 = Debug|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Debug|x86.ActiveCfg = Debug|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Debug|x86.Build.0 = Debug|Any CPU {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Release|Any CPU.ActiveCfg = Release|Any CPU {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Release|Any CPU.Build.0 = Release|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Release|x64.ActiveCfg = Release|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Release|x64.Build.0 = Release|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Release|x86.ActiveCfg = Release|Any CPU + {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB}.Release|x86.Build.0 = Release|Any CPU {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Debug|x64.ActiveCfg = Debug|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Debug|x64.Build.0 = Debug|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Debug|x86.ActiveCfg = Debug|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Debug|x86.Build.0 = Debug|Any CPU {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Release|Any CPU.ActiveCfg = Release|Any CPU {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Release|Any CPU.Build.0 = Release|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Release|x64.ActiveCfg = Release|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Release|x64.Build.0 = Release|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Release|x86.ActiveCfg = Release|Any CPU + {FE119B18-704B-46B3-9B23-C82BB8EB4305}.Release|x86.Build.0 = Release|Any CPU {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Debug|x64.ActiveCfg = Debug|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Debug|x64.Build.0 = Debug|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Debug|x86.ActiveCfg = Debug|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Debug|x86.Build.0 = Debug|Any CPU {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Release|Any CPU.ActiveCfg = Release|Any CPU {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Release|Any CPU.Build.0 = Release|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Release|x64.ActiveCfg = Release|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Release|x64.Build.0 = Release|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Release|x86.ActiveCfg = Release|Any CPU + {476A94B6-C175-4961-BD47-8CA03B6E6D46}.Release|x86.Build.0 = Release|Any CPU {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Debug|x64.ActiveCfg = Debug|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Debug|x64.Build.0 = Debug|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Debug|x86.ActiveCfg = Debug|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Debug|x86.Build.0 = Debug|Any CPU {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Release|Any CPU.ActiveCfg = Release|Any CPU {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Release|Any CPU.Build.0 = Release|Any CPU - {061A3ED1-2D08-404C-9507-91329F276B4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {061A3ED1-2D08-404C-9507-91329F276B4A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {061A3ED1-2D08-404C-9507-91329F276B4A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {061A3ED1-2D08-404C-9507-91329F276B4A}.Release|Any CPU.Build.0 = Release|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Release|x64.ActiveCfg = Release|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Release|x64.Build.0 = Release|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Release|x86.ActiveCfg = Release|Any CPU + {DEB05F33-9997-47DF-84AA-9AE5CAE2E45F}.Release|x86.Build.0 = Release|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Debug|x64.ActiveCfg = Debug|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Debug|x64.Build.0 = Debug|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Debug|x86.ActiveCfg = Debug|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Debug|x86.Build.0 = Debug|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Release|Any CPU.Build.0 = Release|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Release|x64.ActiveCfg = Release|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Release|x64.Build.0 = Release|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Release|x86.ActiveCfg = Release|Any CPU + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {25589B5E-DAF1-466D-9B19-6EB3E85D516C} = {6DB3195C-9C51-4FD6-BB66-5C9A09BB6BF2} @@ -70,5 +140,6 @@ Global {CC5C9CFC-757F-4FF3-9137-C320DBF56FEB} = {6DB3195C-9C51-4FD6-BB66-5C9A09BB6BF2} {FE119B18-704B-46B3-9B23-C82BB8EB4305} = {6DB3195C-9C51-4FD6-BB66-5C9A09BB6BF2} {476A94B6-C175-4961-BD47-8CA03B6E6D46} = {6DB3195C-9C51-4FD6-BB66-5C9A09BB6BF2} + {DF6A5A87-77E5-4DB8-8DC9-D81FAEDC2167} = {82477718-5B4D-EF48-F415-FDA769428BEF} EndGlobalSection EndGlobal diff --git a/src/ConnectedNetwork/ConnectedNetwork/Az.ConnectedNetwork.psd1 b/src/ConnectedNetwork/ConnectedNetwork/Az.ConnectedNetwork.psd1 index 2f16fa1a561b..2233c05dba37 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/Az.ConnectedNetwork.psd1 +++ b/src/ConnectedNetwork/ConnectedNetwork/Az.ConnectedNetwork.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-04-11 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.1.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'ConnectedNetwork.Autorest/bin/Az.ConnectedNetwork.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'ConnectedNetwork.Autorest\Az.ConnectedNetwork.format.ps1xml' +FormatsToProcess = 'ConnectedNetwork.Autorest/Az.ConnectedNetwork.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('ConnectedNetwork.Autorest/Az.ConnectedNetwork.psm1') @@ -98,7 +98,11 @@ FunctionsToExport = 'Get-AzConnectedNetworkDevice', 'Start-AzConnectedNetworkVendorFunctionRoleInstance', 'Stop-AzConnectedNetworkVendorFunctionRoleInstance', 'Update-AzConnectedNetworkDeviceTag', - 'Update-AzConnectedNetworkFunctionTag' + 'Update-AzConnectedNetworkFunctionTag', + 'Update-AzConnectedNetworkVendor', + 'Update-AzConnectedNetworkVendorFunction', + 'Update-AzConnectedNetworkVendorSku', + 'Update-AzConnectedNetworkVendorSkuPreview' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() @@ -124,7 +128,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','ConnectedNetwork' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ConnectedNetwork' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -149,7 +153,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/ConnectedNetwork/ConnectedNetwork/ChangeLog.md b/src/ConnectedNetwork/ConnectedNetwork/ChangeLog.md index 194a3a5fe357..9480d2fc1c53 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/ChangeLog.md +++ b/src/ConnectedNetwork/ConnectedNetwork/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md). ## Version 0.1.2 * Upgraded nuget package to signed package. diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Az.ConnectedNetwork.md b/src/ConnectedNetwork/ConnectedNetwork/help/Az.ConnectedNetwork.md index ba333a3dba1f..e7ca781cc6a8 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Az.ConnectedNetwork.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Az.ConnectedNetwork.md @@ -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/help/Get-AzConnectedNetworkDevice.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkDevice.md index 356b0d7ad4e1..ebb80758cba5 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkDevice.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkDevice.md @@ -115,7 +115,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 @@ -184,7 +183,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/help/Get-AzConnectedNetworkDeviceRegistrationKey.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkDeviceRegistrationKey.md index 5b7ca21639e4..2ab5b2416e5d 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkDeviceRegistrationKey.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkDeviceRegistrationKey.md @@ -149,7 +149,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/help/Get-AzConnectedNetworkFunction.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkFunction.md index c5229f76fc7f..c8ed5e435450 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkFunction.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkFunction.md @@ -131,7 +131,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 @@ -200,7 +199,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/help/Get-AzConnectedNetworkFunctionVendor.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkFunctionVendor.md index 27172b27616a..d22503a99a95 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkFunctionVendor.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/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/help/Get-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendor.md index 6a3d94dffe16..b0ce686a33d7 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendor.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendor.md @@ -101,7 +101,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 @@ -154,7 +153,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/help/Get-AzConnectedNetworkVendorFunction.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorFunction.md index fa31565543f8..23c250b865d5 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorFunction.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorFunction.md @@ -24,6 +24,19 @@ Get-AzConnectedNetworkVendorFunction -LocationName -ServiceKey -VendorName [-DefaultProfile ] [] ``` +### GetViaIdentityVendor +``` +Get-AzConnectedNetworkVendorFunction -ServiceKey -VendorInputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityLocation +``` +Get-AzConnectedNetworkVendorFunction -ServiceKey -VendorName + -LocationInputObject [-DefaultProfile ] + [] +``` + ### GetViaIdentity ``` Get-AzConnectedNetworkVendorFunction -InputObject [-DefaultProfile ] @@ -126,7 +139,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 @@ -140,6 +152,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. @@ -160,7 +187,7 @@ The GUID for the vendor network function. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityVendor, GetViaIdentityLocation Aliases: Required: True @@ -185,12 +212,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: List, Get +Parameter Sets: List, Get, GetViaIdentityLocation Aliases: Required: True @@ -209,7 +251,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/help/Get-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorFunctionRoleInstance.md index dd03a33e6260..6edf572aec9f 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorFunctionRoleInstance.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorFunctionRoleInstance.md @@ -26,6 +26,27 @@ Get-AzConnectedNetworkVendorFunctionRoleInstance -LocationName -Name ] ``` +### GetViaIdentityVendor +``` +Get-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey + -VendorInputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityNetworkFunction +``` +Get-AzConnectedNetworkVendorFunctionRoleInstance -Name + -NetworkFunctionInputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityLocation +``` +Get-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey -VendorName + -LocationInputObject [-DefaultProfile ] + [] +``` + ### GetViaIdentity ``` Get-AzConnectedNetworkVendorFunctionRoleInstance -InputObject @@ -102,7 +123,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 +136,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 +171,7 @@ The name of the role instance of the vendor network function. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityVendor, GetViaIdentityNetworkFunction, GetViaIdentityLocation Aliases: RoleInstanceName Required: True @@ -146,12 +181,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: List, Get +Parameter Sets: List, Get, GetViaIdentityVendor, GetViaIdentityLocation Aliases: Required: True @@ -176,12 +226,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: List, Get +Parameter Sets: List, Get, GetViaIdentityLocation Aliases: Required: True @@ -200,7 +265,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/help/Get-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorSku.md index c171e7d6d63b..589401d9b124 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorSku.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorSku.md @@ -18,6 +18,12 @@ Get-AzConnectedNetworkVendorSku [-SubscriptionId ] -VendorName ] ``` +### GetViaIdentityVendor +``` +Get-AzConnectedNetworkVendorSku -SkuName -VendorInputObject + [-DefaultProfile ] [] +``` + ### Get ``` Get-AzConnectedNetworkVendorSku -SkuName [-SubscriptionId ] -VendorName @@ -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: GetViaIdentityVendor, Get 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/help/Get-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorSkuPreview.md index 650e0089e214..0d1acaabd281 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorSkuPreview.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Get-AzConnectedNetworkVendorSkuPreview.md @@ -18,6 +18,20 @@ Get-AzConnectedNetworkVendorSkuPreview -SkuName [-SubscriptionId ] [] ``` +### GetViaIdentityVendorSku +``` +Get-AzConnectedNetworkVendorSkuPreview -PreviewSubscription + -VendorSkuInputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityVendor +``` +Get-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + -VendorInputObject [-DefaultProfile ] + [] +``` + ### Get ``` Get-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName @@ -100,7 +114,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 @@ -119,7 +132,7 @@ Preview subscription ID. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: GetViaIdentityVendorSku, GetViaIdentityVendor, Get Aliases: Required: True @@ -134,7 +147,7 @@ The name of the vendor sku. ```yaml Type: System.String -Parameter Sets: List, Get +Parameter Sets: List, GetViaIdentityVendor, Get Aliases: Required: True @@ -159,6 +172,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. @@ -174,6 +202,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). @@ -183,7 +226,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/help/New-AzConnectedNetworkAzureStackEdgeObject.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkAzureStackEdgeObject.md index 2058dde2119e..04d76e21f06f 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkAzureStackEdgeObject.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkAzureStackEdgeObject.md @@ -1,14 +1,14 @@ --- external help file: Az.ConnectedNetwork-help.xml 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 @@ -18,7 +18,7 @@ New-AzConnectedNetworkAzureStackEdgeObject [-AzureStackEdgeId ] ``` ## DESCRIPTION -Create a in-memory object for AzureStackEdgeFormat +Create an in-memory object for AzureStackEdgeFormat. ## EXAMPLES @@ -59,7 +59,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.AzureStackEdgeFormat +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.AzureStackEdgeFormat ## NOTES diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkDevice.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkDevice.md index 037703c9bc4a..48c61b6bb24d 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkDevice.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkDevice.md @@ -8,18 +8,33 @@ schema: 2.0.0 # New-AzConnectedNetworkDevice ## SYNOPSIS -Creates or updates a device. +create a device. ## SYNTAX +### CreateExpanded (Default) ``` New-AzConnectedNetworkDevice -Name -ResourceGroupName [-SubscriptionId ] -Location [-Property ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzConnectedNetworkDevice -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzConnectedNetworkDevice -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates or updates a device. +create a device. ## EXAMPLES @@ -110,12 +125,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 @@ -157,11 +202,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 @@ -207,7 +251,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -255,7 +299,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/help/New-AzConnectedNetworkFunction.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunction.md index dcef5bff38d9..dee9cfa379c5 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunction.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/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 [-SubscriptionId ] -Location [-ContainerConfiguration ] [-DeviceId ] [-Etag ] @@ -22,8 +23,22 @@ New-AzConnectedNetworkFunction -Name -ResourceGroupName [-Subs [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzConnectedNetworkFunction -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzConnectedNetworkFunction -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## 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/help/New-AzConnectedNetworkFunctionRoleConfigurationObject.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunctionRoleConfigurationObject.md index 9e8ce19f2fca..096b6d9aa78d 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunctionRoleConfigurationObject.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunctionRoleConfigurationObject.md @@ -1,14 +1,14 @@ --- external help file: Az.ConnectedNetwork-help.xml 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,16 +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 +148,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 +180,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,7 +223,8 @@ Specifies the name of the administrator account. **Max-length (Windows):** 20 characters --\ 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/linux/faq#what-are-the-username-requirements-when-creating-a-vm-). +\ 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 @@ -253,7 +252,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/linux/tutorial-automate-vm-deployment). + 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 @@ -301,7 +300,7 @@ Accept wildcard characters: False Role type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Support.NetworkFunctionRoleConfigurationType +Type: System.String Parameter Sets: (All) Aliases: @@ -314,10 +313,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: @@ -330,10 +328,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: @@ -395,7 +392,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: @@ -413,7 +410,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/help/New-AzConnectedNetworkFunctionUserConfigurationObject.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunctionUserConfigurationObject.md index db27dd493b0f..cd32d3622964 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunctionUserConfigurationObject.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkFunctionUserConfigurationObject.md @@ -1,14 +1,14 @@ --- external help file: Az.ConnectedNetwork-help.xml 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 @@ -19,7 +19,7 @@ New-AzConnectedNetworkFunctionUserConfigurationObject [-NetworkInterface 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/linux/faq#what-are-the-username-requirements-when-creating-a-vm-). +\ 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 +101,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/linux/using-cloud-init). + 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 +147,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 +167,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/help/New-AzConnectedNetworkInterfaceIPConfigurationObject.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkInterfaceIPConfigurationObject.md index 82ab80b28a25..4f46dc9e5e39 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkInterfaceIPConfigurationObject.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkInterfaceIPConfigurationObject.md @@ -1,25 +1,25 @@ --- external help file: Az.ConnectedNetwork-help.xml 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/help/New-AzConnectedNetworkInterfaceObject.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkInterfaceObject.md index 49d71610bc08..0212fd30bc36 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkInterfaceObject.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkInterfaceObject.md @@ -1,25 +1,25 @@ --- external help file: Az.ConnectedNetwork-help.xml 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 @@ -40,10 +40,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: @@ -88,7 +87,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: @@ -106,7 +105,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/help/New-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendor.md index b4f760cb5533..dcb14c7a5aaf 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendor.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendor.md @@ -8,17 +8,32 @@ 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] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzConnectedNetworkVendor -Name [-SubscriptionId ] -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzConnectedNetworkVendor -Name [-SubscriptionId ] -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Creates or updates a vendor. +create a vendor. ## EXAMPLES @@ -99,6 +114,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 +227,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/help/New-AzConnectedNetworkVendorFunction.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendorFunction.md index b818dd0273f8..6cbe61462a0e 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendorFunction.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendorFunction.md @@ -8,21 +8,53 @@ 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] +New-AzConnectedNetworkVendorFunction -ServiceKey -LocationName [-SubscriptionId ] + -VendorName [-SkuType ] [-VendorConfiguration ] + [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzConnectedNetworkVendorFunction -ServiceKey -LocationName [-SubscriptionId ] + -VendorName -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzConnectedNetworkVendorFunction -ServiceKey -LocationName [-SubscriptionId ] + -VendorName -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityLocationExpanded +``` +New-AzConnectedNetworkVendorFunction -ServiceKey -VendorName + -LocationInputObject [-SkuType ] + [-VendorConfiguration ] [-VendorProvisioningState ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaIdentityVendorExpanded +``` +New-AzConnectedNetworkVendorFunction -ServiceKey -VendorInputObject + [-SkuType ] [-VendorConfiguration ] + [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## 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. @@ -79,12 +111,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, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -128,8 +205,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 @@ -144,7 +221,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -156,11 +233,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 @@ -170,12 +246,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, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityLocationExpanded Aliases: Required: True @@ -189,8 +280,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 @@ -236,9 +327,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/help/New-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendorSku.md index 205de05db89d..080bd650590f 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendorSku.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/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 ] +New-AzConnectedNetworkVendorSku -SkuName [-SubscriptionId ] -VendorName + [-DeploymentMode ] [-ManagedApplicationParameter ] [-ManagedApplicationTemplate ] - [-NetworkFunctionRoleConfigurationType ] - [-NetworkFunctionType ] [-Preview] [-SkuType ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzConnectedNetworkVendorSku -SkuName [-SubscriptionId ] -VendorName + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzConnectedNetworkVendorSku -SkuName [-SubscriptionId ] -VendorName + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityVendorExpanded +``` +New-AzConnectedNetworkVendorSku -SkuName -VendorInputObject + [-DeploymentMode ] [-ManagedApplicationParameter ] + [-ManagedApplicationTemplate ] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## 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, CreateViaJsonString, CreateViaJsonFilePath 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, CreateViaJsonString, CreateViaJsonFilePath 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/help/New-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendorSkuPreview.md index 6e74c01e884b..55ce1e6cc899 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/New-AzConnectedNetworkVendorSkuPreview.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/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] +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + [-SubscriptionId ] -VendorName [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + [-SubscriptionId ] -VendorName -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + [-SubscriptionId ] -VendorName -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityVendorExpanded +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityVendorSkuExpanded +``` +New-AzConnectedNetworkVendorSkuPreview -PreviewSubscription + -VendorSkuInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -Creates or updates preview information of a vendor sku. +create preview information of a vendor sku. ## EXAMPLES @@ -77,6 +106,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 +``` + ### -NoWait Run the command asynchronously @@ -112,7 +171,7 @@ The name of the vendor sku. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityVendorExpanded Aliases: Required: True @@ -127,7 +186,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -137,12 +196,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, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -152,6 +226,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorSkuInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: CreateViaIdentityVendorSkuExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -188,9 +277,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.IPreviewSubscription +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IPreviewSubscription ## NOTES diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkDevice.md b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkDevice.md index 1049ed69addf..46addf82bfcb 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkDevice.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkDevice.md @@ -81,7 +81,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 diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkFunction.md b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkFunction.md index d348eca6d570..ac610df98ec3 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkFunction.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkFunction.md @@ -85,7 +85,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 diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendor.md index 794f4b24271c..d7a4511b6cd8 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendor.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendor.md @@ -79,7 +79,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 diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSku.md index fac86edde506..edff83dcd618 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSku.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSku.md @@ -21,6 +21,13 @@ Remove-AzConnectedNetworkVendorSku -SkuName [-SubscriptionId ] [-Confirm] [] ``` +### DeleteViaIdentityVendor +``` +Remove-AzConnectedNetworkVendorSku -SkuName -VendorInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzConnectedNetworkVendorSku -InputObject [-DefaultProfile ] @@ -85,7 +92,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 @@ -134,7 +140,7 @@ The name of the sku. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVendor Aliases: Required: True @@ -159,6 +165,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: DeleteViaIdentityVendor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VendorName The name of the vendor. diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSkuPreview.md index 6f8f5cf545d8..9bb21fea9e27 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSkuPreview.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Remove-AzConnectedNetworkVendorSkuPreview.md @@ -19,6 +19,20 @@ Remove-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentityVendorSku +``` +Remove-AzConnectedNetworkVendorSkuPreview -PreviewSubscription + -VendorSkuInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityVendor +``` +Remove-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzConnectedNetworkVendorSkuPreview -InputObject [-DefaultProfile ] @@ -81,7 +95,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 @@ -130,7 +143,7 @@ Preview subscription ID. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVendorSku, DeleteViaIdentityVendor Aliases: Required: True @@ -145,7 +158,7 @@ The name of the vendor sku. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVendor Aliases: Required: True @@ -170,6 +183,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: DeleteViaIdentityVendor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VendorName The name of the vendor. @@ -185,6 +213,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorSkuInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: DeleteViaIdentityVendorSku +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork/help/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md index 4aafcd4327b2..6706451e9639 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md @@ -19,6 +19,27 @@ Restart-AzConnectedNetworkVendorFunctionRoleInstance -LocationName -Nam [-WhatIf] [-Confirm] [] ``` +### RestartViaIdentityVendor +``` +Restart-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + +### RestartViaIdentityNetworkFunction +``` +Restart-AzConnectedNetworkVendorFunctionRoleInstance -Name + -NetworkFunctionInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-WhatIf] [-Confirm] [] +``` + +### RestartViaIdentityLocation +``` +Restart-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey -VendorName + -LocationInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + ### RestartViaIdentity ``` Restart-AzConnectedNetworkVendorFunctionRoleInstance -InputObject @@ -82,7 +103,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 @@ -96,6 +116,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: RestartViaIdentityLocation +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. @@ -116,7 +151,7 @@ The name of the role instance of the vendor network function. ```yaml Type: System.String -Parameter Sets: Restart +Parameter Sets: Restart, RestartViaIdentityVendor, RestartViaIdentityNetworkFunction, RestartViaIdentityLocation Aliases: RoleInstanceName Required: True @@ -126,6 +161,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkFunctionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: RestartViaIdentityNetworkFunction +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -161,7 +211,7 @@ The GUID for the vendor network function. ```yaml Type: System.String -Parameter Sets: Restart +Parameter Sets: Restart, RestartViaIdentityVendor, RestartViaIdentityLocation Aliases: Required: True @@ -186,12 +236,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: RestartViaIdentityVendor +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: Restart +Parameter Sets: Restart, RestartViaIdentityLocation Aliases: Required: True diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Start-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork/help/Start-AzConnectedNetworkVendorFunctionRoleInstance.md index a38a122eedbe..970c3aa19610 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Start-AzConnectedNetworkVendorFunctionRoleInstance.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Start-AzConnectedNetworkVendorFunctionRoleInstance.md @@ -19,6 +19,27 @@ Start-AzConnectedNetworkVendorFunctionRoleInstance -LocationName -Name [-WhatIf] [-Confirm] [] ``` +### StartViaIdentityVendor +``` +Start-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + +### StartViaIdentityNetworkFunction +``` +Start-AzConnectedNetworkVendorFunctionRoleInstance -Name + -NetworkFunctionInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-WhatIf] [-Confirm] [] +``` + +### StartViaIdentityLocation +``` +Start-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey -VendorName + -LocationInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + ### StartViaIdentity ``` Start-AzConnectedNetworkVendorFunctionRoleInstance -InputObject @@ -82,7 +103,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 @@ -96,6 +116,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StartViaIdentityLocation +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. @@ -116,7 +151,7 @@ The name of the role instance of the vendor network function. ```yaml Type: System.String -Parameter Sets: Start +Parameter Sets: Start, StartViaIdentityVendor, StartViaIdentityNetworkFunction, StartViaIdentityLocation Aliases: RoleInstanceName Required: True @@ -126,6 +161,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkFunctionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StartViaIdentityNetworkFunction +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -161,7 +211,7 @@ The GUID for the vendor network function. ```yaml Type: System.String -Parameter Sets: Start +Parameter Sets: Start, StartViaIdentityVendor, StartViaIdentityLocation Aliases: Required: True @@ -186,12 +236,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StartViaIdentityVendor +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: Start +Parameter Sets: Start, StartViaIdentityLocation Aliases: Required: True diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md b/src/ConnectedNetwork/ConnectedNetwork/help/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md index 0cc03c57c415..b4dd0db269e7 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md @@ -19,6 +19,27 @@ Stop-AzConnectedNetworkVendorFunctionRoleInstance -LocationName -Name < [-WhatIf] [-Confirm] [] ``` +### StopViaIdentityVendor +``` +Stop-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + +### StopViaIdentityNetworkFunction +``` +Stop-AzConnectedNetworkVendorFunctionRoleInstance -Name + -NetworkFunctionInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-WhatIf] [-Confirm] [] +``` + +### StopViaIdentityLocation +``` +Stop-AzConnectedNetworkVendorFunctionRoleInstance -Name -ServiceKey -VendorName + -LocationInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + ### StopViaIdentity ``` Stop-AzConnectedNetworkVendorFunctionRoleInstance -InputObject @@ -82,7 +103,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 @@ -96,6 +116,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StopViaIdentityLocation +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. @@ -116,7 +151,7 @@ The name of the role instance of the vendor network function. ```yaml Type: System.String -Parameter Sets: Stop +Parameter Sets: Stop, StopViaIdentityVendor, StopViaIdentityNetworkFunction, StopViaIdentityLocation Aliases: RoleInstanceName Required: True @@ -126,6 +161,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkFunctionInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StopViaIdentityNetworkFunction +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -161,7 +211,7 @@ The GUID for the vendor network function. ```yaml Type: System.String -Parameter Sets: Stop +Parameter Sets: Stop, StopViaIdentityVendor, StopViaIdentityLocation Aliases: Required: True @@ -186,12 +236,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: StopViaIdentityVendor +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: Stop +Parameter Sets: Stop, StopViaIdentityLocation Aliases: Required: True diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkDeviceTag.md b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkDeviceTag.md index 4ba63f96c8df..d6ffd37f363e 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkDeviceTag.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkDeviceTag.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzConnectedNetworkDeviceTag ## SYNOPSIS -Updates device tags. +update device tags. ## SYNTAX @@ -19,6 +19,20 @@ Update-AzConnectedNetworkDeviceTag -DeviceName -ResourceGroupName ] ``` +### UpdateViaJsonString +``` +Update-AzConnectedNetworkDeviceTag -DeviceName -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzConnectedNetworkDeviceTag -DeviceName -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzConnectedNetworkDeviceTag -InputObject [-Tag ] @@ -26,7 +40,7 @@ Update-AzConnectedNetworkDeviceTag -InputObject [-Ta ``` ## DESCRIPTION -Updates device tags. +update device tags. ## EXAMPLES @@ -111,7 +125,7 @@ The name of the device resource. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -123,7 +137,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 @@ -137,13 +150,43 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -158,7 +201,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -173,7 +216,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -223,7 +266,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/help/Update-AzConnectedNetworkFunctionTag.md b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkFunctionTag.md index 3b670aa5fdd4..fb406bced6f9 100644 --- a/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkFunctionTag.md +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkFunctionTag.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzConnectedNetworkFunctionTag ## SYNOPSIS -Updates the tags for the network function resource. +update the tags for the network function resource. ## SYNTAX @@ -19,6 +19,20 @@ Update-AzConnectedNetworkFunctionTag -NetworkFunctionName -ResourceGrou [-WhatIf] [-Confirm] [] ``` +### UpdateViaJsonString +``` +Update-AzConnectedNetworkFunctionTag -NetworkFunctionName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzConnectedNetworkFunctionTag -NetworkFunctionName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzConnectedNetworkFunctionTag -InputObject [-Tag ] @@ -26,7 +40,7 @@ Update-AzConnectedNetworkFunctionTag -InputObject [- ``` ## DESCRIPTION -Updates the tags for the network function resource. +update the tags for the network function resource. ## EXAMPLES @@ -81,7 +95,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 @@ -95,12 +108,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NetworkFunctionName Resource name for the network function resource. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -116,7 +159,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -131,7 +174,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -146,7 +189,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -196,7 +239,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/help/Update-AzConnectedNetworkVendor.md b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendor.md new file mode 100644 index 000000000000..825d9d1357da --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendor.md @@ -0,0 +1,213 @@ +--- +external help file: Az.ConnectedNetwork-help.xml +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendor +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendor + +## SYNOPSIS +update a vendor. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendor -Name [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendor -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +update a vendor. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendor +```powershell +Update-AzConnectedNetworkVendor -Name myVendor +``` + +```output +Id : /subscriptions/xxxxx-00000-xxxxx-00000/providers/Microsoft.HybridNetwork/vendors/myVendor +Name : myVendor +ProvisioningState : Succeeded +ResourceGroupName : +Sku : +SystemDataCreatedAt : 11/23/2021 6:18:55 PM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 11/23/2021 6:19:08 PM +SystemDataLastModifiedBy : xxxxx-11111-xxxxx-11111 +SystemDataLastModifiedByType : Application +Type : microsoft.hybridnetwork/vendors +``` + +Update a vendor with name myVendor. + +### Example 2: Update-AzConnectedNetworkVendor with SubscriptionId +```powershell +Update-AzConnectedNetworkVendor -Name myVendor2 -SubscriptionId xxxxx-22222-xxxxx-22222 +``` + +```output +Id : /subscriptions/xxxxx-22222-xxxxx-22222/providers/Microsoft.HybridNetwork/vendors/myVendor2 +Name : myVendor2 +ProvisioningState : Succeeded +ResourceGroupName : +Sku : +SystemDataCreatedAt : 11/23/2021 6:20:28 PM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 11/23/2021 6:20:32 PM +SystemDataLastModifiedBy : xxxxx-11111-xxxxx-11111 +SystemDataLastModifiedByType : Application +Type : microsoft.hybridnetwork/vendors +``` + +Update a vendor with name myVendor2 in xxxxx-22222-xxxxx-22222 subscription. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the vendor. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: VendorName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendor + +## NOTES + +## RELATED LINKS diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorFunction.md b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorFunction.md new file mode 100644 index 000000000000..b56df2049482 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorFunction.md @@ -0,0 +1,317 @@ +--- +external help file: Az.ConnectedNetwork-help.xml +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendorfunction +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendorFunction + +## SYNOPSIS +update a vendor network function. +This operation can take up to 6 hours to complete. +This is expected service behavior. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendorFunction -LocationName -ServiceKey [-SubscriptionId ] + -VendorName [-SkuType ] [-VendorConfiguration ] + [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityVendorExpanded +``` +Update-AzConnectedNetworkVendorFunction -ServiceKey -VendorInputObject + [-SkuType ] [-VendorConfiguration ] + [-VendorProvisioningState ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityLocationExpanded +``` +Update-AzConnectedNetworkVendorFunction -ServiceKey -VendorName + -LocationInputObject [-SkuType ] + [-VendorConfiguration ] [-VendorProvisioningState ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendorFunction -InputObject [-SkuType ] + [-VendorConfiguration ] [-VendorProvisioningState ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +update a vendor network function. +This operation can take up to 6 hours to complete. +This is expected service behavior. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendorFunction +```powershell +$ipconf1 = New-AzConnectedNetworkInterfaceIPConfigurationObject -IPAllocationMethod "Dynamic" -IPVersion "IPv4" +$ipconf2 = New-AzConnectedNetworkInterfaceIPConfigurationObject -IPAllocationMethod "Dynamic" -IPVersion "IPv4" +$ip1 = New-AzConnectedNetworkInterfaceObject -IPConfiguration $ipconf1 -Name "mrmmanagementnic1" -VMSwitchType "Management" +$ip2 = New-AzConnectedNetworkInterfaceObject -IPConfiguration $ipconf2 -Name "mrmlannic1" -VMSwitchType "Lan" +$keyData = @{keyData = "ssh-rsa\AAAAB3NzaC1yc2EAAAADAQABAAABAQCyMpVbBgu0kftv1k+z1c3NtcB5CVDoo/X9X1LE2JUjlLlo0luEkFGJk61i53BhiTSTeRmQXN8hAZ7sn4MDUmZK7fWcHouZ2fsJo+ehses3wQPLubWBFw2L/hoSTyXifXMbEBu9SxHgqf1CEKQcvdNiWf4U7npXwjweXW9DtsF5E7h4kxhKJKFI4sNFTIX0IwUB15QEVHoBs92kDwH3fBH3kZZCMBJE/u6kT+XB22crRKkIGlp3a9gcogtOCvP+3xmsP7hjw5+nHxMUwkc/6kYyfTeLwvfI4xrTWpnB5xufts5LW5/U5GOXVg97ix9EXgiV0czThowG5K2xQ649UlJb redmond\user@n1-azuredev1"; path = $Null} +$keys = @{ } +$key += $keyData +$vendorconf = New-AzConnectedNetworkFunctionVendorConfigurationObject -NetworkInterface $ip1,$ip2 -RoleName hpehss -OSProfileAdminUsername MecUser -OSProfileCustomData $customData -OSProfileCustomDataRequired $True -SshPublicKey $key +$vendorvnf1 = Update-AzConnectedNetworkVendorFunction -LocationName eastus2euap -ServiceKey b78d39-xxxx-xxxx-00946c5 -SubscriptionId xxxx-4444-xxxx-4444 -VendorName myVendor -VendorConfiguration $vendorconf -SkuType EvolvedPacketCore -VendorProvisioningState Provisioning +``` + +Update network interfaces with dynamic method allocation and ip version to IPv4. +And using these to create two network configuration objects with vm switch type. +Update a ssh key identity, Then using those to create vendor configuration object with role name hpehss, custom data, keyData and network interface array. +Using this to create vendor NF with the specified service key, vendor subscription, location eastus2euap, vendor name myVendor, sku type EvolvedPacketCore, vendor provisioning state Provisioning. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -LocationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityLocationExpanded +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: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceKey +The GUID for the vendor network function. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityVendorExpanded, UpdateViaIdentityLocationExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuType +The sku type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorConfiguration +An array of network function vendor configurations. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionVendorConfiguration[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorExpanded +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: UpdateExpanded, UpdateViaIdentityLocationExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorProvisioningState +The vendor controlled provisioning state of the vendor network function. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorNetworkFunction + +## NOTES + +## RELATED LINKS diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorSku.md b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorSku.md new file mode 100644 index 000000000000..f221552ce566 --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorSku.md @@ -0,0 +1,334 @@ +--- +external help file: Az.ConnectedNetwork-help.xml +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendorsku +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendorSku + +## SYNOPSIS +update a sku. +This operation can take up to 2 hours to complete. +This is expected service behavior. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendorSku -SkuName [-SubscriptionId ] -VendorName + [-DeploymentMode ] [-ManagedApplicationParameter ] + [-ManagedApplicationTemplate ] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityVendorExpanded +``` +Update-AzConnectedNetworkVendorSku -SkuName -VendorInputObject + [-DeploymentMode ] [-ManagedApplicationParameter ] + [-ManagedApplicationTemplate ] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendorSku -InputObject [-DeploymentMode ] + [-ManagedApplicationParameter ] [-ManagedApplicationTemplate ] + [-NetworkFunctionRoleConfigurationType ] [-NetworkFunctionType ] + [-Preview] [-SkuType ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +update a sku. +This operation can take up to 2 hours to complete. +This is expected service behavior. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendorSku +```powershell +$role = New-AzConnectedNetworkFunctionRoleConfigurationObject -NetworkInterface $ip1,$ip2 -OSDiskName NetFoundry -OSDiskOstype Linux -OSDiskSizeGb 40 -OSProfileCustomDataRequired $False -OSProfileAdminUsername MecUser -RoleName hpehss -RoleType VirtualMachine -VirtualMachineSize "Standard_D3_v2" -SshPublicKey $key -StorageProfileDataDisk $storage -VhdUri "https://mecvdrvhd.blob.core.windows/myvhd.vhd" +Update-AzConnectedNetworkVendorSku -SkuName sku1 -VendorName myVendor -SubscriptionId xxxxx-22222-xxxxx-22222 -SkuType VirtualMachine -DeploymentMode PrivateEdgeZone -NetworkFunctionRoleConfigurationType @($role) +``` + +Update NF role configuration object wuth the specified details. +Using this to create sku with sku name sku1, vendor name myVendor, sku type VirtualMachine, deployment type PrivateEdgeZone. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DeploymentMode +The sku deployment mode. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +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) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagedApplicationTemplate +The template for the managed application deployment. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkFunctionRoleConfigurationType +An array of network function role definitions. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.INetworkFunctionRoleConfiguration[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkFunctionType +The network function type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Preview +Indicates if the vendor sku is in preview mode. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +The name of the sku. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityVendorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuType +The sku type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorExpanded +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: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IVendorSku + +## NOTES + +## RELATED LINKS diff --git a/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorSkuPreview.md b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorSkuPreview.md new file mode 100644 index 000000000000..2b2f1bfeefdd --- /dev/null +++ b/src/ConnectedNetwork/ConnectedNetwork/help/Update-AzConnectedNetworkVendorSkuPreview.md @@ -0,0 +1,265 @@ +--- +external help file: Az.ConnectedNetwork-help.xml +Module Name: Az.ConnectedNetwork +online version: https://learn.microsoft.com/powershell/module/az.connectednetwork/update-azconnectednetworkvendorskupreview +schema: 2.0.0 +--- + +# Update-AzConnectedNetworkVendorSkuPreview + +## SYNOPSIS +update preview information of a vendor sku. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + [-SubscriptionId ] -VendorName [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityVendorSkuExpanded +``` +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription + -VendorSkuInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityVendorExpanded +``` +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription -SkuName + -VendorInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzConnectedNetworkVendorSkuPreview -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +update preview information of a vendor sku. + +## EXAMPLES + +### Example 1: Update-AzConnectedNetworkVendorSkuPreview using preview subscription, sku name, vendor name and subscription +```powershell +Update-AzConnectedNetworkVendorSkuPreview -PreviewSubscription xxxxx-00000-xxxxx-00000 -SkuName mySku -VendorName myVendor -SubscriptionId xxxxx-22222-xxxxx-22222 +``` + +```output +Id : /subscriptions/xxxxx-22222-xxxxx-22222/providers/Microsoft.HybridNetwork/vendors/myVendor/vendorSkus/mySku/previewSubscriptions/xxxxx-00000-xxxxx-00000 +Name : xxxxx-00000-xxxxx-00000 +ProvisioningState : Succeeded +ResourceGroupName : +SystemDataCreatedAt : 12/6/2021 5:37:35 AM +SystemDataCreatedBy : user@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 12/6/2021 5:37:35 AM +SystemDataLastModifiedBy : user@microsoft.com +SystemDataLastModifiedByType : User +Type : microsoft.hybridnetwork/vendors/vendorskus/previewsubscriptions +``` + +Update preview subscription for subscription xxxxx-00000-xxxxx-00000 of a vendor sku mySku with vendor name myVendor, which is allowed to deploy network function. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreviewSubscription +Preview subscription ID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityVendorSkuExpanded, UpdateViaIdentityVendorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +The name of the vendor sku. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityVendorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorExpanded +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: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VendorSkuInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity +Parameter Sets: UpdateViaIdentityVendorSkuExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IConnectedNetworkIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IPreviewSubscription + +## NOTES + +## RELATED LINKS