Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/Confluent/Confluent.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -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)]
11 changes: 5 additions & 6 deletions src/Confluent/Confluent.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/Confluent/Confluent.Autorest/docs/Az.Confluent.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ schema: 2.0.0
# New-AzConfluentOrganization

## SYNOPSIS
Create Organization resource
create Organization resource

## SYNTAX

### CreateExpanded (Default)
```
New-AzConfluentOrganization -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
[-Location <String>] [-OfferDetailId <String>] [-OfferDetailPlanId <String>] [-OfferDetailPlanName <String>]
Expand All @@ -20,8 +21,22 @@ New-AzConfluentOrganization -Name <String> -ResourceGroupName <String> [-Subscri
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
```

### CreateViaJsonFilePath
```
New-AzConfluentOrganization -Name <String> -ResourceGroupName <String> -JsonFilePath <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[<CommonParameters>]
```

### CreateViaJsonString
```
New-AzConfluentOrganization -Name <String> -ResourceGroupName <String> -JsonString <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[<CommonParameters>]
```

## DESCRIPTION
Create Organization resource
create Organization resource

## EXAMPLES

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -121,7 +166,7 @@ Offer Id

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand All @@ -136,7 +181,7 @@ Offer Plan Id

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand All @@ -151,7 +196,7 @@ Offer Plan Name

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand All @@ -166,7 +211,7 @@ Publisher Id

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand All @@ -181,7 +226,7 @@ Offer Plan Term unit

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand Down Expand Up @@ -226,7 +271,7 @@ Organization resource tags

```yaml
Type: System.Collections.Hashtable
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand All @@ -241,7 +286,7 @@ Email address

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand All @@ -256,7 +301,7 @@ First name

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand All @@ -271,7 +316,7 @@ Last name

```yaml
Type: System.String
Parameter Sets: (All)
Parameter Sets: CreateExpanded
Aliases:

Required: False
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Update-AzConfluentOrganization

## SYNOPSIS
Update Organization resource
update Organization resource

## SYNTAX

Expand All @@ -24,8 +24,20 @@ Update-AzConfluentOrganization -InputObject <IConfluentIdentity> [-Tag <Hashtabl
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
```

### UpdateViaJsonFilePath
```
Update-AzConfluentOrganization -Name <String> -ResourceGroupName <String> -JsonFilePath <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
```

### UpdateViaJsonString
```
Update-AzConfluentOrganization -Name <String> -ResourceGroupName <String> -JsonString <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
```

## DESCRIPTION
Update Organization resource
update Organization resource

## EXAMPLES

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -109,7 +150,7 @@ Resource group name

```yaml
Type: System.String
Parameter Sets: UpdateExpanded
Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
Aliases:

Required: True
Expand All @@ -124,7 +165,7 @@ Microsoft Azure subscription id

```yaml
Type: System.String
Parameter Sets: UpdateExpanded
Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
Aliases:

Required: False
Expand All @@ -139,7 +180,7 @@ ARM resource tags

```yaml
Type: System.Collections.Hashtable
Parameter Sets: (All)
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:

Required: False
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/Confluent/Confluent.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "4c003972-dd8b-4556-87ac-973a49f638fd"
"generate_Id": "9e1969f8-9c98-49c1-9f5b-482164d7261b"
}
Loading