Get-AzCdnProfile
Gets an CDN profile with the specified profile name under the specified subscription and resource group.
Syntax
List (Default)
Get-AzCdnProfile
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
List1
Get-AzCdnProfile
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzCdnProfile
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzCdnProfile
-InputObject <ICdnIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets an CDN profile with the specified profile name under the specified subscription and resource group.
Examples
Example 1: List AzureCDN profiles under the subscription
Get-AzCdnProfile
Location Name Kind ResourceGroupName
-------- ---- ---- -----------------
Global p-oln142 cdn testps-rg-godj4q
Global cdn001 cdn testps-rg-da16jm
Global cdn002 cdn testps-rg-da16jm
List AzureCDN profiles under the subscription
Example 2: List AzureCDN profiles under the resource group
Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm
Location Name Kind ResourceGroupName
-------- ---- ---- -----------------
Global cdn001 cdn testps-rg-da16jm
Global cdn002 cdn testps-rg-da16jm
List AzureCDN profiles under the resource group
Example 3: Get an AzureCDN profile under the resource group
Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001
Location Name Kind ResourceGroupName
-------- ---- ---- -----------------
Global cdn001 cdn testps-rg-da16jm
Get an AzureCDN profile under the resource group
Example 4: Get an AzureCDN profile under the resource group via identity
New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global | Get-AzCdnProfile
Location Name Kind ResourceGroupName
-------- ---- ---- -----------------
Global cdn001 cdn testps-rg-da16jm
Get an AzureCDN profile under the resource group via identity
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
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 To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Parameter properties
| Type: | ICdnIdentity |
| 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 CDN profile which is unique within the resource group.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ProfileName |
Parameter sets
Get
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ResourceGroupName
Name of the Resource group within the Azure subscription.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
List1
| 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 |
-SubscriptionId
Azure Subscription ID.
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 |
List1
| 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 |
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.