Class CloudProviderProfileInfraStorageProfile
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.CloudProviderProfileInfraStorageProfile
InfraStorageProfile - List of infra storage profiles for the provisioned cluster.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CloudProviderProfileInfraStorageProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the storageSpaceIds property: Reference to azure resource corresponding to the new HybridAKSStorage object e.g.void
validate()
Validates the instance.withStorageSpaceIds
(List<String> storageSpaceIds) Set the storageSpaceIds property: Reference to azure resource corresponding to the new HybridAKSStorage object e.g.
-
Constructor Details
-
CloudProviderProfileInfraStorageProfile
public CloudProviderProfileInfraStorageProfile()Creates an instance of CloudProviderProfileInfraStorageProfile class.
-
-
Method Details
-
storageSpaceIds
Get the storageSpaceIds property: Reference to azure resource corresponding to the new HybridAKSStorage object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/storageSpaces/{storageSpaceName}.- Returns:
- the storageSpaceIds value.
-
withStorageSpaceIds
Set the storageSpaceIds property: Reference to azure resource corresponding to the new HybridAKSStorage object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/storageSpaces/{storageSpaceName}.- Parameters:
storageSpaceIds
- the storageSpaceIds value to set.- Returns:
- the CloudProviderProfileInfraStorageProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-