SqlSitesController

class SqlSitesController : KotlinCustomResource

SQL site web model. 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

SqlSitesController_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sqlSitesController = new AzureNative.OffAzure.SqlSitesController("sqlSitesController", new()
{
DiscoveryScenario = AzureNative.OffAzure.SqlSitePropertiesDiscoveryScenario.Migrate,
ResourceGroupName = "rgmigrate",
SiteAppliancePropertiesCollection = new[]
{
new AzureNative.OffAzure.Inputs.SiteAppliancePropertiesArgs
{
AgentDetails = new AzureNative.OffAzure.Inputs.SiteAgentPropertiesArgs
{
KeyVaultId = "chqtsrpahfayfuqrusmbakvgdqny",
KeyVaultUri = "w",
},
ApplianceName = "jqv",
ServicePrincipalIdentityDetails = new AzureNative.OffAzure.Inputs.SiteSpnPropertiesArgs
{
AadAuthority = "pykd",
ApplicationId = "lg",
Audience = "emwqxwwqqzwk",
ObjectId = "etkbysdzluxvpxkciooxjjmvl",
RawCertData = "kewdmdjrt",
TenantId = "aqvsxunpdlrxclnpudkykycsdf",
},
},
},
SiteName = "H9S6I-U9UI5-J1",
SqlSiteName = "6G-FTRBDS-tN1-C6",
});
});
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.NewSqlSitesController(ctx, "sqlSitesController", &offazure.SqlSitesControllerArgs{
DiscoveryScenario: pulumi.String(offazure.SqlSitePropertiesDiscoveryScenarioMigrate),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteAppliancePropertiesCollection: offazure.SiteAppliancePropertiesArray{
&offazure.SiteAppliancePropertiesArgs{
AgentDetails: &offazure.SiteAgentPropertiesArgs{
KeyVaultId: pulumi.String("chqtsrpahfayfuqrusmbakvgdqny"),
KeyVaultUri: pulumi.String("w"),
},
ApplianceName: pulumi.String("jqv"),
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("H9S6I-U9UI5-J1"),
SqlSiteName: pulumi.String("6G-FTRBDS-tN1-C6"),
})
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.SqlSitesController;
import com.pulumi.azurenative.offazure.SqlSitesControllerArgs;
import com.pulumi.azurenative.offazure.inputs.SiteAppliancePropertiesArgs;
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 sqlSitesController = new SqlSitesController("sqlSitesController", SqlSitesControllerArgs.builder()
.discoveryScenario("Migrate")
.resourceGroupName("rgmigrate")
.siteAppliancePropertiesCollection(SiteAppliancePropertiesArgs.builder()
.agentDetails(SiteAgentPropertiesArgs.builder()
.keyVaultId("chqtsrpahfayfuqrusmbakvgdqny")
.keyVaultUri("w")
.build())
.applianceName("jqv")
.servicePrincipalIdentityDetails(SiteSpnPropertiesArgs.builder()
.aadAuthority("pykd")
.applicationId("lg")
.audience("emwqxwwqqzwk")
.objectId("etkbysdzluxvpxkciooxjjmvl")
.rawCertData("kewdmdjrt")
.tenantId("aqvsxunpdlrxclnpudkykycsdf")
.build())
.build())
.siteName("H9S6I-U9UI5-J1")
.sqlSiteName("6G-FTRBDS-tN1-C6")
.build());
}
}

Import

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

$ pulumi import azure-native:offazure:SqlSitesController hdz /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Gets or sets the discovery scenario.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

provisioning state enum

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 appliance details used by service to communicate to the appliance.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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>