Class GcpMetadataUrlProvider
java.lang.Object
org.gridgain.internal.license.provider.GcpMetadataUrlProvider
Provides the metadata URL in Google Cloud Platform (GCP).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the URL for fetching the product code attribute.
-
Constructor Details
-
GcpMetadataUrlProvider
public GcpMetadataUrlProvider()
-
-
Method Details
-
getProductCodeAttributeUrl
Returns the URL for fetching the product code attribute.
# curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/licenses/?recursive=true" [{"id":"123"},{"id":"456"}]
-