diff --git a/src/Confluent/Confluent.Autorest/Properties/AssemblyInfo.cs b/src/Confluent/Confluent.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..b85fa4d2529e --- /dev/null +++ b/src/Confluent/Confluent.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 - Confluent")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.2.2")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/Confluent/Confluent.Autorest/README.md b/src/Confluent/Confluent.Autorest/README.md index 420de94dc908..4d8db975f5ef 100644 --- a/src/Confluent/Confluent.Autorest/README.md +++ b/src/Confluent/Confluent.Autorest/README.md @@ -55,10 +55,6 @@ module-version: 0.2.0 title: Confluent subject-prefix: $(service-name) -# 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: # New-AzConfluentMarketplaceAgreeemt has be removed, because it cand be replace by Set-AzMarketplaceTerms (Az.MarketplaceOrdering). - where: @@ -71,9 +67,12 @@ directive: hide: true # Remove the unexpanded parameter set - where: - variant: ^Create$|^CreateViaIdentityExpanded$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$ + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true - + # Hide the Remove-AzConfluentOrganization for ask user confirmation before Remove-AzConfluentOrganization been invoken - where: verb: Remove diff --git a/src/Confluent/Confluent.Autorest/docs/Az.Confluent.md b/src/Confluent/Confluent.Autorest/docs/Az.Confluent.md index cd2cc6a2c37a..27d772ec6843 100644 --- a/src/Confluent/Confluent.Autorest/docs/Az.Confluent.md +++ b/src/Confluent/Confluent.Autorest/docs/Az.Confluent.md @@ -1,6 +1,6 @@ --- Module Name: Az.Confluent -Module Guid: 957f617c-6cbe-4ea3-b46c-ab3ae8eddb3c +Module Guid: 7fd2f629-040c-406d-9cab-b59bc572d6f9 Download Help Link: https://learn.microsoft.com/powershell/module/az.confluent Help Version: 1.0.0.0 Locale: en-US @@ -18,11 +18,11 @@ List Confluent marketplace agreements in the subscription. Get the properties of a specific Organization resource. ### [New-AzConfluentOrganization](New-AzConfluentOrganization.md) -Create Organization resource +create Organization resource ### [Remove-AzConfluentOrganization](Remove-AzConfluentOrganization.md) Delete Organization resource ### [Update-AzConfluentOrganization](Update-AzConfluentOrganization.md) -Update Organization resource +update Organization resource diff --git a/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentMarketplaceAgreement.md b/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentMarketplaceAgreement.md index a5d1f07a2055..40dee35c5b0b 100644 --- a/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentMarketplaceAgreement.md +++ b/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentMarketplaceAgreement.md @@ -76,7 +76,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301.IConfluentAgreementResource +### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IConfluentAgreementResource ## NOTES diff --git a/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentOrganization.md b/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentOrganization.md index 68c34d1b96e1..4650489f6111 100644 --- a/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentOrganization.md +++ b/src/Confluent/Confluent.Autorest/docs/Get-AzConfluentOrganization.md @@ -122,7 +122,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.Confluent.Models.IConfluentIdentity @@ -190,7 +189,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301.IOrganizationResource +### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResource ## NOTES diff --git a/src/Confluent/Confluent.Autorest/docs/New-AzConfluentOrganization.md b/src/Confluent/Confluent.Autorest/docs/New-AzConfluentOrganization.md index 591f5183297d..f4a5d260ff7f 100644 --- a/src/Confluent/Confluent.Autorest/docs/New-AzConfluentOrganization.md +++ b/src/Confluent/Confluent.Autorest/docs/New-AzConfluentOrganization.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzConfluentOrganization ## SYNOPSIS -Create Organization resource +create Organization resource ## SYNTAX +### CreateExpanded (Default) ``` New-AzConfluentOrganization -Name -ResourceGroupName [-SubscriptionId ] [-Location ] [-OfferDetailId ] [-OfferDetailPlanId ] [-OfferDetailPlanName ] @@ -20,8 +21,22 @@ New-AzConfluentOrganization -Name -ResourceGroupName [-Subscri [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzConfluentOrganization -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzConfluentOrganization -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Create Organization resource +create Organization resource ## EXAMPLES @@ -71,12 +86,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 Location of Organization resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -121,7 +166,7 @@ Offer Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -136,7 +181,7 @@ Offer Plan Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -151,7 +196,7 @@ Offer Plan Name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -166,7 +211,7 @@ Publisher Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -181,7 +226,7 @@ Offer Plan Term unit ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -226,7 +271,7 @@ Organization resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -241,7 +286,7 @@ Email address ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -256,7 +301,7 @@ First name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -271,7 +316,7 @@ Last name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -319,7 +364,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301.IOrganizationResource +### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResource ## NOTES diff --git a/src/Confluent/Confluent.Autorest/docs/Update-AzConfluentOrganization.md b/src/Confluent/Confluent.Autorest/docs/Update-AzConfluentOrganization.md index d156f4152102..b4d9bc049c5b 100644 --- a/src/Confluent/Confluent.Autorest/docs/Update-AzConfluentOrganization.md +++ b/src/Confluent/Confluent.Autorest/docs/Update-AzConfluentOrganization.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzConfluentOrganization ## SYNOPSIS -Update Organization resource +update Organization resource ## SYNTAX @@ -24,8 +24,20 @@ Update-AzConfluentOrganization -InputObject [-Tag ] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzConfluentOrganization -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzConfluentOrganization -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Update Organization resource +update Organization resource ## EXAMPLES @@ -75,7 +87,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.Confluent.Models.IConfluentIdentity @@ -89,12 +100,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 Organization resource name ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: OrganizationName Required: True @@ -109,7 +150,7 @@ Resource group name ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -124,7 +165,7 @@ Microsoft Azure subscription id ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -139,7 +180,7 @@ ARM resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -189,7 +230,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301.IOrganizationResource +### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResource ## NOTES diff --git a/src/Confluent/Confluent.Autorest/generate-info.json b/src/Confluent/Confluent.Autorest/generate-info.json index 204473c642a8..e12a131254f2 100644 --- a/src/Confluent/Confluent.Autorest/generate-info.json +++ b/src/Confluent/Confluent.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "4c003972-dd8b-4556-87ac-973a49f638fd" + "generate_Id": "9e1969f8-9c98-49c1-9f5b-482164d7261b" } diff --git a/src/Confluent/Confluent.Autorest/resources/README.md b/src/Confluent/Confluent.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Confluent/Confluent.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/Confluent/Confluent.sln b/src/Confluent/Confluent.sln index c91d395c5bd9..5909b4495d09 100644 --- a/src/Confluent/Confluent.sln +++ b/src/Confluent/Confluent.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}") = "Confluent", "Confluent\Confluent.csproj", "{DF7904F2-F72B-402C-8031-42A823F677FA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Confluent", "..\..\generated\Confluent\Confluent.Autorest\Az.Confluent.csproj", "{38F421B2-C931-4DC4-8529-864A08733705}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Confluent.Autorest", "Confluent.Autorest", "{4CFEDFE4-24E2-0196-92A3-5C421A4353C3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Confluent", "..\..\generated\Confluent\Confluent.Autorest\Az.Confluent.csproj", "{93473FB8-4CF6-459B-9D22-655A08F26979}" 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 {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Debug|x64.ActiveCfg = Debug|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Debug|x64.Build.0 = Debug|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Debug|x86.ActiveCfg = Debug|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Debug|x86.Build.0 = Debug|Any CPU {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Release|Any CPU.ActiveCfg = Release|Any CPU {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Release|Any CPU.Build.0 = Release|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Release|x64.ActiveCfg = Release|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Release|x64.Build.0 = Release|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Release|x86.ActiveCfg = Release|Any CPU + {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8}.Release|x86.Build.0 = Release|Any CPU {EDE7EDCB-D697-473C-895E-618AB463F748}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EDE7EDCB-D697-473C-895E-618AB463F748}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Debug|x64.ActiveCfg = Debug|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Debug|x64.Build.0 = Debug|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Debug|x86.ActiveCfg = Debug|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Debug|x86.Build.0 = Debug|Any CPU {EDE7EDCB-D697-473C-895E-618AB463F748}.Release|Any CPU.ActiveCfg = Release|Any CPU {EDE7EDCB-D697-473C-895E-618AB463F748}.Release|Any CPU.Build.0 = Release|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Release|x64.ActiveCfg = Release|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Release|x64.Build.0 = Release|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Release|x86.ActiveCfg = Release|Any CPU + {EDE7EDCB-D697-473C-895E-618AB463F748}.Release|x86.Build.0 = Release|Any CPU {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Debug|x64.ActiveCfg = Debug|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Debug|x64.Build.0 = Debug|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Debug|x86.ActiveCfg = Debug|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Debug|x86.Build.0 = Debug|Any CPU {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Release|Any CPU.ActiveCfg = Release|Any CPU {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Release|Any CPU.Build.0 = Release|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Release|x64.ActiveCfg = Release|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Release|x64.Build.0 = Release|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Release|x86.ActiveCfg = Release|Any CPU + {5A65A57E-5D1E-4E4D-AC05-B452B608795C}.Release|x86.Build.0 = Release|Any CPU {941253E9-20F7-4B08-8F54-8739157D17E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {941253E9-20F7-4B08-8F54-8739157D17E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Debug|x64.ActiveCfg = Debug|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Debug|x64.Build.0 = Debug|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Debug|x86.ActiveCfg = Debug|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Debug|x86.Build.0 = Debug|Any CPU {941253E9-20F7-4B08-8F54-8739157D17E5}.Release|Any CPU.ActiveCfg = Release|Any CPU {941253E9-20F7-4B08-8F54-8739157D17E5}.Release|Any CPU.Build.0 = Release|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Release|x64.ActiveCfg = Release|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Release|x64.Build.0 = Release|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Release|x86.ActiveCfg = Release|Any CPU + {941253E9-20F7-4B08-8F54-8739157D17E5}.Release|x86.Build.0 = Release|Any CPU {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Debug|x64.ActiveCfg = Debug|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Debug|x64.Build.0 = Debug|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Debug|x86.ActiveCfg = Debug|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Debug|x86.Build.0 = Debug|Any CPU {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Release|Any CPU.ActiveCfg = Release|Any CPU {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Release|Any CPU.Build.0 = Release|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Release|x64.ActiveCfg = Release|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Release|x64.Build.0 = Release|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Release|x86.ActiveCfg = Release|Any CPU + {69A080CC-60EC-4969-8E88-C414AD4F70E2}.Release|x86.Build.0 = Release|Any CPU {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Debug|Any CPU.Build.0 = Debug|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Debug|x64.ActiveCfg = Debug|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Debug|x64.Build.0 = Debug|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Debug|x86.ActiveCfg = Debug|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Debug|x86.Build.0 = Debug|Any CPU {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Release|Any CPU.ActiveCfg = Release|Any CPU {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Release|Any CPU.Build.0 = Release|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Release|x64.ActiveCfg = Release|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Release|x64.Build.0 = Release|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Release|x86.ActiveCfg = Release|Any CPU + {95ADE58B-AC8F-4E77-9BD1-4307CB688B76}.Release|x86.Build.0 = Release|Any CPU {DF7904F2-F72B-402C-8031-42A823F677FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DF7904F2-F72B-402C-8031-42A823F677FA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Debug|x64.ActiveCfg = Debug|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Debug|x64.Build.0 = Debug|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Debug|x86.ActiveCfg = Debug|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Debug|x86.Build.0 = Debug|Any CPU {DF7904F2-F72B-402C-8031-42A823F677FA}.Release|Any CPU.ActiveCfg = Release|Any CPU {DF7904F2-F72B-402C-8031-42A823F677FA}.Release|Any CPU.Build.0 = Release|Any CPU - {38F421B2-C931-4DC4-8529-864A08733705}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {38F421B2-C931-4DC4-8529-864A08733705}.Debug|Any CPU.Build.0 = Debug|Any CPU - {38F421B2-C931-4DC4-8529-864A08733705}.Release|Any CPU.ActiveCfg = Release|Any CPU - {38F421B2-C931-4DC4-8529-864A08733705}.Release|Any CPU.Build.0 = Release|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Release|x64.ActiveCfg = Release|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Release|x64.Build.0 = Release|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Release|x86.ActiveCfg = Release|Any CPU + {DF7904F2-F72B-402C-8031-42A823F677FA}.Release|x86.Build.0 = Release|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Debug|Any CPU.Build.0 = Debug|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Debug|x64.ActiveCfg = Debug|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Debug|x64.Build.0 = Debug|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Debug|x86.ActiveCfg = Debug|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Debug|x86.Build.0 = Debug|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Release|Any CPU.ActiveCfg = Release|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Release|Any CPU.Build.0 = Release|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Release|x64.ActiveCfg = Release|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Release|x64.Build.0 = Release|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Release|x86.ActiveCfg = Release|Any CPU + {93473FB8-4CF6-459B-9D22-655A08F26979}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {7BC5FA67-273F-4EBD-B7C8-7A0FA62F9DC8} = {769E8E65-FA12-48AC-90CA-121D6EC7FFD6} @@ -70,5 +140,6 @@ Global {941253E9-20F7-4B08-8F54-8739157D17E5} = {769E8E65-FA12-48AC-90CA-121D6EC7FFD6} {69A080CC-60EC-4969-8E88-C414AD4F70E2} = {769E8E65-FA12-48AC-90CA-121D6EC7FFD6} {95ADE58B-AC8F-4E77-9BD1-4307CB688B76} = {769E8E65-FA12-48AC-90CA-121D6EC7FFD6} + {93473FB8-4CF6-459B-9D22-655A08F26979} = {4CFEDFE4-24E2-0196-92A3-5C421A4353C3} EndGlobalSection EndGlobal diff --git a/src/Confluent/Confluent/Az.Confluent.psd1 b/src/Confluent/Confluent/Az.Confluent.psd1 index 1b7a23c40977..2ed36603bd6d 100644 --- a/src/Confluent/Confluent/Az.Confluent.psd1 +++ b/src/Confluent/Confluent/Az.Confluent.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-04-11 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.1.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'Confluent.Autorest/bin/Az.Confluent.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 = 'Confluent.Autorest\Az.Confluent.format.ps1xml' +FormatsToProcess = 'Confluent.Autorest/Az.Confluent.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('Confluent.Autorest/Az.Confluent.psm1') @@ -97,7 +97,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','Confluent' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Confluent' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -122,7 +122,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Confluent/Confluent/ChangeLog.md b/src/Confluent/Confluent/ChangeLog.md index 80a0873cdcbc..3070f7a28451 100644 --- a/src/Confluent/Confluent/ChangeLog.md +++ b/src/Confluent/Confluent/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.2 * Upgraded nuget package to signed package. diff --git a/src/Confluent/Confluent/help/Get-AzConfluentMarketplaceAgreement.md b/src/Confluent/Confluent/help/Get-AzConfluentMarketplaceAgreement.md index 6bce830c1dc1..b8b847a93db6 100644 --- a/src/Confluent/Confluent/help/Get-AzConfluentMarketplaceAgreement.md +++ b/src/Confluent/Confluent/help/Get-AzConfluentMarketplaceAgreement.md @@ -76,7 +76,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301.IConfluentAgreementResource +### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IConfluentAgreementResource ## NOTES diff --git a/src/Confluent/Confluent/help/Get-AzConfluentOrganization.md b/src/Confluent/Confluent/help/Get-AzConfluentOrganization.md index c5ae9069cde3..8cf909fbc9be 100644 --- a/src/Confluent/Confluent/help/Get-AzConfluentOrganization.md +++ b/src/Confluent/Confluent/help/Get-AzConfluentOrganization.md @@ -123,7 +123,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IConfluentIdentity @@ -191,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301.IOrganizationResource +### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResource ## NOTES diff --git a/src/Confluent/Confluent/help/New-AzConfluentOrganization.md b/src/Confluent/Confluent/help/New-AzConfluentOrganization.md index 14c3bb095364..18aafb9e1cf1 100644 --- a/src/Confluent/Confluent/help/New-AzConfluentOrganization.md +++ b/src/Confluent/Confluent/help/New-AzConfluentOrganization.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzConfluentOrganization ## SYNOPSIS -Create Organization resource +create Organization resource ## SYNTAX +### CreateExpanded (Default) ``` New-AzConfluentOrganization -Name -ResourceGroupName [-SubscriptionId ] [-Location ] [-OfferDetailId ] [-OfferDetailPlanId ] [-OfferDetailPlanName ] @@ -21,8 +22,22 @@ New-AzConfluentOrganization -Name -ResourceGroupName [-Subscri [] ``` +### CreateViaJsonFilePath +``` +New-AzConfluentOrganization -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzConfluentOrganization -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Create Organization resource +create Organization resource ## EXAMPLES @@ -72,12 +87,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 Location of Organization resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -122,7 +167,7 @@ Offer Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -137,7 +182,7 @@ Offer Plan Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -152,7 +197,7 @@ Offer Plan Name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -167,7 +212,7 @@ Publisher Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -182,7 +227,7 @@ Offer Plan Term unit ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -227,7 +272,7 @@ Organization resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -242,7 +287,7 @@ Email address ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -257,7 +302,7 @@ First name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -272,7 +317,7 @@ Last name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -320,7 +365,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301.IOrganizationResource +### Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResource ## NOTES diff --git a/src/Confluent/Confluent/help/Update-AzConfluentOrganization.md b/src/Confluent/Confluent/help/Update-AzConfluentOrganization.md index a48ddb6a454d..9291a992b8d1 100644 --- a/src/Confluent/Confluent/help/Update-AzConfluentOrganization.md +++ b/src/Confluent/Confluent/help/Update-AzConfluentOrganization.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzConfluentOrganization ## SYNOPSIS -Update Organization resource +update Organization resource ## SYNTAX @@ -19,6 +19,20 @@ Update-AzConfluentOrganization -Name -ResourceGroupName [-Subs [] ``` +### UpdateViaJsonString +``` +Update-AzConfluentOrganization -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzConfluentOrganization -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzConfluentOrganization -InputObject [-Tag ] @@ -26,7 +40,7 @@ Update-AzConfluentOrganization -InputObject [-Tag