ServerSitesController

class ServerSitesController : KotlinCustomResource

A ServerSiteResource Uses Azure REST API version 2023-06-06. Other available API versions: 2023-10-01-preview, 2024-05-01-preview.

Example Usage

ServerSitesController_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var serverSitesController = new AzureNative.OffAzure.ServerSitesController("serverSitesController", new()
{
AgentDetails = new AzureNative.OffAzure.Inputs.SiteAgentPropertiesArgs
{
KeyVaultId = "awxurtbjmofxuciewsqfgpkccpzw",
KeyVaultUri = "qizphgqwage",
},
ApplianceName = "zkzibwptff",
DiscoverySolutionId = "lvskpghpphpfumbzxroakznqplomiy",
Location = "iipybgplhzhpcfv",
ResourceGroupName = "rgmigrate",
ServicePrincipalIdentityDetails = new AzureNative.OffAzure.Inputs.SiteSpnPropertiesArgs
{
AadAuthority = "yanzipdww",
ApplicationId = "tspgrujepxyxuprkqvfuqbbjrweeqa",
Audience = "oepwfaozztzvegmzvswafvotj",
ObjectId = "tqrjngpgxnnto",
RawCertData = "dotvgkslkmsgvtekgojnhcdrryk",
TenantId = "vesmyhu",
},
SiteName = "XD1X78SG23",
Tags =
{
{ "key4244", "yryvgpkoefkjkhlcahntgfz" },
},
});
});
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.NewServerSitesController(ctx, "serverSitesController", &offazure.ServerSitesControllerArgs{
AgentDetails: &offazure.SiteAgentPropertiesArgs{
KeyVaultId: pulumi.String("awxurtbjmofxuciewsqfgpkccpzw"),
KeyVaultUri: pulumi.String("qizphgqwage"),
},
ApplianceName: pulumi.String("zkzibwptff"),
DiscoverySolutionId: pulumi.String("lvskpghpphpfumbzxroakznqplomiy"),
Location: pulumi.String("iipybgplhzhpcfv"),
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("XD1X78SG23"),
Tags: pulumi.StringMap{
"key4244": pulumi.String("yryvgpkoefkjkhlcahntgfz"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.offazure.ServerSitesController;
import com.pulumi.azurenative.offazure.ServerSitesControllerArgs;
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 serverSitesController = new ServerSitesController("serverSitesController", ServerSitesControllerArgs.builder()
.agentDetails(SiteAgentPropertiesArgs.builder()
.keyVaultId("awxurtbjmofxuciewsqfgpkccpzw")
.keyVaultUri("qizphgqwage")
.build())
.applianceName("zkzibwptff")
.discoverySolutionId("lvskpghpphpfumbzxroakznqplomiy")
.location("iipybgplhzhpcfv")
.resourceGroupName("rgmigrate")
.servicePrincipalIdentityDetails(SiteSpnPropertiesArgs.builder()
.aadAuthority("yanzipdww")
.applicationId("tspgrujepxyxuprkqvfuqbbjrweeqa")
.audience("oepwfaozztzvegmzvswafvotj")
.objectId("tqrjngpgxnnto")
.rawCertData("dotvgkslkmsgvtekgojnhcdrryk")
.tenantId("vesmyhu")
.build())
.siteName("XD1X78SG23")
.tags(Map.of("key4244", "yryvgpkoefkjkhlcahntgfz"))
.build());
}
}

ServerSitesController_Create_MinimumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var serverSitesController = new AzureNative.OffAzure.ServerSitesController("serverSitesController", new()
{
Location = "iipybgplhzhpcfv",
ResourceGroupName = "rgmigrate",
SiteName = "74-35-",
});
});
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.NewServerSitesController(ctx, "serverSitesController", &offazure.ServerSitesControllerArgs{
Location: pulumi.String("iipybgplhzhpcfv"),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("74-35-"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.offazure.ServerSitesController;
import com.pulumi.azurenative.offazure.ServerSitesControllerArgs;
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 serverSitesController = new ServerSitesController("serverSitesController", ServerSitesControllerArgs.builder()
.location("iipybgplhzhpcfv")
.resourceGroupName("rgmigrate")
.siteName("74-35-")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:offazure:ServerSitesController eslhfxcnkskfrjdblkkko /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}

Properties

Link copied to clipboard

Gets or sets the on-premises agent details.

Link copied to clipboard
val applianceName: Output<String>?

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
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val masterSiteId: Output<String>

Gets the Master Site this site is linked to.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serviceEndpoint: Output<String>

Gets the service endpoint.

Link copied to clipboard

Gets or sets the service principal identity details used by agent for communication to the service.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>