com.pulumi.azure.compute.inputs.GetSharedImageVersionPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.compute.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetSharedImageVersionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSharedImageVersionPlainArgs Empty = new GetSharedImageVersionPlainArgs();
/**
* The name of the Shared Image Gallery in which the Shared Image exists.
*
*/
@Import(name="galleryName", required=true)
private String galleryName;
/**
* @return The name of the Shared Image Gallery in which the Shared Image exists.
*
*/
public String galleryName() {
return this.galleryName;
}
/**
* The name of the Shared Image in which this Version exists.
*
*/
@Import(name="imageName", required=true)
private String imageName;
/**
* @return The name of the Shared Image in which this Version exists.
*
*/
public String imageName() {
return this.imageName;
}
/**
* The name of the Image Version.
*
* > **Note:** You may specify `latest` to obtain the latest version or `recent` to obtain the most recently updated version.
*
* > **Note:** In 3.0, `latest` may return an image version with `exclude_from_latest` set to `true`. Starting from 4.0 onwards `latest` will not return image versions with `exlude_from_latest` set to `true`.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return The name of the Image Version.
*
* > **Note:** You may specify `latest` to obtain the latest version or `recent` to obtain the most recently updated version.
*
* > **Note:** In 3.0, `latest` may return an image version with `exclude_from_latest` set to `true`. Starting from 4.0 onwards `latest` will not return image versions with `exlude_from_latest` set to `true`.
*
*/
public String name() {
return this.name;
}
/**
* The name of the Resource Group in which the Shared Image Gallery exists.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the Resource Group in which the Shared Image Gallery exists.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* Sort available versions taking SemVer versioning scheme into account. Defaults to `false`.
*
*/
@Import(name="sortVersionsBySemver")
private @Nullable Boolean sortVersionsBySemver;
/**
* @return Sort available versions taking SemVer versioning scheme into account. Defaults to `false`.
*
*/
public Optional sortVersionsBySemver() {
return Optional.ofNullable(this.sortVersionsBySemver);
}
/**
* A mapping of tags assigned to the Shared Image.
*
*/
@Import(name="tags")
private @Nullable Map tags;
/**
* @return A mapping of tags assigned to the Shared Image.
*
*/
public Optional