Get-AzEventHubSchemaGroup
Gets a specific schema group from a namespace or lists all schema groups in a namespace.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzEventHubSchemaGroup
[-ResourceGroupName] <String>
[-Namespace] <String>
[[-Name] <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-AzEventHubSchemaGroup
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Get-AzEventHubSchemaGroup gets a specific schema group from a namespace or lists all schema groups in a namespace.
Examples
Example 1
Get-AzEventHubSchemaGroup -ResourceGroupName myresourcegroup -Namespace mynamespace -Name myschemagroup
Id : /subscriptions/{subscriptionid}/resourceGroups/myresourcegroup/providers/Microsoft.EventHub/namespaces/mynamespace/schemagroups/myschemagroup
Name : myschemagroup
Location : East US
Type : Microsoft.EventHub/Namespaces/SchemaGroups
SchemaCompatibility : Backward
SchemaType : Avro
GroupProperties : {key1:value1, name:name}
Gets the details of schema group `myschemagroup` in `mynamespace` in the resource group `myresourcegroup`.
Example 1
Get-AzEventHubSchemaGroup -ResourceGroupName myresourcegroup -Namespace mynamespace
Id : /subscriptions/{subscriptionid}/resourceGroups/myresourcegroup/providers/Microsoft.EventHub/namespaces/mynamespace/schemagroups/myschemagroup
Name : myschemagroup
Location : East US
Type : Microsoft.EventHub/Namespaces/SchemaGroups
SchemaCompatibility : Backward
SchemaType : Avro
GroupProperties : {key1:value1, name:name}
Id : /subscriptions/{subscriptionid}/resourceGroups/myresourcegroup/providers/Microsoft.EventHub/namespaces/mynamespace/schemagroups/myschemagroup1
Name : myschemagroup1
Location : East US
Type : Microsoft.EventHub/Namespaces/SchemaGroups
SchemaCompatibility : Backward
SchemaType : Avro
GroupProperties : {key1:value1, name:name}
Gets the list of all schema groups in `mynamespace` in the resource group `myresourcegroup`.
Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Name of Schema Group
| Type: | String |
| Aliases: | SchemaGroupName |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Namespace Name
| Type: | String |
| Aliases: | NamespaceName |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Resource Group Name
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Namespace Resource Id
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |