Server Sites Controller
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" },
},
});
});
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.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
})
}
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.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());
}
}
Content copied to clipboard
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-",
});
});
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.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
})
}
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.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());
}
}
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:ServerSitesController eslhfxcnkskfrjdblkkko /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}
Content copied to clipboard
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
Gets the Master Site this site is linked to.
Link copied to clipboard
The status of the last operation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.