com.pulumi.azurenative.labservices.outputs.GetLabPlanResult 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.outputs;
import com.pulumi.azurenative.labservices.outputs.AutoShutdownProfileResponse;
import com.pulumi.azurenative.labservices.outputs.ConnectionProfileResponse;
import com.pulumi.azurenative.labservices.outputs.IdentityResponse;
import com.pulumi.azurenative.labservices.outputs.LabPlanNetworkProfileResponse;
import com.pulumi.azurenative.labservices.outputs.SupportInfoResponse;
import com.pulumi.azurenative.labservices.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetLabPlanResult {
/**
* @return The allowed regions for the lab creator to use when creating labs using this lab plan.
*
*/
private @Nullable List allowedRegions;
/**
* @return The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
*
*/
private @Nullable AutoShutdownProfileResponse defaultAutoShutdownProfile;
/**
* @return The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
*
*/
private @Nullable ConnectionProfileResponse defaultConnectionProfile;
/**
* @return The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
*
*/
private @Nullable LabPlanNetworkProfileResponse defaultNetworkProfile;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Managed Identity Information
*
*/
private @Nullable IdentityResponse identity;
/**
* @return Base Url of the lms instance this lab plan can link lab rosters against.
*
*/
private @Nullable String linkedLmsInstance;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Current provisioning state of the lab plan.
*
*/
private String provisioningState;
/**
* @return Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
*
*/
private @Nullable String sharedGalleryId;
/**
* @return Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
*
*/
private @Nullable SupportInfoResponse supportInfo;
/**
* @return Metadata pertaining to creation and last modification of the lab plan.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetLabPlanResult() {}
/**
* @return The allowed regions for the lab creator to use when creating labs using this lab plan.
*
*/
public List allowedRegions() {
return this.allowedRegions == null ? List.of() : this.allowedRegions;
}
/**
* @return The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
*
*/
public Optional defaultAutoShutdownProfile() {
return Optional.ofNullable(this.defaultAutoShutdownProfile);
}
/**
* @return The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
*
*/
public Optional defaultConnectionProfile() {
return Optional.ofNullable(this.defaultConnectionProfile);
}
/**
* @return The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
*
*/
public Optional defaultNetworkProfile() {
return Optional.ofNullable(this.defaultNetworkProfile);
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Managed Identity Information
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return Base Url of the lms instance this lab plan can link lab rosters against.
*
*/
public Optional linkedLmsInstance() {
return Optional.ofNullable(this.linkedLmsInstance);
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Current provisioning state of the lab plan.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
*
*/
public Optional sharedGalleryId() {
return Optional.ofNullable(this.sharedGalleryId);
}
/**
* @return Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
*
*/
public Optional supportInfo() {
return Optional.ofNullable(this.supportInfo);
}
/**
* @return Metadata pertaining to creation and last modification of the lab plan.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLabPlanResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List allowedRegions;
private @Nullable AutoShutdownProfileResponse defaultAutoShutdownProfile;
private @Nullable ConnectionProfileResponse defaultConnectionProfile;
private @Nullable LabPlanNetworkProfileResponse defaultNetworkProfile;
private String id;
private @Nullable IdentityResponse identity;
private @Nullable String linkedLmsInstance;
private String location;
private String name;
private String provisioningState;
private @Nullable String sharedGalleryId;
private @Nullable SupportInfoResponse supportInfo;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetLabPlanResult defaults) {
Objects.requireNonNull(defaults);
this.allowedRegions = defaults.allowedRegions;
this.defaultAutoShutdownProfile = defaults.defaultAutoShutdownProfile;
this.defaultConnectionProfile = defaults.defaultConnectionProfile;
this.defaultNetworkProfile = defaults.defaultNetworkProfile;
this.id = defaults.id;
this.identity = defaults.identity;
this.linkedLmsInstance = defaults.linkedLmsInstance;
this.location = defaults.location;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.sharedGalleryId = defaults.sharedGalleryId;
this.supportInfo = defaults.supportInfo;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder allowedRegions(@Nullable List allowedRegions) {
this.allowedRegions = allowedRegions;
return this;
}
public Builder allowedRegions(String... allowedRegions) {
return allowedRegions(List.of(allowedRegions));
}
@CustomType.Setter
public Builder defaultAutoShutdownProfile(@Nullable AutoShutdownProfileResponse defaultAutoShutdownProfile) {
this.defaultAutoShutdownProfile = defaultAutoShutdownProfile;
return this;
}
@CustomType.Setter
public Builder defaultConnectionProfile(@Nullable ConnectionProfileResponse defaultConnectionProfile) {
this.defaultConnectionProfile = defaultConnectionProfile;
return this;
}
@CustomType.Setter
public Builder defaultNetworkProfile(@Nullable LabPlanNetworkProfileResponse defaultNetworkProfile) {
this.defaultNetworkProfile = defaultNetworkProfile;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetLabPlanResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable IdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder linkedLmsInstance(@Nullable String linkedLmsInstance) {
this.linkedLmsInstance = linkedLmsInstance;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetLabPlanResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetLabPlanResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetLabPlanResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder sharedGalleryId(@Nullable String sharedGalleryId) {
this.sharedGalleryId = sharedGalleryId;
return this;
}
@CustomType.Setter
public Builder supportInfo(@Nullable SupportInfoResponse supportInfo) {
this.supportInfo = supportInfo;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetLabPlanResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetLabPlanResult", "type");
}
this.type = type;
return this;
}
public GetLabPlanResult build() {
final var _resultValue = new GetLabPlanResult();
_resultValue.allowedRegions = allowedRegions;
_resultValue.defaultAutoShutdownProfile = defaultAutoShutdownProfile;
_resultValue.defaultConnectionProfile = defaultConnectionProfile;
_resultValue.defaultNetworkProfile = defaultNetworkProfile;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.linkedLmsInstance = linkedLmsInstance;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.sharedGalleryId = sharedGalleryId;
_resultValue.supportInfo = supportInfo;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy