Sql Sites Controller
SQL site web model. Uses Azure REST API version 2023-06-06. Other available API versions: 2023-10-01-preview, 2024-05-01-preview.
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 = "awxurtbjmofxuciewsqfgpkccpzw",
KeyVaultUri = "qizphgqwage",
},
ApplianceName = "zpbkpigahvexsxevwafzgsu",
ServicePrincipalIdentityDetails = new AzureNative.OffAzure.Inputs.SiteSpnPropertiesArgs
{
AadAuthority = "yanzipdww",
ApplicationId = "tspgrujepxyxuprkqvfuqbbjrweeqa",
Audience = "oepwfaozztzvegmzvswafvotj",
ObjectId = "tqrjngpgxnnto",
RawCertData = "dotvgkslkmsgvtekgojnhcdrryk",
TenantId = "vesmyhu",
},
},
},
SiteName = "qo36fi7J8y-b",
SqlSiteName = "A-4l5sbX5",
});
});
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.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("awxurtbjmofxuciewsqfgpkccpzw"),
KeyVaultUri: pulumi.String("qizphgqwage"),
},
ApplianceName: pulumi.String("zpbkpigahvexsxevwafzgsu"),
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("qo36fi7J8y-b"),
SqlSiteName: pulumi.String("A-4l5sbX5"),
})
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.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("awxurtbjmofxuciewsqfgpkccpzw")
.keyVaultUri("qizphgqwage")
.build())
.applianceName("zpbkpigahvexsxevwafzgsu")
.servicePrincipalIdentityDetails(SiteSpnPropertiesArgs.builder()
.aadAuthority("yanzipdww")
.applicationId("tspgrujepxyxuprkqvfuqbbjrweeqa")
.audience("oepwfaozztzvegmzvswafvotj")
.objectId("tqrjngpgxnnto")
.rawCertData("dotvgkslkmsgvtekgojnhcdrryk")
.tenantId("vesmyhu")
.build())
.build())
.siteName("qo36fi7J8y-b")
.sqlSiteName("A-4l5sbX5")
.build());
}
}
Content copied to clipboard
SqlSitesController_Create_MinimumSet_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()
{
ResourceGroupName = "rgmigrate",
SiteName = "Ag5-Ex4n7G5Qn-5-yHL5",
SqlSiteName = "-03--VkVPfDq5",
});
});
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.NewSqlSitesController(ctx, "sqlSitesController", &offazure.SqlSitesControllerArgs{
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("Ag5-Ex4n7G5Qn-5-yHL5"),
SqlSiteName: pulumi.String("-03--VkVPfDq5"),
})
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.SqlSitesController;
import com.pulumi.azurenative.offazure.SqlSitesControllerArgs;
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()
.resourceGroupName("rgmigrate")
.siteName("Ag5-Ex4n7G5Qn-5-yHL5")
.sqlSiteName("-03--VkVPfDq5")
.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:SqlSitesController kfcekxrevjpsqnaphpqrwnwonqycgl /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}
Content copied to clipboard
Properties
Link copied to clipboard
Gets or sets the discovery scenario.
Link copied to clipboard
provisioning state enum
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 appliance details used by service to communicate to the appliance.
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.