Class VMExtensionPayloadInner

java.lang.Object
com.azure.resourcemanager.logz.fluent.models.VMExtensionPayloadInner

public final class VMExtensionPayloadInner extends Object
Response of payload to be passed while installing VM agent.
  • Constructor Details

    • VMExtensionPayloadInner

      public VMExtensionPayloadInner()
      Creates an instance of VMExtensionPayloadInner class.
  • Method Details

    • apiKey

      public String apiKey()
      Get the apiKey property: API Key corresponding to the resource.
      Returns:
      the apiKey value.
    • withApiKey

      public VMExtensionPayloadInner withApiKey(String apiKey)
      Set the apiKey property: API Key corresponding to the resource.
      Parameters:
      apiKey - the apiKey value to set.
      Returns:
      the VMExtensionPayloadInner object itself.
    • region

      public String region()
      Get the region property: Logz.io region where the resource has been created.
      Returns:
      the region value.
    • withRegion

      public VMExtensionPayloadInner withRegion(String region)
      Set the region property: Logz.io region where the resource has been created.
      Parameters:
      region - the region value to set.
      Returns:
      the VMExtensionPayloadInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.