Hyperv Sites Controller Args
data class HypervSitesControllerArgs(val agentDetails: Output<SiteAgentPropertiesArgs>? = null, val applianceName: Output<String>? = null, val discoverySolutionId: Output<String>? = null, val location: Output<String>? = null, val provisioningState: Output<Either<String, ProvisioningState>>? = null, val resourceGroupName: Output<String>? = null, val servicePrincipalIdentityDetails: Output<SiteSpnPropertiesArgs>? = null, val siteName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<HypervSitesControllerArgs>
A HyperV SiteResource Uses Azure REST API version 2023-06-06. Other available API versions: 2023-10-01-preview, 2024-05-01-preview.
Example Usage
HypervSitesController_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervSitesController = new AzureNative.OffAzure.HypervSitesController("hypervSitesController", new()
{
AgentDetails = new AzureNative.OffAzure.Inputs.SiteAgentPropertiesArgs
{
KeyVaultId = "awxurtbjmofxuciewsqfgpkccpzw",
KeyVaultUri = "qizphgqwage",
},
ApplianceName = "jnpsjguxuzuxbhasiqfijf",
DiscoverySolutionId = "yxajidsykozchjkuxj",
Location = "sctymxdndonxgejdhi",
ProvisioningState = AzureNative.OffAzure.ProvisioningState.Created,
ResourceGroupName = "rgmigrate",
ServicePrincipalIdentityDetails = new AzureNative.OffAzure.Inputs.SiteSpnPropertiesArgs
{
AadAuthority = "yanzipdww",
ApplicationId = "tspgrujepxyxuprkqvfuqbbjrweeqa",
Audience = "oepwfaozztzvegmzvswafvotj",
ObjectId = "tqrjngpgxnnto",
RawCertData = "dotvgkslkmsgvtekgojnhcdrryk",
TenantId = "vesmyhu",
},
SiteName = "692-u-93F93",
Tags =
{
{ "key9741", "fdbzykkpvhnhsrhiam" },
},
});
});
Content copied to clipboard
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazure.NewHypervSitesController(ctx, "hypervSitesController", &offazure.HypervSitesControllerArgs{
AgentDetails: &offazure.SiteAgentPropertiesArgs{
KeyVaultId: pulumi.String("awxurtbjmofxuciewsqfgpkccpzw"),
KeyVaultUri: pulumi.String("qizphgqwage"),
},
ApplianceName: pulumi.String("jnpsjguxuzuxbhasiqfijf"),
DiscoverySolutionId: pulumi.String("yxajidsykozchjkuxj"),
Location: pulumi.String("sctymxdndonxgejdhi"),
ProvisioningState: pulumi.String(offazure.ProvisioningStateCreated),
ResourceGroupName: pulumi.String("rgmigrate"),
ServicePrincipalIdentityDetails: &offazure.SiteSpnPropertiesArgs{
AadAuthority: pulumi.String("yanzipdww"),
ApplicationId: pulumi.String("tspgrujepxyxuprkqvfuqbbjrweeqa"),
Audience: pulumi.String("oepwfaozztzvegmzvswafvotj"),
ObjectId: pulumi.String("tqrjngpgxnnto"),
RawCertData: pulumi.String("dotvgkslkmsgvtekgojnhcdrryk"),
TenantId: pulumi.String("vesmyhu"),
},
SiteName: pulumi.String("692-u-93F93"),
Tags: pulumi.StringMap{
"key9741": pulumi.String("fdbzykkpvhnhsrhiam"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.offazure.HypervSitesController;
import com.pulumi.azurenative.offazure.HypervSitesControllerArgs;
import com.pulumi.azurenative.offazure.inputs.SiteAgentPropertiesArgs;
import com.pulumi.azurenative.offazure.inputs.SiteSpnPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var hypervSitesController = new HypervSitesController("hypervSitesController", HypervSitesControllerArgs.builder()
.agentDetails(SiteAgentPropertiesArgs.builder()
.keyVaultId("awxurtbjmofxuciewsqfgpkccpzw")
.keyVaultUri("qizphgqwage")
.build())
.applianceName("jnpsjguxuzuxbhasiqfijf")
.discoverySolutionId("yxajidsykozchjkuxj")
.location("sctymxdndonxgejdhi")
.provisioningState("Created")
.resourceGroupName("rgmigrate")
.servicePrincipalIdentityDetails(SiteSpnPropertiesArgs.builder()
.aadAuthority("yanzipdww")
.applicationId("tspgrujepxyxuprkqvfuqbbjrweeqa")
.audience("oepwfaozztzvegmzvswafvotj")
.objectId("tqrjngpgxnnto")
.rawCertData("dotvgkslkmsgvtekgojnhcdrryk")
.tenantId("vesmyhu")
.build())
.siteName("692-u-93F93")
.tags(Map.of("key9741", "fdbzykkpvhnhsrhiam"))
.build());
}
}
Content copied to clipboard
HypervSitesController_Create_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervSitesController = new AzureNative.OffAzure.HypervSitesController("hypervSitesController", new()
{
Location = "sctymxdndonxgejdhi",
ResourceGroupName = "rgmigrate",
SiteName = "Y-C-7---V49GV-058XE-6P5",
});
});
Content copied to clipboard
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazure.NewHypervSitesController(ctx, "hypervSitesController", &offazure.HypervSitesControllerArgs{
Location: pulumi.String("sctymxdndonxgejdhi"),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("Y-C-7---V49GV-058XE-6P5"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.offazure.HypervSitesController;
import com.pulumi.azurenative.offazure.HypervSitesControllerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var hypervSitesController = new HypervSitesController("hypervSitesController", HypervSitesControllerArgs.builder()
.location("sctymxdndonxgejdhi")
.resourceGroupName("rgmigrate")
.siteName("Y-C-7---V49GV-058XE-6P5")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:offazure:HypervSitesController xnxtdkrodsftjeebdwdkgpneqtzf /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(agentDetails: Output<SiteAgentPropertiesArgs>? = null, applianceName: Output<String>? = null, discoverySolutionId: Output<String>? = null, location: Output<String>? = null, provisioningState: Output<Either<String, ProvisioningState>>? = null, resourceGroupName: Output<String>? = null, servicePrincipalIdentityDetails: Output<SiteSpnPropertiesArgs>? = null, siteName: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
Gets or sets the on-premises agent details.
Link copied to clipboard
Gets or sets the Appliance Name.
Link copied to clipboard
Gets or sets the ARM ID of migration hub solution for SDS.
Link copied to clipboard
The status of the last operation.
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
Gets or sets the service principal identity details used by agent for communication to the service.