| external help file | |
|---|---|
| Module Name | Az.EventHub |
| online version | https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubcluster |
| schema | 2.0.0 |
Create an instance of an Event Hubs Cluster.
New-AzEventHubCluster -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
[-Capacity <Int32>] [-ConfidentialComputeMode <String>] [-Location <String>] [-SupportsScaling]
[-Tag <Hashtable>] [-ZoneRedundant] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[<CommonParameters>]
New-AzEventHubCluster -Name <String> -ResourceGroupName <String> -Parameter <IClusterAutoGenerated>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[<CommonParameters>]
New-AzEventHubCluster -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
[-Capacity <Int32>] [-Location <String>] [-SupportsScaling] [-Tag <Hashtable>] [-DefaultProfile <PSObject>]
[-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzEventHubCluster -InputObject <IEventHubIdentity> -Parameter <IClusterAutoGenerated>
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzEventHubCluster -InputObject <IEventHubIdentity> [-Capacity <Int32>] [-Location <String>]
[-SupportsScaling] [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[<CommonParameters>]
New-AzEventHubCluster -Name <String> -ResourceGroupName <String> -JsonFilePath <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[<CommonParameters>]
New-AzEventHubCluster -Name <String> -ResourceGroupName <String> -JsonString <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
[<CommonParameters>]
Create an instance of an Event Hubs Cluster.
New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluster -Location "eastasia" -SupportsScaling -Capacity 2Capacity : 2
CreatedAt : 2022-08-29T09:38:30.453Z
Id : /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/myEventHubsCluster
Location : australiaeast
MetricId : PROD-00-000
Name : myEventHubsCluster
ResourceGroupName : myResourceGroup
SkuName : Dedicated
Status :
SupportsScaling : True
Tag : {}
Creates a self-serve dedicated cluster myEventHubsCluster with 2 capacity units.
New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluster -Location "eastasia"Capacity : 1
CreatedAt : 2022-08-29T09:38:30.453Z
Id : /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/myEventHubsCluster
Location : australiaeast
MetricId : PROD-00-000
Name : myEventHubsCluster
ResourceGroupName : myResourceGroup
SkuName : Dedicated
Status :
SupportsScaling :
Tag : {}
Create a EventHubs dedicated cluster myEventHubsCluster in Australia East.
Run the command as a job
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe quantity of Event Hubs Cluster Capacity Units contained in this cluster.
Type: System.Int32
Parameter Sets: CreateExpanded, CreateExpanded1, CreateViaIdentityExpanded1
Aliases:
Required: False
Position: Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: FalseSetting to Enable or Disable Confidential Compute
Type: System.String
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
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: FalseIdentity Parameter
Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity
Parameter Sets: CreateViaIdentity1, CreateViaIdentityExpanded1
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalsePath of Json file supplied to the Create operation
Type: System.String
Parameter Sets: CreateViaJsonFilePath1
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseJson string supplied to the Create operation
Type: System.String
Parameter Sets: CreateViaJsonString1
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseResource location.
Type: System.String
Parameter Sets: CreateExpanded, CreateExpanded1, CreateViaIdentityExpanded1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the Event Hubs Cluster.
Type: System.String
Parameter Sets: Create1, CreateExpanded, CreateExpanded1, CreateViaJsonFilePath1, CreateViaJsonString1
Aliases: ClusterName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseRun the command asynchronously
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSingle Event Hubs Cluster resource in List or Get operations.
Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IClusterAutoGenerated
Parameter Sets: Create1, CreateViaIdentity1
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseName of the resource group within the azure subscription.
Type: System.String
Parameter Sets: Create1, CreateExpanded, CreateExpanded1, CreateViaJsonFilePath1, CreateViaJsonString1
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe ID of the target subscription.
Type: System.String
Parameter Sets: Create1, CreateExpanded, CreateExpanded1, CreateViaJsonFilePath1, CreateViaJsonString1
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: FalseA value that indicates whether Scaling is Supported.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: CreateExpanded, CreateExpanded1, CreateViaIdentityExpanded1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseResource tags.
Type: System.Collections.Hashtable
Parameter Sets: CreateExpanded, CreateExpanded1, CreateViaIdentityExpanded1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseA value that indicates whether the cluster is zone redundant.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: CreateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.