Returns the metadata for a subscription to a π-system.
Parameter | Optional | Description |
---|---|---|
ServiceUrl | N | The management API service URL, e.g., https://<dns>.<location>.cloudapp.azure.com |
SecurityToken | N | The security token previously acquired to access the management API. |
SubscriptionUriString | N | Unique URI identifier of subscription. |
|
Example
The PowerShell sample below shows how the
$url = "http://piraeus.eastus.cloudapp.azure.com"
$code = "12345678"
$token = Get-PiraeusManagementToken '
-ServiceUrl $url `
-Key $code
$subscriptioId = "http://example.org/pisystem-A/c8b59c7c-484e-4dbe-9c3d-f25ee6fefa46"
Get-PiraeusSubscriptionMetadata `
-ServiceUrl $url `
-SecurityToken $token `
-SubscriptionUriString $subscriptioId