Delen via


Get-AzServiceFabricApplication

Service Fabric-toepassingsgegevens ophalen. Ondersteunt alleen door ARM geïmplementeerde toepassingen.

Syntaxis

Get-AzServiceFabricApplication
   [-ResourceGroupName] <String>
   [-ClusterName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzServiceFabricApplication
   [-ResourceGroupName] <String>
   [-ClusterName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzServiceFabricApplication
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Met deze cmdlet worden de toepassingsgegevens opgehaald in de opgegeven resourcegroep en het opgegeven cluster.

Voorbeelden

Voorbeeld 1

$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appName = "testApp"
Get-AzServiceFabricApplication -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appName

In dit voorbeeld worden de details van de toepassingsresource voor de toepassing 'testApp' opgehaald.

Voorbeeld 2

$resourceGroupName = "testRG"
$clusterName = "testCluster"
Get-AzServiceFabricApplication -ResourceGroupName $resourceGroupName -ClusterName $clusterName

In dit voorbeeld wordt een lijst met de toepassingen onder het cluster testCluster opgehaald.

Parameters

-ClusterName

Geef de naam van het cluster op.

Type:String
Position:1
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

-DefaultProfile

De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.

Type:IAzureContextContainer
Aliassen:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Name

Geef de naam van de toepassing op.

Type:String
Aliassen:ApplicationName
Position:2
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

-ResourceGroupName

Geef de naam van de resourcegroep op.

Type:String
Position:0
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

-ResourceId

Arm ResourceId van de toepassing.

Type:String
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

Invoerwaarden

String

Uitvoerwaarden

PSApplication