Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.compute.implementation; import com.microsoft.azure.management.compute.Sku; import com.microsoft.azure.management.compute.VirtualMachineScaleSetSkuCapacity; import com.fasterxml.jackson.annotation.JsonProperty;
Describes an available virtual machine scale set sku.
/** * Describes an available virtual machine scale set sku. */
public class VirtualMachineScaleSetSkuInner {
The type of resource the sku applies to.
/** * The type of resource the sku applies to. */
@JsonProperty(value = "resourceType", access = JsonProperty.Access.WRITE_ONLY) private String resourceType;
The Sku.
/** * The Sku. */
@JsonProperty(value = "sku", access = JsonProperty.Access.WRITE_ONLY) private Sku sku;
Specifies the number of virtual machines in the scale set.
/** * Specifies the number of virtual machines in the scale set. */
@JsonProperty(value = "capacity", access = JsonProperty.Access.WRITE_ONLY) private VirtualMachineScaleSetSkuCapacity capacity;
Get the type of resource the sku applies to.
Returns:the resourceType value
/** * Get the type of resource the sku applies to. * * @return the resourceType value */
public String resourceType() { return this.resourceType; }
Get the Sku.
Returns:the sku value
/** * Get the Sku. * * @return the sku value */
public Sku sku() { return this.sku; }
Get specifies the number of virtual machines in the scale set.
Returns:the capacity value
/** * Get specifies the number of virtual machines in the scale set. * * @return the capacity value */
public VirtualMachineScaleSetSkuCapacity capacity() { return this.capacity; } }