com.pulumi.azurenative.scvmm.inputs.GetMachineExtensionArgs 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.
The newest version!
// *** 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.scvmm.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetMachineExtensionArgs extends com.pulumi.resources.InvokeArgs {
public static final GetMachineExtensionArgs Empty = new GetMachineExtensionArgs();
/**
* The name of the machine extension.
*
*/
@Import(name="extensionName", required=true)
private Output extensionName;
/**
* @return The name of the machine extension.
*
*/
public Output extensionName() {
return this.extensionName;
}
/**
* The name of the resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the machine where the extension should be created or updated.
*
*/
@Import(name="virtualMachineName", required=true)
private Output virtualMachineName;
/**
* @return The name of the machine where the extension should be created or updated.
*
*/
public Output virtualMachineName() {
return this.virtualMachineName;
}
private GetMachineExtensionArgs() {}
private GetMachineExtensionArgs(GetMachineExtensionArgs $) {
this.extensionName = $.extensionName;
this.resourceGroupName = $.resourceGroupName;
this.virtualMachineName = $.virtualMachineName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetMachineExtensionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetMachineExtensionArgs $;
public Builder() {
$ = new GetMachineExtensionArgs();
}
public Builder(GetMachineExtensionArgs defaults) {
$ = new GetMachineExtensionArgs(Objects.requireNonNull(defaults));
}
/**
* @param extensionName The name of the machine extension.
*
* @return builder
*
*/
public Builder extensionName(Output extensionName) {
$.extensionName = extensionName;
return this;
}
/**
* @param extensionName The name of the machine extension.
*
* @return builder
*
*/
public Builder extensionName(String extensionName) {
return extensionName(Output.of(extensionName));
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param virtualMachineName The name of the machine where the extension should be created or updated.
*
* @return builder
*
*/
public Builder virtualMachineName(Output virtualMachineName) {
$.virtualMachineName = virtualMachineName;
return this;
}
/**
* @param virtualMachineName The name of the machine where the extension should be created or updated.
*
* @return builder
*
*/
public Builder virtualMachineName(String virtualMachineName) {
return virtualMachineName(Output.of(virtualMachineName));
}
public GetMachineExtensionArgs build() {
if ($.extensionName == null) {
throw new MissingRequiredPropertyException("GetMachineExtensionArgs", "extensionName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetMachineExtensionArgs", "resourceGroupName");
}
if ($.virtualMachineName == null) {
throw new MissingRequiredPropertyException("GetMachineExtensionArgs", "virtualMachineName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy