GuestUsageArgs

data class GuestUsageArgs(val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tenantId: Output<String>? = null) : ConvertibleToJava<GuestUsageArgs>

Guest Usages Resource API Version: 2020-05-01-preview.

Example Usage

GuestUsages_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var guestUsage = new AzureNative.AzureActiveDirectory.GuestUsage("guestUsage", new()
{
ResourceGroupName = "contosoResourceGroup",
ResourceName = "contoso.onmicrosoft.com",
});
});
package main
import (
azureactivedirectory "github.com/pulumi/pulumi-azure-native-sdk/azureactivedirectory"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azureactivedirectory.NewGuestUsage(ctx, "guestUsage", &azureactivedirectory.GuestUsageArgs{
ResourceGroupName: pulumi.String("contosoResourceGroup"),
ResourceName: pulumi.String("contoso.onmicrosoft.com"),
})
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.azureactivedirectory.GuestUsage;
import com.pulumi.azurenative.azureactivedirectory.GuestUsageArgs;
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 guestUsage = new GuestUsage("guestUsage", GuestUsageArgs.builder()
.resourceGroupName("contosoResourceGroup")
.resourceName("contoso.onmicrosoft.com")
.build());
}
}

Import

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

$ pulumi import azure-native:azureactivedirectory:GuestUsage contoso.onmicrosoft.com /subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/guestUsages/contoso.onmicrosoft.com

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, tags: Output<Map<String, String>>? = null, tenantId: Output<String>? = null)

Properties

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

Location of the Guest Usages resource.

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

The name of the resource group.

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

The initial domain name of the AAD tenant.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value pairs of additional resource provisioning properties.

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

An identifier for the tenant for which the resource is being created

Functions

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