DatastoreInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. connectedvmware. fluent. models. DatastoreInner
- com.
- com.
- com.
public final class DatastoreInner
extends Resource
Define the datastore.
Constructor Summary
| Constructor | Description |
|---|---|
| DatastoreInner() |
Creates an instance of Datastore |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
capacityGB()
Get the capacityGB property: Gets or sets Maximum capacity of this datastore in GBs. |
| String |
customResourceName()
Get the custom |
|
Extended |
extendedLocation()
Get the extended |
| Long |
freeSpaceGB()
Get the free |
|
static
Datastore |
fromJson(JsonReader jsonReader)
Reads an instance of Datastore |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
inventoryItemId()
Get the inventory |
| String |
kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
| String |
moName()
Get the mo |
| String |
moRefId()
Get the mo |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Resource |
statuses()
Get the statuses property: The resource status information. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
uuid()
Get the uuid property: Gets or sets a unique identifier for this resource. |
| void |
validate()
Validates the instance. |
| String |
vCenterId()
Get the v |
|
Datastore |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Datastore |
withInventoryItemId(String inventoryItemId)
Set the inventory |
|
Datastore |
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
|
Datastore |
withLocation(String location) |
|
Datastore |
withMoRefId(String moRefId)
Set the mo |
|
Datastore |
withTags(Map<String,String> tags) |
|
Datastore |
withVCenterId(String vCenterId)
Set the v |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DatastoreInner
public DatastoreInner()
Creates an instance of DatastoreInner class.
Method Details
capacityGB
public Long capacityGB()
Get the capacityGB property: Gets or sets Maximum capacity of this datastore in GBs.
Returns:
customResourceName
public String customResourceName()
Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: Gets or sets the extended location.
Returns:
freeSpaceGB
public Long freeSpaceGB()
Get the freeSpaceGB property: Gets or sets Available space of this datastore in GBs.
Returns:
fromJson
public static DatastoreInner fromJson(JsonReader jsonReader)
Reads an instance of DatastoreInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DatastoreInner.id()Returns:
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the datastore.
Returns:
kind
public String kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Returns:
moName
public String moName()
Get the moName property: Gets or sets the vCenter Managed Object name for the datastore.
Returns:
moRefId
public String moRefId()
Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DatastoreInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
statuses
public List<ResourceStatus> statuses()
Get the statuses property: The resource status information.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system data.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DatastoreInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DatastoreInner.type()Returns:
uuid
public String uuid()
Get the uuid property: Gets or sets a unique identifier for this resource.
Returns:
validate
public void validate()
Validates the instance.
vCenterId
public String vCenterId()
Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
Returns:
withExtendedLocation
public DatastoreInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Gets or sets the extended location.
Parameters:
Returns:
withInventoryItemId
public DatastoreInner withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the datastore.
Parameters:
Returns:
withKind
public DatastoreInner withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Parameters:
Returns:
withLocation
public DatastoreInner withLocation(String location)
Overrides:
DatastoreInner.withLocation(String location)Parameters:
withMoRefId
public DatastoreInner withMoRefId(String moRefId)
Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
Parameters:
Returns:
withTags
public DatastoreInner withTags(Map<String,String> tags)
Overrides:
DatastoreInner.withTags(Map<String,String> tags)Parameters:
withVCenterId
public DatastoreInner withVCenterId(String vCenterId)
Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
Parameters:
Returns: