Server Sites Controller
A ServerSiteResource Azure REST API version: 2023-06-06.
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 (
"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 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(Map.ofEntries(
Map.entry("keyVaultId", "awxurtbjmofxuciewsqfgpkccpzw"),
Map.entry("keyVaultUri", "qizphgqwage")
))
.applianceName("zkzibwptff")
.discoverySolutionId("lvskpghpphpfumbzxroakznqplomiy")
.location("iipybgplhzhpcfv")
.resourceGroupName("rgmigrate")
.servicePrincipalIdentityDetails(Map.ofEntries(
Map.entry("aadAuthority", "yanzipdww"),
Map.entry("applicationId", "tspgrujepxyxuprkqvfuqbbjrweeqa"),
Map.entry("audience", "oepwfaozztzvegmzvswafvotj"),
Map.entry("objectId", "tqrjngpgxnnto"),
Map.entry("rawCertData", "dotvgkslkmsgvtekgojnhcdrryk"),
Map.entry("tenantId", "vesmyhu")
))
.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 (
"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