![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.compute.implementation.VirtualMachineSkuImpl 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.Sku;
import com.azure.resourcemanager.compute.models.VirtualMachineImagesInSku;
import com.azure.resourcemanager.compute.models.VirtualMachineOffer;
import com.azure.resourcemanager.compute.models.VirtualMachinePublisher;
import com.azure.resourcemanager.compute.models.VirtualMachineSku;
import com.azure.resourcemanager.compute.fluent.VirtualMachineImagesClient;
import com.azure.core.management.Region;
/** The implementation for {@link Sku}. */
class VirtualMachineSkuImpl implements VirtualMachineSku {
private final VirtualMachineOffer offer;
private final String skuName;
private final VirtualMachineImagesInSku imagesInSku;
VirtualMachineSkuImpl(VirtualMachineOffer offer, String skuName, VirtualMachineImagesClient client) {
this.offer = offer;
this.skuName = skuName;
this.imagesInSku = new VirtualMachineImagesInSkuImpl(this, client);
}
@Override
public Region region() {
return offer.region();
}
@Override
public VirtualMachinePublisher publisher() {
return offer.publisher();
}
@Override
public VirtualMachineOffer offer() {
return offer;
}
public String name() {
return this.skuName;
}
@Override
public VirtualMachineImagesInSku images() {
return this.imagesInSku;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy