
com.pulumi.azurenative.labservices.GalleryImage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.labservices;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.labservices.GalleryImageArgs;
import com.pulumi.azurenative.labservices.outputs.GalleryImageReferenceResponse;
import com.pulumi.azurenative.labservices.outputs.LatestOperationResultResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Represents an image from the Azure Marketplace
* Azure REST API version: 2018-10-15. Prior API version in Azure Native 1.x: 2018-10-15.
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:labservices:GalleryImage myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages/{galleryImageName}
* ```
*
*/
@ResourceType(type="azure-native:labservices:GalleryImage")
public class GalleryImage extends com.pulumi.resources.CustomResource {
/**
* The author of the gallery image.
*
*/
@Export(name="author", refs={String.class}, tree="[0]")
private Output author;
/**
* @return The author of the gallery image.
*
*/
public Output author() {
return this.author;
}
/**
* The creation date of the gallery image.
*
*/
@Export(name="createdDate", refs={String.class}, tree="[0]")
private Output createdDate;
/**
* @return The creation date of the gallery image.
*
*/
public Output createdDate() {
return this.createdDate;
}
/**
* The description of the gallery image.
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output description;
/**
* @return The description of the gallery image.
*
*/
public Output description() {
return this.description;
}
/**
* The icon of the gallery image.
*
*/
@Export(name="icon", refs={String.class}, tree="[0]")
private Output icon;
/**
* @return The icon of the gallery image.
*
*/
public Output icon() {
return this.icon;
}
/**
* The image reference of the gallery image.
*
*/
@Export(name="imageReference", refs={GalleryImageReferenceResponse.class}, tree="[0]")
private Output imageReference;
/**
* @return The image reference of the gallery image.
*
*/
public Output imageReference() {
return this.imageReference;
}
/**
* Indicates whether this gallery image is enabled.
*
*/
@Export(name="isEnabled", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> isEnabled;
/**
* @return Indicates whether this gallery image is enabled.
*
*/
public Output> isEnabled() {
return Codegen.optional(this.isEnabled);
}
/**
* Indicates whether this gallery has been overridden for this lab account
*
*/
@Export(name="isOverride", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> isOverride;
/**
* @return Indicates whether this gallery has been overridden for this lab account
*
*/
public Output> isOverride() {
return Codegen.optional(this.isOverride);
}
/**
* Indicates if the plan has been authorized for programmatic deployment.
*
*/
@Export(name="isPlanAuthorized", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> isPlanAuthorized;
/**
* @return Indicates if the plan has been authorized for programmatic deployment.
*
*/
public Output> isPlanAuthorized() {
return Codegen.optional(this.isPlanAuthorized);
}
/**
* The details of the latest operation. ex: status, error
*
*/
@Export(name="latestOperationResult", refs={LatestOperationResultResponse.class}, tree="[0]")
private Output latestOperationResult;
/**
* @return The details of the latest operation. ex: status, error
*
*/
public Output latestOperationResult() {
return this.latestOperationResult;
}
/**
* The location of the resource.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> location;
/**
* @return The location of the resource.
*
*/
public Output> location() {
return Codegen.optional(this.location);
}
/**
* The name of the resource.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The name of the resource.
*
*/
public Output name() {
return this.name;
}
/**
* The third party plan that applies to this image
*
*/
@Export(name="planId", refs={String.class}, tree="[0]")
private Output planId;
/**
* @return The third party plan that applies to this image
*
*/
public Output planId() {
return this.planId;
}
/**
* The provisioning status of the resource.
*
*/
@Export(name="provisioningState", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> provisioningState;
/**
* @return The provisioning status of the resource.
*
*/
public Output> provisioningState() {
return Codegen.optional(this.provisioningState);
}
/**
* The tags of the resource.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return The tags of the resource.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* The type of the resource.
*
*/
@Export(name="type", refs={String.class}, tree="[0]")
private Output type;
/**
* @return The type of the resource.
*
*/
public Output type() {
return this.type;
}
/**
* The unique immutable identifier of a resource (Guid).
*
*/
@Export(name="uniqueIdentifier", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> uniqueIdentifier;
/**
* @return The unique immutable identifier of a resource (Guid).
*
*/
public Output> uniqueIdentifier() {
return Codegen.optional(this.uniqueIdentifier);
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public GalleryImage(java.lang.String name) {
this(name, GalleryImageArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public GalleryImage(java.lang.String name, GalleryImageArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public GalleryImage(java.lang.String name, GalleryImageArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:labservices:GalleryImage", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private GalleryImage(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:labservices:GalleryImage", name, null, makeResourceOptions(options, id), false);
}
private static GalleryImageArgs makeArgs(GalleryImageArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? GalleryImageArgs.Empty : args;
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.aliases(List.of(
Output.of(Alias.builder().type("azure-native:labservices/v20181015:GalleryImage").build())
))
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static GalleryImage get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new GalleryImage(name, id, options);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy