Edit

Share via


Get-AzCustomProviderAssociation

Get an association.

Syntax

List (Default)

Get-AzCustomProviderAssociation
    -Scope <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzCustomProviderAssociation
    -Name <String>
    -Scope <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzCustomProviderAssociation
    -InputObject <ICustomProvidersIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Get an association.

Examples

Example 1: List custom provider associations

Get-AzCustomProviderAssociation
Location  Name             Type
--------  ----             ----
East US 2 MyAssoc   Microsoft.CustomProviders/associations

List all custom provider associations for a given scope.

Example 2: Get an association

Get-AzCustomProviderAssociation -Scope $resourceId -Name MyAssoc
Location  Name             Type
--------  ----             ----
East US 2 MyAssoc   Microsoft.CustomProviders/associations

Get details for a single CustomProvider association

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:ICustomProvidersIdentity
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

The name of the association.

Parameter properties

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

Parameter sets

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

-Scope

The scope of the association.

Parameter properties

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

Parameter sets

List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:True
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

ICustomProvidersIdentity

Outputs

IAssociation