com.pulumi.azurenative.labservices.EnvironmentSetting 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.EnvironmentSettingArgs;
import com.pulumi.azurenative.labservices.outputs.LatestOperationResultResponse;
import com.pulumi.azurenative.labservices.outputs.ResourceSettingsResponse;
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.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Represents settings of an environment, from which environment instances would be created
* 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:EnvironmentSetting myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}
* ```
*
*/
@ResourceType(type="azure-native:labservices:EnvironmentSetting")
public class EnvironmentSetting extends com.pulumi.resources.CustomResource {
/**
* Describes the user's progress in configuring their environment setting
*
*/
@Export(name="configurationState", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> configurationState;
/**
* @return Describes the user's progress in configuring their environment setting
*
*/
public Output> configurationState() {
return Codegen.optional(this.configurationState);
}
/**
* Describes the environment and its resource settings
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> description;
/**
* @return Describes the environment and its resource settings
*
*/
public Output> description() {
return Codegen.optional(this.description);
}
/**
* Time when the template VM was last changed.
*
*/
@Export(name="lastChanged", refs={String.class}, tree="[0]")
private Output lastChanged;
/**
* @return Time when the template VM was last changed.
*
*/
public Output lastChanged() {
return this.lastChanged;
}
/**
* Time when the template VM was last sent for publishing.
*
*/
@Export(name="lastPublished", refs={String.class}, tree="[0]")
private Output lastPublished;
/**
* @return Time when the template VM was last sent for publishing.
*
*/
public Output lastPublished() {
return this.lastPublished;
}
/**
* 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 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);
}
/**
* Describes the readiness of this environment setting
*
*/
@Export(name="publishingState", refs={String.class}, tree="[0]")
private Output publishingState;
/**
* @return Describes the readiness of this environment setting
*
*/
public Output publishingState() {
return this.publishingState;
}
/**
* The resource specific settings
*
*/
@Export(name="resourceSettings", refs={ResourceSettingsResponse.class}, tree="[0]")
private Output resourceSettings;
/**
* @return The resource specific settings
*
*/
public Output resourceSettings() {
return this.resourceSettings;
}
/**
* 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);
}
/**
* Brief title describing the environment and its resource settings
*
*/
@Export(name="title", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> title;
/**
* @return Brief title describing the environment and its resource settings
*
*/
public Output> title() {
return Codegen.optional(this.title);
}
/**
* 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 EnvironmentSetting(java.lang.String name) {
this(name, EnvironmentSettingArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public EnvironmentSetting(java.lang.String name, EnvironmentSettingArgs 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 EnvironmentSetting(java.lang.String name, EnvironmentSettingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:labservices:EnvironmentSetting", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private EnvironmentSetting(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:labservices:EnvironmentSetting", name, null, makeResourceOptions(options, id), false);
}
private static EnvironmentSettingArgs makeArgs(EnvironmentSettingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? EnvironmentSettingArgs.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:EnvironmentSetting").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 EnvironmentSetting get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new EnvironmentSetting(name, id, options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy