Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** 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.systemcenter;
import com.pulumi.azure.Utilities;
import com.pulumi.azure.systemcenter.VirtualMachineManagerServerArgs;
import com.pulumi.azure.systemcenter.inputs.VirtualMachineManagerServerState;
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.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Manages a System Center Virtual Machine Manager Server.
*
* > **Note:** By request of the service team the provider no longer automatically registering the `Microsoft.ScVmm` Resource Provider for this resource. To register it you can run `az provider register --namespace Microsoft.ScVmm`.
*
* > **Note:** This resource depends on an existing `System Center Virtual Machine Manager Host Machine`, `Arc Resource Bridge` and `Custom Location`. Installing and configuring these dependencies is outside the scope of this document. See [Virtual Machine Manager documentation](https://learn.microsoft.com/en-us/system-center/vmm/?view=sc-vmm-2022) and [Install VMM](https://learn.microsoft.com/en-us/system-center/vmm/install?view=sc-vmm-2022) for more details of `System Center Virtual Machine Manager Host Machine`. See [What is Azure Arc resource bridge](https://learn.microsoft.com/en-us/azure/azure-arc/resource-bridge/overview) and [Overview of Arc-enabled System Center Virtual Machine Manager](https://learn.microsoft.com/en-us/azure/azure-arc/system-center-virtual-machine-manager/overview) for more details of `Arc Resource Bridge/Appliance`. See [Create and manage custom locations on Azure Arc-enabled Kubernetes](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/custom-locations) for more details of `Custom Location`. If you encounter issues while configuring, we'd recommend opening a ticket with Microsoft Support.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* System Center Virtual Machine Manager Servers can be imported using the `resource id`, e.g.
*
* ```sh
* $ pulumi import azure:systemcenter/virtualMachineManagerServer:VirtualMachineManagerServer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/vmmServers/vmmServer1
* ```
*
*/
@ResourceType(type="azure:systemcenter/virtualMachineManagerServer:VirtualMachineManagerServer")
public class VirtualMachineManagerServer extends com.pulumi.resources.CustomResource {
/**
* The ID of the Custom Location for the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
@Export(name="customLocationId", refs={String.class}, tree="[0]")
private Output customLocationId;
/**
* @return The ID of the Custom Location for the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
public Output customLocationId() {
return this.customLocationId;
}
/**
* The FQDN of the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
@Export(name="fqdn", refs={String.class}, tree="[0]")
private Output fqdn;
/**
* @return The FQDN of the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
public Output fqdn() {
return this.fqdn;
}
/**
* The Azure Region where the System Center Virtual Machine Manager Server should exist. Changing this forces a new resource to be created.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output location;
/**
* @return The Azure Region where the System Center Virtual Machine Manager Server should exist. Changing this forces a new resource to be created.
*
*/
public Output location() {
return this.location;
}
/**
* The name of the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The name of the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
public Output name() {
return this.name;
}
/**
* The password that is used to connect to the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
@Export(name="password", refs={String.class}, tree="[0]")
private Output password;
/**
* @return The password that is used to connect to the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
public Output password() {
return this.password;
}
/**
* The port on which the System Center Virtual Machine Manager Server is listening. Possible values are between `1` and `65535`. Changing this forces a new resource to be created.
*
*/
@Export(name="port", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> port;
/**
* @return The port on which the System Center Virtual Machine Manager Server is listening. Possible values are between `1` and `65535`. Changing this forces a new resource to be created.
*
*/
public Output> port() {
return Codegen.optional(this.port);
}
/**
* The name of the Resource Group where the System Center Virtual Machine Manager should exist. Changing this forces a new resource to be created.
*
*/
@Export(name="resourceGroupName", refs={String.class}, tree="[0]")
private Output resourceGroupName;
/**
* @return The name of the Resource Group where the System Center Virtual Machine Manager should exist. Changing this forces a new resource to be created.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* A mapping of tags which should be assigned to the System Center Virtual Machine Manager Server.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return A mapping of tags which should be assigned to the System Center Virtual Machine Manager Server.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* The username that is used to connect to the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
@Export(name="username", refs={String.class}, tree="[0]")
private Output username;
/**
* @return The username that is used to connect to the System Center Virtual Machine Manager Server. Changing this forces a new resource to be created.
*
*/
public Output username() {
return this.username;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public VirtualMachineManagerServer(java.lang.String name) {
this(name, VirtualMachineManagerServerArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public VirtualMachineManagerServer(java.lang.String name, VirtualMachineManagerServerArgs 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 VirtualMachineManagerServer(java.lang.String name, VirtualMachineManagerServerArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:systemcenter/virtualMachineManagerServer:VirtualMachineManagerServer", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private VirtualMachineManagerServer(java.lang.String name, Output id, @Nullable VirtualMachineManagerServerState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:systemcenter/virtualMachineManagerServer:VirtualMachineManagerServer", name, state, makeResourceOptions(options, id), false);
}
private static VirtualMachineManagerServerArgs makeArgs(VirtualMachineManagerServerArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? VirtualMachineManagerServerArgs.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())
.additionalSecretOutputs(List.of(
"password"
))
.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 state
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static VirtualMachineManagerServer get(java.lang.String name, Output id, @Nullable VirtualMachineManagerServerState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new VirtualMachineManagerServer(name, id, state, options);
}
}