Server Sites Controller
A ServerSiteResource Uses Azure REST API version 2023-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-06-06. Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native offazure [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
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 = "chqtsrpahfayfuqrusmbakvgdqny",
KeyVaultUri = "w",
},
ApplianceName = "nhhwywytwjbhjtpwxkcxqhqmcrowg",
DiscoverySolutionId = "dlsekq",
Location = "rutllgppwqgtiklewhuesohgqb",
ResourceGroupName = "rgmigrate",
ServicePrincipalIdentityDetails = new AzureNative.OffAzure.Inputs.SiteSpnPropertiesArgs
{
AadAuthority = "pykd",
ApplicationId = "lg",
Audience = "emwqxwwqqzwk",
ObjectId = "etkbysdzluxvpxkciooxjjmvl",
RawCertData = "kewdmdjrt",
TenantId = "aqvsxunpdlrxclnpudkykycsdf",
},
SiteName = "W28q433h1-",
Tags =
{
{ "key8004", "abecvbhselathbrca" },
},
});
});
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v3"
"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("chqtsrpahfayfuqrusmbakvgdqny"),
KeyVaultUri: pulumi.String("w"),
},
ApplianceName: pulumi.String("nhhwywytwjbhjtpwxkcxqhqmcrowg"),
DiscoverySolutionId: pulumi.String("dlsekq"),
Location: pulumi.String("rutllgppwqgtiklewhuesohgqb"),
ResourceGroupName: pulumi.String("rgmigrate"),
ServicePrincipalIdentityDetails: &offazure.SiteSpnPropertiesArgs{
AadAuthority: pulumi.String("pykd"),
ApplicationId: pulumi.String("lg"),
Audience: pulumi.String("emwqxwwqqzwk"),
ObjectId: pulumi.String("etkbysdzluxvpxkciooxjjmvl"),
RawCertData: pulumi.String("kewdmdjrt"),
TenantId: pulumi.String("aqvsxunpdlrxclnpudkykycsdf"),
},
SiteName: pulumi.String("W28q433h1-"),
Tags: pulumi.StringMap{
"key8004": pulumi.String("abecvbhselathbrca"),
},
})
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("chqtsrpahfayfuqrusmbakvgdqny")
.keyVaultUri("w")
.build())
.applianceName("nhhwywytwjbhjtpwxkcxqhqmcrowg")
.discoverySolutionId("dlsekq")
.location("rutllgppwqgtiklewhuesohgqb")
.resourceGroupName("rgmigrate")
.servicePrincipalIdentityDetails(SiteSpnPropertiesArgs.builder()
.aadAuthority("pykd")
.applicationId("lg")
.audience("emwqxwwqqzwk")
.objectId("etkbysdzluxvpxkciooxjjmvl")
.rawCertData("kewdmdjrt")
.tenantId("aqvsxunpdlrxclnpudkykycsdf")
.build())
.siteName("W28q433h1-")
.tags(Map.of("key8004", "abecvbhselathbrca"))
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:offazure:ServerSitesController dtxwymqbsjfjr /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}
Properties
Gets or sets the on-premises agent details.
Gets or sets the Appliance Name.
The Azure API version of the resource.
Gets or sets the ARM ID of migration hub solution for SDS.
Gets the Master Site this site is linked to.
The status of the last operation.
Gets the service endpoint.
Gets or sets the service principal identity details used by agent for communication to the service.
Azure Resource Manager metadata containing createdBy and modifiedBy information.