diff --git a/src/NetworkCloud/NetworkCloud.Autorest/Properties/AssemblyInfo.cs b/src/NetworkCloud/NetworkCloud.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..2c092587d8d9 --- /dev/null +++ b/src/NetworkCloud/NetworkCloud.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// 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 - NetworkCloud")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.1.0")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/NetworkCloud/NetworkCloud.Autorest/README.md b/src/NetworkCloud/NetworkCloud.Autorest/README.md index 5b383a44cdef..ed87b420924c 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/README.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/README.md @@ -56,6 +56,19 @@ use-extension: "@autorest/powershell": "3.x" directive: + # Fix model definition line break replacement issue + - from: swagger-document + where: $.definitions.L3NetworkProperties.properties.ipv4ConnectedPrefix + transform: $['description'] = 'The IPV4 prefix (CIDR) assigned to this L3 network. Required when the IP allocation type is IPV4 or DualStack.' + - from: swagger-document + where: $.definitions.L3NetworkProperties.properties.ipv6ConnectedPrefix + transform: $['description'] = 'The IPV6 prefix (CIDR) assigned to this L3 network. Required when the IP allocation type is IPV6 or DualStack.' + - from: swagger-document + where: $.definitions.BareMetalMachinePatchProperties.properties.machineDetails + transform: $['description'] = 'The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine.' + - from: swagger-document + where: $.definitions.ClusterPatchProperties.properties.computeRackDefinitions + transform: $['description'] = 'The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster.' # Following is two common directive which are normally required in all the RPs # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well @@ -291,18 +304,484 @@ directive: # Add model-cmdlet for any properties/sub-properties of complex type - model-cmdlet: - BareMetalMachineConfigurationData - - BgpAdvertisement - - BgpServiceLoadBalancerConfiguration - - ControlPlaneNodeConfiguration - - EgressEndpoint + # - BgpAdvertisement + # - BgpServiceLoadBalancerConfiguration + # - ControlPlaneNodeConfiguration + # - EgressEndpoint - EndpointDependency - - InitialAgentPoolConfiguration - - IpAddressPool + # - InitialAgentPoolConfiguration + # - IpAddressPool - KeySetUser - L3NetworkAttachmentConfiguration - NetworkAttachment - - RackDefinition + # - RackDefinition - ServiceLoadBalancerBgpPeer - StorageApplianceConfigurationData - VirtualMachinePlacementHint + + # Breaking change configurations for System.Collections.Generic.List type changes + - where: + verb: Get|New|Update + subject: AgentPool + set: + breaking-change: + deprecated-output-properties: + - AdministratorConfigurationSshPublicKey + - AttachedNetworkConfigurationL2Network + - AttachedNetworkConfigurationL3Network + - AttachedNetworkConfigurationTrunkedNetwork + - AvailabilityZone + - Label + - Taint + new-output-properties: + - AdministratorConfigurationSshPublicKey + - AttachedNetworkConfigurationL2Network + - AttachedNetworkConfigurationL3Network + - AttachedNetworkConfigurationTrunkedNetwork + - AvailabilityZone + - Label + - Taint + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|Update + subject: BareMetalMachine + set: + breaking-change: + deprecated-output-properties: + - AssociatedResourceId + - HardwareInventoryInterface + - HardwareInventoryNic + - HybridAksClustersAssociatedId + - MachineRole + - SecretRotationStatus + - VirtualMachinesAssociatedId + new-output-properties: + - AssociatedResourceId + - HardwareInventoryInterface + - HardwareInventoryNic + - HybridAksClustersAssociatedId + - MachineRole + - SecretRotationStatus + - VirtualMachinesAssociatedId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: BareMetalMachineKeySet + set: + breaking-change: + deprecated-output-properties: + - JumpHostsAllowed + - UserList + - UserListStatus + new-output-properties: + - JumpHostsAllowed + - UserList + - UserListStatus + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: BmcKeySet + set: + breaking-change: + deprecated-output-properties: + - UserList + - UserListStatus + new-output-properties: + - UserList + - UserListStatus + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|Update + subject: Cluster + set: + breaking-change: + deprecated-output-properties: + - AggregatorOrSingleRackDefinitionBareMetalMachineConfigurationData + - AggregatorOrSingleRackDefinitionStorageApplianceConfigurationData + - AvailableUpgradeVersion + - ComputeRackDefinition + - WorkloadResourceId + new-output-properties: + - AggregatorOrSingleRackDefinitionBareMetalMachineConfigurationData + - AggregatorOrSingleRackDefinitionStorageApplianceConfigurationData + - AvailableUpgradeVersion + - ComputeRackDefinition + - WorkloadResourceId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|Update + subject: ClusterManager + set: + breaking-change: + deprecated-output-properties: + - AvailabilityZone + - ClusterVersion + new-output-properties: + - AvailabilityZone + - ClusterVersion + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: KubernetesClusterFeature + set: + breaking-change: + deprecated-output-properties: + - Option + new-output-properties: + - Option + change-description: The type of property will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: L2Network + set: + breaking-change: + deprecated-output-properties: + - AssociatedResourceId + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + new-output-properties: + - AssociatedResourceId + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: L3Network + set: + breaking-change: + deprecated-output-properties: + - AssociatedResourceId + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + new-output-properties: + - AssociatedResourceId + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: MetricsConfiguration + set: + breaking-change: + deprecated-output-properties: + - DisabledMetric + - EnabledMetric + new-output-properties: + - DisabledMetric + - EnabledMetric + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get + subject: RackSku + set: + breaking-change: + deprecated-output-properties: + - ComputeMachine + - ControllerMachine + - StorageAppliance + - SupportedRackSkuId + new-output-properties: + - ComputeMachine + - ControllerMachine + - StorageAppliance + - SupportedRackSkuId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|Update + subject: ServicesNetwork + set: + breaking-change: + deprecated-output-properties: + - AdditionalEgressEndpoint + - AssociatedResourceId + - EnabledEgressEndpoint + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + new-output-properties: + - AdditionalEgressEndpoint + - AssociatedResourceId + - EnabledEgressEndpoint + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: TrunkedNetwork + set: + breaking-change: + deprecated-output-properties: + - AssociatedResourceId + - HybridAksClustersAssociatedId + - IsolationDomainId + - VirtualMachinesAssociatedId + - Vlan + new-output-properties: + - AssociatedResourceId + - HybridAksClustersAssociatedId + - IsolationDomainId + - VirtualMachinesAssociatedId + - Vlan + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|Update + subject: StorageAppliance + set: + breaking-change: + deprecated-output-properties: + - SecretRotationStatus + new-output-properties: + - SecretRotationStatus + change-description: The type of property will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: VirtualMachine + set: + breaking-change: + deprecated-output-properties: + - NetworkAttachment + - PlacementHint + - SshPublicKey + - StorageProfileVolumeAttachment + - Volume + new-output-properties: + - NetworkAttachment + - PlacementHint + - SshPublicKey + - StorageProfileVolumeAttachment + - Volume + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|New|Update + subject: Volume + set: + breaking-change: + deprecated-output-properties: + - AttachedTo + new-output-properties: + - AttachedTo + change-description: The type of property will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Invoke + subject: BareMetalMachineDataExtract + set: + breaking-change: + deprecated-output-properties: + - Argument + new-output-properties: + - Argument + change-description: The type of property will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: New + subject: Cluster + set: + breaking-change: + deprecated-output-properties: + - AggregatorOrSingleRackDefinitionBareMetalMachineConfigurationData + - AggregatorOrSingleRackDefinitionStorageApplianceConfigurationData + - AvailableUpgradeVersion + - BareMetalMachineConfigurationData + - ComputeRackDefinition + - StorageApplianceConfigurationData + - WorkloadResourceId + new-output-properties: + - AggregatorOrSingleRackDefinitionBareMetalMachineConfigurationData + - AggregatorOrSingleRackDefinitionStorageApplianceConfigurationData + - AvailableUpgradeVersion + - BareMetalMachineConfigurationData + - ComputeRackDefinition + - StorageApplianceConfigurationData + - WorkloadResourceId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: New + subject: ClusterManager + set: + breaking-change: + deprecated-output-properties: + - AvailabilityZone + new-output-properties: + - AvailabilityZone + change-description: The type of property will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: New + subject: KubernetesCluster + set: + breaking-change: + deprecated-output-properties: + - AadConfigurationAdminGroupObjectId + - AdministratorConfigurationSshPublicKey + - AttachedNetworkConfigurationL2Network + - AttachedNetworkConfigurationL3Network + - AttachedNetworkConfigurationTrunkedNetwork + - AttachedNetworkId + - AvailabilityZone + - AvailableUpgrade + - BgpServiceLoadBalancerConfigurationBgpAdvertisement + - BgpServiceLoadBalancerConfigurationBgpPeer + - BgpServiceLoadBalancerConfigurationIPAddressPool + - ControlPlaneNodeConfigurationAdministratorConfigurationSshPublicKey + - ControlPlaneNodeConfigurationAvailabilityZone + - FeatureStatuses + - InitialAgentPoolConfiguration + - L2ServiceLoadBalancerConfigurationIPAddressPool + - Label + - NetworkConfigurationPodCidr + - NetworkConfigurationServiceCidr + - Node + - SshPublicKey + - Taint + new-output-properties: + - AadConfigurationAdminGroupObjectId + - AdministratorConfigurationSshPublicKey + - AttachedNetworkConfigurationL2Network + - AttachedNetworkConfigurationL3Network + - AttachedNetworkConfigurationTrunkedNetwork + - AttachedNetworkId + - AvailabilityZone + - AvailableUpgrade + - BgpServiceLoadBalancerConfigurationBgpAdvertisement + - BgpServiceLoadBalancerConfigurationBgpPeer + - BgpServiceLoadBalancerConfigurationIPAddressPool + - ControlPlaneNodeConfigurationAdministratorConfigurationSshPublicKey + - ControlPlaneNodeConfigurationAvailabilityZone + - FeatureStatuses + - InitialAgentPoolConfiguration + - L2ServiceLoadBalancerConfigurationIPAddressPool + - Label + - NetworkConfigurationPodCidr + - NetworkConfigurationServiceCidr + - Node + - SshPublicKey + - Taint + change-description: The type of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: Get|Update + subject: KubernetesCluster + set: + breaking-change: + deprecated-output-properties: + - AadConfigurationAdminGroupObjectId + - AttachedNetworkConfigurationL2Network + - AttachedNetworkConfigurationL3Network + - AttachedNetworkConfigurationTrunkedNetwork + - AttachedNetworkId + - AvailableUpgrade + - BgpServiceLoadBalancerConfigurationBgpAdvertisement + - BgpServiceLoadBalancerConfigurationBgpPeer + - BgpServiceLoadBalancerConfigurationIPAddressPool + - ControlPlaneNodeConfigurationAdministratorConfigurationSshPublicKey + - ControlPlaneNodeConfigurationAvailabilityZone + - FeatureStatuses + - InitialAgentPoolConfiguration + - L2ServiceLoadBalancerConfigurationIPAddressPool + - NetworkConfigurationPodCidr + - NetworkConfigurationServiceCidr + - Node + - SshPublicKey + new-output-properties: + - AadConfigurationAdminGroupObjectId + - AttachedNetworkConfigurationL2Network + - AttachedNetworkConfigurationL3Network + - AttachedNetworkConfigurationTrunkedNetwork + - AttachedNetworkId + - AvailableUpgrade + - BgpServiceLoadBalancerConfigurationBgpAdvertisement + - BgpServiceLoadBalancerConfigurationBgpPeer + - BgpServiceLoadBalancerConfigurationIPAddressPool + - ControlPlaneNodeConfigurationAdministratorConfigurationSshPublicKey + - ControlPlaneNodeConfigurationAvailabilityZone + - FeatureStatuses + - InitialAgentPoolConfiguration + - L2ServiceLoadBalancerConfigurationIPAddressPool + - NetworkConfigurationPodCidr + - NetworkConfigurationServiceCidr + - Node + - SshPublicKey + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + verb: New + subject: ServicesNetwork + set: + breaking-change: + deprecated-output-properties: + - AdditionalEgressEndpoint + - AssociatedResourceId + - EnabledEgressEndpoint + - Endpoint + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + new-output-properties: + - AdditionalEgressEndpoint + - AssociatedResourceId + - EnabledEgressEndpoint + - Endpoint + - HybridAksClustersAssociatedId + - VirtualMachinesAssociatedId + change-description: The types of properties will be changed from fixed array to 'List'. + deprecated-by-version: 2.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 ``` diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/Az.NetworkCloud.custom.psm1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/Az.NetworkCloud.custom.psm1 index 02019895a57a..1afb8cd2c325 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/Az.NetworkCloud.custom.psm1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/Az.NetworkCloud.custom.psm1 @@ -1,9 +1,9 @@ # region Generated # Load the private module dll - $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '../bin/Az.NetworkCloud.private.dll') + $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.NetworkCloud.private.dll') # Load the internal module - $internalModulePath = Join-Path $PSScriptRoot '../internal/Az.NetworkCloud.internal.psm1' + $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.NetworkCloud.internal.psm1' if(Test-Path $internalModulePath) { $null = Import-Module -Name $internalModulePath } diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudBgpAdvertisementObject.ps1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudBgpAdvertisementObject.ps1 similarity index 84% rename from src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudBgpAdvertisementObject.ps1 rename to src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudBgpAdvertisementObject.ps1 index f99e0e8cfe1b..7162833e63ce 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudBgpAdvertisementObject.ps1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudBgpAdvertisementObject.ps1 @@ -29,17 +29,19 @@ function New-AzNetworkCloudBgpAdvertisementObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.BgpAdvertisement')] [CmdletBinding(PositionalBinding=$false)] Param( - [Parameter(HelpMessage="The indicator of if this advertisement is also made to the network fabric associated with the Network Cloud Cluster. This field is ignored if fabricPeeringEnabled is set to False.")] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Support.AdvertiseToFabric])] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Support.AdvertiseToFabric] $AdvertiseToFabric, + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("Community", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="The names of the BGP communities to be associated with the announcement, utilizing a BGP community string in 1234:1234 format.")] [string[]] $Community, + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("IPAddressPool", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(Mandatory, HelpMessage="The names of the IP address pools associated with this announcement.")] [string[]] $IPAddressPool, + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("Peer", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="The names of the BGP peers to limit this advertisement to. If no values are specified, all BGP peers will receive this advertisement.")] [string[]] $Peer diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.ps1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.ps1 similarity index 85% rename from src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.ps1 rename to src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.ps1 index 84785a59a88f..a55bda31c07e 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.ps1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.ps1 @@ -31,16 +31,19 @@ function New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject { Param( [Parameter(HelpMessage="The association of IP address pools to the communities and peers, allowing for announcement of IPs.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("BgpAdvertisement", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IBgpAdvertisement[]] $BgpAdvertisement, [Parameter(HelpMessage="The list of additional BgpPeer entities that the Kubernetes cluster will peer with. All peering must be explicitly defined.")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IServiceLoadBalancerBgpPeer[]] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("BgpPeer", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] $BgpPeer, [Parameter(HelpMessage="The indicator to specify if the load balancer peers with the network fabric.")] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Support.FabricPeeringEnabled])] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Support.FabricPeeringEnabled] $FabricPeeringEnabled, [Parameter(HelpMessage="The list of pools of IP addresses that can be allocated to load balancer services.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("IPAddressPool", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IIPAddressPool[]] $IPAddressPool ) diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudControlPlaneNodeConfigurationObject.ps1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudControlPlaneNodeConfigurationObject.ps1 similarity index 89% rename from src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudControlPlaneNodeConfigurationObject.ps1 rename to src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudControlPlaneNodeConfigurationObject.ps1 index d88a9a976f31..1652852b9e28 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudControlPlaneNodeConfigurationObject.ps1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudControlPlaneNodeConfigurationObject.ps1 @@ -34,10 +34,12 @@ function New-AzNetworkCloudControlPlaneNodeConfigurationObject { [string] $AdministratorConfigurationAdminUsername, [Parameter(HelpMessage="The SSH configuration for the operating systems that run the nodes in the Kubernetes cluster. In some cases, specification of public keys may be required to produce a working environment.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("AdministratorConfigurationSshPublicKey", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.ISshPublicKey[]] $AdministratorConfigurationSshPublicKey, [Parameter(HelpMessage="The list of availability zones of the Network Cloud cluster to be used for the provisioning of nodes in the control plane. If not specified, all availability zones will be used.")] [string[]] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("AvailabilityZone", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] $AvailabilityZone, [Parameter(Mandatory, HelpMessage="The number of virtual machines that use this configuration.")] [long] diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudEgressEndpointObject.ps1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudEgressEndpointObject.ps1 similarity index 92% rename from src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudEgressEndpointObject.ps1 rename to src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudEgressEndpointObject.ps1 index fea8322bfba5..4eab55b214bc 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudEgressEndpointObject.ps1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudEgressEndpointObject.ps1 @@ -34,6 +34,7 @@ function New-AzNetworkCloudEgressEndpointObject { [string] $Category, [Parameter(Mandatory, HelpMessage="The list of endpoint dependencies.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("Endpoint", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IEndpointDependency[]] $Endpoint ) diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudInitialAgentPoolConfigurationObject.ps1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudInitialAgentPoolConfigurationObject.ps1 similarity index 86% rename from src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudInitialAgentPoolConfigurationObject.ps1 rename to src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudInitialAgentPoolConfigurationObject.ps1 index de7fa6a7963e..287dfc6977c2 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudInitialAgentPoolConfigurationObject.ps1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudInitialAgentPoolConfigurationObject.ps1 @@ -29,11 +29,11 @@ function New-AzNetworkCloudInitialAgentPoolConfigurationObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.InitialAgentPoolConfiguration')] [CmdletBinding(PositionalBinding=$false)] Param( - [Parameter(HelpMessage="The user name for the administrator that will be applied to the operating systems that run Kubernetes nodes. If not supplied, a user name will be chosen by the service.")] [string] $AdministratorConfigurationAdminUsername, [Parameter(HelpMessage="The SSH configuration for the operating systems that run the nodes in the Kubernetes cluster. In some cases, specification of public keys may be required to produce a working environment.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("AdministratorConfigurationSshPublicKey", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.ISshPublicKey[]] $AdministratorConfigurationSshPublicKey, [Parameter(HelpMessage="The number of hugepages to allocate.")] @@ -44,21 +44,26 @@ function New-AzNetworkCloudInitialAgentPoolConfigurationObject { [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Support.HugepagesSize] $AgentOptionHugepagesSize, [Parameter(HelpMessage="The list of Layer 2 Networks and related configuration for attachment.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("AttachedNetworkConfigurationL2Network", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IL2NetworkAttachmentConfiguration[]] $AttachedNetworkConfigurationL2Network, [Parameter(HelpMessage="The list of Layer 3 Networks and related configuration for attachment.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("AttachedNetworkConfigurationL3Network", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IL3NetworkAttachmentConfiguration[]] $AttachedNetworkConfigurationL3Network, [Parameter(HelpMessage="The list of Trunked Networks and related configuration for attachment.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("AttachedNetworkConfigurationTrunkedNetwork", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.ITrunkedNetworkAttachmentConfiguration[]] $AttachedNetworkConfigurationTrunkedNetwork, [Parameter(HelpMessage="The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("AvailabilityZone", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [string[]] $AvailabilityZone, [Parameter(Mandatory, HelpMessage="The number of virtual machines that use this configuration.")] [long] $Count, [Parameter(HelpMessage="The labels applied to the nodes in this agent pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("Label", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IKubernetesLabel[]] $Label, [Parameter(Mandatory, HelpMessage="The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.")] @@ -69,6 +74,7 @@ function New-AzNetworkCloudInitialAgentPoolConfigurationObject { [string] $Name, [Parameter(HelpMessage="The taints applied to the nodes in this agent pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("Taint", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IKubernetesLabel[]] $Taint, [Parameter(HelpMessage="The maximum time in seconds that is allowed for a node drain to complete before proceeding with the upgrade of the agent pool. If not specified during creation, a value of 1800 seconds is used.")] diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudIpAddressPoolObject.ps1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudIpAddressPoolObject.ps1 similarity index 94% rename from src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudIpAddressPoolObject.ps1 rename to src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudIpAddressPoolObject.ps1 index fd5b11b73fd3..2b162be53564 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudIpAddressPoolObject.ps1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudIpAddressPoolObject.ps1 @@ -29,7 +29,7 @@ function New-AzNetworkCloudIpAddressPoolObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IpAddressPool')] [CmdletBinding(PositionalBinding=$false)] Param( - + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("Address", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(Mandatory, HelpMessage="The list of IP address ranges. Each range can be a either a subnet in CIDR format or an explicit start-end range of IP addresses. For a BGP service load balancer configuration, only CIDR format is supported and excludes /32 (IPv4) and /128 (IPv6) prefixes.")] [string[]] $Address, diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudRackDefinitionObject.ps1 b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudRackDefinitionObject.ps1 similarity index 90% rename from src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudRackDefinitionObject.ps1 rename to src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudRackDefinitionObject.ps1 index b655db7f7375..0a9a02fd8a4f 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/autogen-model-cmdlets/New-AzNetworkCloudRackDefinitionObject.ps1 +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/New-AzNetworkCloudRackDefinitionObject.ps1 @@ -33,6 +33,7 @@ function New-AzNetworkCloudRackDefinitionObject { [Parameter(HelpMessage="The zone name used for this rack when created. Availability zones are used for workload placement.")] [string] $AvailabilityZone, + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("BareMetalMachineConfigurationData", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="The unordered list of bare metal machine configuration.")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IBareMetalMachineConfigurationData[]] $BareMetalMachineConfigurationData, @@ -48,6 +49,7 @@ function New-AzNetworkCloudRackDefinitionObject { [Parameter(Mandatory, HelpMessage="The resource ID of the sku for the rack being added.")] [string] $RackSkuId, + [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.ParameterBreakingChange("StorageApplianceConfigurationData", "15.0.0", "2.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="The list of storage appliance configuration data for this rack.")] [Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20250201.IStorageApplianceConfigurationData[]] $StorageApplianceConfigurationData diff --git a/src/NetworkCloud/NetworkCloud.Autorest/custom/README.md b/src/NetworkCloud/NetworkCloud.Autorest/custom/README.md index a0c7b1d488fc..d520a4420817 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/custom/README.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/custom/README.md @@ -1,5 +1,5 @@ # Custom -This directory contains custom implementation for non-generated cmdlets for the `Az.NetworkCloud` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `../exports` folder. The only generated file into this folder is the `Az.NetworkCloud.custom.psm1`. This file should not be modified. +This directory contains custom implementation for non-generated cmdlets for the `Az.NetworkCloud` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `..\exports` folder. The only generated file into this folder is the `Az.NetworkCloud.custom.psm1`. This file should not be modified. ## Info - Modifiable: yes @@ -15,10 +15,10 @@ For C# cmdlets, they are compiled with the rest of the generated low-level cmdle For script cmdlets, these are loaded via the `Az.NetworkCloud.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build. ## Purpose -This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `../exports` folder. +This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `..\exports` folder. ## Usage -The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `../exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters: +The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `..\exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters: - Break - DefaultProfile - HttpPipelineAppend @@ -36,6 +36,6 @@ For processing the cmdlets, we've created some additional attributes: - `Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.DoNotExportAttribute` - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.NetworkCloud`. - `Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.InternalExportAttribute` - - Used in C# cmdlets to route exported cmdlets to the `../internal`, which are *not exposed* by `Az.NetworkCloud`. For more information, see [README.md](../internal/README.md) in the `../internal` folder. + - Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.NetworkCloud`. For more information, see [README.md](..\internal/README.md) in the `..\internal` folder. - `Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.ProfileAttribute` - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules. \ No newline at end of file diff --git a/src/NetworkCloud/NetworkCloud.Autorest/docs/Az.NetworkCloud.md b/src/NetworkCloud/NetworkCloud.Autorest/docs/Az.NetworkCloud.md index 323d4f699ea2..9d74e0c83cad 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/docs/Az.NetworkCloud.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/docs/Az.NetworkCloud.md @@ -1,6 +1,6 @@ --- Module Name: Az.NetworkCloud -Module Guid: a3d56e81-c4a2-430b-9caa-d68c7518329a +Module Guid: 2e3881fa-3f69-4a40-b56f-30f214294ec2 Download Help Link: https://learn.microsoft.com/powershell/module/az.networkcloud Help Version: 1.0.0.0 Locale: en-US diff --git a/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md b/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md index 5da4ff450abe..7dcea5ac6887 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md @@ -28,7 +28,7 @@ Create an in-memory object for BgpServiceLoadBalancerConfiguration. $ipAddressPools=New-AzNetworkCloudIpAddressPoolObject -Address @("198.51.102.0/24") -Name "pool1" -AutoAssign True -OnlyUseHostIP True -$serviceLoadBalancerBgpPeer=New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password passsword -PeerPort 1234 +$serviceLoadBalancerBgpPeer=New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password REDACTED -PeerPort 1234 $bgpAdvertisement=New-AzNetworkCloudBgpAdvertisementObject -IPAddressPool @("pool1","pool2") -AdvertiseToFabric "True" -Community @("communityString") -Peer @("peer1") diff --git a/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md b/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md index 4f75a3163341..e91ae1bffccf 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/docs/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md @@ -25,13 +25,13 @@ Create an in-memory object for ServiceLoadBalancerBgpPeer. ### Example 1: Create an in-memory object for ServiceLoadBalancerBgpPeer. ```powershell -New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password passsword -PeerPort 1234 +New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password REDACTED -PeerPort 1234 ``` ```output BfdEnabled BgpMultiHop HoldTime KeepAliveTime MyAsn Name Password PeerAddress PeerAsn PeerPort ---------- ----------- -------- ------------- ----- ---- -------- ----------- ------- -------- -False False P300s P300s 64512 name passsword 203.0.113.254 64497 1234 +False False P300s P300s 64512 name REDACTED 203.0.113.254 64497 1234 ``` Create an in-memory object for ServiceLoadBalancerBgpPeer. diff --git a/src/NetworkCloud/NetworkCloud.Autorest/docs/README.md b/src/NetworkCloud/NetworkCloud.Autorest/docs/README.md index a069a5c3f576..b83f5ea53aa1 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/docs/README.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/docs/README.md @@ -1,5 +1,5 @@ # Docs -This directory contains the documentation of the cmdlets for the `Az.NetworkCloud` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `../examples` folder. +This directory contains the documentation of the cmdlets for the `Az.NetworkCloud` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder. ## Info - Modifiable: no @@ -8,4 +8,4 @@ This directory contains the documentation of the cmdlets for the `Az.NetworkClou - Packaged: yes ## Details -The process of documentation generation loads `Az.NetworkCloud` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `../exports` folder. Additionally, when writing custom cmdlets in the `../custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `../examples` folder. \ No newline at end of file +The process of documentation generation loads `Az.NetworkCloud` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. \ No newline at end of file diff --git a/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudBareMetalMachine.md b/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudBareMetalMachine.md index 4c03cd8f23d0..ea29ce718fac 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudBareMetalMachine.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudBareMetalMachine.md @@ -129,7 +129,7 @@ Accept wildcard characters: False ``` ### -MachineDetail -The details provided by the customer during the creation of rack manifeststhat allows for custom data to be associated with this machine. +The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine. ```yaml Type: System.String diff --git a/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudCluster.md b/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudCluster.md index d9f6fe697160..c5fb28734c0d 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudCluster.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/docs/Update-AzNetworkCloudCluster.md @@ -477,7 +477,7 @@ Accept wildcard characters: False ``` ### -ComputeRackDefinition -The list of rack definitions for the compute racks in a multi-rackcluster, or an empty list in a single-rack cluster. +The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster. To construct, see NOTES section for COMPUTERACKDEFINITION properties and create a hash table. ```yaml diff --git a/src/NetworkCloud/NetworkCloud.Autorest/examples/Invoke-AzNetworkCloudBareMetalMachineDataExtract.md b/src/NetworkCloud/NetworkCloud.Autorest/examples/Invoke-AzNetworkCloudBareMetalMachineDataExtract.md index 68f11992f72e..98df09502c55 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/examples/Invoke-AzNetworkCloudBareMetalMachineDataExtract.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/examples/Invoke-AzNetworkCloudBareMetalMachineDataExtract.md @@ -5,7 +5,7 @@ $command = @{ arguments = "commandArguments" } -Invoke-AzNetworkCloudBareMetalMachineDataExtract -BareMetalMachineName bmmName -ResourceGroupName resourcceGroupName -SubscriptionId subscriptionId -Command $command -LimitTimeSecond limitTimeInSeconds -Debug +Invoke-AzNetworkCloudBareMetalMachineDataExtract -BareMetalMachineName bmmName -ResourceGroupName resourceGroupName -SubscriptionId subscriptionId -Command $command -LimitTimeSecond limitTimeInSeconds -Debug ``` This command runs a provided data extraction command on a bare metal machine. Including the -Debug flag ensures successful output of the storage account URL containing the command's results. This is necessary to retrieve the results of the command on the bare metal machine. diff --git a/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md b/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md index e12f47c295d8..6cde640aa4d9 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md @@ -3,7 +3,7 @@ $ipAddressPools=New-AzNetworkCloudIpAddressPoolObject -Address @("198.51.102.0/24") -Name "pool1" -AutoAssign True -OnlyUseHostIP True -$serviceLoadBalancerBgpPeer=New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password passsword -PeerPort 1234 +$serviceLoadBalancerBgpPeer=New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password REDACTED -PeerPort 1234 $bgpAdvertisement=New-AzNetworkCloudBgpAdvertisementObject -IPAddressPool @("pool1","pool2") -AdvertiseToFabric "True" -Community @("communityString") -Peer @("peer1") diff --git a/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md b/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md index cce05dd9d823..d66282c6ce45 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/examples/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md @@ -1,12 +1,12 @@ ### Example 1: Create an in-memory object for ServiceLoadBalancerBgpPeer. ```powershell -New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password passsword -PeerPort 1234 +New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password REDACTED -PeerPort 1234 ``` ```output BfdEnabled BgpMultiHop HoldTime KeepAliveTime MyAsn Name Password PeerAddress PeerAsn PeerPort ---------- ----------- -------- ------------- ----- ---- -------- ----------- ------- -------- -False False P300s P300s 64512 name passsword 203.0.113.254 64497 1234 +False False P300s P300s 64512 name REDACTED 203.0.113.254 64497 1234 ``` Create an in-memory object for ServiceLoadBalancerBgpPeer. diff --git a/src/NetworkCloud/NetworkCloud.Autorest/generate-info.json b/src/NetworkCloud/NetworkCloud.Autorest/generate-info.json index 2c046a3128d0..051505bcd69b 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/generate-info.json +++ b/src/NetworkCloud/NetworkCloud.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "f72e5da3-7d64-4eab-8e85-effd309af004" + "generate_Id": "48ebe054-8b3a-45d6-9b34-ee4f1ab573de" } diff --git a/src/NetworkCloud/NetworkCloud.Autorest/resources/README.md b/src/NetworkCloud/NetworkCloud.Autorest/resources/README.md index 736492341e3d..937f07f8fec2 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/resources/README.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/resources/README.md @@ -1,5 +1,5 @@ # 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. +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 diff --git a/src/NetworkCloud/NetworkCloud.Autorest/test/README.md b/src/NetworkCloud/NetworkCloud.Autorest/test/README.md index 1969200c6a09..7c752b4c8c43 100644 --- a/src/NetworkCloud/NetworkCloud.Autorest/test/README.md +++ b/src/NetworkCloud/NetworkCloud.Autorest/test/README.md @@ -1,5 +1,5 @@ # Test -This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `../custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. +This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `..\custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. ## Info - Modifiable: yes diff --git a/src/NetworkCloud/NetworkCloud.sln b/src/NetworkCloud/NetworkCloud.sln index 63782aad18a9..9ef1a9cc6bb8 100644 --- a/src/NetworkCloud/NetworkCloud.sln +++ b/src/NetworkCloud/NetworkCloud.sln @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetworkCloud", "NetworkCloud\NetworkCloud.csproj", "{13B52C8D-AC21-493E-98FF-641CED72F9CA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.NetworkCloud", "NetworkCloud.Autorest\Az.NetworkCloud.csproj", "{B53073A2-7201-4CB3-8FA2-2447F6D397D6}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NetworkCloud.Autorest", "NetworkCloud.Autorest", "{D275D317-DA27-C007-B5FC-ABB37F3D724D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.NetworkCloud", "..\..\generated\NetworkCloud\NetworkCloud.Autorest\Az.NetworkCloud.csproj", "{C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}" 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 {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Debug|x64.ActiveCfg = Debug|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Debug|x64.Build.0 = Debug|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Debug|x86.ActiveCfg = Debug|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Debug|x86.Build.0 = Debug|Any CPU {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Release|Any CPU.ActiveCfg = Release|Any CPU {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Release|Any CPU.Build.0 = Release|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Release|x64.ActiveCfg = Release|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Release|x64.Build.0 = Release|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Release|x86.ActiveCfg = Release|Any CPU + {BC968D43-2720-4809-93B6-0EB81C5AFDEC}.Release|x86.Build.0 = Release|Any CPU {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Debug|x64.ActiveCfg = Debug|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Debug|x64.Build.0 = Debug|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Debug|x86.ActiveCfg = Debug|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Debug|x86.Build.0 = Debug|Any CPU {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Release|Any CPU.ActiveCfg = Release|Any CPU {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Release|Any CPU.Build.0 = Release|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Release|x64.ActiveCfg = Release|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Release|x64.Build.0 = Release|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Release|x86.ActiveCfg = Release|Any CPU + {444922EB-ED9D-4682-94D2-BB9B4BE4BCEB}.Release|x86.Build.0 = Release|Any CPU {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Debug|x64.ActiveCfg = Debug|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Debug|x64.Build.0 = Debug|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Debug|x86.ActiveCfg = Debug|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Debug|x86.Build.0 = Debug|Any CPU {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Release|Any CPU.ActiveCfg = Release|Any CPU {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Release|Any CPU.Build.0 = Release|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Release|x64.ActiveCfg = Release|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Release|x64.Build.0 = Release|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Release|x86.ActiveCfg = Release|Any CPU + {5C6468E1-D9CF-497A-97A4-6A96F8CD09EA}.Release|x86.Build.0 = Release|Any CPU {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Debug|Any CPU.Build.0 = Debug|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Debug|x64.ActiveCfg = Debug|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Debug|x64.Build.0 = Debug|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Debug|x86.ActiveCfg = Debug|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Debug|x86.Build.0 = Debug|Any CPU {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Release|Any CPU.ActiveCfg = Release|Any CPU {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Release|Any CPU.Build.0 = Release|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Release|x64.ActiveCfg = Release|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Release|x64.Build.0 = Release|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Release|x86.ActiveCfg = Release|Any CPU + {041DDB35-E9D0-408A-8C83-D2E83BD1E196}.Release|x86.Build.0 = Release|Any CPU {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Debug|x64.ActiveCfg = Debug|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Debug|x64.Build.0 = Debug|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Debug|x86.ActiveCfg = Debug|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Debug|x86.Build.0 = Debug|Any CPU {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Release|Any CPU.ActiveCfg = Release|Any CPU {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Release|Any CPU.Build.0 = Release|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Release|x64.ActiveCfg = Release|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Release|x64.Build.0 = Release|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Release|x86.ActiveCfg = Release|Any CPU + {E7ED7010-50DC-4CBE-8C24-840638F542B8}.Release|x86.Build.0 = Release|Any CPU {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Debug|x64.ActiveCfg = Debug|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Debug|x64.Build.0 = Debug|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Debug|x86.ActiveCfg = Debug|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Debug|x86.Build.0 = Debug|Any CPU {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Release|Any CPU.ActiveCfg = Release|Any CPU {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Release|Any CPU.Build.0 = Release|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Release|x64.ActiveCfg = Release|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Release|x64.Build.0 = Release|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Release|x86.ActiveCfg = Release|Any CPU + {DAC91DBB-C3B6-415A-AC2A-37F24119EE68}.Release|x86.Build.0 = Release|Any CPU {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Debug|x64.ActiveCfg = Debug|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Debug|x64.Build.0 = Debug|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Debug|x86.ActiveCfg = Debug|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Debug|x86.Build.0 = Debug|Any CPU {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Release|Any CPU.ActiveCfg = Release|Any CPU {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Release|Any CPU.Build.0 = Release|Any CPU - {B53073A2-7201-4CB3-8FA2-2447F6D397D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B53073A2-7201-4CB3-8FA2-2447F6D397D6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B53073A2-7201-4CB3-8FA2-2447F6D397D6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B53073A2-7201-4CB3-8FA2-2447F6D397D6}.Release|Any CPU.Build.0 = Release|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Release|x64.ActiveCfg = Release|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Release|x64.Build.0 = Release|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Release|x86.ActiveCfg = Release|Any CPU + {13B52C8D-AC21-493E-98FF-641CED72F9CA}.Release|x86.Build.0 = Release|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Debug|x64.ActiveCfg = Debug|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Debug|x64.Build.0 = Debug|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Debug|x86.ActiveCfg = Debug|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Debug|x86.Build.0 = Debug|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Release|Any CPU.Build.0 = Release|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Release|x64.ActiveCfg = Release|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Release|x64.Build.0 = Release|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Release|x86.ActiveCfg = Release|Any CPU + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {BC968D43-2720-4809-93B6-0EB81C5AFDEC} = {705FDC1F-054D-4648-804A-D1BF94195930} @@ -70,5 +140,6 @@ Global {041DDB35-E9D0-408A-8C83-D2E83BD1E196} = {705FDC1F-054D-4648-804A-D1BF94195930} {E7ED7010-50DC-4CBE-8C24-840638F542B8} = {705FDC1F-054D-4648-804A-D1BF94195930} {DAC91DBB-C3B6-415A-AC2A-37F24119EE68} = {705FDC1F-054D-4648-804A-D1BF94195930} + {C6CD26B4-77C1-490D-9002-65E0B4C2EAF6} = {D275D317-DA27-C007-B5FC-ABB37F3D724D} EndGlobalSection EndGlobal diff --git a/src/NetworkCloud/NetworkCloud/ChangeLog.md b/src/NetworkCloud/NetworkCloud/ChangeLog.md index 80e5f660041b..51701b98168b 100644 --- a/src/NetworkCloud/NetworkCloud/ChangeLog.md +++ b/src/NetworkCloud/NetworkCloud/ChangeLog.md @@ -18,6 +18,37 @@ - Additional information about change #1 --> ## Upcoming Release +* Added breaking change announcement for below cmdlets from fixed array to list. + * Cmdlet `Get/New/Update-AzNetworkCloudAgentPool` + * Cmdlet `Get/New/Update-AzNetworkCloudBareMetalMachine` + * Cmdlet `Get/New/Update-AzNetworkCloudBareMetalMachineKeySet` + * Cmdlet `Get/New/Update-AzNetworkCloudBmcKeySet` + * Cmdlet `Get/New/Update-AzNetworkCloudCluster` + * Cmdlet `Get/New/Update-AzNetworkCloudClusterManager` + * Cmdlet `Get/New/Update-AzNetworkCloudKubernetesCluster` + * Cmdlet `Get/New/Update-AzNetworkCloudKubernetesClusterFeature` + * Cmdlet `Get/New/Update-AzNetworkCloudL2Network` + * Cmdlet `Get/New/Update-AzNetworkCloudL3Network` + * Cmdlet `Get/New/Update-AzNetworkCloudMetricsConfiguration` + * Cmdlet `Get-AzNetworkCloudRackSku` + * Cmdlet `Get/Update-AzNetworkCloudServicesNetwork` + * Cmdlet `Get/Update-AzNetworkCloudStorageAppliance` + * Cmdlet `Get/New/Update-AzNetworkCloudTrunkedNetwork` + * Cmdlet `Get/New/Update-AzNetworkCloudVirtualMachine` + * Cmdlet `Get/New/Update-AzNetworkCloudVolume` + * Cmdlet `New-AzNetworkCloudBgpAdvertisementObject` + * Cmdlet `New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject` + * Cmdlet `New-AzNetworkCloudControlPlaneNodeConfigurationObject` + * Cmdlet `New-AzNetworkCloudEgressEndpointObject` + * Cmdlet `New-AzNetworkCloudInitialAgentPoolConfigurationObject` + * Cmdlet `New-AzNetworkCloudIpAddressPoolObject` + * Cmdlet `New-AzNetworkCloudRackDefinitionObject` + * Cmdlet `Invoke-AzNetworkCloudBareMetalMachineDataExtract` +* Added breaking change announcement for removing parameters `-IdentityType` and `-IdentityUserAssignedIdentity` is renamed to `-UserAssignedIdentity`. + * Cmdlet `New-AzNetworkCloudCluster` + * Cmdlet `New-AzNetworkCloudClusterManager` + * Cmdlet `Update-AzNetworkCloudCluster` + * Cmdlet `Update-AzNetworkCloudClusterManager` ## Version 1.2.0 * Upgraded API version to 2025-02-01 diff --git a/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md b/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md index 7e1fb4fca6ee..48a514d12bcf 100644 --- a/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md +++ b/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject.md @@ -27,7 +27,7 @@ Create an in-memory object for BgpServiceLoadBalancerConfiguration. ```powershell $ipAddressPools=New-AzNetworkCloudIpAddressPoolObject -Address @("198.51.102.0/24") -Name "pool1" -AutoAssign True -OnlyUseHostIP True -$serviceLoadBalancerBgpPeer=New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password password -PeerPort 1234 +$serviceLoadBalancerBgpPeer=New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password REDACTED -PeerPort 1234 $bgpAdvertisement=New-AzNetworkCloudBgpAdvertisementObject -IPAddressPool @("pool1","pool2") -AdvertiseToFabric "True" -Community @("communityString") -Peer @("peer1") diff --git a/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md b/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md index 246ff8dfcaa2..a5f7f2b6bda3 100644 --- a/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md +++ b/src/NetworkCloud/NetworkCloud/help/New-AzNetworkCloudServiceLoadBalancerBgpPeerObject.md @@ -26,13 +26,13 @@ Create an in-memory object for ServiceLoadBalancerBgpPeer. ### Example 1: Create an in-memory object for ServiceLoadBalancerBgpPeer. ```powershell -New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password password -PeerPort 1234 +New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password REDACTED -PeerPort 1234 ``` ```output BfdEnabled BgpMultiHop HoldTime KeepAliveTime MyAsn Name Password PeerAddress PeerAsn PeerPort ---------- ----------- -------- ------------- ----- ---- -------- ----------- ------- -------- -False False P300s P300s 64512 name password 203.0.113.254 64497 1234 +False False P300s P300s 64512 name REDACTED 203.0.113.254 64497 1234 ``` Create an in-memory object for ServiceLoadBalancerBgpPeer. diff --git a/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudBareMetalMachine.md b/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudBareMetalMachine.md index 261a35bc9932..5f1629911bbc 100644 --- a/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudBareMetalMachine.md +++ b/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudBareMetalMachine.md @@ -130,7 +130,7 @@ Accept wildcard characters: False ``` ### -MachineDetail -The details provided by the customer during the creation of rack manifeststhat allows for custom data to be associated with this machine. +The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine. ```yaml Type: System.String diff --git a/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudCluster.md b/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudCluster.md index 5c64db96f800..8e1e085bb99f 100644 --- a/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudCluster.md +++ b/src/NetworkCloud/NetworkCloud/help/Update-AzNetworkCloudCluster.md @@ -479,7 +479,7 @@ Accept wildcard characters: False ``` ### -ComputeRackDefinition -The list of rack definitions for the compute racks in a multi-rackcluster, or an empty list in a single-rack cluster. +The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster. To construct, see NOTES section for COMPUTERACKDEFINITION properties and create a hash table. ```yaml