DomainOwnershipIdentifierArgs

data class DomainOwnershipIdentifierArgs(val domainName: Output<String>? = null, val kind: Output<String>? = null, val name: Output<String>? = null, val ownershipId: Output<String>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<DomainOwnershipIdentifierArgs>

Domain ownership Identifier. Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01. Other available API versions: 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native domainregistration [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Create App Service Domain OwnershipIdentifier

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var domainOwnershipIdentifier = new AzureNative.DomainRegistration.DomainOwnershipIdentifier("domainOwnershipIdentifier", new()
{
DomainName = "example.com",
Name = "SampleOwnershipId",
OwnershipId = "SampleOwnershipId",
ResourceGroupName = "testrg123",
});
});
package main
import (
domainregistration "github.com/pulumi/pulumi-azure-native-sdk/domainregistration/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := domainregistration.NewDomainOwnershipIdentifier(ctx, "domainOwnershipIdentifier", &domainregistration.DomainOwnershipIdentifierArgs{
DomainName: pulumi.String("example.com"),
Name: pulumi.String("SampleOwnershipId"),
OwnershipId: pulumi.String("SampleOwnershipId"),
ResourceGroupName: pulumi.String("testrg123"),
})
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.domainregistration.DomainOwnershipIdentifier;
import com.pulumi.azurenative.domainregistration.DomainOwnershipIdentifierArgs;
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 domainOwnershipIdentifier = new DomainOwnershipIdentifier("domainOwnershipIdentifier", DomainOwnershipIdentifierArgs.builder()
.domainName("example.com")
.name("SampleOwnershipId")
.ownershipId("SampleOwnershipId")
.resourceGroupName("testrg123")
.build());
}
}

Import

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

$ pulumi import azure-native:domainregistration:DomainOwnershipIdentifier SampleOwnershipId /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}

Constructors

Link copied to clipboard
constructor(domainName: Output<String>? = null, kind: Output<String>? = null, name: Output<String>? = null, ownershipId: Output<String>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val domainName: Output<String>? = null

Name of domain.

Link copied to clipboard
val kind: Output<String>? = null

Kind of resource.

Link copied to clipboard
val name: Output<String>? = null

Name of identifier.

Link copied to clipboard
val ownershipId: Output<String>? = null

Ownership Id.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of the resource group to which the resource belongs.

Functions

Link copied to clipboard
open override fun toJava(): DomainOwnershipIdentifierArgs