Class VMExtensionPayloadInner
java.lang.Object
com.azure.resourcemanager.logz.fluent.models.VMExtensionPayloadInner
Response of payload to be passed while installing VM agent.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VMExtensionPayloadInner class. -
Method Summary
Modifier and TypeMethodDescriptionapiKey()
Get the apiKey property: API Key corresponding to the resource.region()
Get the region property: Logz.io region where the resource has been created.void
validate()
Validates the instance.withApiKey
(String apiKey) Set the apiKey property: API Key corresponding to the resource.withRegion
(String region) Set the region property: Logz.io region where the resource has been created.
-
Constructor Details
-
VMExtensionPayloadInner
public VMExtensionPayloadInner()Creates an instance of VMExtensionPayloadInner class.
-
-
Method Details
-
apiKey
Get the apiKey property: API Key corresponding to the resource.- Returns:
- the apiKey value.
-
withApiKey
Set the apiKey property: API Key corresponding to the resource.- Parameters:
apiKey
- the apiKey value to set.- Returns:
- the VMExtensionPayloadInner object itself.
-
region
Get the region property: Logz.io region where the resource has been created.- Returns:
- the region value.
-
withRegion
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.
-