From c8dbd56c0fd9e03164cda1eeeb7ce83d91af82fd Mon Sep 17 00:00:00 2001 From: Jinpei Li <v-jinpel@microsoft.com> Date: Thu, 24 Apr 2025 14:21:03 +0800 Subject: [PATCH 1/7] Az.EdgeOrder update generation tool version: autorest.powershell v3->v4 --- .../Properties/AssemblyInfo.cs | 26 ++++++ src/EdgeOrder/EdgeOrder.Autorest/README.md | 31 +++---- .../New-AzEdgeOrderContactDetailsObject.ps1 | 9 +- ...ew-AzEdgeOrderFilterablePropertyObject.ps1 | 13 +-- ...-AzEdgeOrderHierarchyInformationObject.ps1 | 9 +- .../New-AzEdgeOrderOrderItemDetailsObject.ps1 | 17 ++-- .../New-AzEdgeOrderPreferencesObject.ps1 | 17 ++-- .../New-AzEdgeOrderShippingAddressObject.ps1 | 13 +-- .../EdgeOrder.Autorest/docs/Az.EdgeOrder.md | 12 +-- .../docs/Get-AzEdgeOrder.md | 29 +++++- .../docs/Get-AzEdgeOrderAddress.md | 2 +- .../docs/Get-AzEdgeOrderConfiguration.md | 50 ++++++++++- .../docs/Get-AzEdgeOrderItem.md | 2 +- .../docs/Get-AzEdgeOrderProductFamily.md | 47 +++++++++- .../Get-AzEdgeOrderProductFamilyMetadata.md | 2 +- .../Invoke-AzEdgeOrderItemCancellation.md | 51 +++++++++-- .../docs/Invoke-AzEdgeOrderReturnOrderItem.md | 67 +++++++++++--- .../docs/New-AzEdgeOrderAddress.md | 65 +++++++++++--- .../New-AzEdgeOrderContactDetailsObject.md | 4 +- ...New-AzEdgeOrderFilterablePropertyObject.md | 9 +- ...w-AzEdgeOrderHierarchyInformationObject.md | 4 +- .../docs/New-AzEdgeOrderItem.md | 75 ++++++++++++---- .../New-AzEdgeOrderOrderItemDetailsObject.md | 14 ++- .../docs/New-AzEdgeOrderPreferencesObject.md | 16 ++-- .../New-AzEdgeOrderShippingAddressObject.md | 8 +- .../docs/Remove-AzEdgeOrderAddress.md | 1 - .../docs/Remove-AzEdgeOrderItem.md | 1 - .../docs/Update-AzEdgeOrderAddress.md | 69 +++++++++++--- .../docs/Update-AzEdgeOrderItem.md | 76 ++++++++++++---- .../EdgeOrder.Autorest/generate-info.json | 2 +- .../EdgeOrder.Autorest/resources/README.md | 11 +++ src/EdgeOrder/EdgeOrder.sln | 89 +++++++++++++++++-- src/EdgeOrder/EdgeOrder/Az.EdgeOrder.psd1 | 14 +-- src/EdgeOrder/EdgeOrder/ChangeLog.md | 1 + src/EdgeOrder/EdgeOrder/help/Az.EdgeOrder.md | 10 +-- .../EdgeOrder/help/Get-AzEdgeOrder.md | 29 +++++- .../EdgeOrder/help/Get-AzEdgeOrderAddress.md | 2 +- .../help/Get-AzEdgeOrderConfiguration.md | 50 ++++++++++- .../EdgeOrder/help/Get-AzEdgeOrderItem.md | 2 +- .../help/Get-AzEdgeOrderProductFamily.md | 47 +++++++++- .../Get-AzEdgeOrderProductFamilyMetadata.md | 2 +- .../Invoke-AzEdgeOrderItemCancellation.md | 53 +++++++++-- .../help/Invoke-AzEdgeOrderReturnOrderItem.md | 67 +++++++++++--- .../EdgeOrder/help/New-AzEdgeOrderAddress.md | 65 +++++++++++--- .../New-AzEdgeOrderContactDetailsObject.md | 4 +- ...New-AzEdgeOrderFilterablePropertyObject.md | 8 +- ...w-AzEdgeOrderHierarchyInformationObject.md | 4 +- .../EdgeOrder/help/New-AzEdgeOrderItem.md | 76 ++++++++++++---- .../New-AzEdgeOrderOrderItemDetailsObject.md | 14 ++- .../help/New-AzEdgeOrderPreferencesObject.md | 16 ++-- .../New-AzEdgeOrderShippingAddressObject.md | 8 +- .../help/Remove-AzEdgeOrderAddress.md | 1 - .../EdgeOrder/help/Remove-AzEdgeOrderItem.md | 1 - .../help/Update-AzEdgeOrderAddress.md | 69 +++++++++++--- .../EdgeOrder/help/Update-AzEdgeOrderItem.md | 76 ++++++++++++---- 55 files changed, 1136 insertions(+), 324 deletions(-) create mode 100644 src/EdgeOrder/EdgeOrder.Autorest/Properties/AssemblyInfo.cs create mode 100644 src/EdgeOrder/EdgeOrder.Autorest/resources/README.md diff --git a/src/EdgeOrder/EdgeOrder.Autorest/Properties/AssemblyInfo.cs b/src/EdgeOrder/EdgeOrder.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..07311253547b --- /dev/null +++ b/src/EdgeOrder/EdgeOrder.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 - EdgeOrder")] +[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/EdgeOrder/EdgeOrder.Autorest/README.md b/src/EdgeOrder/EdgeOrder.Autorest/README.md index e047e87a60e1..64e0037c6ef7 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/README.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/README.md @@ -45,21 +45,16 @@ title: EdgeOrder subject-prefix: $(service-name) inlining-threshold: 50 -# If there are post APIs for some kinds of actions in the RP, you may need to -# uncomment following line to support viaIdentity for these post APIs -# identity-correction-for-post: 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: # 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 #^Update$|^UpdateViaIdentity$|^UpdateViaIdentityExpanded$| - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^GetViaIdentity$|^Validate.*$|^Update$|^UpdateViaIdentity$|^CancelViaIdentity$|^Cancel$|^Return$|^ReturnViaIdentity$ + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^GetViaIdentity$|^Validate.*$|^CancelViaIdentity$|^Cancel$|^Return$|^ReturnViaIdentity$ remove: true # Remove the set-* cmdlet - where: @@ -104,12 +99,18 @@ directive: subject: OrderItemCancellation - model-cmdlet: - - OrderItemDetails - - ShippingAddress - - ContactDetails - - Preferences - - HierarchyInformation - - FilterableProperty + - model-name: OrderItemDetails + cmdlet-name: New-AzEdgeOrderOrderItemDetailsObject + - model-name: ShippingAddress + cmdlet-name: New-AzEdgeOrderShippingAddressObject + - model-name: ContactDetails + cmdlet-name: New-AzEdgeOrderContactDetailsObject + - model-name: Preferences + cmdlet-name: New-AzEdgeOrderPreferencesObject + - model-name: HierarchyInformation + cmdlet-name: New-AzEdgeOrderHierarchyInformationObject + - model-name: FilterableProperty + cmdlet-name: New-AzEdgeOrderFilterablePropertyObject ``` ``` yaml directive: diff --git a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderContactDetailsObject.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderContactDetailsObject.ps1 index a2153077fab9..023e9a520075 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderContactDetailsObject.ps1 +++ b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderContactDetailsObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for ContactDetails. Create an in-memory object for ContactDetails. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ContactDetails +Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ContactDetails .Link -https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderContactDetailsObject +https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeordercontactdetailsobject #> function New-AzEdgeOrderContactDetailsObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ContactDetails')] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ContactDetails')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -48,7 +49,7 @@ function New-AzEdgeOrderContactDetailsObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ContactDetails]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ContactDetails]::New() if ($PSBoundParameters.ContainsKey('ContactName')) { $Object.ContactName = $ContactName diff --git a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderFilterablePropertyObject.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderFilterablePropertyObject.ps1 index ab96797da98c..f17891378390 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderFilterablePropertyObject.ps1 +++ b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderFilterablePropertyObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for FilterableProperty. Create an in-memory object for FilterableProperty. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.FilterableProperty +Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.FilterableProperty .Link -https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderFilterablePropertyObject +https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderfilterablepropertyobject #> function New-AzEdgeOrderFilterablePropertyObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.FilterableProperty')] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.FilterableProperty')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -34,13 +35,13 @@ function New-AzEdgeOrderFilterablePropertyObject { [string[]] $SupportedValue, [Parameter(Mandatory, HelpMessage="Type of product filter.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.SupportedFilterTypes])] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.SupportedFilterTypes] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.PSArgumentCompleterAttribute("ShipToCountries", "DoubleEncryptionStatus")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.FilterableProperty]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.FilterableProperty]::New() if ($PSBoundParameters.ContainsKey('SupportedValue')) { $Object.SupportedValue = $SupportedValue diff --git a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderHierarchyInformationObject.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderHierarchyInformationObject.ps1 index ff3b701d7bea..7b54ab21347c 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderHierarchyInformationObject.ps1 +++ b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderHierarchyInformationObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for HierarchyInformation. Create an in-memory object for HierarchyInformation. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.HierarchyInformation +Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.HierarchyInformation .Link -https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderHierarchyInformationObject +https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderhierarchyinformationobject #> function New-AzEdgeOrderHierarchyInformationObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.HierarchyInformation')] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.HierarchyInformation')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -45,7 +46,7 @@ function New-AzEdgeOrderHierarchyInformationObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.HierarchyInformation]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.HierarchyInformation]::New() if ($PSBoundParameters.ContainsKey('ConfigurationName')) { $Object.ConfigurationName = $ConfigurationName diff --git a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderOrderItemDetailsObject.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderOrderItemDetailsObject.ps1 index 20b7297eedff..767de99573ea 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderOrderItemDetailsObject.ps1 +++ b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderOrderItemDetailsObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for OrderItemDetails. Create an in-memory object for OrderItemDetails. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.OrderItemDetails +Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.OrderItemDetails .Link -https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderOrderItemDetailsObject +https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderorderitemdetailsobject #> function New-AzEdgeOrderOrderItemDetailsObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.OrderItemDetails')] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.OrderItemDetails')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -34,19 +35,19 @@ function New-AzEdgeOrderOrderItemDetailsObject { [string[]] $NotificationEmailList, [Parameter(Mandatory, HelpMessage="Order item type.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.OrderItemType])] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.OrderItemType] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.PSArgumentCompleterAttribute("Purchase", "Rental")] + [string] $OrderItemType, [Parameter(HelpMessage="Customer notification Preferences.")] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IPreferences] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IPreferences] $Preference, [Parameter(Mandatory, HelpMessage="Unique identifier for configuration.")] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IProductDetails] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IProductDetails] $ProductDetail ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.OrderItemDetails]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.OrderItemDetails]::New() if ($PSBoundParameters.ContainsKey('NotificationEmailList')) { $Object.NotificationEmailList = $NotificationEmailList diff --git a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderPreferencesObject.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderPreferencesObject.ps1 index 62ef5a4a9130..13773c9466c9 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderPreferencesObject.ps1 +++ b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderPreferencesObject.ps1 @@ -21,31 +21,32 @@ Create an in-memory object for Preferences. Create an in-memory object for Preferences. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.Preferences +Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Preferences .Link -https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderPreferencesObject +https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderpreferencesobject #> function New-AzEdgeOrderPreferencesObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.Preferences')] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Preferences')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(HelpMessage="Preferences related to the Encryption.")] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IEncryptionPreferences] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IEncryptionPreferences] $EncryptionPreference, [Parameter(HelpMessage="Preferences related to the Management resource.")] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IManagementResourcePreferences] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IManagementResourcePreferences] $ManagementResourcePreference, [Parameter(HelpMessage="Notification preferences.")] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.INotificationPreference[]] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.INotificationPreference[]] $NotificationPreference, [Parameter(HelpMessage="Preferences related to the shipment logistics of the order.")] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ITransportPreferences] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ITransportPreferences] $TransportPreference ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.Preferences]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Preferences]::New() if ($PSBoundParameters.ContainsKey('EncryptionPreference')) { $Object.EncryptionPreference = $EncryptionPreference diff --git a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderShippingAddressObject.ps1 b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderShippingAddressObject.ps1 index c517c57fcde3..62ae65141fa7 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderShippingAddressObject.ps1 +++ b/src/EdgeOrder/EdgeOrder.Autorest/custom/autogen-model-cmdlets/New-AzEdgeOrderShippingAddressObject.ps1 @@ -21,18 +21,19 @@ Create an in-memory object for ShippingAddress. Create an in-memory object for ShippingAddress. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ShippingAddress +Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ShippingAddress .Link -https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderShippingAddressObject +https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeordershippingaddressobject #> function New-AzEdgeOrderShippingAddressObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ShippingAddress')] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ShippingAddress')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(HelpMessage="Type of address.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.AddressType])] - [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.AddressType] + [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.PSArgumentCompleterAttribute("None", "Residential", "Commercial")] + [string] $AddressType, [Parameter(HelpMessage="Name of the City.")] [string] @@ -64,7 +65,7 @@ function New-AzEdgeOrderShippingAddressObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ShippingAddress]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ShippingAddress]::New() if ($PSBoundParameters.ContainsKey('AddressType')) { $Object.AddressType = $AddressType diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md index abf0a79b9c35..e3d1c4e12f57 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md @@ -1,6 +1,6 @@ --- Module Name: Az.EdgeOrder -Module Guid: ffbed74a-2473-42d2-95fc-73adffd13d49 +Module Guid: 8a35b842-8603-4154-a4d2-eab8396d1742 Download Help Link: https://learn.microsoft.com/powershell/module/az.edgeorder Help Version: 1.0.0.0 Locale: en-US @@ -36,7 +36,7 @@ Cancel order item. Return order item. ### [New-AzEdgeOrderAddress](New-AzEdgeOrderAddress.md) -Creates a new address with the specified parameters. +create a new address with the specified parameters. Existing address can be updated with this API ### [New-AzEdgeOrderContactDetailsObject](New-AzEdgeOrderContactDetailsObject.md) @@ -49,8 +49,8 @@ Create an in-memory object for FilterableProperty. Create an in-memory object for HierarchyInformation. ### [New-AzEdgeOrderItem](New-AzEdgeOrderItem.md) -Creates an order item. -Existing order item cannot be updated with this api and should instead be updated with the Update order item API. +create an order item. +Existing order item cannot be updated with this api and should instead be updated with the create order item API. ### [New-AzEdgeOrderOrderItemDetailsObject](New-AzEdgeOrderOrderItemDetailsObject.md) Create an in-memory object for OrderItemDetails. @@ -68,8 +68,8 @@ Deletes an address. Deletes an order item. ### [Update-AzEdgeOrderAddress](Update-AzEdgeOrderAddress.md) -Updates the properties of an existing address. +update the properties of an existing address. ### [Update-AzEdgeOrderItem](Update-AzEdgeOrderItem.md) -Updates the properties of an existing order item. +update the properties of an existing order item. diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrder.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrder.md index b6ad3bcf1227..707a3c521dd4 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrder.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrder.md @@ -23,6 +23,12 @@ Get-AzEdgeOrder -Location <String> -Name <String> -ResourceGroupName <String> [- [-DefaultProfile <PSObject>] [<CommonParameters>] ``` +### GetViaIdentityOrder +``` +Get-AzEdgeOrder -Location <String> -OrderInputObject <IEdgeOrderIdentity> [-DefaultProfile <PSObject>] + [<CommonParameters>] +``` + ### List1 ``` Get-AzEdgeOrder -ResourceGroupName <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] @@ -78,7 +84,7 @@ The name of Azure region. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityOrder Aliases: Required: True @@ -103,6 +109,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -OrderInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IEdgeOrderIdentity +Parameter Sets: GetViaIdentityOrder +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -124,7 +145,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: Get, List, List1 Aliases: Required: False @@ -139,9 +160,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IEdgeOrderIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderAddress.md index ffc609b9dc4b..cd9344e99210 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderAddress.md @@ -163,7 +163,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IAddressResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IAddressResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderConfiguration.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderConfiguration.md index 0731f2bbcf40..103785b61fb0 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderConfiguration.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderConfiguration.md @@ -12,11 +12,24 @@ This method provides the list of configurations for the given product family, pr ## SYNTAX +### ListExpanded (Default) ``` Get-AzEdgeOrderConfiguration -ConfigurationFilter <IConfigurationFilters[]> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### ListViaJsonFilePath +``` +Get-AzEdgeOrderConfiguration -JsonFilePath <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] + [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### ListViaJsonString +``` +Get-AzEdgeOrderConfiguration -JsonString <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] + [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION This method provides the list of configurations for the given product family, product line and product under subscription. @@ -64,11 +77,10 @@ Make sure you run registerProvider on Microsoft.EdgeOrder before running this co ### -ConfigurationFilter Holds details about product hierarchy information and filterable property. -To construct, see NOTES section for CONFIGURATIONFILTER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IConfigurationFilters[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IConfigurationFilters[] +Parameter Sets: ListExpanded Aliases: Required: True @@ -94,6 +106,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. @@ -147,7 +189,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IConfiguration +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IConfiguration ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md index 13f376109fda..dab6a33f9839 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderItem.md @@ -165,7 +165,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamily.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamily.md index eeb80051aebe..31eec1bfd9ba 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamily.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamily.md @@ -12,11 +12,24 @@ This method provides the list of product families for the given subscription. ## SYNTAX +### ListExpanded (Default) ``` Get-AzEdgeOrderProductFamily -FilterableProperty <Hashtable> [-SubscriptionId <String[]>] [-Expand <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### ListViaJsonFilePath +``` +Get-AzEdgeOrderProductFamily -JsonFilePath <String> [-SubscriptionId <String[]>] [-Expand <String>] + [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### ListViaJsonString +``` +Get-AzEdgeOrderProductFamily -JsonString <String> [-SubscriptionId <String[]>] [-Expand <String>] + [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION This method provides the list of product families for the given subscription. @@ -78,7 +91,37 @@ Dictionary of filterable properties on product family. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: ListExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString Aliases: Required: True @@ -141,7 +184,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IProductFamily +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IProductFamily ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamilyMetadata.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamilyMetadata.md index 31d2bd811bae..f6a3579b3895 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamilyMetadata.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Get-AzEdgeOrderProductFamilyMetadata.md @@ -112,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IProductFamiliesMetadataDetails +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IProductFamiliesMetadataDetails ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderItemCancellation.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderItemCancellation.md index 28d4f5d8f6ab..3b1e9bf58f83 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderItemCancellation.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderItemCancellation.md @@ -24,6 +24,18 @@ Invoke-AzEdgeOrderItemCancellation -InputObject <IEdgeOrderIdentity> -Reason <St [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### CancelViaJsonFilePath +``` +Invoke-AzEdgeOrderItemCancellation -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### CancelViaJsonString +``` +Invoke-AzEdgeOrderItemCancellation -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION Cancel order item. @@ -56,7 +68,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -70,12 +81,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Cancel operation + +```yaml +Type: System.String +Parameter Sets: CancelViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Cancel operation + +```yaml +Type: System.String +Parameter Sets: CancelViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the order item ```yaml Type: System.String -Parameter Sets: CancelExpanded +Parameter Sets: CancelExpanded, CancelViaJsonFilePath, CancelViaJsonString Aliases: OrderItemName Required: True @@ -105,7 +146,7 @@ Reason for cancellation. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CancelExpanded, CancelViaIdentityExpanded Aliases: Required: True @@ -121,7 +162,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: CancelExpanded +Parameter Sets: CancelExpanded, CancelViaJsonFilePath, CancelViaJsonString Aliases: Required: True @@ -136,7 +177,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: CancelExpanded +Parameter Sets: CancelExpanded, CancelViaJsonFilePath, CancelViaJsonString Aliases: Required: False diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderReturnOrderItem.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderReturnOrderItem.md index 7cb705ffc7bb..0dd82d32c9db 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderReturnOrderItem.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Invoke-AzEdgeOrderReturnOrderItem.md @@ -28,6 +28,20 @@ Invoke-AzEdgeOrderReturnOrderItem -InputObject <IEdgeOrderIdentity> -ReturnReaso [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### ReturnViaJsonFilePath +``` +Invoke-AzEdgeOrderReturnOrderItem -OrderItemName <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### ReturnViaJsonString +``` +Invoke-AzEdgeOrderReturnOrderItem -OrderItemName <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + ## DESCRIPTION Return order item. @@ -75,7 +89,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -89,6 +102,36 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Return operation + +```yaml +Type: System.String +Parameter Sets: ReturnViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Return operation + +```yaml +Type: System.String +Parameter Sets: ReturnViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -109,7 +152,7 @@ The name of the order item ```yaml Type: System.String -Parameter Sets: ReturnExpanded +Parameter Sets: ReturnExpanded, ReturnViaJsonFilePath, ReturnViaJsonString Aliases: Required: True @@ -140,7 +183,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: ReturnExpanded +Parameter Sets: ReturnExpanded, ReturnViaJsonFilePath, ReturnViaJsonString Aliases: Required: True @@ -152,11 +195,10 @@ Accept wildcard characters: False ### -ReturnAddressContactDetail Contact details for the address -To construct, see NOTES section for RETURNADDRESSCONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -168,11 +210,10 @@ Accept wildcard characters: False ### -ReturnAddressShippingAddress Shipping details for the address -To construct, see NOTES section for RETURNADDRESSSHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -187,7 +228,7 @@ Return Reason. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: True @@ -202,7 +243,7 @@ Service tag (located on the bottom-right corner of the device) ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -217,7 +258,7 @@ Shipping Box required ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -232,7 +273,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: ReturnExpanded +Parameter Sets: ReturnExpanded, ReturnViaJsonFilePath, ReturnViaJsonString Aliases: Required: False diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderAddress.md index 9b138b2a30c7..28e4baa09823 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderAddress.md @@ -8,19 +8,34 @@ schema: 2.0.0 # New-AzEdgeOrderAddress ## SYNOPSIS -Creates a new address with the specified parameters. +create a new address with the specified parameters. Existing address can be updated with this API ## SYNTAX +### CreateExpanded (Default) ``` New-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> -ContactDetail <IContactDetails> -Location <String> [-SubscriptionId <String>] [-ShippingAddress <IShippingAddress>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### CreateViaJsonFilePath +``` +New-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + ## DESCRIPTION -Creates a new address with the specified parameters. +create a new address with the specified parameters. Existing address can be updated with this API ## EXAMPLES @@ -78,11 +93,10 @@ Accept wildcard characters: False ### -ContactDetail Contact details for the address -To construct, see NOTES section for CONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: CreateExpanded Aliases: Required: True @@ -108,12 +122,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 @@ -172,11 +216,10 @@ Accept wildcard characters: False ### -ShippingAddress Shipping details for the address -To construct, see NOTES section for SHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: CreateExpanded Aliases: Required: False @@ -206,7 +249,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -254,7 +297,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IAddressResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IAddressResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderContactDetailsObject.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderContactDetailsObject.md index 692da4bb4355..7216f83134d2 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderContactDetailsObject.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderContactDetailsObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderContactDetailsObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeordercontactdetailsobject schema: 2.0.0 --- @@ -121,7 +121,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ContactDetails +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ContactDetails ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderFilterablePropertyObject.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderFilterablePropertyObject.md index 37a09594f41b..6040476113d1 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderFilterablePropertyObject.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderFilterablePropertyObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderFilterablePropertyObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderfilterablepropertyobject schema: 2.0.0 --- @@ -13,8 +13,7 @@ Create an in-memory object for FilterableProperty. ## SYNTAX ``` -New-AzEdgeOrderFilterablePropertyObject -SupportedValue <String[]> -Type <SupportedFilterTypes> - [<CommonParameters>] +New-AzEdgeOrderFilterablePropertyObject -SupportedValue <String[]> -Type <String> [<CommonParameters>] ``` ## DESCRIPTION @@ -56,7 +55,7 @@ Accept wildcard characters: False Type of product filter. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.SupportedFilterTypes +Type: System.String Parameter Sets: (All) Aliases: @@ -74,7 +73,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.FilterableProperty +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.FilterableProperty ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderHierarchyInformationObject.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderHierarchyInformationObject.md index 5aed20d40325..bd678cc39d84 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderHierarchyInformationObject.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderHierarchyInformationObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderHierarchyInformationObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderhierarchyinformationobject schema: 2.0.0 --- @@ -106,7 +106,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.HierarchyInformation +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.HierarchyInformation ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderItem.md index 13de43019baa..5cc60d96a877 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderItem.md @@ -8,11 +8,12 @@ schema: 2.0.0 # New-AzEdgeOrderItem ## SYNOPSIS -Creates an order item. -Existing order item cannot be updated with this api and should instead be updated with the Update order item API. +create an order item. +Existing order item cannot be updated with this api and should instead be updated with the create order item API. ## SYNTAX +### CreateExpanded (Default) ``` New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> -ForwardAddressContactDetail <IContactDetails> -Location <String> -OrderId <String> -OrderItemDetail <IOrderItemDetails> [-SubscriptionId <String>] @@ -20,9 +21,22 @@ New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> -ForwardAddressCo [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### CreateViaJsonFilePath +``` +New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> -JsonString <String> [-SubscriptionId <String>] + [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION -Creates an order item. -Existing order item cannot be updated with this api and should instead be updated with the Update order item API. +create an order item. +Existing order item cannot be updated with this api and should instead be updated with the create order item API. ## EXAMPLES @@ -125,11 +139,10 @@ Accept wildcard characters: False ### -ForwardAddressContactDetail Contact details for the address -To construct, see NOTES section for FORWARDADDRESSCONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: CreateExpanded Aliases: Required: True @@ -141,11 +154,10 @@ Accept wildcard characters: False ### -ForwardShippingAddress Shipping details for the address -To construct, see NOTES section for FORWARDSHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: CreateExpanded Aliases: Required: False @@ -155,12 +167,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 @@ -205,7 +247,7 @@ Id of the order to which order item belongs to ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -217,11 +259,10 @@ Accept wildcard characters: False ### -OrderItemDetail Represents order item details. -To construct, see NOTES section for ORDERITEMDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemDetails +Parameter Sets: CreateExpanded Aliases: Required: True @@ -267,7 +308,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -315,7 +356,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderOrderItemDetailsObject.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderOrderItemDetailsObject.md index a259f1010e08..9bdaf9e15f17 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderOrderItemDetailsObject.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderOrderItemDetailsObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderOrderItemDetailsObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderorderitemdetailsobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for OrderItemDetails. ## SYNTAX ``` -New-AzEdgeOrderOrderItemDetailsObject -OrderItemType <OrderItemType> -ProductDetail <IProductDetails> +New-AzEdgeOrderOrderItemDetailsObject -OrderItemType <String> -ProductDetail <IProductDetails> [-NotificationEmailList <String[]>] [-Preference <IPreferences>] [<CommonParameters>] ``` @@ -51,7 +51,7 @@ Accept wildcard characters: False Order item type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.OrderItemType +Type: System.String Parameter Sets: (All) Aliases: @@ -64,10 +64,9 @@ Accept wildcard characters: False ### -Preference Customer notification Preferences. -To construct, see NOTES section for PREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IPreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IPreferences Parameter Sets: (All) Aliases: @@ -80,10 +79,9 @@ Accept wildcard characters: False ### -ProductDetail Unique identifier for configuration. -To construct, see NOTES section for PRODUCTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IProductDetails +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IProductDetails Parameter Sets: (All) Aliases: @@ -101,7 +99,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.OrderItemDetails +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.OrderItemDetails ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderPreferencesObject.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderPreferencesObject.md index 2d947d72b7a6..84d625c7876b 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderPreferencesObject.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderPreferencesObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderPreferencesObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderpreferencesobject schema: 2.0.0 --- @@ -35,10 +35,9 @@ Creates a in-memory preference object to set transport, encryption and managemen ### -EncryptionPreference Preferences related to the Encryption. -To construct, see NOTES section for ENCRYPTIONPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IEncryptionPreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IEncryptionPreferences Parameter Sets: (All) Aliases: @@ -51,10 +50,9 @@ Accept wildcard characters: False ### -ManagementResourcePreference Preferences related to the Management resource. -To construct, see NOTES section for MANAGEMENTRESOURCEPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IManagementResourcePreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IManagementResourcePreferences Parameter Sets: (All) Aliases: @@ -67,10 +65,9 @@ Accept wildcard characters: False ### -NotificationPreference Notification preferences. -To construct, see NOTES section for NOTIFICATIONPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.INotificationPreference[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.INotificationPreference[] Parameter Sets: (All) Aliases: @@ -83,10 +80,9 @@ Accept wildcard characters: False ### -TransportPreference Preferences related to the shipment logistics of the order. -To construct, see NOTES section for TRANSPORTPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ITransportPreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ITransportPreferences Parameter Sets: (All) Aliases: @@ -104,7 +100,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.Preferences +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Preferences ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderShippingAddressObject.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderShippingAddressObject.md index fd7e138e5948..248ae3573655 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderShippingAddressObject.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/New-AzEdgeOrderShippingAddressObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderShippingAddressObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeordershippingaddressobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for ShippingAddress. ## SYNTAX ``` -New-AzEdgeOrderShippingAddressObject -Country <String> -StreetAddress1 <String> [-AddressType <AddressType>] +New-AzEdgeOrderShippingAddressObject -Country <String> -StreetAddress1 <String> [-AddressType <String>] [-City <String>] [-CompanyName <String>] [-PostalCode <String>] [-StateOrProvince <String>] [-StreetAddress2 <String>] [-StreetAddress3 <String>] [-ZipExtendedCode <String>] [<CommonParameters>] ``` @@ -51,7 +51,7 @@ Creates a in-memory shipping address object Type of address. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.AddressType +Type: System.String Parameter Sets: (All) Aliases: @@ -204,7 +204,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ShippingAddress +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ShippingAddress ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderAddress.md index b3ac67d7110b..a819715f54eb 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderAddress.md @@ -71,7 +71,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.EdgeOrder.Models.IEdgeOrderIdentity diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderItem.md index 5f1eb9f0b17e..ba3d5196d50f 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Remove-AzEdgeOrderItem.md @@ -71,7 +71,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.EdgeOrder.Models.IEdgeOrderIdentity diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderAddress.md index 2f94e4d9a969..648ce8e55879 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderAddress.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzEdgeOrderAddress ## SYNOPSIS -Updates the properties of an existing address. +update the properties of an existing address. ## SYNTAX @@ -26,8 +26,22 @@ Update-AzEdgeOrderAddress -InputObject <IEdgeOrderIdentity> [-ContactDetail <ICo [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### UpdateViaJsonFilePath +``` +Update-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### UpdateViaJsonString +``` +Update-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + ## DESCRIPTION -Updates the properties of an existing address. +update the properties of an existing address. ## EXAMPLES @@ -75,11 +89,10 @@ Accept wildcard characters: False ### -ContactDetail Contact details for the address -To construct, see NOTES section for CONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -107,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -121,13 +133,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 +``` + ### -Name The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: AddressName Required: True @@ -158,7 +200,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -170,11 +212,10 @@ Accept wildcard characters: False ### -ShippingAddress Shipping details for the address -To construct, see NOTES section for SHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -189,7 +230,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -205,7 +246,7 @@ These tags can be used in viewing and grouping this resource (across resource gr ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -255,7 +296,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IAddressResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IAddressResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderItem.md index 87bd21579b75..8b20bc7268c3 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Update-AzEdgeOrderItem.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzEdgeOrderItem ## SYNOPSIS -Updates the properties of an existing order item. +update the properties of an existing order item. ## SYNTAX @@ -28,8 +28,22 @@ Update-AzEdgeOrderItem -InputObject <IEdgeOrderIdentity> [-ForwardAddressContact [-WhatIf] [<CommonParameters>] ``` +### UpdateViaJsonFilePath +``` +Update-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### UpdateViaJsonString +``` +Update-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + ## DESCRIPTION -Updates the properties of an existing order item. +update the properties of an existing order item. ## EXAMPLES @@ -98,11 +112,10 @@ Accept wildcard characters: False ### -ForwardAddressContactDetail Contact details for the address -To construct, see NOTES section for FORWARDADDRESSCONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -114,11 +127,10 @@ Accept wildcard characters: False ### -ForwardAddressShippingAddress Shipping details for the address -To construct, see NOTES section for FORWARDADDRESSSHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -130,7 +142,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -144,12 +155,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 +``` + ### -Name The name of the order item ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: OrderItemName Required: True @@ -164,7 +205,7 @@ Additional notification email list. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -191,11 +232,10 @@ Accept wildcard characters: False ### -Preference Customer preference. -To construct, see NOTES section for PREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IPreferences -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IPreferences +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -211,7 +251,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -226,7 +266,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -242,7 +282,7 @@ These tags can be used in viewing and grouping this resource (across resource gr ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -292,7 +332,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json b/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json index 2ef4031815d2..5a5c435dd93d 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json +++ b/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "b45fe19e-4059-4c10-a928-d60c438d7b1f" + "generate_Id": "3b0ad17a-4512-4feb-865a-85765b36cead" } diff --git a/src/EdgeOrder/EdgeOrder.Autorest/resources/README.md b/src/EdgeOrder/EdgeOrder.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/EdgeOrder/EdgeOrder.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/EdgeOrder/EdgeOrder.sln b/src/EdgeOrder/EdgeOrder.sln index e6c3666731a2..096a36fdffcb 100644 --- a/src/EdgeOrder/EdgeOrder.sln +++ b/src/EdgeOrder/EdgeOrder.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}") = "EdgeOrder", "EdgeOrder\EdgeOrder.csproj", "{A274AC6B-D42A-47BC-88B1-88C7B9BC782C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EdgeOrder", "..\..\generated\EdgeOrder\EdgeOrder.Autorest\Az.EdgeOrder.csproj", "{E4263649-3BFC-4023-A87B-9EE22DE94FC8}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EdgeOrder.Autorest", "EdgeOrder.Autorest", "{DC00AF37-ACBC-3729-5FE2-14F16AF458A0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EdgeOrder", "..\..\generated\EdgeOrder\EdgeOrder.Autorest\Az.EdgeOrder.csproj", "{5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}" 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 {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Debug|x64.ActiveCfg = Debug|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Debug|x64.Build.0 = Debug|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Debug|x86.ActiveCfg = Debug|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Debug|x86.Build.0 = Debug|Any CPU {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Release|Any CPU.ActiveCfg = Release|Any CPU {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Release|Any CPU.Build.0 = Release|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Release|x64.ActiveCfg = Release|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Release|x64.Build.0 = Release|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Release|x86.ActiveCfg = Release|Any CPU + {7C2BFC09-AB0B-4063-AE7D-104A100606A4}.Release|x86.Build.0 = Release|Any CPU {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Debug|x64.ActiveCfg = Debug|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Debug|x64.Build.0 = Debug|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Debug|x86.ActiveCfg = Debug|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Debug|x86.Build.0 = Debug|Any CPU {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Release|Any CPU.ActiveCfg = Release|Any CPU {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Release|Any CPU.Build.0 = Release|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Release|x64.ActiveCfg = Release|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Release|x64.Build.0 = Release|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Release|x86.ActiveCfg = Release|Any CPU + {ABD7A7E3-BDDF-45CE-AE4C-5396A1D0F383}.Release|x86.Build.0 = Release|Any CPU {894E88CB-8071-476F-BA0E-A3665FF7942B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {894E88CB-8071-476F-BA0E-A3665FF7942B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Debug|x64.ActiveCfg = Debug|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Debug|x64.Build.0 = Debug|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Debug|x86.ActiveCfg = Debug|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Debug|x86.Build.0 = Debug|Any CPU {894E88CB-8071-476F-BA0E-A3665FF7942B}.Release|Any CPU.ActiveCfg = Release|Any CPU {894E88CB-8071-476F-BA0E-A3665FF7942B}.Release|Any CPU.Build.0 = Release|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Release|x64.ActiveCfg = Release|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Release|x64.Build.0 = Release|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Release|x86.ActiveCfg = Release|Any CPU + {894E88CB-8071-476F-BA0E-A3665FF7942B}.Release|x86.Build.0 = Release|Any CPU {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Debug|x64.ActiveCfg = Debug|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Debug|x64.Build.0 = Debug|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Debug|x86.ActiveCfg = Debug|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Debug|x86.Build.0 = Debug|Any CPU {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Release|Any CPU.ActiveCfg = Release|Any CPU {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Release|Any CPU.Build.0 = Release|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Release|x64.ActiveCfg = Release|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Release|x64.Build.0 = Release|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Release|x86.ActiveCfg = Release|Any CPU + {DFC42D72-565A-48DE-97C9-A55A718B8DD1}.Release|x86.Build.0 = Release|Any CPU {B9E34B74-B316-466E-A91E-659416F2E327}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B9E34B74-B316-466E-A91E-659416F2E327}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Debug|x64.ActiveCfg = Debug|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Debug|x64.Build.0 = Debug|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Debug|x86.ActiveCfg = Debug|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Debug|x86.Build.0 = Debug|Any CPU {B9E34B74-B316-466E-A91E-659416F2E327}.Release|Any CPU.ActiveCfg = Release|Any CPU {B9E34B74-B316-466E-A91E-659416F2E327}.Release|Any CPU.Build.0 = Release|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Release|x64.ActiveCfg = Release|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Release|x64.Build.0 = Release|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Release|x86.ActiveCfg = Release|Any CPU + {B9E34B74-B316-466E-A91E-659416F2E327}.Release|x86.Build.0 = Release|Any CPU {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Debug|x64.ActiveCfg = Debug|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Debug|x64.Build.0 = Debug|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Debug|x86.ActiveCfg = Debug|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Debug|x86.Build.0 = Debug|Any CPU {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Release|Any CPU.ActiveCfg = Release|Any CPU {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Release|Any CPU.Build.0 = Release|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Release|x64.ActiveCfg = Release|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Release|x64.Build.0 = Release|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Release|x86.ActiveCfg = Release|Any CPU + {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4}.Release|x86.Build.0 = Release|Any CPU {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Debug|x64.ActiveCfg = Debug|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Debug|x64.Build.0 = Debug|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Debug|x86.ActiveCfg = Debug|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Debug|x86.Build.0 = Debug|Any CPU {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|Any CPU.ActiveCfg = Release|Any CPU {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|Any CPU.Build.0 = Release|Any CPU - {E4263649-3BFC-4023-A87B-9EE22DE94FC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E4263649-3BFC-4023-A87B-9EE22DE94FC8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E4263649-3BFC-4023-A87B-9EE22DE94FC8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E4263649-3BFC-4023-A87B-9EE22DE94FC8}.Release|Any CPU.Build.0 = Release|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|x64.ActiveCfg = Release|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|x64.Build.0 = Release|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|x86.ActiveCfg = Release|Any CPU + {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|x86.Build.0 = Release|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x64.ActiveCfg = Debug|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x64.Build.0 = Debug|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x86.ActiveCfg = Debug|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x86.Build.0 = Debug|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|Any CPU.Build.0 = Release|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x64.ActiveCfg = Release|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x64.Build.0 = Release|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x86.ActiveCfg = Release|Any CPU + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {7C2BFC09-AB0B-4063-AE7D-104A100606A4} = {8EDA1268-1F73-48A0-B1D4-35B9F0637856} @@ -70,5 +140,6 @@ Global {DFC42D72-565A-48DE-97C9-A55A718B8DD1} = {8EDA1268-1F73-48A0-B1D4-35B9F0637856} {B9E34B74-B316-466E-A91E-659416F2E327} = {8EDA1268-1F73-48A0-B1D4-35B9F0637856} {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4} = {8EDA1268-1F73-48A0-B1D4-35B9F0637856} + {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865} = {DC00AF37-ACBC-3729-5FE2-14F16AF458A0} EndGlobalSection EndGlobal diff --git a/src/EdgeOrder/EdgeOrder/Az.EdgeOrder.psd1 b/src/EdgeOrder/EdgeOrder/Az.EdgeOrder.psd1 index 5128ab7fa657..5b3c7146a300 100644 --- a/src/EdgeOrder/EdgeOrder/Az.EdgeOrder.psd1 +++ b/src/EdgeOrder/EdgeOrder/Az.EdgeOrder.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-04-24 # @{ @@ -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 = 'EdgeOrder.Autorest/bin/Az.EdgeOrder.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 = 'EdgeOrder.Autorest\Az.EdgeOrder.format.ps1xml' +FormatsToProcess = 'EdgeOrder.Autorest/Az.EdgeOrder.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('EdgeOrder.Autorest/Az.EdgeOrder.psm1') @@ -108,7 +108,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','EdgeOrder' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'EdgeOrder' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -133,7 +133,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/EdgeOrder/EdgeOrder/ChangeLog.md b/src/EdgeOrder/EdgeOrder/ChangeLog.md index 1be21f875741..e2246c1e74c4 100644 --- a/src/EdgeOrder/EdgeOrder/ChangeLog.md +++ b/src/EdgeOrder/EdgeOrder/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/EdgeOrder/EdgeOrder/help/Az.EdgeOrder.md b/src/EdgeOrder/EdgeOrder/help/Az.EdgeOrder.md index abf0a79b9c35..a0850616f97f 100644 --- a/src/EdgeOrder/EdgeOrder/help/Az.EdgeOrder.md +++ b/src/EdgeOrder/EdgeOrder/help/Az.EdgeOrder.md @@ -36,7 +36,7 @@ Cancel order item. Return order item. ### [New-AzEdgeOrderAddress](New-AzEdgeOrderAddress.md) -Creates a new address with the specified parameters. +create a new address with the specified parameters. Existing address can be updated with this API ### [New-AzEdgeOrderContactDetailsObject](New-AzEdgeOrderContactDetailsObject.md) @@ -49,8 +49,8 @@ Create an in-memory object for FilterableProperty. Create an in-memory object for HierarchyInformation. ### [New-AzEdgeOrderItem](New-AzEdgeOrderItem.md) -Creates an order item. -Existing order item cannot be updated with this api and should instead be updated with the Update order item API. +create an order item. +Existing order item cannot be updated with this api and should instead be updated with the create order item API. ### [New-AzEdgeOrderOrderItemDetailsObject](New-AzEdgeOrderOrderItemDetailsObject.md) Create an in-memory object for OrderItemDetails. @@ -68,8 +68,8 @@ Deletes an address. Deletes an order item. ### [Update-AzEdgeOrderAddress](Update-AzEdgeOrderAddress.md) -Updates the properties of an existing address. +update the properties of an existing address. ### [Update-AzEdgeOrderItem](Update-AzEdgeOrderItem.md) -Updates the properties of an existing order item. +update the properties of an existing order item. diff --git a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrder.md b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrder.md index fe015f999142..004f5587a37d 100644 --- a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrder.md +++ b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrder.md @@ -18,6 +18,12 @@ Get-AzEdgeOrder [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [<CommonParameters>] ``` +### GetViaIdentityOrder +``` +Get-AzEdgeOrder -Location <String> -OrderInputObject <IEdgeOrderIdentity> [-DefaultProfile <PSObject>] + [<CommonParameters>] +``` + ### Get ``` Get-AzEdgeOrder -Location <String> -Name <String> -ResourceGroupName <String> [-SubscriptionId <String[]>] @@ -79,7 +85,7 @@ The name of Azure region. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: GetViaIdentityOrder, Get Aliases: Required: True @@ -104,6 +110,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -OrderInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IEdgeOrderIdentity +Parameter Sets: GetViaIdentityOrder +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -125,7 +146,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: List, Get, List1 Aliases: Required: False @@ -140,9 +161,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IEdgeOrderIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderAddress.md index ac1687cd224d..e174b2d10516 100644 --- a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderAddress.md @@ -163,7 +163,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IAddressResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IAddressResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderConfiguration.md b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderConfiguration.md index 231e0df8d5e6..05cabb256801 100644 --- a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderConfiguration.md +++ b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderConfiguration.md @@ -12,11 +12,24 @@ This method provides the list of configurations for the given product family, pr ## SYNTAX +### ListExpanded (Default) ``` Get-AzEdgeOrderConfiguration [-SubscriptionId <String[]>] -ConfigurationFilter <IConfigurationFilters[]> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### ListViaJsonFilePath +``` +Get-AzEdgeOrderConfiguration [-SubscriptionId <String[]>] -JsonFilePath <String> [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### ListViaJsonString +``` +Get-AzEdgeOrderConfiguration [-SubscriptionId <String[]>] -JsonString <String> [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ## DESCRIPTION This method provides the list of configurations for the given product family, product line and product under subscription. @@ -64,11 +77,10 @@ Make sure you run registerProvider on Microsoft.EdgeOrder before running this co ### -ConfigurationFilter Holds details about product hierarchy information and filterable property. -To construct, see NOTES section for CONFIGURATIONFILTER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IConfigurationFilters[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IConfigurationFilters[] +Parameter Sets: ListExpanded Aliases: Required: True @@ -94,6 +106,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. @@ -147,7 +189,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IConfiguration +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IConfiguration ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderItem.md index f55f3eb1678f..1a0dd2f84c96 100644 --- a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderItem.md @@ -165,7 +165,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamily.md b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamily.md index 7b648156973e..655f2b203edc 100644 --- a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamily.md +++ b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamily.md @@ -12,11 +12,24 @@ This method provides the list of product families for the given subscription. ## SYNTAX +### ListExpanded (Default) ``` Get-AzEdgeOrderProductFamily [-SubscriptionId <String[]>] [-Expand <String>] -FilterableProperty <Hashtable> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### ListViaJsonFilePath +``` +Get-AzEdgeOrderProductFamily [-SubscriptionId <String[]>] [-Expand <String>] -JsonFilePath <String> + [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### ListViaJsonString +``` +Get-AzEdgeOrderProductFamily [-SubscriptionId <String[]>] [-Expand <String>] -JsonString <String> + [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ## DESCRIPTION This method provides the list of product families for the given subscription. @@ -78,7 +91,37 @@ Dictionary of filterable properties on product family. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: ListExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString Aliases: Required: True @@ -141,7 +184,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IProductFamily +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IProductFamily ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamilyMetadata.md b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamilyMetadata.md index c9a2f36e50d4..2465cc18a962 100644 --- a/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamilyMetadata.md +++ b/src/EdgeOrder/EdgeOrder/help/Get-AzEdgeOrderProductFamilyMetadata.md @@ -112,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IProductFamiliesMetadataDetails +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IProductFamiliesMetadataDetails ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderItemCancellation.md b/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderItemCancellation.md index 36c875666618..72cb4fda5cf3 100644 --- a/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderItemCancellation.md +++ b/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderItemCancellation.md @@ -19,6 +19,20 @@ Invoke-AzEdgeOrderItemCancellation -Name <String> -ResourceGroupName <String> [- [-Confirm] [<CommonParameters>] ``` +### CancelViaJsonString +``` +Invoke-AzEdgeOrderItemCancellation -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-PassThru] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + +### CancelViaJsonFilePath +``` +Invoke-AzEdgeOrderItemCancellation -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-PassThru] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + ### CancelViaIdentityExpanded ``` Invoke-AzEdgeOrderItemCancellation -InputObject <IEdgeOrderIdentity> -Reason <String> @@ -58,7 +72,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -72,12 +85,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Cancel operation + +```yaml +Type: System.String +Parameter Sets: CancelViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Cancel operation + +```yaml +Type: System.String +Parameter Sets: CancelViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the order item ```yaml Type: System.String -Parameter Sets: CancelExpanded +Parameter Sets: CancelExpanded, CancelViaJsonString, CancelViaJsonFilePath Aliases: OrderItemName Required: True @@ -107,7 +150,7 @@ Reason for cancellation. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CancelExpanded, CancelViaIdentityExpanded Aliases: Required: True @@ -123,7 +166,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: CancelExpanded +Parameter Sets: CancelExpanded, CancelViaJsonString, CancelViaJsonFilePath Aliases: Required: True @@ -138,7 +181,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: CancelExpanded +Parameter Sets: CancelExpanded, CancelViaJsonString, CancelViaJsonFilePath Aliases: Required: False diff --git a/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderReturnOrderItem.md b/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderReturnOrderItem.md index 39f2ea839a08..f7a2deaae835 100644 --- a/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderReturnOrderItem.md +++ b/src/EdgeOrder/EdgeOrder/help/Invoke-AzEdgeOrderReturnOrderItem.md @@ -21,6 +21,20 @@ Invoke-AzEdgeOrderReturnOrderItem -OrderItemName <String> -ResourceGroupName <St [-Confirm] [<CommonParameters>] ``` +### ReturnViaJsonString +``` +Invoke-AzEdgeOrderReturnOrderItem -OrderItemName <String> -ResourceGroupName <String> + [-SubscriptionId <String>] -JsonString <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### ReturnViaJsonFilePath +``` +Invoke-AzEdgeOrderReturnOrderItem -OrderItemName <String> -ResourceGroupName <String> + [-SubscriptionId <String>] -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ### ReturnViaIdentityExpanded ``` Invoke-AzEdgeOrderReturnOrderItem -InputObject <IEdgeOrderIdentity> -ReturnReason <String> @@ -76,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -90,6 +103,36 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Return operation + +```yaml +Type: System.String +Parameter Sets: ReturnViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Return operation + +```yaml +Type: System.String +Parameter Sets: ReturnViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -110,7 +153,7 @@ The name of the order item ```yaml Type: System.String -Parameter Sets: ReturnExpanded +Parameter Sets: ReturnExpanded, ReturnViaJsonString, ReturnViaJsonFilePath Aliases: Required: True @@ -141,7 +184,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: ReturnExpanded +Parameter Sets: ReturnExpanded, ReturnViaJsonString, ReturnViaJsonFilePath Aliases: Required: True @@ -153,11 +196,10 @@ Accept wildcard characters: False ### -ReturnAddressContactDetail Contact details for the address -To construct, see NOTES section for RETURNADDRESSCONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -169,11 +211,10 @@ Accept wildcard characters: False ### -ReturnAddressShippingAddress Shipping details for the address -To construct, see NOTES section for RETURNADDRESSSHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -188,7 +229,7 @@ Return Reason. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: True @@ -203,7 +244,7 @@ Service tag (located on the bottom-right corner of the device) ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -218,7 +259,7 @@ Shipping Box required ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: ReturnExpanded, ReturnViaIdentityExpanded Aliases: Required: False @@ -233,7 +274,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: ReturnExpanded +Parameter Sets: ReturnExpanded, ReturnViaJsonString, ReturnViaJsonFilePath Aliases: Required: False diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderAddress.md index 4ca99592ca17..b18f1fdabdc6 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderAddress.md @@ -8,11 +8,12 @@ schema: 2.0.0 # New-AzEdgeOrderAddress ## SYNOPSIS -Creates a new address with the specified parameters. +create a new address with the specified parameters. Existing address can be updated with this API ## SYNTAX +### CreateExpanded (Default) ``` New-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] -ContactDetail <IContactDetails> -Location <String> [-ShippingAddress <IShippingAddress>] [-Tag <Hashtable>] @@ -20,8 +21,22 @@ New-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> [-Subscription [<CommonParameters>] ``` +### CreateViaJsonFilePath +``` +New-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ## DESCRIPTION -Creates a new address with the specified parameters. +create a new address with the specified parameters. Existing address can be updated with this API ## EXAMPLES @@ -79,11 +94,10 @@ Accept wildcard characters: False ### -ContactDetail Contact details for the address -To construct, see NOTES section for CONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: CreateExpanded Aliases: Required: True @@ -109,12 +123,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 @@ -173,11 +217,10 @@ Accept wildcard characters: False ### -ShippingAddress Shipping details for the address -To construct, see NOTES section for SHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: CreateExpanded Aliases: Required: False @@ -207,7 +250,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -255,7 +298,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IAddressResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IAddressResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderContactDetailsObject.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderContactDetailsObject.md index 8e37a0a8a725..b731ebe7d449 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderContactDetailsObject.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderContactDetailsObject.md @@ -1,7 +1,7 @@ --- external help file: Az.EdgeOrder-help.xml Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderContactDetailsObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeordercontactdetailsobject schema: 2.0.0 --- @@ -121,7 +121,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ContactDetails +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ContactDetails ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderFilterablePropertyObject.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderFilterablePropertyObject.md index 27a8db59d31f..cda25354e7b2 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderFilterablePropertyObject.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderFilterablePropertyObject.md @@ -1,7 +1,7 @@ --- external help file: Az.EdgeOrder-help.xml Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderFilterablePropertyObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderfilterablepropertyobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for FilterableProperty. ## SYNTAX ``` -New-AzEdgeOrderFilterablePropertyObject -SupportedValue <String[]> -Type <SupportedFilterTypes> +New-AzEdgeOrderFilterablePropertyObject -SupportedValue <String[]> -Type <String> [<CommonParameters>] ``` @@ -56,7 +56,7 @@ Accept wildcard characters: False Type of product filter. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.SupportedFilterTypes +Type: System.String Parameter Sets: (All) Aliases: @@ -74,7 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.FilterableProperty +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.FilterableProperty ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderHierarchyInformationObject.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderHierarchyInformationObject.md index 4012ee3ed24d..430c95718466 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderHierarchyInformationObject.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderHierarchyInformationObject.md @@ -1,7 +1,7 @@ --- external help file: Az.EdgeOrder-help.xml Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderHierarchyInformationObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderhierarchyinformationobject schema: 2.0.0 --- @@ -106,7 +106,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.HierarchyInformation +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.HierarchyInformation ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderItem.md index 9c8f9d21d92d..bac875f0ff9d 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderItem.md @@ -8,11 +8,12 @@ schema: 2.0.0 # New-AzEdgeOrderItem ## SYNOPSIS -Creates an order item. -Existing order item cannot be updated with this api and should instead be updated with the Update order item API. +create an order item. +Existing order item cannot be updated with this api and should instead be updated with the create order item API. ## SYNTAX +### CreateExpanded (Default) ``` New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] -ForwardAddressContactDetail <IContactDetails> -Location <String> -OrderId <String> @@ -21,9 +22,23 @@ New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> [-SubscriptionId [<CommonParameters>] ``` +### CreateViaJsonFilePath +``` +New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] -JsonString <String> + [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + ## DESCRIPTION -Creates an order item. -Existing order item cannot be updated with this api and should instead be updated with the Update order item API. +create an order item. +Existing order item cannot be updated with this api and should instead be updated with the create order item API. ## EXAMPLES @@ -125,11 +140,10 @@ Accept wildcard characters: False ### -ForwardAddressContactDetail Contact details for the address -To construct, see NOTES section for FORWARDADDRESSCONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: CreateExpanded Aliases: Required: True @@ -141,11 +155,10 @@ Accept wildcard characters: False ### -ForwardShippingAddress Shipping details for the address -To construct, see NOTES section for FORWARDSHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: CreateExpanded Aliases: Required: False @@ -155,12 +168,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 @@ -205,7 +248,7 @@ Id of the order to which order item belongs to ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -217,11 +260,10 @@ Accept wildcard characters: False ### -OrderItemDetail Represents order item details. -To construct, see NOTES section for ORDERITEMDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemDetails +Parameter Sets: CreateExpanded Aliases: Required: True @@ -267,7 +309,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -315,7 +357,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderOrderItemDetailsObject.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderOrderItemDetailsObject.md index a1c808535350..ed5ffdf7a9c2 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderOrderItemDetailsObject.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderOrderItemDetailsObject.md @@ -1,7 +1,7 @@ --- external help file: Az.EdgeOrder-help.xml Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderOrderItemDetailsObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderorderitemdetailsobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for OrderItemDetails. ## SYNTAX ``` -New-AzEdgeOrderOrderItemDetailsObject -OrderItemType <OrderItemType> -ProductDetail <IProductDetails> +New-AzEdgeOrderOrderItemDetailsObject -OrderItemType <String> -ProductDetail <IProductDetails> [-NotificationEmailList <String[]>] [-Preference <IPreferences>] [<CommonParameters>] ``` @@ -52,7 +52,7 @@ Accept wildcard characters: False Order item type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.OrderItemType +Type: System.String Parameter Sets: (All) Aliases: @@ -65,10 +65,9 @@ Accept wildcard characters: False ### -Preference Customer notification Preferences. -To construct, see NOTES section for PREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IPreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IPreferences Parameter Sets: (All) Aliases: @@ -81,10 +80,9 @@ Accept wildcard characters: False ### -ProductDetail Unique identifier for configuration. -To construct, see NOTES section for PRODUCTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IProductDetails +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IProductDetails Parameter Sets: (All) Aliases: @@ -102,7 +100,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.OrderItemDetails +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.OrderItemDetails ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderPreferencesObject.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderPreferencesObject.md index d78e42c3691c..7e75108a3c16 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderPreferencesObject.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderPreferencesObject.md @@ -1,7 +1,7 @@ --- external help file: Az.EdgeOrder-help.xml Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderPreferencesObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeorderpreferencesobject schema: 2.0.0 --- @@ -35,10 +35,9 @@ Creates a in-memory preference object to set transport, encryption and managemen ### -EncryptionPreference Preferences related to the Encryption. -To construct, see NOTES section for ENCRYPTIONPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IEncryptionPreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IEncryptionPreferences Parameter Sets: (All) Aliases: @@ -51,10 +50,9 @@ Accept wildcard characters: False ### -ManagementResourcePreference Preferences related to the Management resource. -To construct, see NOTES section for MANAGEMENTRESOURCEPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IManagementResourcePreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IManagementResourcePreferences Parameter Sets: (All) Aliases: @@ -67,10 +65,9 @@ Accept wildcard characters: False ### -NotificationPreference Notification preferences. -To construct, see NOTES section for NOTIFICATIONPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.INotificationPreference[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.INotificationPreference[] Parameter Sets: (All) Aliases: @@ -83,10 +80,9 @@ Accept wildcard characters: False ### -TransportPreference Preferences related to the shipment logistics of the order. -To construct, see NOTES section for TRANSPORTPREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ITransportPreferences +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ITransportPreferences Parameter Sets: (All) Aliases: @@ -104,7 +100,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.Preferences +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Preferences ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderShippingAddressObject.md b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderShippingAddressObject.md index 086bb3cb4030..fe5ce8022435 100644 --- a/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderShippingAddressObject.md +++ b/src/EdgeOrder/EdgeOrder/help/New-AzEdgeOrderShippingAddressObject.md @@ -1,7 +1,7 @@ --- external help file: Az.EdgeOrder-help.xml Module Name: Az.EdgeOrder -online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-AzEdgeOrderShippingAddressObject +online version: https://learn.microsoft.com/powershell/module/Az.EdgeOrder/new-azedgeordershippingaddressobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for ShippingAddress. ## SYNTAX ``` -New-AzEdgeOrderShippingAddressObject -Country <String> -StreetAddress1 <String> [-AddressType <AddressType>] +New-AzEdgeOrderShippingAddressObject -Country <String> -StreetAddress1 <String> [-AddressType <String>] [-City <String>] [-CompanyName <String>] [-PostalCode <String>] [-StateOrProvince <String>] [-StreetAddress2 <String>] [-StreetAddress3 <String>] [-ZipExtendedCode <String>] [<CommonParameters>] @@ -52,7 +52,7 @@ Creates a in-memory shipping address object Type of address. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Support.AddressType +Type: System.String Parameter Sets: (All) Aliases: @@ -205,7 +205,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.ShippingAddress +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.ShippingAddress ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderAddress.md index 78fd5f6cee96..7cf69bed9b79 100644 --- a/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderAddress.md @@ -72,7 +72,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.EdgeOrder.Models.IEdgeOrderIdentity diff --git a/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderItem.md index 078bbb17c18f..6eb486aca171 100644 --- a/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder/help/Remove-AzEdgeOrderItem.md @@ -72,7 +72,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.EdgeOrder.Models.IEdgeOrderIdentity diff --git a/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderAddress.md b/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderAddress.md index cc7c4c18b179..fceb0271b0e2 100644 --- a/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderAddress.md +++ b/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderAddress.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzEdgeOrderAddress ## SYNOPSIS -Updates the properties of an existing address. +update the properties of an existing address. ## SYNTAX @@ -20,6 +20,20 @@ Update-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> [-Subscript [<CommonParameters>] ``` +### UpdateViaJsonString +``` +Update-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### UpdateViaJsonFilePath +``` +Update-AzEdgeOrderAddress -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ### UpdateViaIdentityExpanded ``` Update-AzEdgeOrderAddress -InputObject <IEdgeOrderIdentity> [-ContactDetail <IContactDetails>] @@ -28,7 +42,7 @@ Update-AzEdgeOrderAddress -InputObject <IEdgeOrderIdentity> [-ContactDetail <ICo ``` ## DESCRIPTION -Updates the properties of an existing address. +update the properties of an existing address. ## EXAMPLES @@ -76,11 +90,10 @@ Accept wildcard characters: False ### -ContactDetail Contact details for the address -To construct, see NOTES section for CONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -108,7 +121,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -122,13 +134,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 +``` + ### -Name The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: AddressName Required: True @@ -159,7 +201,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -171,11 +213,10 @@ Accept wildcard characters: False ### -ShippingAddress Shipping details for the address -To construct, see NOTES section for SHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -190,7 +231,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -206,7 +247,7 @@ These tags can be used in viewing and grouping this resource (across resource gr ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -256,7 +297,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IAddressResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IAddressResource ## NOTES diff --git a/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderItem.md b/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderItem.md index 14685adef551..0885d133a40f 100644 --- a/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderItem.md +++ b/src/EdgeOrder/EdgeOrder/help/Update-AzEdgeOrderItem.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzEdgeOrderItem ## SYNOPSIS -Updates the properties of an existing order item. +update the properties of an existing order item. ## SYNTAX @@ -21,6 +21,20 @@ Update-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> [-Subscription [<CommonParameters>] ``` +### UpdateViaJsonString +``` +Update-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### UpdateViaJsonFilePath +``` +Update-AzEdgeOrderItem -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ### UpdateViaIdentityExpanded ``` Update-AzEdgeOrderItem -InputObject <IEdgeOrderIdentity> [-ForwardAddressContactDetail <IContactDetails>] @@ -30,7 +44,7 @@ Update-AzEdgeOrderItem -InputObject <IEdgeOrderIdentity> [-ForwardAddressContact ``` ## DESCRIPTION -Updates the properties of an existing order item. +update the properties of an existing order item. ## EXAMPLES @@ -99,11 +113,10 @@ Accept wildcard characters: False ### -ForwardAddressContactDetail Contact details for the address -To construct, see NOTES section for FORWARDADDRESSCONTACTDETAIL properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IContactDetails -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IContactDetails +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -115,11 +128,10 @@ Accept wildcard characters: False ### -ForwardAddressShippingAddress Shipping details for the address -To construct, see NOTES section for FORWARDADDRESSSHIPPINGADDRESS properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IShippingAddress -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IShippingAddress +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -131,7 +143,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.EdgeOrder.Models.IEdgeOrderIdentity @@ -145,12 +156,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 +``` + ### -Name The name of the order item ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: OrderItemName Required: True @@ -165,7 +206,7 @@ Additional notification email list. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -192,11 +233,10 @@ Accept wildcard characters: False ### -Preference Customer preference. -To construct, see NOTES section for PREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IPreferences -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IPreferences +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -212,7 +252,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -227,7 +267,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -243,7 +283,7 @@ These tags can be used in viewing and grouping this resource (across resource gr ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -293,7 +333,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.Api20211201.IOrderItemResource +### Microsoft.Azure.PowerShell.Cmdlets.EdgeOrder.Models.IOrderItemResource ## NOTES From c41da2bca50aa738b9923372064fd153be12b701 Mon Sep 17 00:00:00 2001 From: Jinpei Li <v-jinpel@microsoft.com> Date: Thu, 24 Apr 2025 15:26:19 +0800 Subject: [PATCH 2/7] Az.Elastic update generation tool version: autorest.powershell v3->v4 --- .../Properties/AssemblyInfo.cs | 28 ++ src/Elastic/Elastic.Autorest/README.md | 18 +- .../New-AzElasticFilteringTagObject.ps1 | 53 ---- .../New-AzElasticFilteringTagObject.ps1 | 61 ++++ .../Elastic.Autorest/docs/Az.Elastic.md | 28 +- .../docs/Get-AzElasticAllTrafficFilter.md | 2 +- .../docs/Get-AzElasticBillingInfo.md | 3 +- .../Get-AzElasticConnectedPartnerResource.md | 2 +- .../docs/Get-AzElasticDeploymentInfo.md | 2 +- .../Get-AzElasticDetailUpgradableVersion.md | 3 +- .../docs/Get-AzElasticDetailVMIngestion.md | 3 +- ...et-AzElasticListAssociatedTrafficFilter.md | 2 +- .../docs/Get-AzElasticMonitor.md | 3 +- .../docs/Get-AzElasticMonitoredResource.md | 2 +- .../docs/Get-AzElasticOpenAi.md | 26 +- .../docs/Get-AzElasticOpenAiStatus.md | 26 +- .../docs/Get-AzElasticOrganizationApiKey.md | 51 +-- ...zationElasticToAzureSubscriptionMapping.md | 29 +- .../docs/Get-AzElasticTagRule.md | 23 +- .../docs/Get-AzElasticVMHost.md | 2 +- .../docs/Get-AzElasticVersion.md | 2 +- .../Join-AzElasticAssociateTrafficFilter.md | 1 - ...New-AzElasticCreateAndAssociateIPFilter.md | 5 +- ...New-AzElasticCreateAndAssociatePlFilter.md | 5 +- .../docs/New-AzElasticExternalUser.md | 62 +++- .../docs/New-AzElasticFilteringTagObject.md | 12 +- .../docs/New-AzElasticMonitor.md | 119 ++++--- .../docs/New-AzElasticOpenAi.md | 102 +++++- .../docs/New-AzElasticTagRule.md | 90 +++++- ...e-AzElasticDetachAndDeleteTrafficFilter.md | 1 - .../docs/Remove-AzElasticMonitor.md | 1 - .../docs/Remove-AzElasticOpenAi.md | 24 +- .../docs/Remove-AzElasticTrafficFilter.md | 1 - .../Update-AzElasticDetachTrafficFilter.md | 1 - .../docs/Update-AzElasticExternalUser.md | 62 +++- .../docs/Update-AzElasticMonitor.md | 80 ++++- .../docs/Update-AzElasticOpenAi.md | 289 +++++++++++++++++ .../docs/Update-AzElasticTagRule.md | 274 +++++++++++++++++ .../docs/Update-AzElasticVMCollection.md | 63 +++- .../examples/Update-AzElasticOpenAi.md | 12 + .../examples/Update-AzElasticTagRule.md | 12 + .../Elastic.Autorest/generate-info.json | 2 +- .../Elastic.Autorest/resources/README.md | 11 + .../test/Get-AzElasticVersion.Tests.ps1 | 2 +- .../test/Update-AzElasticOpenAi.Tests.ps1 | 29 ++ .../test/Update-AzElasticTagRule.Tests.ps1 | 29 ++ src/Elastic/Elastic.sln | 89 +++++- src/Elastic/Elastic/Az.Elastic.psd1 | 13 +- src/Elastic/Elastic/ChangeLog.md | 1 + src/Elastic/Elastic/help/Az.Elastic.md | 26 +- .../help/Get-AzElasticAllTrafficFilter.md | 2 +- .../Elastic/help/Get-AzElasticBillingInfo.md | 3 +- .../Get-AzElasticConnectedPartnerResource.md | 2 +- .../help/Get-AzElasticDeploymentInfo.md | 2 +- .../Get-AzElasticDetailUpgradableVersion.md | 3 +- .../help/Get-AzElasticDetailVMIngestion.md | 3 +- ...et-AzElasticListAssociatedTrafficFilter.md | 2 +- .../Elastic/help/Get-AzElasticMonitor.md | 3 +- .../help/Get-AzElasticMonitoredResource.md | 2 +- .../Elastic/help/Get-AzElasticOpenAi.md | 26 +- .../Elastic/help/Get-AzElasticOpenAiStatus.md | 26 +- .../help/Get-AzElasticOrganizationApiKey.md | 51 +-- ...zationElasticToAzureSubscriptionMapping.md | 29 +- .../Elastic/help/Get-AzElasticTagRule.md | 24 +- .../Elastic/help/Get-AzElasticVMHost.md | 2 +- .../Elastic/help/Get-AzElasticVersion.md | 2 +- .../Join-AzElasticAssociateTrafficFilter.md | 1 - ...New-AzElasticCreateAndAssociateIPFilter.md | 5 +- ...New-AzElasticCreateAndAssociatePlFilter.md | 5 +- .../Elastic/help/New-AzElasticExternalUser.md | 64 +++- .../help/New-AzElasticFilteringTagObject.md | 12 +- .../Elastic/help/New-AzElasticMonitor.md | 119 ++++--- .../Elastic/help/New-AzElasticOpenAi.md | 103 ++++++- .../Elastic/help/New-AzElasticTagRule.md | 92 +++++- ...e-AzElasticDetachAndDeleteTrafficFilter.md | 1 - .../Elastic/help/Remove-AzElasticMonitor.md | 1 - .../Elastic/help/Remove-AzElasticOpenAi.md | 25 +- .../help/Remove-AzElasticTrafficFilter.md | 1 - .../Update-AzElasticDetachTrafficFilter.md | 1 - .../help/Update-AzElasticExternalUser.md | 64 +++- .../Elastic/help/Update-AzElasticMonitor.md | 82 ++++- .../Elastic/help/Update-AzElasticOpenAi.md | 290 ++++++++++++++++++ .../Elastic/help/Update-AzElasticTagRule.md | 274 +++++++++++++++++ .../help/Update-AzElasticVMCollection.md | 69 ++++- 84 files changed, 2675 insertions(+), 503 deletions(-) create mode 100644 src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs delete mode 100644 src/Elastic/Elastic.Autorest/custom/New-AzElasticFilteringTagObject.ps1 create mode 100644 src/Elastic/Elastic.Autorest/custom/autogen-model-cmdlets/New-AzElasticFilteringTagObject.ps1 create mode 100644 src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md create mode 100644 src/Elastic/Elastic.Autorest/docs/Update-AzElasticTagRule.md create mode 100644 src/Elastic/Elastic.Autorest/examples/Update-AzElasticOpenAi.md create mode 100644 src/Elastic/Elastic.Autorest/examples/Update-AzElasticTagRule.md create mode 100644 src/Elastic/Elastic.Autorest/resources/README.md create mode 100644 src/Elastic/Elastic.Autorest/test/Update-AzElasticOpenAi.Tests.ps1 create mode 100644 src/Elastic/Elastic.Autorest/test/Update-AzElasticTagRule.Tests.ps1 create mode 100644 src/Elastic/Elastic/help/Update-AzElasticOpenAi.md create mode 100644 src/Elastic/Elastic/help/Update-AzElasticTagRule.md diff --git a/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs b/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..04a07aac84a8 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,28 @@ +// 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 - Elastic")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.1")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.2.1")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] + + diff --git a/src/Elastic/Elastic.Autorest/README.md b/src/Elastic/Elastic.Autorest/README.md index 3679d0c9fd36..ca6cffafc966 100644 --- a/src/Elastic/Elastic.Autorest/README.md +++ b/src/Elastic/Elastic.Autorest/README.md @@ -43,13 +43,6 @@ title: Elastic module-version: 0.1.0 subject-prefix: $elastic -identity-correction-for-post: true -resourcegroup-append: 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: # Swagger issue that the ProvisioningState should readonly. - from: swagger-document @@ -112,8 +105,12 @@ directive: parameter-description: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. \<br>For instance, if the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". \<br>You may find your eligible plans [here](https://portal.azure.com/#view/Microsoft_Azure_Marketplace/GalleryItemDetailsBladeNopdl/id/elastic.ec-azure-pp/selectionMode~/false/resourceGroupId//resourceGroupLocation//dontDiscardJourney~/false/selectedMenuId/home/launchingContext~/%7B%22galleryItemId%22%3A%22elastic.ec-azure-ppess-consumption-2024%22%2C%22source%22%3A%5B%22GalleryFeaturedMenuItemPart%22%2C%22VirtualizedTileDetails%22%5D%2C%22menuItemId%22%3A%22home%22%2C%22subMenuItemId%22%3A%22Search%20results%22%2C%22telemetryId%22%3A%2262f8ce76-e5e4-4983-9d3e-5c608a0b2bff%22%7D/searchTelemetryId/cca0a8d3-f232-4156-948f-701a5d74a729) or in the online documentation [here](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/elastic.ec-azure-pp) for more details or in case of any issues with the SKU. - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^UpgradeViaIdentityExpanded$ subject: Monitor|VMCollection|TagRule + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + subject: Monitor|VMCollection|TagRule + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^UpgradeViaIdentityExpanded$ remove: true - where: @@ -137,6 +134,7 @@ directive: - Name - ProvisioningState - # - model-cmdlet: - # - FilteringTag + - model-cmdlet: + - model-name: FilteringTag + cmdlet-name: New-AzElasticFilteringTagObject ``` diff --git a/src/Elastic/Elastic.Autorest/custom/New-AzElasticFilteringTagObject.ps1 b/src/Elastic/Elastic.Autorest/custom/New-AzElasticFilteringTagObject.ps1 deleted file mode 100644 index 7b0f43694079..000000000000 --- a/src/Elastic/Elastic.Autorest/custom/New-AzElasticFilteringTagObject.ps1 +++ /dev/null @@ -1,53 +0,0 @@ - - # ---------------------------------------------------------------------------------- - # - # Copyright Microsoft Corporation - # 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. - # ---------------------------------------------------------------------------------- - - <# - .Synopsis - Create a in-memory object for FilteringTag - .Description - Create a in-memory object for FilteringTag - - .Outputs - Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.FilteringTag - .Link - https://learn.microsoft.com/powershell/module/az.Elastic/new-AzElasticFilteringTagObject - #> - function New-AzElasticFilteringTagObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.FilteringTag')] - [CmdletBinding(PositionalBinding=$false)] - Param( - - [Parameter(HelpMessage="Valid actions for a filtering tag.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.TagAction])] - [Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.TagAction] - $Action, - [Parameter(HelpMessage="The name (also known as the key) of the tag.")] - [string] - $Name, - [Parameter(HelpMessage="The value of the tag.")] - [string] - $Value - ) - - process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.FilteringTag]::New() - - $Object.Action = $Action - $Object.Name = $Name - $Object.Value = $Value - return $Object - } - } - diff --git a/src/Elastic/Elastic.Autorest/custom/autogen-model-cmdlets/New-AzElasticFilteringTagObject.ps1 b/src/Elastic/Elastic.Autorest/custom/autogen-model-cmdlets/New-AzElasticFilteringTagObject.ps1 new file mode 100644 index 000000000000..e18a915df631 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/custom/autogen-model-cmdlets/New-AzElasticFilteringTagObject.ps1 @@ -0,0 +1,61 @@ + +# ---------------------------------------------------------------------------------- +# 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. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Create an in-memory object for FilteringTag. +.Description +Create an in-memory object for FilteringTag. + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.FilteringTag +.Link +https://learn.microsoft.com/powershell/module/Az.Elastic/new-azelasticfilteringtagobject +#> +function New-AzElasticFilteringTagObject { + [Microsoft.Azure.PowerShell.Cmdlets.Elastic.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.FilteringTag')] + [CmdletBinding(PositionalBinding=$false)] + Param( + + [Parameter(HelpMessage="Valid actions for a filtering tag.")] + [Microsoft.Azure.PowerShell.Cmdlets.Elastic.PSArgumentCompleterAttribute("Include", "Exclude")] + [string] + $Action, + [Parameter(HelpMessage="The name (also known as the key) of the tag.")] + [string] + $Name, + [Parameter(HelpMessage="The value of the tag.")] + [string] + $Value + ) + + process { + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.FilteringTag]::New() + + if ($PSBoundParameters.ContainsKey('Action')) { + $Object.Action = $Action + } + if ($PSBoundParameters.ContainsKey('Name')) { + $Object.Name = $Name + } + if ($PSBoundParameters.ContainsKey('Value')) { + $Object.Value = $Value + } + return $Object + } +} + diff --git a/src/Elastic/Elastic.Autorest/docs/Az.Elastic.md b/src/Elastic/Elastic.Autorest/docs/Az.Elastic.md index bc397bc07fba..5d6c476e177c 100644 --- a/src/Elastic/Elastic.Autorest/docs/Az.Elastic.md +++ b/src/Elastic/Elastic.Autorest/docs/Az.Elastic.md @@ -1,6 +1,6 @@ --- Module Name: Az.Elastic -Module Guid: ac429574-aa9e-48ba-b46c-129fe2b846d2 +Module Guid: b2e855f4-b219-475c-9008-e98c5b88a595 Download Help Link: https://learn.microsoft.com/powershell/module/az.elastic Help Version: 1.0.0.0 Locale: en-US @@ -63,25 +63,25 @@ List the vm resources currently being monitored by the Elastic monitor resource. Associate traffic filter for the given deployment. ### [New-AzElasticCreateAndAssociateIPFilter](New-AzElasticCreateAndAssociateIPFilter.md) -Create and Associate IP traffic filter for the given deployment. +create and Associate IP traffic filter for the given deployment. ### [New-AzElasticCreateAndAssociatePlFilter](New-AzElasticCreateAndAssociatePlFilter.md) -Create and Associate private link traffic filter for the given deployment. +create and Associate private link traffic filter for the given deployment. ### [New-AzElasticExternalUser](New-AzElasticExternalUser.md) -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +create User inside elastic deployment which are used by customers to perform operations on the elastic deployment ### [New-AzElasticFilteringTagObject](New-AzElasticFilteringTagObject.md) -Create a in-memory object for FilteringTag +Create an in-memory object for FilteringTag. ### [New-AzElasticMonitor](New-AzElasticMonitor.md) -Create a monitor resource. +create a monitor resource. ### [New-AzElasticOpenAi](New-AzElasticOpenAi.md) -Create or update a OpenAI integration rule for a given monitor resource. +create a OpenAI integration rule for a given monitor resource. ### [New-AzElasticTagRule](New-AzElasticTagRule.md) -Create or update a tag rule set for a given monitor resource. +create a tag rule set for a given monitor resource. ### [Remove-AzElasticDetachAndDeleteTrafficFilter](Remove-AzElasticDetachAndDeleteTrafficFilter.md) Detach and Delete traffic filter from the given deployment. @@ -99,11 +99,17 @@ Delete traffic filter from the account. Detach traffic filter for the given deployment. ### [Update-AzElasticExternalUser](Update-AzElasticExternalUser.md) -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +update User inside elastic deployment which are used by customers to perform operations on the elastic deployment ### [Update-AzElasticMonitor](Update-AzElasticMonitor.md) -Update a monitor resource. +update a monitor resource. + +### [Update-AzElasticOpenAi](Update-AzElasticOpenAi.md) +update a OpenAI integration rule for a given monitor resource. + +### [Update-AzElasticTagRule](Update-AzElasticTagRule.md) +update a tag rule set for a given monitor resource. ### [Update-AzElasticVMCollection](Update-AzElasticVMCollection.md) -Update the vm details that will be monitored by the Elastic monitor resource. +update the vm details that will be monitored by the Elastic monitor resource. diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticAllTrafficFilter.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticAllTrafficFilter.md index cba3ed1bcec0..b59c9e6cebe6 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticAllTrafficFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticAllTrafficFilter.md @@ -132,7 +132,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticTrafficFilter +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticTrafficFilterResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticBillingInfo.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticBillingInfo.md index 5341ada4b3b5..eed56a652194 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticBillingInfo.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticBillingInfo.md @@ -66,7 +66,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.Elastic.Models.IElasticIdentity @@ -167,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IBillingInfoResponse +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IBillingInfoResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticConnectedPartnerResource.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticConnectedPartnerResource.md index b047662675ea..e811c99ce40a 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticConnectedPartnerResource.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticConnectedPartnerResource.md @@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IConnectedPartnerResourcesListFormat +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IConnectedPartnerResourcesListFormat ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDeploymentInfo.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDeploymentInfo.md index 53fe40fa1fc3..506bdd6395ce 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDeploymentInfo.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDeploymentInfo.md @@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IDeploymentInfoResponse +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IDeploymentInfoResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailUpgradableVersion.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailUpgradableVersion.md index 991de5283d39..469d91ef22d4 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailUpgradableVersion.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailUpgradableVersion.md @@ -56,7 +56,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.Elastic.Models.IElasticIdentity @@ -157,7 +156,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUpgradableVersionsList +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUpgradableVersionsList ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailVMIngestion.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailVMIngestion.md index 46cd3c662ee7..6df138cceeb3 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailVMIngestion.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticDetailVMIngestion.md @@ -75,7 +75,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.Elastic.Models.IElasticIdentity @@ -176,7 +175,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IVMIngestionDetailsResponse +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IVMIngestionDetailsResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticListAssociatedTrafficFilter.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticListAssociatedTrafficFilter.md index 2b295b2a79f3..53364b28963f 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticListAssociatedTrafficFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticListAssociatedTrafficFilter.md @@ -132,7 +132,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticTrafficFilter +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticTrafficFilterResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitor.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitor.md index e22131421f77..a377f7df6a71 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitor.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitor.md @@ -118,7 +118,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.Elastic.Models.IElasticIdentity @@ -188,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorResource ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitoredResource.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitoredResource.md index 25bdc29aa7aa..72996e61d142 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitoredResource.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticMonitoredResource.md @@ -132,7 +132,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IMonitoredResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoredResource ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAi.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAi.md index c30c0b70df5f..f7acd729c728 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAi.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAi.md @@ -29,6 +29,12 @@ Get-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGro Get-AzElasticOpenAi -InputObject <IElasticIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>] ``` +### GetViaIdentityMonitor +``` +Get-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + [-DefaultProfile <PSObject>] [<CommonParameters>] +``` + ## DESCRIPTION Get OpenAI integration rule for a given monitor resource. @@ -69,7 +75,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.Elastic.Models.IElasticIdentity @@ -88,7 +93,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityMonitor Aliases: Required: True @@ -98,6 +103,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: GetViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name @@ -154,7 +174,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAiStatus.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAiStatus.md index b69aece588a2..fcb23128b804 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAiStatus.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOpenAiStatus.md @@ -24,6 +24,12 @@ Get-AzElasticOpenAiStatus -InputObject <IElasticIdentity> [-DefaultProfile <PSOb [<CommonParameters>] ``` +### GetViaIdentityMonitor +``` +Get-AzElasticOpenAiStatus -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION Get OpenAI integration status for a given integration. @@ -61,7 +67,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.Elastic.Models.IElasticIdentity @@ -80,7 +85,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityMonitor Aliases: Required: True @@ -90,6 +95,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: GetViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name @@ -177,7 +197,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationStatusResponseProperties +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationStatusResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md index 8633afc88c01..4323bcefe0eb 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md @@ -24,16 +24,16 @@ Get-AzElasticOrganizationApiKey -Body <IUserEmailId> [-SubscriptionId <String[]> [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### GetViaIdentity +### GetViaJsonFilePath ``` -Get-AzElasticOrganizationApiKey -InputObject <IElasticIdentity> -Body <IUserEmailId> +Get-AzElasticOrganizationApiKey -JsonFilePath <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### GetViaIdentityExpanded +### GetViaJsonString ``` -Get-AzElasticOrganizationApiKey -InputObject <IElasticIdentity> [-EmailId <String>] - [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +Get-AzElasticOrganizationApiKey -JsonString <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] + [-Confirm] [-WhatIf] [<CommonParameters>] ``` ## DESCRIPTION @@ -52,11 +52,10 @@ This command will Fetch User API Key from internal database, if it was generated ### -Body Email Id of the User Organization, of which the API Key must be returned -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUserEmailId -Parameter Sets: Get, GetViaIdentity +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId +Parameter Sets: Get Aliases: Required: True @@ -87,7 +86,7 @@ The User email Id ```yaml Type: System.String -Parameter Sets: GetExpanded, GetViaIdentityExpanded +Parameter Sets: GetExpanded Aliases: Required: False @@ -97,19 +96,33 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. +### -JsonFilePath +Path of Json file supplied to the Get operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: GetViaIdentity, GetViaIdentityExpanded +Type: System.String +Parameter Sets: GetViaJsonFilePath Aliases: Required: True Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False Accept wildcard characters: False ``` @@ -119,7 +132,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, GetExpanded +Parameter Sets: (All) Aliases: Required: False @@ -165,13 +178,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUserEmailId - -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUserApiKeyResponseProperties +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserApiKeyResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md index 6a5bcc16a96d..96b189652697 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md @@ -12,18 +12,11 @@ Get Elastic Organization To Azure Subscription Mapping details for the logged-in ## SYNTAX -### Get (Default) ``` Get-AzElasticOrganizationElasticToAzureSubscriptionMapping [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### GetViaIdentity -``` -Get-AzElasticOrganizationElasticToAzureSubscriptionMapping -InputObject <IElasticIdentity> - [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ## DESCRIPTION Get Elastic Organization To Azure Subscription Mapping details for the logged-in user. @@ -54,29 +47,13 @@ Accept pipeline input: False 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.Elastic.Models.IElasticIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get +Parameter Sets: (All) Aliases: Required: False @@ -122,11 +99,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity - ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticOrganizationToAzureSubscriptionMappingResponseProperties +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticOrganizationToAzureSubscriptionMappingResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticTagRule.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticTagRule.md index c546675183bd..6bdbd05c2099 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticTagRule.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticTagRule.md @@ -23,6 +23,11 @@ Get-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> [-Subscri Get-AzElasticTagRule -InputObject <IElasticIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>] ``` +### GetViaIdentityMonitor +``` +Get-AzElasticTagRule -MonitorInputObject <IElasticIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>] +``` + ## DESCRIPTION Get a tag rule set for a given monitor resource. @@ -74,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.Elastic.Models.IElasticIdentity @@ -88,6 +92,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: GetViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name @@ -144,7 +163,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IMonitoringTagRules +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoringTagRules ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVMHost.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVMHost.md index 6283c47c8e88..f908f3ce6267 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVMHost.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVMHost.md @@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IVMResources +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IVMResources ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md index 151f7eb1aab1..21eb79f37963 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md @@ -93,7 +93,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticVersionListFormat +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticVersionListFormat ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Join-AzElasticAssociateTrafficFilter.md b/src/Elastic/Elastic.Autorest/docs/Join-AzElasticAssociateTrafficFilter.md index 6c773919aa23..28d503e17752 100644 --- a/src/Elastic/Elastic.Autorest/docs/Join-AzElasticAssociateTrafficFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/Join-AzElasticAssociateTrafficFilter.md @@ -72,7 +72,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociateIPFilter.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociateIPFilter.md index 4f2304be32a8..4e361ba61ddb 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociateIPFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociateIPFilter.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticCreateAndAssociateIPFilter ## SYNOPSIS -Create and Associate IP traffic filter for the given deployment. +create and Associate IP traffic filter for the given deployment. ## SYNTAX @@ -26,7 +26,7 @@ New-AzElasticCreateAndAssociateIPFilter -InputObject <IElasticIdentity> [-IP <St ``` ## DESCRIPTION -Create and Associate IP traffic filter for the given deployment. +create and Associate IP traffic filter for the given deployment. ## EXAMPLES @@ -72,7 +72,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociatePlFilter.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociatePlFilter.md index 74dbba47337d..dd7a6654b9ad 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociatePlFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticCreateAndAssociatePlFilter.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticCreateAndAssociatePlFilter ## SYNOPSIS -Create and Associate private link traffic filter for the given deployment. +create and Associate private link traffic filter for the given deployment. ## SYNTAX @@ -27,7 +27,7 @@ New-AzElasticCreateAndAssociatePlFilter -InputObject <IElasticIdentity> [-Name < ``` ## DESCRIPTION -Create and Associate private link traffic filter for the given deployment. +create and Associate private link traffic filter for the given deployment. ## EXAMPLES @@ -73,7 +73,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md index 21174ffcba6e..df375e0920a7 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticExternalUser ## SYNOPSIS -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +create User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## SYNTAX @@ -38,8 +38,20 @@ New-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [- [-WhatIf] [<CommonParameters>] ``` +### CreateViaJsonFilePath +``` +New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +create User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## EXAMPLES @@ -54,10 +66,9 @@ This command Creates an User inside elastic deployment which are used by custome ### -Body The properties of the request required for creating user on elastic side -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo Parameter Sets: Create, CreateViaIdentity Aliases: @@ -116,7 +127,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.Elastic.Models.IElasticIdentity @@ -130,12 +140,42 @@ Accept pipeline input: True (ByValue) 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 +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -166,7 +206,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -197,7 +237,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -258,13 +298,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo + ## OUTPUTS -### System.Boolean +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticFilteringTagObject.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticFilteringTagObject.md index b1f37163dec8..b56561eef55f 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticFilteringTagObject.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticFilteringTagObject.md @@ -1,23 +1,23 @@ --- external help file: Module Name: Az.Elastic -online version: https://learn.microsoft.com/powershell/module/az.Elastic/new-AzElasticFilteringTagObject +online version: https://learn.microsoft.com/powershell/module/Az.Elastic/new-azelasticfilteringtagobject schema: 2.0.0 --- # New-AzElasticFilteringTagObject ## SYNOPSIS -Create a in-memory object for FilteringTag +Create an in-memory object for FilteringTag. ## SYNTAX ``` -New-AzElasticFilteringTagObject [-Action <TagAction>] [-Name <String>] [-Value <String>] [<CommonParameters>] +New-AzElasticFilteringTagObject [-Action <String>] [-Name <String>] [-Value <String>] [<CommonParameters>] ``` ## DESCRIPTION -Create a in-memory object for FilteringTag +Create an in-memory object for FilteringTag. ## EXAMPLES @@ -41,7 +41,7 @@ This command creates a in-memory object for FilteringTag used when creating tag Valid actions for a filtering tag. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.TagAction +Type: System.String Parameter Sets: (All) Aliases: @@ -89,7 +89,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.FilteringTag +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.FilteringTag ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticMonitor.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticMonitor.md index 43a77868f8b4..4218dd8f774f 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticMonitor.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticMonitor.md @@ -8,15 +8,16 @@ schema: 2.0.0 # New-AzElasticMonitor ## SYNOPSIS -Create a monitor resource. +create a monitor resource. ## SYNTAX +### CreateExpanded (Default) ``` -New-AzElasticMonitor -Name <String> -ResourceGroupName <String> -Location <String> [-SubscriptionId <String>] +New-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] [-CompanyInfoBusiness <String>] [-CompanyInfoCountry <String>] [-CompanyInfoDomain <String>] - [-CompanyInfoEmployeesNumber <String>] [-CompanyInfoState <String>] [-GenerateApiKey] - [-IdentityType <ManagedIdentityTypes>] [-MonitoringStatus <MonitoringStatus>] [-PlanDetailOfferId <String>] + [-CompanyInfoEmployeesNumber <String>] [-CompanyInfoState <String>] [-EnableSystemAssignedIdentity] + [-GenerateApiKey] [-Location <String>] [-MonitoringStatus <String>] [-PlanDetailOfferId <String>] [-PlanDetailPlanId <String>] [-PlanDetailPlanName <String>] [-PlanDetailPublisherId <String>] [-PlanDetailTermId <String>] [-SaaSAzureSubscriptionStatus <String>] [-Sku <String>] [-SourceCampaignId <String>] [-SourceCampaignName <String>] [-SubscriptionState <String>] [-Tag <Hashtable>] @@ -25,8 +26,22 @@ New-AzElasticMonitor -Name <String> -ResourceGroupName <String> -Location <Strin [-WhatIf] [<CommonParameters>] ``` +### CreateViaJsonFilePath +``` +New-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + ## DESCRIPTION -Create a monitor resource. +create a monitor resource. ## EXAMPLES @@ -65,7 +80,7 @@ Business of the company ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -80,7 +95,7 @@ Country of the company location. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -95,7 +110,7 @@ Domain of the company ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -110,7 +125,7 @@ Number of employees in the company ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -125,7 +140,7 @@ State of the company location. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -151,12 +166,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GenerateApiKey Flag to determine if User API Key has to be generated and shared. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -166,15 +196,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Managed identity type. +### -JsonFilePath +Path of Json file supplied to the Create operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.ManagedIdentityTypes -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateViaJsonFilePath Aliases: -Required: False +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 @@ -186,10 +231,10 @@ The location of the monitor resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -200,8 +245,8 @@ Accept wildcard characters: False Flag specifying if the resource monitoring is enabled or disabled. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.MonitoringStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -246,7 +291,7 @@ Offer ID of the plan ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -261,7 +306,7 @@ Plan ID ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -276,7 +321,7 @@ Plan Name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -291,7 +336,7 @@ Publisher ID of the plan ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -306,7 +351,7 @@ Term ID of the plan ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -337,7 +382,7 @@ Status of Azure Subscription where Marketplace SaaS is located. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -356,7 +401,7 @@ You may find your eligible plans [here](https://portal.azure.com/#view/Microsoft ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -371,7 +416,7 @@ A unique identifier associated with the campaign. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -386,7 +431,7 @@ Name of the marketing campaign. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -417,7 +462,7 @@ State of the Azure Subscription containing the monitor resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -432,7 +477,7 @@ The tags of the monitor resource. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -447,7 +492,7 @@ Company name of the user ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -462,7 +507,7 @@ Email of the user used by Elastic for contacting them if needed ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -477,7 +522,7 @@ First name of the user ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -492,7 +537,7 @@ Last name of the user ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -507,7 +552,7 @@ Version of elastic of the monitor resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -555,7 +600,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorResource ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md index d65bbc904f38..bb400278ba06 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticOpenAi ## SYNOPSIS -Create or update a OpenAI integration rule for a given monitor resource. +create a OpenAI integration rule for a given monitor resource. ## SYNTAX @@ -38,8 +38,35 @@ New-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiReso [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### CreateViaIdentityMonitor +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### CreateViaIdentityMonitorExpanded +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> [-Key <String>] + [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] [-Confirm] + [-WhatIf] [<CommonParameters>] +``` + +### CreateViaJsonFilePath +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + -JsonFilePath <String> [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + -JsonString <String> [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + ## DESCRIPTION -Create or update a OpenAI integration rule for a given monitor resource. +create a OpenAI integration rule for a given monitor resource. ## EXAMPLES @@ -60,11 +87,10 @@ This command Creates or updates a OpenAI integration rule for a given monitor re ### -Body Capture properties of Open AI resource Integration. -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel -Parameter Sets: Create, CreateViaIdentity +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel +Parameter Sets: Create, CreateViaIdentity, CreateViaIdentityMonitor Aliases: Required: True @@ -92,7 +118,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.Elastic.Models.IElasticIdentity @@ -111,7 +136,37 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded +Parameter Sets: Create, CreateExpanded, CreateViaIdentityMonitor, CreateViaIdentityMonitorExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +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 @@ -126,7 +181,7 @@ Value of API key for Open AI resource ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -136,12 +191,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: CreateViaIdentityMonitor, CreateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -156,7 +226,7 @@ The API endpoint for Open AI resource ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -171,7 +241,7 @@ The resource name of Open AI resource ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -187,7 +257,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -203,7 +273,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -249,13 +319,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticTagRule.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticTagRule.md index 8f5694ff53e2..6b5b97bd5289 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticTagRule.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticTagRule.md @@ -8,18 +8,38 @@ schema: 2.0.0 # New-AzElasticTagRule ## SYNOPSIS -Create or update a tag rule set for a given monitor resource. +create a tag rule set for a given monitor resource. ## SYNTAX +### CreateExpanded (Default) ``` New-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] [-LogRuleFilteringTag <IFilteringTag[]>] [-LogRuleSendAadLog] [-LogRuleSendActivityLog] [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### CreateViaIdentityMonitorExpanded +``` +New-AzElasticTagRule -MonitorInputObject <IElasticIdentity> [-LogRuleFilteringTag <IFilteringTag[]>] + [-LogRuleSendAadLog] [-LogRuleSendActivityLog] [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] + [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### CreateViaJsonFilePath +``` +New-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION -Create or update a tag rule set for a given monitor resource. +create a tag rule set for a given monitor resource. ## EXAMPLES @@ -54,17 +74,46 @@ 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 +``` + ### -LogRuleFilteringTag List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. -To construct, see NOTES section for LOGRULEFILTERINGTAG properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IFilteringTag[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IFilteringTag[] +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -79,7 +128,7 @@ Flag specifying if AAD logs should be sent for the Monitor resource. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -94,7 +143,7 @@ Flag specifying if activity logs from Azure resources should be sent for the Mon ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -109,7 +158,7 @@ Flag specifying if subscription logs should be sent for the Monitor resource. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -119,12 +168,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: CreateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -140,7 +204,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -156,7 +220,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -202,9 +266,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IMonitoringTagRules +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoringTagRules ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticDetachAndDeleteTrafficFilter.md b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticDetachAndDeleteTrafficFilter.md index 2457539e7aec..82a6337f4369 100644 --- a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticDetachAndDeleteTrafficFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticDetachAndDeleteTrafficFilter.md @@ -57,7 +57,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticMonitor.md b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticMonitor.md index e17c5029a795..6369c719bbe6 100644 --- a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticMonitor.md +++ b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticMonitor.md @@ -78,7 +78,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticOpenAi.md b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticOpenAi.md index f9962a7c2e93..aae21707f8a2 100644 --- a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticOpenAi.md +++ b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticOpenAi.md @@ -24,6 +24,12 @@ Remove-AzElasticOpenAi -InputObject <IElasticIdentity> [-DefaultProfile <PSObjec [-WhatIf] [<CommonParameters>] ``` +### DeleteViaIdentityMonitor +``` +Remove-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION Delete OpenAI integration rule for a given monitor resource. @@ -56,7 +62,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.Elastic.Models.IElasticIdentity @@ -75,7 +80,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityMonitor Aliases: Required: True @@ -85,6 +90,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: DeleteViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name diff --git a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticTrafficFilter.md b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticTrafficFilter.md index bcb97810f75e..67bf4e8946a0 100644 --- a/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticTrafficFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/Remove-AzElasticTrafficFilter.md @@ -56,7 +56,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticDetachTrafficFilter.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticDetachTrafficFilter.md index bd2360e5f081..218c1ec97235 100644 --- a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticDetachTrafficFilter.md +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticDetachTrafficFilter.md @@ -72,7 +72,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md index 8c65aa38b8f1..6b808be4793e 100644 --- a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzElasticExternalUser ## SYNOPSIS -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +update User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## SYNTAX @@ -38,8 +38,20 @@ Update-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [-WhatIf] [<CommonParameters>] ``` +### UpdateViaJsonFilePath +``` +Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaJsonString +``` +Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +update User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## EXAMPLES @@ -54,10 +66,9 @@ This command will Create User inside elastic deployment which are used by custom ### -Body The properties of the request required for creating user on elastic side -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -116,7 +127,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.Elastic.Models.IElasticIdentity @@ -130,12 +140,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 +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -166,7 +206,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -197,7 +237,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -258,13 +298,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo + ## OUTPUTS -### System.Boolean +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse ## NOTES diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md index 57fec4114345..3cec55c07cbd 100644 --- a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzElasticMonitor ## SYNOPSIS -Update a monitor resource. +update a monitor resource. ## SYNTAX @@ -24,6 +24,18 @@ Update-AzElasticMonitor -InputObject <IElasticIdentity> [-Tag <Hashtable>] [-Def [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### UpdateViaJsonFilePath +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaJsonString +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ### Upgrade ``` Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> -Body <IElasticMonitorUpgrade> @@ -43,8 +55,22 @@ Update-AzElasticMonitor -InputObject <IElasticIdentity> -Body <IElasticMonitorUp [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### UpgradeViaJsonFilePath +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### UpgradeViaJsonString +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + ## DESCRIPTION -Update a monitor resource. +update a monitor resource. ## EXAMPLES @@ -81,7 +107,7 @@ Run the command as a job ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity +Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity, UpgradeViaJsonFilePath, UpgradeViaJsonString Aliases: Required: False @@ -93,10 +119,9 @@ Accept wildcard characters: False ### -Body Upgrade elastic monitor version -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorUpgrade +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorUpgrade Parameter Sets: Upgrade, UpgradeViaIdentity Aliases: @@ -125,7 +150,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.Elastic.Models.IElasticIdentity @@ -139,12 +163,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, UpgradeViaJsonFilePath +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, UpgradeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Upgrade, UpgradeExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString Aliases: MonitorName Required: True @@ -159,7 +213,7 @@ Run the command asynchronously ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity +Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity, UpgradeViaJsonFilePath, UpgradeViaJsonString Aliases: Required: False @@ -175,7 +229,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Upgrade, UpgradeExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString Aliases: Required: True @@ -191,7 +245,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Upgrade, UpgradeExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString Aliases: Required: False @@ -267,13 +321,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorUpgrade - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorUpgrade + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorResource ### System.Boolean diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md new file mode 100644 index 000000000000..7db9ea211e57 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md @@ -0,0 +1,289 @@ +--- +external help file: +Module Name: Az.Elastic +online version: https://learn.microsoft.com/powershell/module/az.elastic/update-azelasticopenai +schema: 2.0.0 +--- + +# Update-AzElasticOpenAi + +## SYNOPSIS +update a OpenAI integration rule for a given monitor resource. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + [-SubscriptionId <String>] [-Key <String>] [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] + [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### Update +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + -Body <IOpenAiIntegrationRpmodel> [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] + [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaIdentity +``` +Update-AzElasticOpenAi -InputObject <IElasticIdentity> -Body <IOpenAiIntegrationRpmodel> + [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiResourceEndpoint <String>] + [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaIdentityMonitor +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaIdentityMonitorExpanded +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> [-Key <String>] + [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] [-Confirm] + [-WhatIf] [<CommonParameters>] +``` + +## DESCRIPTION +update a OpenAI integration rule for a given monitor resource. + +## EXAMPLES + +### Example 1: Update a OpenAI integration rule for a given monitor resource. +```powershell +Update-AzElasticOpenAi -IntegrationName default -ResourceGroupName elastic-rg-3eytki -MonitorName elastic-rhqz1v +``` + +```output +IntegrationName Status ResourceGroupName +------------------ --------- ----------------- +default Active elastic-rg-3eytki +``` + +This command updates a OpenAI integration rule for a given monitor resource. + +## PARAMETERS + +### -Body +Capture properties of Open AI resource Integration. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel +Parameter Sets: Update, UpdateViaIdentity, UpdateViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +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.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IntegrationName +OpenAI Integration name + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaIdentityMonitor, UpdateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Key +Value of API key for Open AI resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentityMonitor, UpdateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitorName +Monitor resource name + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpenAiResourceEndpoint +The API endpoint for Open AI resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpenAiResourceId +The resource name of Open AI resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded +Aliases: + +Required: False +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: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Update, 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.Elastic.Models.IElasticIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel + +## NOTES + +## RELATED LINKS + diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticTagRule.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticTagRule.md new file mode 100644 index 000000000000..556d3a6e4935 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticTagRule.md @@ -0,0 +1,274 @@ +--- +external help file: +Module Name: Az.Elastic +online version: https://learn.microsoft.com/powershell/module/az.elastic/update-azelastictagrule +schema: 2.0.0 +--- + +# Update-AzElasticTagRule + +## SYNOPSIS +update a tag rule set for a given monitor resource. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> -RuleSetName <String> + [-SubscriptionId <String>] [-LogRuleFilteringTag <IFilteringTag[]>] [-LogRuleSendAadLog] + [-LogRuleSendActivityLog] [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] + [<CommonParameters>] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzElasticTagRule -InputObject <IElasticIdentity> [-LogRuleFilteringTag <IFilteringTag[]>] + [-LogRuleSendAadLog] [-LogRuleSendActivityLog] [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] + [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaIdentityMonitorExpanded +``` +Update-AzElasticTagRule -MonitorInputObject <IElasticIdentity> -RuleSetName <String> + [-LogRuleFilteringTag <IFilteringTag[]>] [-LogRuleSendAadLog] [-LogRuleSendActivityLog] + [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +## DESCRIPTION +update a tag rule set for a given monitor resource. + +## EXAMPLES + +### Example 1: Update a tag rule set for a given monitor resource +```powershell +Update-AzElasticTagRule -ResourceGroupName azps-elastic-test -MonitorName elastic-pwsh02 -LogRuleSendActivityLog +``` + +```output +Name ProvisioningState ResourceGroupName +---- ----------------- ----------------- +default Succeeded azps-elastic-test +``` + +This command updates a tag rule set for a given monitor resource. + +## PARAMETERS + +### -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.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -LogRuleFilteringTag +List of filtering tags to be used for capturing logs. +This only takes effect if SendActivityLogs flag is enabled. +If empty, all resources will be captured. +If only Exclude action is specified, the rules will apply to the list of all available resources. +If Include actions are specified, the rules will only include resources with the associated tags. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IFilteringTag[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogRuleSendAadLog +Flag specifying if AAD logs should be sent for the Monitor resource. + +```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 +``` + +### -LogRuleSendActivityLog +Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. + +```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 +``` + +### -LogRuleSendSubscriptionLog +Flag specifying if subscription logs should be sent for the Monitor resource. + +```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 +``` + +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitorName +Monitor resource name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +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 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleSetName +Tag Rule Set resource name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```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.Elastic.Models.IElasticIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoringTagRules + +## NOTES + +## RELATED LINKS + diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticVMCollection.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticVMCollection.md index 0c0efd00f69b..ef59cc9f4f14 100644 --- a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticVMCollection.md +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticVMCollection.md @@ -8,25 +8,37 @@ schema: 2.0.0 # Update-AzElasticVMCollection ## SYNOPSIS -Update the vm details that will be monitored by the Elastic monitor resource. +update the vm details that will be monitored by the Elastic monitor resource. ## SYNTAX ### UpdateExpanded (Default) ``` Update-AzElasticVMCollection -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] - [-OperationName <OperationName>] [-VMResourceId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] + [-OperationName <String>] [-VMResourceId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] ``` ### UpdateViaIdentityExpanded ``` -Update-AzElasticVMCollection -InputObject <IElasticIdentity> [-OperationName <OperationName>] +Update-AzElasticVMCollection -InputObject <IElasticIdentity> [-OperationName <String>] [-VMResourceId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] ``` +### UpdateViaJsonFilePath +``` +Update-AzElasticVMCollection -Name <String> -ResourceGroupName <String> -JsonFilePath <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### UpdateViaJsonString +``` +Update-AzElasticVMCollection -Name <String> -ResourceGroupName <String> -JsonString <String> + [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + ## DESCRIPTION -Update the vm details that will be monitored by the Elastic monitor resource. +update the vm details that will be monitored by the Elastic monitor resource. ## EXAMPLES @@ -64,7 +76,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.Elastic.Models.IElasticIdentity @@ -78,12 +89,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 +``` + ### -Name Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -97,8 +138,8 @@ Accept wildcard characters: False Operation to be performed for given VM. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.OperationName -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -129,7 +170,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -145,7 +186,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -160,7 +201,7 @@ ARM id of the VM resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False diff --git a/src/Elastic/Elastic.Autorest/examples/Update-AzElasticOpenAi.md b/src/Elastic/Elastic.Autorest/examples/Update-AzElasticOpenAi.md new file mode 100644 index 000000000000..28d0c12365d4 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/examples/Update-AzElasticOpenAi.md @@ -0,0 +1,12 @@ +### Example 1: Update a OpenAI integration rule for a given monitor resource. +```powershell +Update-AzElasticOpenAi -IntegrationName default -ResourceGroupName elastic-rg-3eytki -MonitorName elastic-rhqz1v +``` + +```output +IntegrationName Status ResourceGroupName +------------------ --------- ----------------- +default Active elastic-rg-3eytki +``` + +This command updates a OpenAI integration rule for a given monitor resource. \ No newline at end of file diff --git a/src/Elastic/Elastic.Autorest/examples/Update-AzElasticTagRule.md b/src/Elastic/Elastic.Autorest/examples/Update-AzElasticTagRule.md new file mode 100644 index 000000000000..00cd1c4bd582 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/examples/Update-AzElasticTagRule.md @@ -0,0 +1,12 @@ +### Example 1: Update a tag rule set for a given monitor resource +```powershell +Update-AzElasticTagRule -ResourceGroupName azps-elastic-test -MonitorName elastic-pwsh02 -LogRuleSendActivityLog +``` + +```output +Name ProvisioningState ResourceGroupName +---- ----------------- ----------------- +default Succeeded azps-elastic-test +``` + +This command updates a tag rule set for a given monitor resource. \ No newline at end of file diff --git a/src/Elastic/Elastic.Autorest/generate-info.json b/src/Elastic/Elastic.Autorest/generate-info.json index 806a49ec75fa..7f4022438a52 100644 --- a/src/Elastic/Elastic.Autorest/generate-info.json +++ b/src/Elastic/Elastic.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "35cd50e6-3ebb-45e7-894a-834bc4bbff5a" + "generate_Id": "6bcbc229-fe0b-4d7a-ad96-e53bb1eca8c1" } diff --git a/src/Elastic/Elastic.Autorest/resources/README.md b/src/Elastic/Elastic.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Elastic/Elastic.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/Elastic/Elastic.Autorest/test/Get-AzElasticVersion.Tests.ps1 b/src/Elastic/Elastic.Autorest/test/Get-AzElasticVersion.Tests.ps1 index 328b60235341..d810b41c4e82 100644 --- a/src/Elastic/Elastic.Autorest/test/Get-AzElasticVersion.Tests.ps1 +++ b/src/Elastic/Elastic.Autorest/test/Get-AzElasticVersion.Tests.ps1 @@ -20,7 +20,7 @@ Describe 'Get-AzElasticVersion' { $region = 'westus2' $elasticVersions = Get-AzElasticVersion -Region $region $elasticVersions | Should -Not -BeNullOrEmpty - $elasticVersions | Should -BeOfType 'Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticVersionListFormat' + $elasticVersions | Should -BeOfType 'Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticVersionListFormat' # Ensure output contains version data $elasticVersions.version | Should -Contain '8.15.2' diff --git a/src/Elastic/Elastic.Autorest/test/Update-AzElasticOpenAi.Tests.ps1 b/src/Elastic/Elastic.Autorest/test/Update-AzElasticOpenAi.Tests.ps1 new file mode 100644 index 000000000000..313a40acf809 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/test/Update-AzElasticOpenAi.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzElasticOpenAi')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzElasticOpenAi.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-AzElasticOpenAi' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityMonitorExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Elastic/Elastic.Autorest/test/Update-AzElasticTagRule.Tests.ps1 b/src/Elastic/Elastic.Autorest/test/Update-AzElasticTagRule.Tests.ps1 new file mode 100644 index 000000000000..c7a660c5e128 --- /dev/null +++ b/src/Elastic/Elastic.Autorest/test/Update-AzElasticTagRule.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzElasticTagRule')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzElasticTagRule.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-AzElasticTagRule' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityMonitorExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Elastic/Elastic.sln b/src/Elastic/Elastic.sln index 7ade4cc8082a..e62acb2a9339 100644 --- a/src/Elastic/Elastic.sln +++ b/src/Elastic/Elastic.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}") = "Elastic", "Elastic\Elastic.csproj", "{476FE783-48CC-4754-AFE5-5A23F20EE4C1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{866985A1-7445-4351-BF7C-AC117712C6B4}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Elastic.Autorest", "Elastic.Autorest", "{97EE1459-6136-8FF5-E00C-633BB447F4A4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{6053845B-5A9D-4CE8-97BB-01985871DA00}" 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 {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Debug|x64.ActiveCfg = Debug|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Debug|x64.Build.0 = Debug|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Debug|x86.ActiveCfg = Debug|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Debug|x86.Build.0 = Debug|Any CPU {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Release|Any CPU.ActiveCfg = Release|Any CPU {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Release|Any CPU.Build.0 = Release|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Release|x64.ActiveCfg = Release|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Release|x64.Build.0 = Release|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Release|x86.ActiveCfg = Release|Any CPU + {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248}.Release|x86.Build.0 = Release|Any CPU {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Debug|x64.ActiveCfg = Debug|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Debug|x64.Build.0 = Debug|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Debug|x86.ActiveCfg = Debug|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Debug|x86.Build.0 = Debug|Any CPU {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Release|Any CPU.ActiveCfg = Release|Any CPU {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Release|Any CPU.Build.0 = Release|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Release|x64.ActiveCfg = Release|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Release|x64.Build.0 = Release|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Release|x86.ActiveCfg = Release|Any CPU + {C73E729F-A026-4AE1-B32B-6D79B811F6AE}.Release|x86.Build.0 = Release|Any CPU {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Debug|x64.ActiveCfg = Debug|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Debug|x64.Build.0 = Debug|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Debug|x86.ActiveCfg = Debug|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Debug|x86.Build.0 = Debug|Any CPU {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Release|Any CPU.ActiveCfg = Release|Any CPU {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Release|Any CPU.Build.0 = Release|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Release|x64.ActiveCfg = Release|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Release|x64.Build.0 = Release|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Release|x86.ActiveCfg = Release|Any CPU + {E73BE5ED-050C-4A98-ABC9-8C9434CB2DAC}.Release|x86.Build.0 = Release|Any CPU {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Debug|x64.ActiveCfg = Debug|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Debug|x64.Build.0 = Debug|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Debug|x86.ActiveCfg = Debug|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Debug|x86.Build.0 = Debug|Any CPU {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Release|Any CPU.ActiveCfg = Release|Any CPU {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Release|Any CPU.Build.0 = Release|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Release|x64.ActiveCfg = Release|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Release|x64.Build.0 = Release|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Release|x86.ActiveCfg = Release|Any CPU + {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8}.Release|x86.Build.0 = Release|Any CPU {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Debug|x64.ActiveCfg = Debug|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Debug|x64.Build.0 = Debug|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Debug|x86.ActiveCfg = Debug|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Debug|x86.Build.0 = Debug|Any CPU {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Release|Any CPU.ActiveCfg = Release|Any CPU {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Release|Any CPU.Build.0 = Release|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Release|x64.ActiveCfg = Release|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Release|x64.Build.0 = Release|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Release|x86.ActiveCfg = Release|Any CPU + {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C}.Release|x86.Build.0 = Release|Any CPU {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Debug|x64.ActiveCfg = Debug|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Debug|x64.Build.0 = Debug|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Debug|x86.ActiveCfg = Debug|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Debug|x86.Build.0 = Debug|Any CPU {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Release|Any CPU.ActiveCfg = Release|Any CPU {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Release|Any CPU.Build.0 = Release|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Release|x64.ActiveCfg = Release|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Release|x64.Build.0 = Release|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Release|x86.ActiveCfg = Release|Any CPU + {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06}.Release|x86.Build.0 = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Debug|x64.ActiveCfg = Debug|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Debug|x64.Build.0 = Debug|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Debug|x86.ActiveCfg = Debug|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Debug|x86.Build.0 = Debug|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|Any CPU.ActiveCfg = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|Any CPU.Build.0 = Release|Any CPU - {866985A1-7445-4351-BF7C-AC117712C6B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {866985A1-7445-4351-BF7C-AC117712C6B4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {866985A1-7445-4351-BF7C-AC117712C6B4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {866985A1-7445-4351-BF7C-AC117712C6B4}.Release|Any CPU.Build.0 = Release|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x64.ActiveCfg = Release|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x64.Build.0 = Release|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.ActiveCfg = Release|Any CPU + {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.Build.0 = Release|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x64.ActiveCfg = Debug|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x64.Build.0 = Debug|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x86.ActiveCfg = Debug|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x86.Build.0 = Debug|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|Any CPU.Build.0 = Release|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x64.ActiveCfg = Release|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x64.Build.0 = Release|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x86.ActiveCfg = Release|Any CPU + {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {DDE9F70D-91FC-42A7-8DB6-0426A6F4A248} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} @@ -70,5 +140,6 @@ Global {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} + {6053845B-5A9D-4CE8-97BB-01985871DA00} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} EndGlobalSection EndGlobal diff --git a/src/Elastic/Elastic/Az.Elastic.psd1 b/src/Elastic/Elastic/Az.Elastic.psd1 index 7a541fe4c987..7c88c4cf8811 100644 --- a/src/Elastic/Elastic/Az.Elastic.psd1 +++ b/src/Elastic/Elastic/Az.Elastic.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-04-24 # @{ @@ -51,16 +51,16 @@ 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 = 'Elastic.Autorest/bin/Az.Elastic.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 = 'Elastic.Autorest/Az.Elastic.format.ps1xml' @@ -89,6 +89,7 @@ FunctionsToExport = 'Get-AzElasticAllTrafficFilter', 'Get-AzElasticBillingInfo', 'Remove-AzElasticTrafficFilter', 'Update-AzElasticDetachTrafficFilter', 'Update-AzElasticExternalUser', 'Update-AzElasticMonitor', + 'Update-AzElasticOpenAi', 'Update-AzElasticTagRule', 'Update-AzElasticVMCollection' # 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. @@ -115,7 +116,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','Elastic' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Elastic' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -140,7 +141,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Elastic/Elastic/ChangeLog.md b/src/Elastic/Elastic/ChangeLog.md index 51fd94683cb5..3726808c07c6 100644 --- a/src/Elastic/Elastic/ChangeLog.md +++ b/src/Elastic/Elastic/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.2.1 * Upgraded nuget package to signed package. diff --git a/src/Elastic/Elastic/help/Az.Elastic.md b/src/Elastic/Elastic/help/Az.Elastic.md index bc397bc07fba..a045861629ae 100644 --- a/src/Elastic/Elastic/help/Az.Elastic.md +++ b/src/Elastic/Elastic/help/Az.Elastic.md @@ -63,25 +63,25 @@ List the vm resources currently being monitored by the Elastic monitor resource. Associate traffic filter for the given deployment. ### [New-AzElasticCreateAndAssociateIPFilter](New-AzElasticCreateAndAssociateIPFilter.md) -Create and Associate IP traffic filter for the given deployment. +create and Associate IP traffic filter for the given deployment. ### [New-AzElasticCreateAndAssociatePlFilter](New-AzElasticCreateAndAssociatePlFilter.md) -Create and Associate private link traffic filter for the given deployment. +create and Associate private link traffic filter for the given deployment. ### [New-AzElasticExternalUser](New-AzElasticExternalUser.md) -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +create User inside elastic deployment which are used by customers to perform operations on the elastic deployment ### [New-AzElasticFilteringTagObject](New-AzElasticFilteringTagObject.md) -Create a in-memory object for FilteringTag +Create an in-memory object for FilteringTag. ### [New-AzElasticMonitor](New-AzElasticMonitor.md) -Create a monitor resource. +create a monitor resource. ### [New-AzElasticOpenAi](New-AzElasticOpenAi.md) -Create or update a OpenAI integration rule for a given monitor resource. +create a OpenAI integration rule for a given monitor resource. ### [New-AzElasticTagRule](New-AzElasticTagRule.md) -Create or update a tag rule set for a given monitor resource. +create a tag rule set for a given monitor resource. ### [Remove-AzElasticDetachAndDeleteTrafficFilter](Remove-AzElasticDetachAndDeleteTrafficFilter.md) Detach and Delete traffic filter from the given deployment. @@ -99,11 +99,17 @@ Delete traffic filter from the account. Detach traffic filter for the given deployment. ### [Update-AzElasticExternalUser](Update-AzElasticExternalUser.md) -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +update User inside elastic deployment which are used by customers to perform operations on the elastic deployment ### [Update-AzElasticMonitor](Update-AzElasticMonitor.md) -Update a monitor resource. +update a monitor resource. + +### [Update-AzElasticOpenAi](Update-AzElasticOpenAi.md) +update a OpenAI integration rule for a given monitor resource. + +### [Update-AzElasticTagRule](Update-AzElasticTagRule.md) +update a tag rule set for a given monitor resource. ### [Update-AzElasticVMCollection](Update-AzElasticVMCollection.md) -Update the vm details that will be monitored by the Elastic monitor resource. +update the vm details that will be monitored by the Elastic monitor resource. diff --git a/src/Elastic/Elastic/help/Get-AzElasticAllTrafficFilter.md b/src/Elastic/Elastic/help/Get-AzElasticAllTrafficFilter.md index 6c20d3a2474d..3b4766e370e8 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticAllTrafficFilter.md +++ b/src/Elastic/Elastic/help/Get-AzElasticAllTrafficFilter.md @@ -132,7 +132,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticTrafficFilter +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticTrafficFilterResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticBillingInfo.md b/src/Elastic/Elastic/help/Get-AzElasticBillingInfo.md index b530590e418b..99719915a715 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticBillingInfo.md +++ b/src/Elastic/Elastic/help/Get-AzElasticBillingInfo.md @@ -66,7 +66,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.Elastic.Models.IElasticIdentity @@ -167,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IBillingInfoResponse +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IBillingInfoResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticConnectedPartnerResource.md b/src/Elastic/Elastic/help/Get-AzElasticConnectedPartnerResource.md index f3fe07780ed6..26a224c13fb4 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticConnectedPartnerResource.md +++ b/src/Elastic/Elastic/help/Get-AzElasticConnectedPartnerResource.md @@ -139,7 +139,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IConnectedPartnerResourcesListFormat +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IConnectedPartnerResourcesListFormat ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticDeploymentInfo.md b/src/Elastic/Elastic/help/Get-AzElasticDeploymentInfo.md index f0c44195e9c8..0c0ca60df7a4 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticDeploymentInfo.md +++ b/src/Elastic/Elastic/help/Get-AzElasticDeploymentInfo.md @@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IDeploymentInfoResponse +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IDeploymentInfoResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticDetailUpgradableVersion.md b/src/Elastic/Elastic/help/Get-AzElasticDetailUpgradableVersion.md index a24bd901d2e9..7dfb8a458a56 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticDetailUpgradableVersion.md +++ b/src/Elastic/Elastic/help/Get-AzElasticDetailUpgradableVersion.md @@ -57,7 +57,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.Elastic.Models.IElasticIdentity @@ -158,7 +157,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUpgradableVersionsList +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUpgradableVersionsList ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticDetailVMIngestion.md b/src/Elastic/Elastic/help/Get-AzElasticDetailVMIngestion.md index e793dcc03c3a..b8fa227632e2 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticDetailVMIngestion.md +++ b/src/Elastic/Elastic/help/Get-AzElasticDetailVMIngestion.md @@ -75,7 +75,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.Elastic.Models.IElasticIdentity @@ -176,7 +175,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IVMIngestionDetailsResponse +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IVMIngestionDetailsResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticListAssociatedTrafficFilter.md b/src/Elastic/Elastic/help/Get-AzElasticListAssociatedTrafficFilter.md index d039acd93f8a..79e0ac9aa3fc 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticListAssociatedTrafficFilter.md +++ b/src/Elastic/Elastic/help/Get-AzElasticListAssociatedTrafficFilter.md @@ -133,7 +133,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticTrafficFilter +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticTrafficFilterResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticMonitor.md b/src/Elastic/Elastic/help/Get-AzElasticMonitor.md index 237af9a09c50..58f1b867e42a 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticMonitor.md +++ b/src/Elastic/Elastic/help/Get-AzElasticMonitor.md @@ -120,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.Elastic.Models.IElasticIdentity @@ -190,7 +189,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorResource ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticMonitoredResource.md b/src/Elastic/Elastic/help/Get-AzElasticMonitoredResource.md index 2cfdd065f9d0..a545d980e122 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticMonitoredResource.md +++ b/src/Elastic/Elastic/help/Get-AzElasticMonitoredResource.md @@ -132,7 +132,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IMonitoredResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoredResource ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticOpenAi.md b/src/Elastic/Elastic/help/Get-AzElasticOpenAi.md index 185c1816de4b..73ba0275c4ee 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticOpenAi.md +++ b/src/Elastic/Elastic/help/Get-AzElasticOpenAi.md @@ -18,6 +18,12 @@ Get-AzElasticOpenAi -MonitorName <String> -ResourceGroupName <String> [-Subscrip [-DefaultProfile <PSObject>] [<CommonParameters>] ``` +### GetViaIdentityMonitor +``` +Get-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + [-DefaultProfile <PSObject>] [<CommonParameters>] +``` + ### Get ``` Get-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> @@ -71,7 +77,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.Elastic.Models.IElasticIdentity @@ -90,7 +95,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: GetViaIdentityMonitor, Get Aliases: Required: True @@ -100,6 +105,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: GetViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name @@ -156,7 +176,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticOpenAiStatus.md b/src/Elastic/Elastic/help/Get-AzElasticOpenAiStatus.md index 3c12a2a3f1ae..94a591b45cd9 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticOpenAiStatus.md +++ b/src/Elastic/Elastic/help/Get-AzElasticOpenAiStatus.md @@ -19,6 +19,12 @@ Get-AzElasticOpenAiStatus -IntegrationName <String> -MonitorName <String> -Resou [-Confirm] [<CommonParameters>] ``` +### GetViaIdentityMonitor +``` +Get-AzElasticOpenAiStatus -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ### GetViaIdentity ``` Get-AzElasticOpenAiStatus -InputObject <IElasticIdentity> [-DefaultProfile <PSObject>] @@ -62,7 +68,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.Elastic.Models.IElasticIdentity @@ -81,7 +86,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityMonitor Aliases: Required: True @@ -91,6 +96,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: GetViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name @@ -178,7 +198,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationStatusResponseProperties +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationStatusResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md index 514638af2b0d..aca5b3591a03 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md @@ -24,16 +24,16 @@ Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -Body <IUserEmailId [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### GetViaIdentityExpanded +### GetViaJsonFilePath ``` -Get-AzElasticOrganizationApiKey -InputObject <IElasticIdentity> [-EmailId <String>] +Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -JsonFilePath <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### GetViaIdentity +### GetViaJsonString ``` -Get-AzElasticOrganizationApiKey -InputObject <IElasticIdentity> -Body <IUserEmailId> - [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] +Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -JsonString <String> [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] ``` ## DESCRIPTION @@ -52,11 +52,10 @@ This command will Fetch User API Key from internal database, if it was generated ### -Body Email Id of the User Organization, of which the API Key must be returned -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUserEmailId -Parameter Sets: Get, GetViaIdentity +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId +Parameter Sets: Get Aliases: Required: True @@ -87,7 +86,7 @@ The User email Id ```yaml Type: System.String -Parameter Sets: GetExpanded, GetViaIdentityExpanded +Parameter Sets: GetExpanded Aliases: Required: False @@ -97,19 +96,33 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. +### -JsonFilePath +Path of Json file supplied to the Get operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: GetViaIdentityExpanded, GetViaIdentity +Type: System.String +Parameter Sets: GetViaJsonFilePath Aliases: Required: True Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False Accept wildcard characters: False ``` @@ -119,7 +132,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: GetExpanded, Get +Parameter Sets: (All) Aliases: Required: False @@ -165,13 +178,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUserEmailId - -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IUserApiKeyResponseProperties +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserApiKeyResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md b/src/Elastic/Elastic/help/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md index 286545af29f1..7fb72c77f33c 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md +++ b/src/Elastic/Elastic/help/Get-AzElasticOrganizationElasticToAzureSubscriptionMapping.md @@ -12,18 +12,11 @@ Get Elastic Organization To Azure Subscription Mapping details for the logged-in ## SYNTAX -### Get (Default) ``` Get-AzElasticOrganizationElasticToAzureSubscriptionMapping [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### GetViaIdentity -``` -Get-AzElasticOrganizationElasticToAzureSubscriptionMapping -InputObject <IElasticIdentity> - [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ## DESCRIPTION Get Elastic Organization To Azure Subscription Mapping details for the logged-in user. @@ -54,29 +47,13 @@ Accept pipeline input: False 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.Elastic.Models.IElasticIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get +Parameter Sets: (All) Aliases: Required: False @@ -122,11 +99,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity - ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticOrganizationToAzureSubscriptionMappingResponseProperties +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticOrganizationToAzureSubscriptionMappingResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticTagRule.md b/src/Elastic/Elastic/help/Get-AzElasticTagRule.md index ec1e1cc895bf..a45b5562ca6b 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticTagRule.md +++ b/src/Elastic/Elastic/help/Get-AzElasticTagRule.md @@ -24,6 +24,12 @@ Get-AzElasticTagRule -InputObject <IElasticIdentity> [-DefaultProfile <PSObject> [<CommonParameters>] ``` +### GetViaIdentityMonitor +``` +Get-AzElasticTagRule -MonitorInputObject <IElasticIdentity> [-DefaultProfile <PSObject>] + [<CommonParameters>] +``` + ## DESCRIPTION Get a tag rule set for a given monitor resource. @@ -75,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.Elastic.Models.IElasticIdentity @@ -89,6 +94,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: GetViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name @@ -145,7 +165,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IMonitoringTagRules +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoringTagRules ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticVMHost.md b/src/Elastic/Elastic/help/Get-AzElasticVMHost.md index f6db48fc8b2b..5954da9d89b3 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticVMHost.md +++ b/src/Elastic/Elastic/help/Get-AzElasticVMHost.md @@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IVMResources +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IVMResources ## NOTES diff --git a/src/Elastic/Elastic/help/Get-AzElasticVersion.md b/src/Elastic/Elastic/help/Get-AzElasticVersion.md index 15a69a1fa901..1153f30a5fda 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticVersion.md +++ b/src/Elastic/Elastic/help/Get-AzElasticVersion.md @@ -93,7 +93,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticVersionListFormat +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticVersionListFormat ## NOTES diff --git a/src/Elastic/Elastic/help/Join-AzElasticAssociateTrafficFilter.md b/src/Elastic/Elastic/help/Join-AzElasticAssociateTrafficFilter.md index 4e6a7d828b3e..007f433fe7da 100644 --- a/src/Elastic/Elastic/help/Join-AzElasticAssociateTrafficFilter.md +++ b/src/Elastic/Elastic/help/Join-AzElasticAssociateTrafficFilter.md @@ -73,7 +73,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociateIPFilter.md b/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociateIPFilter.md index ecbae0300c32..fd32116d61da 100644 --- a/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociateIPFilter.md +++ b/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociateIPFilter.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticCreateAndAssociateIPFilter ## SYNOPSIS -Create and Associate IP traffic filter for the given deployment. +create and Associate IP traffic filter for the given deployment. ## SYNTAX @@ -27,7 +27,7 @@ New-AzElasticCreateAndAssociateIPFilter -InputObject <IElasticIdentity> [-IP <St ``` ## DESCRIPTION -Create and Associate IP traffic filter for the given deployment. +create and Associate IP traffic filter for the given deployment. ## EXAMPLES @@ -73,7 +73,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociatePlFilter.md b/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociatePlFilter.md index aaa090117f36..f73fb9523ba3 100644 --- a/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociatePlFilter.md +++ b/src/Elastic/Elastic/help/New-AzElasticCreateAndAssociatePlFilter.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticCreateAndAssociatePlFilter ## SYNOPSIS -Create and Associate private link traffic filter for the given deployment. +create and Associate private link traffic filter for the given deployment. ## SYNTAX @@ -28,7 +28,7 @@ New-AzElasticCreateAndAssociatePlFilter -InputObject <IElasticIdentity> [-Name < ``` ## DESCRIPTION -Create and Associate private link traffic filter for the given deployment. +create and Associate private link traffic filter for the given deployment. ## EXAMPLES @@ -74,7 +74,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic/help/New-AzElasticExternalUser.md b/src/Elastic/Elastic/help/New-AzElasticExternalUser.md index 70a9c019bc6d..d7af8f889e0f 100644 --- a/src/Elastic/Elastic/help/New-AzElasticExternalUser.md +++ b/src/Elastic/Elastic/help/New-AzElasticExternalUser.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticExternalUser ## SYNOPSIS -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +create User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## SYNTAX @@ -19,6 +19,20 @@ New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-Su [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### CreateViaJsonString +``` +New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + +### CreateViaJsonFilePath +``` +New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + ### Create ``` New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] @@ -40,7 +54,7 @@ New-AzElasticExternalUser -InputObject <IElasticIdentity> -Body <IExternalUserIn ``` ## DESCRIPTION -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +create User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## EXAMPLES @@ -55,10 +69,9 @@ This command Creates an User inside elastic deployment which are used by custome ### -Body The properties of the request required for creating user on elastic side -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo Parameter Sets: Create, CreateViaIdentity Aliases: @@ -117,7 +130,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.Elastic.Models.IElasticIdentity @@ -131,12 +143,42 @@ Accept pipeline input: True (ByValue) 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 +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: CreateExpanded, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: True @@ -167,7 +209,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: CreateExpanded, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: True @@ -198,7 +240,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: CreateExpanded, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: False @@ -259,13 +301,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo + ## OUTPUTS -### System.Boolean +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse ## NOTES diff --git a/src/Elastic/Elastic/help/New-AzElasticFilteringTagObject.md b/src/Elastic/Elastic/help/New-AzElasticFilteringTagObject.md index 33de13fe6340..8985a097e483 100644 --- a/src/Elastic/Elastic/help/New-AzElasticFilteringTagObject.md +++ b/src/Elastic/Elastic/help/New-AzElasticFilteringTagObject.md @@ -1,24 +1,24 @@ --- external help file: Az.Elastic-help.xml Module Name: Az.Elastic -online version: https://learn.microsoft.com/powershell/module/az.Elastic/new-AzElasticFilteringTagObject +online version: https://learn.microsoft.com/powershell/module/Az.Elastic/new-azelasticfilteringtagobject schema: 2.0.0 --- # New-AzElasticFilteringTagObject ## SYNOPSIS -Create a in-memory object for FilteringTag +Create an in-memory object for FilteringTag. ## SYNTAX ``` -New-AzElasticFilteringTagObject [-Action <TagAction>] [-Name <String>] [-Value <String>] +New-AzElasticFilteringTagObject [-Action <String>] [-Name <String>] [-Value <String>] [<CommonParameters>] ``` ## DESCRIPTION -Create a in-memory object for FilteringTag +Create an in-memory object for FilteringTag. ## EXAMPLES @@ -42,7 +42,7 @@ This command creates a in-memory object for FilteringTag used when creating tag Valid actions for a filtering tag. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.TagAction +Type: System.String Parameter Sets: (All) Aliases: @@ -90,7 +90,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.FilteringTag +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.FilteringTag ## NOTES diff --git a/src/Elastic/Elastic/help/New-AzElasticMonitor.md b/src/Elastic/Elastic/help/New-AzElasticMonitor.md index 1acd2cfe1503..8f322f510b6b 100644 --- a/src/Elastic/Elastic/help/New-AzElasticMonitor.md +++ b/src/Elastic/Elastic/help/New-AzElasticMonitor.md @@ -8,15 +8,16 @@ schema: 2.0.0 # New-AzElasticMonitor ## SYNOPSIS -Create a monitor resource. +create a monitor resource. ## SYNTAX +### CreateExpanded (Default) ``` -New-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] -Location <String> +New-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] [-CompanyInfoBusiness <String>] [-CompanyInfoCountry <String>] [-CompanyInfoDomain <String>] - [-CompanyInfoEmployeesNumber <String>] [-CompanyInfoState <String>] [-GenerateApiKey] - [-IdentityType <ManagedIdentityTypes>] [-MonitoringStatus <MonitoringStatus>] [-PlanDetailOfferId <String>] + [-CompanyInfoEmployeesNumber <String>] [-CompanyInfoState <String>] [-EnableSystemAssignedIdentity] + [-GenerateApiKey] [-Location <String>] [-MonitoringStatus <String>] [-PlanDetailOfferId <String>] [-PlanDetailPlanId <String>] [-PlanDetailPlanName <String>] [-PlanDetailPublisherId <String>] [-PlanDetailTermId <String>] [-SaaSAzureSubscriptionStatus <String>] [-Sku <String>] [-SourceCampaignId <String>] [-SourceCampaignName <String>] [-SubscriptionState <String>] [-Tag <Hashtable>] @@ -25,8 +26,22 @@ New-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### CreateViaJsonFilePath +``` +New-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### CreateViaJsonString +``` +New-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] -JsonString <String> + [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + ## DESCRIPTION -Create a monitor resource. +create a monitor resource. ## EXAMPLES @@ -65,7 +80,7 @@ Business of the company ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -80,7 +95,7 @@ Country of the company location. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -95,7 +110,7 @@ Domain of the company ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -110,7 +125,7 @@ Number of employees in the company ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -125,7 +140,7 @@ State of the company location. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -151,12 +166,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GenerateApiKey Flag to determine if User API Key has to be generated and shared. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -166,15 +196,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Managed identity type. +### -JsonFilePath +Path of Json file supplied to the Create operation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.ManagedIdentityTypes -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateViaJsonFilePath Aliases: -Required: False +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 @@ -186,10 +231,10 @@ The location of the monitor resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -200,8 +245,8 @@ Accept wildcard characters: False Flag specifying if the resource monitoring is enabled or disabled. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.MonitoringStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -246,7 +291,7 @@ Offer ID of the plan ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -261,7 +306,7 @@ Plan ID ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -276,7 +321,7 @@ Plan Name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -291,7 +336,7 @@ Publisher ID of the plan ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -306,7 +351,7 @@ Term ID of the plan ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -337,7 +382,7 @@ Status of Azure Subscription where Marketplace SaaS is located. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -356,7 +401,7 @@ You may find your eligible plans [here](https://portal.azure.com/#view/Microsoft ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -371,7 +416,7 @@ A unique identifier associated with the campaign. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -386,7 +431,7 @@ Name of the marketing campaign. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -417,7 +462,7 @@ State of the Azure Subscription containing the monitor resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -432,7 +477,7 @@ The tags of the monitor resource. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -447,7 +492,7 @@ Company name of the user ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -462,7 +507,7 @@ Email of the user used by Elastic for contacting them if needed ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -477,7 +522,7 @@ First name of the user ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -492,7 +537,7 @@ Last name of the user ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -507,7 +552,7 @@ Version of elastic of the monitor resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -555,7 +600,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorResource ## NOTES diff --git a/src/Elastic/Elastic/help/New-AzElasticOpenAi.md b/src/Elastic/Elastic/help/New-AzElasticOpenAi.md index 7fa7da7ddea2..d46e27e84a67 100644 --- a/src/Elastic/Elastic/help/New-AzElasticOpenAi.md +++ b/src/Elastic/Elastic/help/New-AzElasticOpenAi.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzElasticOpenAi ## SYNOPSIS -Create or update a OpenAI integration rule for a given monitor resource. +create a OpenAI integration rule for a given monitor resource. ## SYNTAX @@ -19,6 +19,34 @@ New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGro [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### CreateViaJsonString +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + [-SubscriptionId <String>] -JsonString <String> [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### CreateViaJsonFilePath +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + [-SubscriptionId <String>] -JsonFilePath <String> [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### CreateViaIdentityMonitorExpanded +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> [-Key <String>] + [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### CreateViaIdentityMonitor +``` +New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + ### Create ``` New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> @@ -40,7 +68,7 @@ New-AzElasticOpenAi -InputObject <IElasticIdentity> -Body <IOpenAiIntegrationRpm ``` ## DESCRIPTION -Create or update a OpenAI integration rule for a given monitor resource. +create a OpenAI integration rule for a given monitor resource. ## EXAMPLES @@ -61,11 +89,10 @@ This command Creates or updates a OpenAI integration rule for a given monitor re ### -Body Capture properties of Open AI resource Integration. -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel -Parameter Sets: Create, CreateViaIdentity +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel +Parameter Sets: CreateViaIdentityMonitor, Create, CreateViaIdentity Aliases: Required: True @@ -93,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.Elastic.Models.IElasticIdentity @@ -112,7 +138,37 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: CreateExpanded, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityMonitorExpanded, CreateViaIdentityMonitor, Create +Aliases: + +Required: True +Position: Named +Default value: None +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 @@ -127,7 +183,7 @@ Value of API key for Open AI resource ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded, CreateViaIdentityExpanded Aliases: Required: False @@ -137,12 +193,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: CreateViaIdentityMonitorExpanded, CreateViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: CreateExpanded, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: True @@ -157,7 +228,7 @@ The API endpoint for Open AI resource ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded, CreateViaIdentityExpanded Aliases: Required: False @@ -172,7 +243,7 @@ The resource name of Open AI resource ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded, CreateViaIdentityExpanded Aliases: Required: False @@ -188,7 +259,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: CreateExpanded, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: True @@ -204,7 +275,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: CreateExpanded, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: False @@ -250,13 +321,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IOpenAiIntegrationRpmodel +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel ## NOTES diff --git a/src/Elastic/Elastic/help/New-AzElasticTagRule.md b/src/Elastic/Elastic/help/New-AzElasticTagRule.md index 334c5b20b737..115d1b75a878 100644 --- a/src/Elastic/Elastic/help/New-AzElasticTagRule.md +++ b/src/Elastic/Elastic/help/New-AzElasticTagRule.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzElasticTagRule ## SYNOPSIS -Create or update a tag rule set for a given monitor resource. +create a tag rule set for a given monitor resource. ## SYNTAX +### CreateExpanded (Default) ``` New-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] [-LogRuleFilteringTag <IFilteringTag[]>] [-LogRuleSendAadLog] [-LogRuleSendActivityLog] @@ -19,8 +20,29 @@ New-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> [-Subscri [-Confirm] [<CommonParameters>] ``` +### CreateViaJsonString +``` +New-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + +### CreateViaJsonFilePath +``` +New-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + +### CreateViaIdentityMonitorExpanded +``` +New-AzElasticTagRule -MonitorInputObject <IElasticIdentity> [-LogRuleFilteringTag <IFilteringTag[]>] + [-LogRuleSendAadLog] [-LogRuleSendActivityLog] [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ## DESCRIPTION -Create or update a tag rule set for a given monitor resource. +create a tag rule set for a given monitor resource. ## EXAMPLES @@ -55,17 +77,46 @@ 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 +``` + ### -LogRuleFilteringTag List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. -To construct, see NOTES section for LOGRULEFILTERINGTAG properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IFilteringTag[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IFilteringTag[] +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -80,7 +131,7 @@ Flag specifying if AAD logs should be sent for the Monitor resource. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -95,7 +146,7 @@ Flag specifying if activity logs from Azure resources should be sent for the Mon ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -110,7 +161,7 @@ Flag specifying if subscription logs should be sent for the Monitor resource. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded Aliases: Required: False @@ -120,12 +171,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: CreateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -141,7 +207,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -157,7 +223,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -203,9 +269,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IMonitoringTagRules +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoringTagRules ## NOTES diff --git a/src/Elastic/Elastic/help/Remove-AzElasticDetachAndDeleteTrafficFilter.md b/src/Elastic/Elastic/help/Remove-AzElasticDetachAndDeleteTrafficFilter.md index d985144eacc6..e106314af8de 100644 --- a/src/Elastic/Elastic/help/Remove-AzElasticDetachAndDeleteTrafficFilter.md +++ b/src/Elastic/Elastic/help/Remove-AzElasticDetachAndDeleteTrafficFilter.md @@ -58,7 +58,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic/help/Remove-AzElasticMonitor.md b/src/Elastic/Elastic/help/Remove-AzElasticMonitor.md index a949cccee4bf..61942a9a2563 100644 --- a/src/Elastic/Elastic/help/Remove-AzElasticMonitor.md +++ b/src/Elastic/Elastic/help/Remove-AzElasticMonitor.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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic/help/Remove-AzElasticOpenAi.md b/src/Elastic/Elastic/help/Remove-AzElasticOpenAi.md index 038aa10272a0..cc4595c926cf 100644 --- a/src/Elastic/Elastic/help/Remove-AzElasticOpenAi.md +++ b/src/Elastic/Elastic/help/Remove-AzElasticOpenAi.md @@ -19,6 +19,13 @@ Remove-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -Resource [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### DeleteViaIdentityMonitor +``` +Remove-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + [-DefaultProfile <PSObject>] [-PassThru] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + ### DeleteViaIdentity ``` Remove-AzElasticOpenAi -InputObject <IElasticIdentity> [-DefaultProfile <PSObject>] [-PassThru] @@ -57,7 +64,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.Elastic.Models.IElasticIdentity @@ -76,7 +82,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityMonitor Aliases: Required: True @@ -86,6 +92,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: DeleteViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Monitor resource name diff --git a/src/Elastic/Elastic/help/Remove-AzElasticTrafficFilter.md b/src/Elastic/Elastic/help/Remove-AzElasticTrafficFilter.md index b7f2ed994883..352230a5917e 100644 --- a/src/Elastic/Elastic/help/Remove-AzElasticTrafficFilter.md +++ b/src/Elastic/Elastic/help/Remove-AzElasticTrafficFilter.md @@ -58,7 +58,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic/help/Update-AzElasticDetachTrafficFilter.md b/src/Elastic/Elastic/help/Update-AzElasticDetachTrafficFilter.md index 363c92a5b815..174ae71d22da 100644 --- a/src/Elastic/Elastic/help/Update-AzElasticDetachTrafficFilter.md +++ b/src/Elastic/Elastic/help/Update-AzElasticDetachTrafficFilter.md @@ -73,7 +73,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.Elastic.Models.IElasticIdentity diff --git a/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md b/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md index 875f6569bacb..74e01ad860ee 100644 --- a/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md +++ b/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzElasticExternalUser ## SYNOPSIS -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +update User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## SYNTAX @@ -19,6 +19,20 @@ Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [ [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### UpdateViaJsonString +``` +Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + +### UpdateViaJsonFilePath +``` +Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + ### Update ``` Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] @@ -40,7 +54,7 @@ Update-AzElasticExternalUser -InputObject <IElasticIdentity> -Body <IExternalUse ``` ## DESCRIPTION -Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment +update User inside elastic deployment which are used by customers to perform operations on the elastic deployment ## EXAMPLES @@ -55,10 +69,9 @@ This command will Create User inside elastic deployment which are used by custom ### -Body The properties of the request required for creating user on elastic side -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -117,7 +130,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.Elastic.Models.IElasticIdentity @@ -131,12 +143,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 +``` + ### -MonitorName Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Update +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: True @@ -167,7 +209,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Update +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: True @@ -198,7 +240,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Update +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: False @@ -259,13 +301,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IExternalUserInfo - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo + ## OUTPUTS -### System.Boolean +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse ## NOTES diff --git a/src/Elastic/Elastic/help/Update-AzElasticMonitor.md b/src/Elastic/Elastic/help/Update-AzElasticMonitor.md index da6f09d50066..8e6906ea8c82 100644 --- a/src/Elastic/Elastic/help/Update-AzElasticMonitor.md +++ b/src/Elastic/Elastic/help/Update-AzElasticMonitor.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzElasticMonitor ## SYNOPSIS -Update a monitor resource. +update a monitor resource. ## SYNTAX @@ -19,6 +19,20 @@ Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-Subscriptio [<CommonParameters>] ``` +### UpgradeViaJsonString +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### UpgradeViaJsonFilePath +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + ### UpgradeExpanded ``` Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] @@ -33,6 +47,20 @@ Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-Subscriptio [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### UpdateViaJsonString +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + +### UpdateViaJsonFilePath +``` +Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] + [<CommonParameters>] +``` + ### UpgradeViaIdentity ``` Update-AzElasticMonitor -InputObject <IElasticIdentity> -Body <IElasticMonitorUpgrade> @@ -47,7 +75,7 @@ Update-AzElasticMonitor -InputObject <IElasticIdentity> [-Tag <Hashtable>] [-Def ``` ## DESCRIPTION -Update a monitor resource. +update a monitor resource. ## EXAMPLES @@ -84,7 +112,7 @@ Run the command as a job ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: UpgradeExpanded, Upgrade, UpgradeViaIdentity +Parameter Sets: UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpgradeViaIdentity Aliases: Required: False @@ -96,10 +124,9 @@ Accept wildcard characters: False ### -Body Upgrade elastic monitor version -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorUpgrade +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorUpgrade Parameter Sets: Upgrade, UpgradeViaIdentity Aliases: @@ -128,7 +155,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.Elastic.Models.IElasticIdentity @@ -142,12 +168,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: UpgradeViaJsonFilePath, 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: UpgradeViaJsonString, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpgradeExpanded, Upgrade +Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: MonitorName Required: True @@ -162,7 +218,7 @@ Run the command asynchronously ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: UpgradeExpanded, Upgrade, UpgradeViaIdentity +Parameter Sets: UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpgradeViaIdentity Aliases: Required: False @@ -178,7 +234,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpgradeExpanded, Upgrade +Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -194,7 +250,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpgradeExpanded, Upgrade +Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -270,13 +326,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorUpgrade - ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorUpgrade + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.IElasticMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticMonitorResource ### System.Boolean diff --git a/src/Elastic/Elastic/help/Update-AzElasticOpenAi.md b/src/Elastic/Elastic/help/Update-AzElasticOpenAi.md new file mode 100644 index 000000000000..b18b9a88a342 --- /dev/null +++ b/src/Elastic/Elastic/help/Update-AzElasticOpenAi.md @@ -0,0 +1,290 @@ +--- +external help file: Az.Elastic-help.xml +Module Name: Az.Elastic +online version: https://learn.microsoft.com/powershell/module/az.elastic/update-azelasticopenai +schema: 2.0.0 +--- + +# Update-AzElasticOpenAi + +## SYNOPSIS +update a OpenAI integration rule for a given monitor resource. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + [-SubscriptionId <String>] [-Key <String>] [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] + [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### UpdateViaIdentityMonitorExpanded +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> [-Key <String>] + [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### UpdateViaIdentityMonitor +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> + -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + +### Update +``` +Update-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> + [-SubscriptionId <String>] -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiResourceEndpoint <String>] + [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + +### UpdateViaIdentity +``` +Update-AzElasticOpenAi -InputObject <IElasticIdentity> -Body <IOpenAiIntegrationRpmodel> + [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +## DESCRIPTION +update a OpenAI integration rule for a given monitor resource. + +## EXAMPLES + +### Example 1: Update a OpenAI integration rule for a given monitor resource. +```powershell +Update-AzElasticOpenAi -IntegrationName default -ResourceGroupName elastic-rg-3eytki -MonitorName elastic-rhqz1v +``` + +```output +IntegrationName Status ResourceGroupName +------------------ --------- ----------------- +default Active elastic-rg-3eytki +``` + +This command updates a OpenAI integration rule for a given monitor resource. + +## PARAMETERS + +### -Body +Capture properties of Open AI resource Integration. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel +Parameter Sets: UpdateViaIdentityMonitor, Update, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +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.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentityExpanded, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IntegrationName +OpenAI Integration name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityMonitor, Update +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Key +Value of API key for Open AI resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentityMonitorExpanded, UpdateViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitorName +Monitor resource name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, Update +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpenAiResourceEndpoint +The API endpoint for Open AI resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpenAiResourceId +The resource name of Open AI resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +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, Update +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, Update +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.Elastic.Models.IElasticIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel + +## NOTES + +## RELATED LINKS diff --git a/src/Elastic/Elastic/help/Update-AzElasticTagRule.md b/src/Elastic/Elastic/help/Update-AzElasticTagRule.md new file mode 100644 index 000000000000..fbd2ecb0e511 --- /dev/null +++ b/src/Elastic/Elastic/help/Update-AzElasticTagRule.md @@ -0,0 +1,274 @@ +--- +external help file: Az.Elastic-help.xml +Module Name: Az.Elastic +online version: https://learn.microsoft.com/powershell/module/az.elastic/update-azelastictagrule +schema: 2.0.0 +--- + +# Update-AzElasticTagRule + +## SYNOPSIS +update a tag rule set for a given monitor resource. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzElasticTagRule -MonitorName <String> -ResourceGroupName <String> -RuleSetName <String> + [-SubscriptionId <String>] [-LogRuleFilteringTag <IFilteringTag[]>] [-LogRuleSendAadLog] + [-LogRuleSendActivityLog] [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### UpdateViaIdentityMonitorExpanded +``` +Update-AzElasticTagRule -RuleSetName <String> -MonitorInputObject <IElasticIdentity> + [-LogRuleFilteringTag <IFilteringTag[]>] [-LogRuleSendAadLog] [-LogRuleSendActivityLog] + [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzElasticTagRule -InputObject <IElasticIdentity> [-LogRuleFilteringTag <IFilteringTag[]>] + [-LogRuleSendAadLog] [-LogRuleSendActivityLog] [-LogRuleSendSubscriptionLog] [-DefaultProfile <PSObject>] + [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +## DESCRIPTION +update a tag rule set for a given monitor resource. + +## EXAMPLES + +### Example 1: Update a tag rule set for a given monitor resource +```powershell +Update-AzElasticTagRule -ResourceGroupName azps-elastic-test -MonitorName elastic-pwsh02 -LogRuleSendActivityLog +``` + +```output +Name ProvisioningState ResourceGroupName +---- ----------------- ----------------- +default Succeeded azps-elastic-test +``` + +This command updates a tag rule set for a given monitor resource. + +## PARAMETERS + +### -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.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -LogRuleFilteringTag +List of filtering tags to be used for capturing logs. +This only takes effect if SendActivityLogs flag is enabled. +If empty, all resources will be captured. +If only Exclude action is specified, the rules will apply to the list of all available resources. +If Include actions are specified, the rules will only include resources with the associated tags. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IFilteringTag[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogRuleSendAadLog +Flag specifying if AAD logs should be sent for the Monitor resource. + +```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 +``` + +### -LogRuleSendActivityLog +Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. + +```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 +``` + +### -LogRuleSendSubscriptionLog +Flag specifying if subscription logs should be sent for the Monitor resource. + +```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 +``` + +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity +Parameter Sets: UpdateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitorName +Monitor resource name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +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 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleSetName +Tag Rule Set resource name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```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.Elastic.Models.IElasticIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IMonitoringTagRules + +## NOTES + +## RELATED LINKS diff --git a/src/Elastic/Elastic/help/Update-AzElasticVMCollection.md b/src/Elastic/Elastic/help/Update-AzElasticVMCollection.md index 83846d8ab0ef..25c32346aab0 100644 --- a/src/Elastic/Elastic/help/Update-AzElasticVMCollection.md +++ b/src/Elastic/Elastic/help/Update-AzElasticVMCollection.md @@ -8,26 +8,40 @@ schema: 2.0.0 # Update-AzElasticVMCollection ## SYNOPSIS -Update the vm details that will be monitored by the Elastic monitor resource. +update the vm details that will be monitored by the Elastic monitor resource. ## SYNTAX ### UpdateExpanded (Default) ``` Update-AzElasticVMCollection -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] - [-OperationName <OperationName>] [-VMResourceId <String>] [-DefaultProfile <PSObject>] [-PassThru] + [-OperationName <String>] [-VMResourceId <String>] [-DefaultProfile <PSObject>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>] ``` +### UpdateViaJsonString +``` +Update-AzElasticVMCollection -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonString <String> [-DefaultProfile <PSObject>] [-PassThru] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + +### UpdateViaJsonFilePath +``` +Update-AzElasticVMCollection -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] + -JsonFilePath <String> [-DefaultProfile <PSObject>] [-PassThru] [-WhatIf] + [-Confirm] [<CommonParameters>] +``` + ### UpdateViaIdentityExpanded ``` -Update-AzElasticVMCollection -InputObject <IElasticIdentity> [-OperationName <OperationName>] - [-VMResourceId <String>] [-DefaultProfile <PSObject>] [-PassThru] - [-WhatIf] [-Confirm] [<CommonParameters>] +Update-AzElasticVMCollection -InputObject <IElasticIdentity> [-OperationName <String>] [-VMResourceId <String>] + [-DefaultProfile <PSObject>] [-PassThru] [-WhatIf] [-Confirm] + [<CommonParameters>] ``` ## DESCRIPTION -Update the vm details that will be monitored by the Elastic monitor resource. +update the vm details that will be monitored by the Elastic monitor resource. ## EXAMPLES @@ -65,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.Elastic.Models.IElasticIdentity @@ -79,12 +92,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 +``` + ### -Name Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -98,8 +141,8 @@ Accept wildcard characters: False Operation to be performed for given VM. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Support.OperationName -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -130,7 +173,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -146,7 +189,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -161,7 +204,7 @@ ARM id of the VM resource. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False From 1cccc347fabb58bb4066a77ae63d29040b3b48f5 Mon Sep 17 00:00:00 2001 From: Jinpei Li <v-jinpel@microsoft.com> Date: Thu, 24 Apr 2025 17:33:30 +0800 Subject: [PATCH 3/7] update --- .../Properties/AssemblyInfo.cs | 2 - src/Elastic/Elastic.Autorest/README.md | 4 +- .../docs/New-AzElasticExternalUser.md | 37 ++----------- .../docs/New-AzElasticOpenAi.md | 48 ++-------------- .../docs/Update-AzElasticExternalUser.md | 37 ++----------- .../docs/Update-AzElasticMonitor.md | 28 +++------- .../docs/Update-AzElasticOpenAi.md | 54 +++--------------- .../Elastic.Autorest/generate-info.json | 2 +- src/Elastic/Elastic.sln | 28 +++++----- .../Elastic/help/New-AzElasticExternalUser.md | 38 ++----------- .../Elastic/help/New-AzElasticOpenAi.md | 49 ++--------------- .../help/Update-AzElasticExternalUser.md | 38 ++----------- .../Elastic/help/Update-AzElasticMonitor.md | 28 +++------- .../Elastic/help/Update-AzElasticOpenAi.md | 55 +++---------------- 14 files changed, 77 insertions(+), 371 deletions(-) diff --git a/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs b/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs index 04a07aac84a8..847b66a65fc6 100644 --- a/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs +++ b/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs @@ -24,5 +24,3 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.2.1")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] - - diff --git a/src/Elastic/Elastic.Autorest/README.md b/src/Elastic/Elastic.Autorest/README.md index ca6cffafc966..e7502f6e7f38 100644 --- a/src/Elastic/Elastic.Autorest/README.md +++ b/src/Elastic/Elastic.Autorest/README.md @@ -105,12 +105,12 @@ directive: parameter-description: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. \<br>For instance, if the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". \<br>You may find your eligible plans [here](https://portal.azure.com/#view/Microsoft_Azure_Marketplace/GalleryItemDetailsBladeNopdl/id/elastic.ec-azure-pp/selectionMode~/false/resourceGroupId//resourceGroupLocation//dontDiscardJourney~/false/selectedMenuId/home/launchingContext~/%7B%22galleryItemId%22%3A%22elastic.ec-azure-ppess-consumption-2024%22%2C%22source%22%3A%5B%22GalleryFeaturedMenuItemPart%22%2C%22VirtualizedTileDetails%22%5D%2C%22menuItemId%22%3A%22home%22%2C%22subMenuItemId%22%3A%22Search%20results%22%2C%22telemetryId%22%3A%2262f8ce76-e5e4-4983-9d3e-5c608a0b2bff%22%7D/searchTelemetryId/cca0a8d3-f232-4156-948f-701a5d74a729) or in the online documentation [here](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/elastic.ec-azure-pp) for more details or in case of any issues with the SKU. - where: - subject: Monitor|VMCollection|TagRule + subject: Monitor|VMCollection|TagRule|OpenAi|ExternalUser variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) remove: true - where: subject: Monitor|VMCollection|TagRule - variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^UpgradeViaIdentityExpanded$ + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^UpgradeViaIdentityExpanded$|^UpgradeViaJsonFilePath$|^UpgradeViaJsonString$ remove: true - where: diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md index df375e0920a7..35c5bbf68629 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticExternalUser.md @@ -19,18 +19,6 @@ New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-Su [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### Create -``` -New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> -Body <IExternalUserInfo> - [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - -### CreateViaIdentity -``` -New-AzElasticExternalUser -InputObject <IElasticIdentity> -Body <IExternalUserInfo> - [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ### CreateViaIdentityExpanded ``` New-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [-FullName <String>] @@ -64,21 +52,6 @@ This command Creates an User inside elastic deployment which are used by custome ## PARAMETERS -### -Body -The properties of the request required for creating user on elastic side - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo -Parameter Sets: Create, CreateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -130,7 +103,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded +Parameter Sets: CreateViaIdentityExpanded Aliases: Required: True @@ -175,7 +148,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -206,7 +179,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -237,7 +210,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -300,8 +273,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse diff --git a/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md b/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md index bb400278ba06..409380bf225d 100644 --- a/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md +++ b/src/Elastic/Elastic.Autorest/docs/New-AzElasticOpenAi.md @@ -19,31 +19,12 @@ New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGro [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### Create -``` -New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> - -Body <IOpenAiIntegrationRpmodel> [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] - [-WhatIf] [<CommonParameters>] -``` - -### CreateViaIdentity -``` -New-AzElasticOpenAi -InputObject <IElasticIdentity> -Body <IOpenAiIntegrationRpmodel> - [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ### CreateViaIdentityExpanded ``` New-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### CreateViaIdentityMonitor -``` -New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> - -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ### CreateViaIdentityMonitorExpanded ``` New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> [-Key <String>] @@ -85,21 +66,6 @@ This command Creates or updates a OpenAI integration rule for a given monitor re ## PARAMETERS -### -Body -Capture properties of Open AI resource Integration. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel -Parameter Sets: Create, CreateViaIdentity, CreateViaIdentityMonitor -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -121,7 +87,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded +Parameter Sets: CreateViaIdentityExpanded Aliases: Required: True @@ -136,7 +102,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaIdentityMonitor, CreateViaIdentityMonitorExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaIdentityMonitorExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -196,7 +162,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: CreateViaIdentityMonitor, CreateViaIdentityMonitorExpanded +Parameter Sets: CreateViaIdentityMonitorExpanded Aliases: Required: True @@ -211,7 +177,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -257,7 +223,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -273,7 +239,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -321,8 +287,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md index 6b808be4793e..033ea48412ae 100644 --- a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticExternalUser.md @@ -19,18 +19,6 @@ Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [ [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### Update -``` -Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> -Body <IExternalUserInfo> - [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - -### UpdateViaIdentity -``` -Update-AzElasticExternalUser -InputObject <IElasticIdentity> -Body <IExternalUserInfo> - [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ### UpdateViaIdentityExpanded ``` Update-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [-FullName <String>] @@ -64,21 +52,6 @@ This command will Create User inside elastic deployment which are used by custom ## PARAMETERS -### -Body -The properties of the request required for creating user on elastic side - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo -Parameter Sets: Update, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -130,7 +103,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Parameter Sets: UpdateViaIdentityExpanded Aliases: Required: True @@ -175,7 +148,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -206,7 +179,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -237,7 +210,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -300,8 +273,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md index 3cec55c07cbd..372c03cc8c94 100644 --- a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticMonitor.md @@ -55,20 +55,6 @@ Update-AzElasticMonitor -InputObject <IElasticIdentity> -Body <IElasticMonitorUp [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### UpgradeViaJsonFilePath -``` -Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonFilePath <String> - [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [<CommonParameters>] -``` - -### UpgradeViaJsonString -``` -Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> -JsonString <String> - [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [<CommonParameters>] -``` - ## DESCRIPTION update a monitor resource. @@ -107,7 +93,7 @@ Run the command as a job ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity, UpgradeViaJsonFilePath, UpgradeViaJsonString +Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity Aliases: Required: False @@ -168,7 +154,7 @@ Path of Json file supplied to the Update operation ```yaml Type: System.String -Parameter Sets: UpdateViaJsonFilePath, UpgradeViaJsonFilePath +Parameter Sets: UpdateViaJsonFilePath Aliases: Required: True @@ -183,7 +169,7 @@ Json string supplied to the Update operation ```yaml Type: System.String -Parameter Sets: UpdateViaJsonString, UpgradeViaJsonString +Parameter Sets: UpdateViaJsonString Aliases: Required: True @@ -198,7 +184,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded Aliases: MonitorName Required: True @@ -213,7 +199,7 @@ Run the command asynchronously ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity, UpgradeViaJsonFilePath, UpgradeViaJsonString +Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaIdentity Aliases: Required: False @@ -229,7 +215,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded Aliases: Required: True @@ -245,7 +231,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded Aliases: Required: False diff --git a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md index 7db9ea211e57..5c74f0de46e3 100644 --- a/src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md +++ b/src/Elastic/Elastic.Autorest/docs/Update-AzElasticOpenAi.md @@ -19,31 +19,12 @@ Update-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -Resource [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### Update -``` -Update-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> - -Body <IOpenAiIntegrationRpmodel> [-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] - [-WhatIf] [<CommonParameters>] -``` - -### UpdateViaIdentity -``` -Update-AzElasticOpenAi -InputObject <IElasticIdentity> -Body <IOpenAiIntegrationRpmodel> - [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ### UpdateViaIdentityExpanded ``` Update-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiResourceEndpoint <String>] [-OpenAiResourceId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### UpdateViaIdentityMonitor -``` -Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> - -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ### UpdateViaIdentityMonitorExpanded ``` Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> [-Key <String>] @@ -71,21 +52,6 @@ This command updates a OpenAI integration rule for a given monitor resource. ## PARAMETERS -### -Body -Capture properties of Open AI resource Integration. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel -Parameter Sets: Update, UpdateViaIdentity, UpdateViaIdentityMonitor -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -107,7 +73,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Parameter Sets: UpdateViaIdentityExpanded Aliases: Required: True @@ -122,7 +88,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaIdentityMonitor, UpdateViaIdentityMonitorExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: True @@ -137,7 +103,7 @@ Value of API key for Open AI resource ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded +Parameter Sets: (All) Aliases: Required: False @@ -152,7 +118,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: UpdateViaIdentityMonitor, UpdateViaIdentityMonitorExpanded +Parameter Sets: UpdateViaIdentityMonitorExpanded Aliases: Required: True @@ -167,7 +133,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -182,7 +148,7 @@ The API endpoint for Open AI resource ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded +Parameter Sets: (All) Aliases: Required: False @@ -197,7 +163,7 @@ The resource name of Open AI resource ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded +Parameter Sets: (All) Aliases: Required: False @@ -213,7 +179,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -229,7 +195,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: UpdateExpanded Aliases: Required: False @@ -277,8 +243,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel diff --git a/src/Elastic/Elastic.Autorest/generate-info.json b/src/Elastic/Elastic.Autorest/generate-info.json index 7f4022438a52..61b5e59635fc 100644 --- a/src/Elastic/Elastic.Autorest/generate-info.json +++ b/src/Elastic/Elastic.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "6bcbc229-fe0b-4d7a-ad96-e53bb1eca8c1" + "generate_Id": "93e8fc90-9ba4-4116-a7bd-88d8d741a561" } diff --git a/src/Elastic/Elastic.sln b/src/Elastic/Elastic.sln index e62acb2a9339..fa824b15e604 100644 --- a/src/Elastic/Elastic.sln +++ b/src/Elastic/Elastic.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elastic", "Elastic\Elastic. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Elastic.Autorest", "Elastic.Autorest", "{97EE1459-6136-8FF5-E00C-633BB447F4A4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{6053845B-5A9D-4CE8-97BB-01985871DA00}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{8A8C07DC-A31D-427F-882A-9AE475B1A28A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x64.Build.0 = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.ActiveCfg = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.Build.0 = Release|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x64.ActiveCfg = Debug|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x64.Build.0 = Debug|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x86.ActiveCfg = Debug|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Debug|x86.Build.0 = Debug|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|Any CPU.Build.0 = Release|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x64.ActiveCfg = Release|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x64.Build.0 = Release|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x86.ActiveCfg = Release|Any CPU - {6053845B-5A9D-4CE8-97BB-01985871DA00}.Release|x86.Build.0 = Release|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x64.ActiveCfg = Debug|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x64.Build.0 = Debug|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x86.ActiveCfg = Debug|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x86.Build.0 = Debug|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|Any CPU.Build.0 = Release|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x64.ActiveCfg = Release|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x64.Build.0 = Release|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x86.ActiveCfg = Release|Any CPU + {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} - {6053845B-5A9D-4CE8-97BB-01985871DA00} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} + {8A8C07DC-A31D-427F-882A-9AE475B1A28A} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} EndGlobalSection EndGlobal diff --git a/src/Elastic/Elastic/help/New-AzElasticExternalUser.md b/src/Elastic/Elastic/help/New-AzElasticExternalUser.md index d7af8f889e0f..2b6179a15979 100644 --- a/src/Elastic/Elastic/help/New-AzElasticExternalUser.md +++ b/src/Elastic/Elastic/help/New-AzElasticExternalUser.md @@ -33,13 +33,6 @@ New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-Su [<CommonParameters>] ``` -### Create -``` -New-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] - -Body <IExternalUserInfo> [-DefaultProfile <PSObject>] [-WhatIf] - [-Confirm] [<CommonParameters>] -``` - ### CreateViaIdentityExpanded ``` New-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [-FullName <String>] @@ -47,12 +40,6 @@ New-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [- [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### CreateViaIdentity -``` -New-AzElasticExternalUser -InputObject <IElasticIdentity> -Body <IExternalUserInfo> - [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ## DESCRIPTION create User inside elastic deployment which are used by customers to perform operations on the elastic deployment @@ -67,21 +54,6 @@ This command Creates an User inside elastic deployment which are used by custome ## PARAMETERS -### -Body -The properties of the request required for creating user on elastic side - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo -Parameter Sets: Create, CreateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -133,7 +105,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: CreateViaIdentityExpanded, CreateViaIdentity +Parameter Sets: CreateViaIdentityExpanded Aliases: Required: True @@ -178,7 +150,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -209,7 +181,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -240,7 +212,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -303,8 +275,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse diff --git a/src/Elastic/Elastic/help/New-AzElasticOpenAi.md b/src/Elastic/Elastic/help/New-AzElasticOpenAi.md index d46e27e84a67..26dbf5fae483 100644 --- a/src/Elastic/Elastic/help/New-AzElasticOpenAi.md +++ b/src/Elastic/Elastic/help/New-AzElasticOpenAi.md @@ -40,20 +40,6 @@ New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdent [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### CreateViaIdentityMonitor -``` -New-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> - -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-WhatIf] - [-Confirm] [<CommonParameters>] -``` - -### Create -``` -New-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> - [-SubscriptionId <String>] -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] - [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ### CreateViaIdentityExpanded ``` New-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiResourceEndpoint <String>] @@ -61,12 +47,6 @@ New-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiReso [-Confirm] [<CommonParameters>] ``` -### CreateViaIdentity -``` -New-AzElasticOpenAi -InputObject <IElasticIdentity> -Body <IOpenAiIntegrationRpmodel> - [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ## DESCRIPTION create a OpenAI integration rule for a given monitor resource. @@ -87,21 +67,6 @@ This command Creates or updates a OpenAI integration rule for a given monitor re ## PARAMETERS -### -Body -Capture properties of Open AI resource Integration. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel -Parameter Sets: CreateViaIdentityMonitor, Create, CreateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -123,7 +88,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: CreateViaIdentityExpanded, CreateViaIdentity +Parameter Sets: CreateViaIdentityExpanded Aliases: Required: True @@ -138,7 +103,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityMonitorExpanded, CreateViaIdentityMonitor, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityMonitorExpanded Aliases: Required: True @@ -198,7 +163,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: CreateViaIdentityMonitorExpanded, CreateViaIdentityMonitor +Parameter Sets: CreateViaIdentityMonitorExpanded Aliases: Required: True @@ -213,7 +178,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -259,7 +224,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -275,7 +240,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -323,8 +288,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel diff --git a/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md b/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md index 74e01ad860ee..9b8c38f76a96 100644 --- a/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md +++ b/src/Elastic/Elastic/help/Update-AzElasticExternalUser.md @@ -33,13 +33,6 @@ Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [ [<CommonParameters>] ``` -### Update -``` -Update-AzElasticExternalUser -MonitorName <String> -ResourceGroupName <String> [-SubscriptionId <String>] - -Body <IExternalUserInfo> [-DefaultProfile <PSObject>] [-WhatIf] - [-Confirm] [<CommonParameters>] -``` - ### UpdateViaIdentityExpanded ``` Update-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [-FullName <String>] @@ -47,12 +40,6 @@ Update-AzElasticExternalUser -InputObject <IElasticIdentity> [-EmailId <String>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### UpdateViaIdentity -``` -Update-AzElasticExternalUser -InputObject <IElasticIdentity> -Body <IExternalUserInfo> - [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ## DESCRIPTION update User inside elastic deployment which are used by customers to perform operations on the elastic deployment @@ -67,21 +54,6 @@ This command will Create User inside elastic deployment which are used by custom ## PARAMETERS -### -Body -The properties of the request required for creating user on elastic side - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo -Parameter Sets: Update, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -133,7 +105,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: UpdateViaIdentityExpanded, UpdateViaIdentity +Parameter Sets: UpdateViaIdentityExpanded Aliases: Required: True @@ -178,7 +150,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -209,7 +181,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -240,7 +212,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -303,8 +275,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserInfo - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IExternalUserCreationResponse diff --git a/src/Elastic/Elastic/help/Update-AzElasticMonitor.md b/src/Elastic/Elastic/help/Update-AzElasticMonitor.md index 8e6906ea8c82..49cbe67e6474 100644 --- a/src/Elastic/Elastic/help/Update-AzElasticMonitor.md +++ b/src/Elastic/Elastic/help/Update-AzElasticMonitor.md @@ -19,20 +19,6 @@ Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-Subscriptio [<CommonParameters>] ``` -### UpgradeViaJsonString -``` -Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] - -JsonString <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [<CommonParameters>] -``` - -### UpgradeViaJsonFilePath -``` -Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] - -JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ### UpgradeExpanded ``` Update-AzElasticMonitor -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>] @@ -112,7 +98,7 @@ Run the command as a job ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpgradeViaIdentity +Parameter Sets: UpgradeExpanded, Upgrade, UpgradeViaIdentity Aliases: Required: False @@ -173,7 +159,7 @@ Path of Json file supplied to the Update operation ```yaml Type: System.String -Parameter Sets: UpgradeViaJsonFilePath, UpdateViaJsonFilePath +Parameter Sets: UpdateViaJsonFilePath Aliases: Required: True @@ -188,7 +174,7 @@ Json string supplied to the Update operation ```yaml Type: System.String -Parameter Sets: UpgradeViaJsonString, UpdateViaJsonString +Parameter Sets: UpdateViaJsonString Aliases: Required: True @@ -203,7 +189,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath +Parameter Sets: UpdateExpanded, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: MonitorName Required: True @@ -218,7 +204,7 @@ Run the command asynchronously ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpgradeViaIdentity +Parameter Sets: UpgradeExpanded, Upgrade, UpgradeViaIdentity Aliases: Required: False @@ -234,7 +220,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath +Parameter Sets: UpdateExpanded, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -250,7 +236,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath +Parameter Sets: UpdateExpanded, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False diff --git a/src/Elastic/Elastic/help/Update-AzElasticOpenAi.md b/src/Elastic/Elastic/help/Update-AzElasticOpenAi.md index b18b9a88a342..33da785e8375 100644 --- a/src/Elastic/Elastic/help/Update-AzElasticOpenAi.md +++ b/src/Elastic/Elastic/help/Update-AzElasticOpenAi.md @@ -26,20 +26,6 @@ Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticId [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### UpdateViaIdentityMonitor -``` -Update-AzElasticOpenAi -IntegrationName <String> -MonitorInputObject <IElasticIdentity> - -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] [-WhatIf] - [-Confirm] [<CommonParameters>] -``` - -### Update -``` -Update-AzElasticOpenAi -IntegrationName <String> -MonitorName <String> -ResourceGroupName <String> - [-SubscriptionId <String>] -Body <IOpenAiIntegrationRpmodel> [-DefaultProfile <PSObject>] - [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ### UpdateViaIdentityExpanded ``` Update-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiResourceEndpoint <String>] @@ -47,12 +33,6 @@ Update-AzElasticOpenAi -InputObject <IElasticIdentity> [-Key <String>] [-OpenAiR [-Confirm] [<CommonParameters>] ``` -### UpdateViaIdentity -``` -Update-AzElasticOpenAi -InputObject <IElasticIdentity> -Body <IOpenAiIntegrationRpmodel> - [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ## DESCRIPTION update a OpenAI integration rule for a given monitor resource. @@ -73,21 +53,6 @@ This command updates a OpenAI integration rule for a given monitor resource. ## PARAMETERS -### -Body -Capture properties of Open AI resource Integration. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel -Parameter Sets: UpdateViaIdentityMonitor, Update, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -109,7 +74,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: UpdateViaIdentityExpanded, UpdateViaIdentity +Parameter Sets: UpdateViaIdentityExpanded Aliases: Required: True @@ -124,7 +89,7 @@ OpenAI Integration name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityMonitor, Update +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: True @@ -139,7 +104,7 @@ Value of API key for Open AI resource ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityExpanded +Parameter Sets: (All) Aliases: Required: False @@ -154,7 +119,7 @@ Identity Parameter ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -Parameter Sets: UpdateViaIdentityMonitorExpanded, UpdateViaIdentityMonitor +Parameter Sets: UpdateViaIdentityMonitorExpanded Aliases: Required: True @@ -169,7 +134,7 @@ Monitor resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Update +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -184,7 +149,7 @@ The API endpoint for Open AI resource ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityExpanded +Parameter Sets: (All) Aliases: Required: False @@ -199,7 +164,7 @@ The resource name of Open AI resource ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaIdentityExpanded +Parameter Sets: (All) Aliases: Required: False @@ -215,7 +180,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Update +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -231,7 +196,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, Update +Parameter Sets: UpdateExpanded Aliases: Required: False @@ -279,8 +244,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IElasticIdentity -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IOpenAiIntegrationRpmodel From fc54097044603f887dc3acaa768c22e407080bd2 Mon Sep 17 00:00:00 2001 From: Jinpei Li <v-jinpel@microsoft.com> Date: Fri, 25 Apr 2025 10:53:17 +0800 Subject: [PATCH 4/7] rollback files --- src/EdgeOrder/EdgeOrder.Autorest/README.md | 4 +-- .../EdgeOrder.Autorest/docs/Az.EdgeOrder.md | 2 +- .../EdgeOrder.Autorest/generate-info.json | 2 +- src/EdgeOrder/EdgeOrder.sln | 28 +++++++++---------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/EdgeOrder/EdgeOrder.Autorest/README.md b/src/EdgeOrder/EdgeOrder.Autorest/README.md index 64e0037c6ef7..170bb1603680 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/README.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/README.md @@ -51,10 +51,10 @@ directive: # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well #^Update$|^UpdateViaIdentity$|^UpdateViaIdentityExpanded$| - where: - variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + variant: ^(Create|Update|Cance|Return)(?!.*?(Expanded|JsonFilePath|JsonString)) remove: true - where: - variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^GetViaIdentity$|^Validate.*$|^CancelViaIdentity$|^Cancel$|^Return$|^ReturnViaIdentity$ + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^GetViaIdentity$|^Validate.*$ remove: true # Remove the set-* cmdlet - where: diff --git a/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md b/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md index e3d1c4e12f57..5ece1ac6552a 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md +++ b/src/EdgeOrder/EdgeOrder.Autorest/docs/Az.EdgeOrder.md @@ -1,6 +1,6 @@ --- Module Name: Az.EdgeOrder -Module Guid: 8a35b842-8603-4154-a4d2-eab8396d1742 +Module Guid: b62edb67-a8ef-4473-b452-8e344430234a Download Help Link: https://learn.microsoft.com/powershell/module/az.edgeorder Help Version: 1.0.0.0 Locale: en-US diff --git a/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json b/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json index 5a5c435dd93d..b982d26d69ab 100644 --- a/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json +++ b/src/EdgeOrder/EdgeOrder.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "3b0ad17a-4512-4feb-865a-85765b36cead" + "generate_Id": "3de693ad-e1ef-45e5-8c6b-60bab7db0aad" } diff --git a/src/EdgeOrder/EdgeOrder.sln b/src/EdgeOrder/EdgeOrder.sln index 096a36fdffcb..9e4fb5ef0c27 100644 --- a/src/EdgeOrder/EdgeOrder.sln +++ b/src/EdgeOrder/EdgeOrder.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EdgeOrder", "EdgeOrder\Edge EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EdgeOrder.Autorest", "EdgeOrder.Autorest", "{DC00AF37-ACBC-3729-5FE2-14F16AF458A0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EdgeOrder", "..\..\generated\EdgeOrder\EdgeOrder.Autorest\Az.EdgeOrder.csproj", "{5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EdgeOrder", "..\..\generated\EdgeOrder\EdgeOrder.Autorest\Az.EdgeOrder.csproj", "{BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|x64.Build.0 = Release|Any CPU {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|x86.ActiveCfg = Release|Any CPU {A274AC6B-D42A-47BC-88B1-88C7B9BC782C}.Release|x86.Build.0 = Release|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x64.ActiveCfg = Debug|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x64.Build.0 = Debug|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x86.ActiveCfg = Debug|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Debug|x86.Build.0 = Debug|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|Any CPU.Build.0 = Release|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x64.ActiveCfg = Release|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x64.Build.0 = Release|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x86.ActiveCfg = Release|Any CPU - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865}.Release|x86.Build.0 = Release|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Debug|x64.ActiveCfg = Debug|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Debug|x64.Build.0 = Debug|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Debug|x86.ActiveCfg = Debug|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Debug|x86.Build.0 = Debug|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Release|Any CPU.Build.0 = Release|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Release|x64.ActiveCfg = Release|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Release|x64.Build.0 = Release|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Release|x86.ActiveCfg = Release|Any CPU + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {DFC42D72-565A-48DE-97C9-A55A718B8DD1} = {8EDA1268-1F73-48A0-B1D4-35B9F0637856} {B9E34B74-B316-466E-A91E-659416F2E327} = {8EDA1268-1F73-48A0-B1D4-35B9F0637856} {A97A71D7-962B-49B5-AF0B-E2513F6FF4F4} = {8EDA1268-1F73-48A0-B1D4-35B9F0637856} - {5B9AF4FE-C1E3-4664-83C9-4C9CA5B26865} = {DC00AF37-ACBC-3729-5FE2-14F16AF458A0} + {BDE4A2AB-6C59-4EB0-8168-8B228785D1DA} = {DC00AF37-ACBC-3729-5FE2-14F16AF458A0} EndGlobalSection EndGlobal From b921c996faada45317bfef036c13c329d19ff88e Mon Sep 17 00:00:00 2001 From: Jinpei Li <v-jinpel@microsoft.com> Date: Fri, 25 Apr 2025 21:07:02 +0800 Subject: [PATCH 5/7] Update Readme.md file --- src/Elastic/Elastic.Autorest/README.md | 3 ++ .../docs/Get-AzElasticOrganizationApiKey.md | 42 ------------------- .../Elastic.Autorest/generate-info.json | 2 +- src/Elastic/Elastic.sln | 28 ++++++------- src/Elastic/Elastic/Az.Elastic.psd1 | 2 +- .../help/Get-AzElasticOrganizationApiKey.md | 42 ------------------- 6 files changed, 19 insertions(+), 100 deletions(-) diff --git a/src/Elastic/Elastic.Autorest/README.md b/src/Elastic/Elastic.Autorest/README.md index e7502f6e7f38..1bf5088b4e75 100644 --- a/src/Elastic/Elastic.Autorest/README.md +++ b/src/Elastic/Elastic.Autorest/README.md @@ -112,6 +112,9 @@ directive: subject: Monitor|VMCollection|TagRule variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^UpgradeViaIdentityExpanded$|^UpgradeViaJsonFilePath$|^UpgradeViaJsonString$ remove: true + - where: + variant: ^GetViaJsonFilePath$|^GetViaJsonString$ + remove: true - where: verb: Invoke diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md index 4323bcefe0eb..1be5c04444d0 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md @@ -24,18 +24,6 @@ Get-AzElasticOrganizationApiKey -Body <IUserEmailId> [-SubscriptionId <String[]> [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### GetViaJsonFilePath -``` -Get-AzElasticOrganizationApiKey -JsonFilePath <String> [-SubscriptionId <String[]>] - [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] -``` - -### GetViaJsonString -``` -Get-AzElasticOrganizationApiKey -JsonString <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] - [-Confirm] [-WhatIf] [<CommonParameters>] -``` - ## DESCRIPTION Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. @@ -96,36 +84,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -JsonFilePath -Path of Json file supplied to the Get operation - -```yaml -Type: System.String -Parameter Sets: GetViaJsonFilePath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -JsonString -Json string supplied to the Get operation - -```yaml -Type: System.String -Parameter Sets: GetViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. diff --git a/src/Elastic/Elastic.Autorest/generate-info.json b/src/Elastic/Elastic.Autorest/generate-info.json index 61b5e59635fc..0f91ea560674 100644 --- a/src/Elastic/Elastic.Autorest/generate-info.json +++ b/src/Elastic/Elastic.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "93e8fc90-9ba4-4116-a7bd-88d8d741a561" + "generate_Id": "2e669724-2446-4f3f-a9f3-d2c4e92a9964" } diff --git a/src/Elastic/Elastic.sln b/src/Elastic/Elastic.sln index fa824b15e604..742b484143d4 100644 --- a/src/Elastic/Elastic.sln +++ b/src/Elastic/Elastic.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elastic", "Elastic\Elastic. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Elastic.Autorest", "Elastic.Autorest", "{97EE1459-6136-8FF5-E00C-633BB447F4A4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{8A8C07DC-A31D-427F-882A-9AE475B1A28A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x64.Build.0 = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.ActiveCfg = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.Build.0 = Release|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x64.ActiveCfg = Debug|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x64.Build.0 = Debug|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x86.ActiveCfg = Debug|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Debug|x86.Build.0 = Debug|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|Any CPU.Build.0 = Release|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x64.ActiveCfg = Release|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x64.Build.0 = Release|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x86.ActiveCfg = Release|Any CPU - {8A8C07DC-A31D-427F-882A-9AE475B1A28A}.Release|x86.Build.0 = Release|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|Any CPU.Build.0 = Debug|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x64.ActiveCfg = Debug|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x64.Build.0 = Debug|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x86.ActiveCfg = Debug|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x86.Build.0 = Debug|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|Any CPU.ActiveCfg = Release|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|Any CPU.Build.0 = Release|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x64.ActiveCfg = Release|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x64.Build.0 = Release|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x86.ActiveCfg = Release|Any CPU + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} - {8A8C07DC-A31D-427F-882A-9AE475B1A28A} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} + {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} EndGlobalSection EndGlobal diff --git a/src/Elastic/Elastic/Az.Elastic.psd1 b/src/Elastic/Elastic/Az.Elastic.psd1 index 7c88c4cf8811..30150682cf39 100644 --- a/src/Elastic/Elastic/Az.Elastic.psd1 +++ b/src/Elastic/Elastic/Az.Elastic.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2025-04-24 +# Generated on: 2025-04-25 # @{ diff --git a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md index aca5b3591a03..577ec3fc26bb 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md @@ -24,18 +24,6 @@ Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -Body <IUserEmailId [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### GetViaJsonFilePath -``` -Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -JsonFilePath <String> - [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] -``` - -### GetViaJsonString -``` -Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -JsonString <String> [-DefaultProfile <PSObject>] - [-WhatIf] [-Confirm] [<CommonParameters>] -``` - ## DESCRIPTION Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. @@ -96,36 +84,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -JsonFilePath -Path of Json file supplied to the Get operation - -```yaml -Type: System.String -Parameter Sets: GetViaJsonFilePath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -JsonString -Json string supplied to the Get operation - -```yaml -Type: System.String -Parameter Sets: GetViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. From b8892ef73de378d79d71714e123e1bb32f8509ad Mon Sep 17 00:00:00 2001 From: Jinpei Li <v-jinpel@microsoft.com> Date: Sun, 27 Apr 2025 14:36:04 +0800 Subject: [PATCH 6/7] Update Readme.md file --- src/Elastic/Elastic.Autorest/README.md | 3 +- .../docs/Get-AzElasticOrganizationApiKey.md | 57 ++++++++++++------- .../Elastic.Autorest/generate-info.json | 2 +- src/Elastic/Elastic.sln | 28 ++++----- src/Elastic/Elastic/Az.Elastic.psd1 | 2 +- .../help/Get-AzElasticOrganizationApiKey.md | 57 ++++++++++++------- 6 files changed, 94 insertions(+), 55 deletions(-) diff --git a/src/Elastic/Elastic.Autorest/README.md b/src/Elastic/Elastic.Autorest/README.md index 1bf5088b4e75..e0c9344654bb 100644 --- a/src/Elastic/Elastic.Autorest/README.md +++ b/src/Elastic/Elastic.Autorest/README.md @@ -113,7 +113,8 @@ directive: variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^UpgradeViaIdentityExpanded$|^UpgradeViaJsonFilePath$|^UpgradeViaJsonString$ remove: true - where: - variant: ^GetViaJsonFilePath$|^GetViaJsonString$ + subject: OrganizationApiKey + variant: ^Get$ remove: true - where: diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md index 1be5c04444d0..bbbabe092e9d 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md @@ -18,9 +18,15 @@ Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] [-EmailId <String>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` -### Get +### GetViaJsonFilePath ``` -Get-AzElasticOrganizationApiKey -Body <IUserEmailId> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] +Get-AzElasticOrganizationApiKey -JsonFilePath <String> [-SubscriptionId <String[]>] + [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] +``` + +### GetViaJsonString +``` +Get-AzElasticOrganizationApiKey -JsonString <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>] ``` @@ -38,21 +44,6 @@ This command will Fetch User API Key from internal database, if it was generated ## PARAMETERS -### -Body -Email Id of the User Organization, of which the API Key must be returned - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -84,6 +75,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. The value must be an UUID. @@ -136,8 +157,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserApiKeyResponse diff --git a/src/Elastic/Elastic.Autorest/generate-info.json b/src/Elastic/Elastic.Autorest/generate-info.json index 0f91ea560674..6339870c956e 100644 --- a/src/Elastic/Elastic.Autorest/generate-info.json +++ b/src/Elastic/Elastic.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "2e669724-2446-4f3f-a9f3-d2c4e92a9964" + "generate_Id": "10b4fef6-a8ea-4c1d-a9e2-81686d47fb72" } diff --git a/src/Elastic/Elastic.sln b/src/Elastic/Elastic.sln index 742b484143d4..980e85feff4e 100644 --- a/src/Elastic/Elastic.sln +++ b/src/Elastic/Elastic.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elastic", "Elastic\Elastic. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Elastic.Autorest", "Elastic.Autorest", "{97EE1459-6136-8FF5-E00C-633BB447F4A4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x64.Build.0 = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.ActiveCfg = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.Build.0 = Release|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|Any CPU.Build.0 = Debug|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x64.ActiveCfg = Debug|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x64.Build.0 = Debug|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x86.ActiveCfg = Debug|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Debug|x86.Build.0 = Debug|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|Any CPU.ActiveCfg = Release|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|Any CPU.Build.0 = Release|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x64.ActiveCfg = Release|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x64.Build.0 = Release|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x86.ActiveCfg = Release|Any CPU - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463}.Release|x86.Build.0 = Release|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x64.ActiveCfg = Debug|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x64.Build.0 = Debug|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x86.ActiveCfg = Debug|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x86.Build.0 = Debug|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|Any CPU.Build.0 = Release|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x64.ActiveCfg = Release|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x64.Build.0 = Release|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x86.ActiveCfg = Release|Any CPU + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} - {35B4DE6C-2A30-4BCC-9FB1-B1C9AE682463} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} + {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} EndGlobalSection EndGlobal diff --git a/src/Elastic/Elastic/Az.Elastic.psd1 b/src/Elastic/Elastic/Az.Elastic.psd1 index 30150682cf39..5cae5832cab6 100644 --- a/src/Elastic/Elastic/Az.Elastic.psd1 +++ b/src/Elastic/Elastic/Az.Elastic.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2025-04-25 +# Generated on: 2025-04-27 # @{ diff --git a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md index 577ec3fc26bb..37ad382a7552 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md @@ -18,9 +18,15 @@ Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] [-EmailId <String>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` -### Get +### GetViaJsonFilePath ``` -Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -Body <IUserEmailId> [-DefaultProfile <PSObject>] +Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -JsonFilePath <String> + [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] +``` + +### GetViaJsonString +``` +Get-AzElasticOrganizationApiKey [-SubscriptionId <String[]>] -JsonString <String> [-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>] ``` @@ -38,21 +44,6 @@ This command will Fetch User API Key from internal database, if it was generated ## PARAMETERS -### -Body -Email Id of the User Organization, of which the API Key must be returned - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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. @@ -84,6 +75,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. The value must be an UUID. @@ -136,8 +157,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserEmailId - ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.IUserApiKeyResponse From f594acf8f3a8e940117de384f848dedefccd5987 Mon Sep 17 00:00:00 2001 From: Jinpei Li <v-jinpel@microsoft.com> Date: Sun, 27 Apr 2025 15:24:19 +0800 Subject: [PATCH 7/7] update examples --- .../Properties/AssemblyInfo.cs | 1 + .../docs/Get-AzElasticOrganizationApiKey.md | 2 +- .../Get-AzElasticOrganizationApiKey.md | 4 +-- .../Elastic.Autorest/generate-info.json | 2 +- src/Elastic/Elastic.sln | 28 +++++++++---------- .../help/Get-AzElasticOrganizationApiKey.md | 2 +- 6 files changed, 19 insertions(+), 20 deletions(-) diff --git a/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs b/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs index 847b66a65fc6..b922d6c89260 100644 --- a/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs +++ b/src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs @@ -24,3 +24,4 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.2.1")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md index bbbabe092e9d..c3e7aa46f497 100644 --- a/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic.Autorest/docs/Get-AzElasticOrganizationApiKey.md @@ -37,7 +37,7 @@ Fetch User API Key from internal database, if it was generated and stored while ### Example 1: Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. ```powershell -Get-AzElasticOrganizationApiKey -Body $EmailIdObject +Get-AzElasticOrganizationApiKey -EmailId "jkore@microsoft.com" ``` This command will Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. diff --git a/src/Elastic/Elastic.Autorest/examples/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic.Autorest/examples/Get-AzElasticOrganizationApiKey.md index 50038a26e31d..a6e389c69bb0 100644 --- a/src/Elastic/Elastic.Autorest/examples/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic.Autorest/examples/Get-AzElasticOrganizationApiKey.md @@ -1,8 +1,6 @@ ### Example 1: Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. -$EmailIdObject = [Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20240301.UserEmailId]::new() -$EmailIdObject.EmailId = "jkore@microsoft.com" ```powershell -Get-AzElasticOrganizationApiKey -Body $EmailIdObject +Get-AzElasticOrganizationApiKey -EmailId "jkore@microsoft.com" ``` This command will Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. \ No newline at end of file diff --git a/src/Elastic/Elastic.Autorest/generate-info.json b/src/Elastic/Elastic.Autorest/generate-info.json index 6339870c956e..5062f9c5870c 100644 --- a/src/Elastic/Elastic.Autorest/generate-info.json +++ b/src/Elastic/Elastic.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "10b4fef6-a8ea-4c1d-a9e2-81686d47fb72" + "generate_Id": "234a5b05-9ef9-4845-a933-64db8e9d4dbf" } diff --git a/src/Elastic/Elastic.sln b/src/Elastic/Elastic.sln index 980e85feff4e..33c1419127ad 100644 --- a/src/Elastic/Elastic.sln +++ b/src/Elastic/Elastic.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elastic", "Elastic\Elastic. EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Elastic.Autorest", "Elastic.Autorest", "{97EE1459-6136-8FF5-E00C-633BB447F4A4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Elastic", "..\..\generated\Elastic\Elastic.Autorest\Az.Elastic.csproj", "{2BD0CD5B-3FFD-470B-BD1F-D14128177152}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x64.Build.0 = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.ActiveCfg = Release|Any CPU {476FE783-48CC-4754-AFE5-5A23F20EE4C1}.Release|x86.Build.0 = Release|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x64.ActiveCfg = Debug|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x64.Build.0 = Debug|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x86.ActiveCfg = Debug|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Debug|x86.Build.0 = Debug|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|Any CPU.Build.0 = Release|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x64.ActiveCfg = Release|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x64.Build.0 = Release|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x86.ActiveCfg = Release|Any CPU - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB}.Release|x86.Build.0 = Release|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Debug|x64.ActiveCfg = Debug|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Debug|x64.Build.0 = Debug|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Debug|x86.ActiveCfg = Debug|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Debug|x86.Build.0 = Debug|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Release|Any CPU.Build.0 = Release|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Release|x64.ActiveCfg = Release|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Release|x64.Build.0 = Release|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Release|x86.ActiveCfg = Release|Any CPU + {2BD0CD5B-3FFD-470B-BD1F-D14128177152}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {9C1E3438-0F81-4CF3-84ED-33DD7A82B5E8} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {5CCED440-4EFC-4C66-AAB3-42AB5A2CAF9C} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} {0F2233D9-A212-4D43-9ECA-F5DA5E6F9D06} = {42AFADE3-9BA0-489B-B79E-1E9517FAF1A2} - {C89C5E79-3D0A-48D5-8DB2-E4AC2F96BABB} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} + {2BD0CD5B-3FFD-470B-BD1F-D14128177152} = {97EE1459-6136-8FF5-E00C-633BB447F4A4} EndGlobalSection EndGlobal diff --git a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md index 37ad382a7552..d6251776bda3 100644 --- a/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md +++ b/src/Elastic/Elastic/help/Get-AzElasticOrganizationApiKey.md @@ -37,7 +37,7 @@ Fetch User API Key from internal database, if it was generated and stored while ### Example 1: Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. ```powershell -Get-AzElasticOrganizationApiKey -Body $EmailIdObject +Get-AzElasticOrganizationApiKey -EmailId "jkore@microsoft.com" ``` This command will Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.