Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.compute; import com.microsoft.azure.management.apigeneration.Beta; import com.microsoft.azure.management.apigeneration.Fluent; import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum; import java.util.Collection;
Compute resource types.
/** * Compute resource types. */
@Fluent @Beta(Beta.SinceVersion.V1_5_0) public class ComputeResourceType extends ExpandableStringEnum<ComputeResourceType> {
Static value availabilitySets for ComputeResourceType.
/** * Static value availabilitySets for ComputeResourceType. */
public static final ComputeResourceType AVAILABILITYSETS = fromString("availabilitySets");
Static value disks for ComputeResourceType.
/** * Static value disks for ComputeResourceType. */
public static final ComputeResourceType DISKS = fromString("disks");
Static value snapshots for ComputeResourceType.
/** * Static value snapshots for ComputeResourceType. */
public static final ComputeResourceType SNAPSHOTS = fromString("snapshots");
Static value virtualMachines for ComputeResourceType.
/** * Static value virtualMachines for ComputeResourceType. */
public static final ComputeResourceType VIRTUALMACHINES = fromString("virtualMachines");
Finds or creates compute resource type based on the specified string.
Params:
  • str – the compute resource type in string format
Returns:an instance of ComputeResourceType
/** * Finds or creates compute resource type based on the specified string. * * @param str the compute resource type in string format * @return an instance of ComputeResourceType */
public static ComputeResourceType fromString(String str) { return fromString(str, ComputeResourceType.class); }
Returns:known compute resource types
/** * @return known compute resource types */
public static Collection<ComputeResourceType> values() { return values(ComputeResourceType.class); } }