Springbootsite Args
data class SpringbootsiteArgs(val extendedLocation: Output<SpringbootsitesModelExtendedLocationArgs>? = null, val location: Output<String>? = null, val properties: Output<SpringbootsitesPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val springbootsitesName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SpringbootsiteArgs>
The springbootsites envelope resource definition. Uses Azure REST API version 2024-04-01-preview. Other available API versions: 2023-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native offazurespringboot [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Example Usage
springbootsites_CreateOrUpdate_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var springbootsite = new AzureNative.OffAzureSpringBoot.Springbootsite("springbootsite", new()
{
ExtendedLocation = new AzureNative.OffAzureSpringBoot.Inputs.SpringbootsitesModelExtendedLocationArgs
{
Name = "rywvpbfsqovhlfirtwisugsdsfsgf",
Type = "lvsb",
},
Location = "tgobtvxktootwhhvjtsmpddvlqlrq",
Properties = new AzureNative.OffAzureSpringBoot.Inputs.SpringbootsitesPropertiesArgs
{
MasterSiteId = "xsoimrgshsactearljwuljmi",
MigrateProjectId = "wwuattybgco",
},
ResourceGroupName = "rgspringbootsites",
SpringbootsitesName = "xrmzlavpewxtfeitghdrj",
Tags =
{
{ "key3558", "xeuhtglamqzj" },
},
});
});
Content copied to clipboard
package main
import (
offazurespringboot "github.com/pulumi/pulumi-azure-native-sdk/offazurespringboot/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazurespringboot.NewSpringbootsite(ctx, "springbootsite", &offazurespringboot.SpringbootsiteArgs{
ExtendedLocation: &offazurespringboot.SpringbootsitesModelExtendedLocationArgs{
Name: pulumi.String("rywvpbfsqovhlfirtwisugsdsfsgf"),
Type: pulumi.String("lvsb"),
},
Location: pulumi.String("tgobtvxktootwhhvjtsmpddvlqlrq"),
Properties: &offazurespringboot.SpringbootsitesPropertiesArgs{
MasterSiteId: pulumi.String("xsoimrgshsactearljwuljmi"),
MigrateProjectId: pulumi.String("wwuattybgco"),
},
ResourceGroupName: pulumi.String("rgspringbootsites"),
SpringbootsitesName: pulumi.String("xrmzlavpewxtfeitghdrj"),
Tags: pulumi.StringMap{
"key3558": pulumi.String("xeuhtglamqzj"),
},
})
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.offazurespringboot.Springbootsite;
import com.pulumi.azurenative.offazurespringboot.SpringbootsiteArgs;
import com.pulumi.azurenative.offazurespringboot.inputs.SpringbootsitesModelExtendedLocationArgs;
import com.pulumi.azurenative.offazurespringboot.inputs.SpringbootsitesPropertiesArgs;
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 springbootsite = new Springbootsite("springbootsite", SpringbootsiteArgs.builder()
.extendedLocation(SpringbootsitesModelExtendedLocationArgs.builder()
.name("rywvpbfsqovhlfirtwisugsdsfsgf")
.type("lvsb")
.build())
.location("tgobtvxktootwhhvjtsmpddvlqlrq")
.properties(SpringbootsitesPropertiesArgs.builder()
.masterSiteId("xsoimrgshsactearljwuljmi")
.migrateProjectId("wwuattybgco")
.build())
.resourceGroupName("rgspringbootsites")
.springbootsitesName("xrmzlavpewxtfeitghdrj")
.tags(Map.of("key3558", "xeuhtglamqzj"))
.build());
}
}
Content copied to clipboard
springbootsites_CreateOrUpdate_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var springbootsite = new AzureNative.OffAzureSpringBoot.Springbootsite("springbootsite", new()
{
Location = "tgobtvxktootwhhvjtsmpddvlqlrq",
ResourceGroupName = "rgspringbootsites",
SpringbootsitesName = "xrmzlavpewxtfeitghdrj",
});
});
Content copied to clipboard
package main
import (
offazurespringboot "github.com/pulumi/pulumi-azure-native-sdk/offazurespringboot/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazurespringboot.NewSpringbootsite(ctx, "springbootsite", &offazurespringboot.SpringbootsiteArgs{
Location: pulumi.String("tgobtvxktootwhhvjtsmpddvlqlrq"),
ResourceGroupName: pulumi.String("rgspringbootsites"),
SpringbootsitesName: pulumi.String("xrmzlavpewxtfeitghdrj"),
})
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.offazurespringboot.Springbootsite;
import com.pulumi.azurenative.offazurespringboot.SpringbootsiteArgs;
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 springbootsite = new Springbootsite("springbootsite", SpringbootsiteArgs.builder()
.location("tgobtvxktootwhhvjtsmpddvlqlrq")
.resourceGroupName("rgspringbootsites")
.springbootsitesName("xrmzlavpewxtfeitghdrj")
.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:offazurespringboot:Springbootsite jjyngfg /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{springbootsitesName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(extendedLocation: Output<SpringbootsitesModelExtendedLocationArgs>? = null, location: Output<String>? = null, properties: Output<SpringbootsitesPropertiesArgs>? = null, resourceGroupName: Output<String>? = null, springbootsitesName: Output<String>? = null, tags: Output<Map<String, String>>? = null)