Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.25 KB

Get-PiraeusEventMetadata.md

File metadata and controls

32 lines (25 loc) · 1.25 KB

Get-PiraeusEventMetadata cmdlet

Back

Returns the metadata for a Piraeus π-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.
ResourceUriString N A unique identifier of the pi-system as a URI
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 

$pisystemId = "http://example.org/pisystem-A"

Get-PiraeusEventMetadata `
              -ResourceUriString $pisystemId `
              -ServiceUrl $url  `
              -SecurityToken $token

Management API