Edit

Share via


Get-AzNeonPostgresOrganization

This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.

Get a OrganizationResource

Syntax

List (Default)

Get-AzNeonPostgresOrganization
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzNeonPostgresOrganization
    -Name <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

List1

Get-AzNeonPostgresOrganization
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzNeonPostgresOrganization
    -InputObject <INeonPostgresIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Get a OrganizationResource

Examples

Example 1: Get Neon Organization Details

Get-AzNeonPostgresOrganization -SubscriptionId 5d9a6cc3-4e60-4b41-be79-d28f0a01074e
Location      Name                       SystemDataCreatedAt   SystemDataCreatedBy           SystemDataCreatedByType Sy
                                                                                                                     st
                                                                                                                     em
                                                                                                                     Da
                                                                                                                     ta
                                                                                                                     La
                                                                                                                     st
                                                                                                                     Mo
                                                                                                                     di
                                                                                                                     fi
                                                                                                                     ed
                                                                                                                     At
--------      ----                       -------------------   -------------------           ----------------------- --
eastus2       org123                     25-Oct-24 5:59:50 AM  deepkan@contoso.com        User                    25
eastus2       Sr-Neon-Org-Prod           25-Oct-24 10:04:14 AM john.dev@contoso.com       User                    25
eastus2       Sr-Neon-Org-Prod-2         25-Oct-24 10:16:08 AM neondevuser@company.com    User                    25
eastus2       ProdNeonOrg-1              29-Oct-24 5:02:55 AM  alluri@testneon.com        User                    29

This command will get all organization details for a subscription id

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter

Parameter properties

Type:INeonPostgresIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Name of the Neon Organizations resource

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:OrganizationName

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List1
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List1
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

INeonPostgresIdentity

Outputs

IOrganizationResource