Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.37 KB

Get-PiraeusSubscriptionMetadata.md

File metadata and controls

37 lines (26 loc) · 1.37 KB

Get-PiraeusSubscriptionMetadata cmdlet

Back

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 $\pi$-system is returned from Piraeus

$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 

Management API