Get-AzCdnProfile
Hämtar en CDN-profil med det angivna profilnamnet under den angivna prenumerationen och resursgruppen.
Syntax
Get-AzCdnProfile
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCdnProfile
[-SubscriptionId <String[]>]
-ResourceGroupName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCdnProfile
[-SubscriptionId <String[]>]
-Name <String>
-ResourceGroupName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCdnProfile
-InputObject <ICdnIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Hämtar en CDN-profil med det angivna profilnamnet under den angivna prenumerationen och resursgruppen.
Exempel
Exempel 1: Lista AzureCDN-profiler under prenumerationen
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
Lista AzureCDN-profiler under prenumerationen
Exempel 2: Lista AzureCDN-profiler under resursgruppen
Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm
Location Name Kind ResourceGroupName
-------- ---- ---- -----------------
Global cdn001 cdn testps-rg-da16jm
Global cdn002 cdn testps-rg-da16jm
Lista AzureCDN-profiler under resursgruppen
Exempel 3: Hämta en AzureCDN-profil under resursgruppen
Get-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001
Location Name Kind ResourceGroupName
-------- ---- ---- -----------------
Global cdn001 cdn testps-rg-da16jm
Hämta en AzureCDN-profil under resursgruppen
Exempel 4: Hämta en AzureCDN-profil under resursgruppen via identitet
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
Hämta en AzureCDN-profil under resursgruppen via identitet
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | PSObject |
Alias: | AzureRMContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-InputObject
Identitetsparameter För att skapa, se AVSNITTET ANTECKNINGAR för INPUTOBJECT-egenskaper och skapa en hash-tabell.
Typ: | ICdnIdentity |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Name
Namnet på CDN-profilen som är unik i resursgruppen.
Typ: | String |
Alias: | ProfileName |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-ResourceGroupName
Namnet på resursgruppen i Azure-prenumerationen.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-SubscriptionId
Azure-prenumerations-ID.
Typ: | String[] |
Position: | Named |
Standardvärde: | (Get-AzContext).Subscription.Id |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
Indata
Utdata
Azure PowerShell