Class GcpMetadataUrlProvider

java.lang.Object
org.gridgain.internal.license.provider.GcpMetadataUrlProvider

public class GcpMetadataUrlProvider extends Object
Provides the metadata URL in Google Cloud Platform (GCP).
  • Constructor Details

    • GcpMetadataUrlProvider

      public GcpMetadataUrlProvider()
  • Method Details

    • getProductCodeAttributeUrl

      public static String 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"}]