Class StorageAccount
java.lang.Object
com.azure.resourcemanager.loganalytics.models.StorageAccount
Describes a storage account connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: The Azure Resource Manager ID of the storage account resource.key()
Get the key property: The storage account key.void
validate()
Validates the instance.Set the id property: The Azure Resource Manager ID of the storage account resource.Set the key property: The storage account key.
-
Constructor Details
-
StorageAccount
public StorageAccount()
-
-
Method Details
-
id
Get the id property: The Azure Resource Manager ID of the storage account resource.- Returns:
- the id value.
-
withId
Set the id property: The Azure Resource Manager ID of the storage account resource.- Parameters:
id
- the id value to set.- Returns:
- the StorageAccount object itself.
-
key
Get the key property: The storage account key.- Returns:
- the key value.
-
withKey
Set the key property: The storage account key.- Parameters:
key
- the key value to set.- Returns:
- the StorageAccount object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-