com.azure.resourcemanager.compute.implementation.VirtualMachineScaleSetSkuImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-compute Show documentation
Show all versions of azure-resourcemanager-compute Show documentation
This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.compute.implementation;
import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetSku;
import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetSkuCapacity;
import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetSkuTypes;
import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetSkuInner;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
/** Implementation of VirtualMachineScaleSetSku. */
class VirtualMachineScaleSetSkuImpl extends WrapperImpl
implements VirtualMachineScaleSetSku {
VirtualMachineScaleSetSkuImpl(VirtualMachineScaleSetSkuInner inner) {
super(inner);
}
@Override
public String resourceType() {
return this.innerModel().resourceType();
}
@Override
public VirtualMachineScaleSetSkuTypes skuType() {
return VirtualMachineScaleSetSkuTypes.fromSku(this.innerModel().sku());
}
@Override
public VirtualMachineScaleSetSkuCapacity capacity() {
return this.innerModel().capacity();
}
}