StorageApplianceConfigurationData Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. StorageApplianceConfigurationData
- com.
Implements
public final class StorageApplianceConfigurationData
implements JsonSerializable<StorageApplianceConfigurationData>
StorageApplianceConfigurationData represents configuration for the storage application.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageApplianceConfigurationData() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Administrative |
adminCredentials()
Get the admin |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| long |
rackSlot()
Get the rack |
| String |
serialNumber()
Get the serial |
| String |
storageApplianceName()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withAdminCredentials(AdministrativeCredentials adminCredentials)
Set the admin |
|
Storage |
withRackSlot(long rackSlot)
Set the rack |
|
Storage |
withSerialNumber(String serialNumber)
Set the serial |
|
Storage |
withStorageApplianceName(String storageApplianceName)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
StorageApplianceConfigurationData
public StorageApplianceConfigurationData()
Creates an instance of StorageApplianceConfigurationData class.
Method Details
adminCredentials
public AdministrativeCredentials adminCredentials()
Get the adminCredentials property: The credentials of the administrative interface on this storage appliance. The password field is expected to be an Azure Key Vault key URL. Until the cluster is converted to utilize managed identity by setting the secret archive settings, the actual password value should be provided instead.
Returns:
fromJson
public static StorageApplianceConfigurationData fromJson(JsonReader jsonReader)
Reads an instance of StorageApplianceConfigurationData from the JsonReader.
Parameters:
Returns:
Throws:
rackSlot
public long rackSlot()
Get the rackSlot property: The slot that storage appliance is in the rack based on the BOM configuration.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: The serial number of the appliance.
Returns:
storageApplianceName
public String storageApplianceName()
Get the storageApplianceName property: The user-provided name for the storage appliance that will be created from this specification.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdminCredentials
public StorageApplianceConfigurationData withAdminCredentials(AdministrativeCredentials adminCredentials)
Set the adminCredentials property: The credentials of the administrative interface on this storage appliance. The password field is expected to be an Azure Key Vault key URL. Until the cluster is converted to utilize managed identity by setting the secret archive settings, the actual password value should be provided instead.
Parameters:
Returns:
withRackSlot
public StorageApplianceConfigurationData withRackSlot(long rackSlot)
Set the rackSlot property: The slot that storage appliance is in the rack based on the BOM configuration.
Parameters:
Returns:
withSerialNumber
public StorageApplianceConfigurationData withSerialNumber(String serialNumber)
Set the serialNumber property: The serial number of the appliance.
Parameters:
Returns:
withStorageApplianceName
public StorageApplianceConfigurationData withStorageApplianceName(String storageApplianceName)
Set the storageApplianceName property: The user-provided name for the storage appliance that will be created from this specification.
Parameters:
Returns: