SkusNestedResourceTypeThirdArgs

data class SkusNestedResourceTypeThirdArgs(val nestedResourceTypeFirst: Output<String>? = null, val nestedResourceTypeSecond: Output<String>? = null, val nestedResourceTypeThird: Output<String>? = null, val properties: Output<SkuResourcePropertiesArgs>? = null, val providerNamespace: Output<String>? = null, val resourceType: Output<String>? = null, val sku: Output<String>? = null) : ConvertibleToJava<SkusNestedResourceTypeThirdArgs>

API Version: 2020-11-20.

Example Usage

Skus_CreateOrUpdateNestedResourceTypeThird

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var skusNestedResourceTypeThird = new AzureNative.ProviderHub.SkusNestedResourceTypeThird("skusNestedResourceTypeThird", new()
{
NestedResourceTypeFirst = "nestedResourceTypeFirst",
NestedResourceTypeSecond = "nestedResourceTypeSecond",
NestedResourceTypeThird = "nestedResourceTypeThird",
Properties = new AzureNative.ProviderHub.Inputs.SkuResourcePropertiesArgs
{
SkuSettings = new[]
{
new AzureNative.ProviderHub.Inputs.SkuSettingArgs
{
Kind = "Standard",
Name = "freeSku",
Tier = "Tier1",
},
new AzureNative.ProviderHub.Inputs.SkuSettingArgs
{
Costs = new[]
{
new AzureNative.ProviderHub.Inputs.SkuCostArgs
{
MeterId = "xxx",
},
},
Kind = "Premium",
Name = "premiumSku",
Tier = "Tier2",
},
},
},
ProviderNamespace = "Microsoft.Contoso",
ResourceType = "testResourceType",
Sku = "testSku",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.providerhub.SkusNestedResourceTypeThird;
import com.pulumi.azurenative.providerhub.SkusNestedResourceTypeThirdArgs;
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 skusNestedResourceTypeThird = new SkusNestedResourceTypeThird("skusNestedResourceTypeThird", SkusNestedResourceTypeThirdArgs.builder()
.nestedResourceTypeFirst("nestedResourceTypeFirst")
.nestedResourceTypeSecond("nestedResourceTypeSecond")
.nestedResourceTypeThird("nestedResourceTypeThird")
.properties(Map.of("skuSettings",
Map.ofEntries(
Map.entry("kind", "Standard"),
Map.entry("name", "freeSku"),
Map.entry("tier", "Tier1")
),
Map.ofEntries(
Map.entry("costs", Map.of("meterId", "xxx")),
Map.entry("kind", "Premium"),
Map.entry("name", "premiumSku"),
Map.entry("tier", "Tier2")
)))
.providerNamespace("Microsoft.Contoso")
.resourceType("testResourceType")
.sku("testSku")
.build());
}
}

Import

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

$ pulumi import azure-native:providerhub:SkusNestedResourceTypeThird Microsoft.Contoso/ /subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso/

Constructors

Link copied to clipboard
constructor(nestedResourceTypeFirst: Output<String>? = null, nestedResourceTypeSecond: Output<String>? = null, nestedResourceTypeThird: Output<String>? = null, properties: Output<SkuResourcePropertiesArgs>? = null, providerNamespace: Output<String>? = null, resourceType: Output<String>? = null, sku: Output<String>? = null)

Properties

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

The first child resource type.

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

The second child resource type.

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

The third child resource type.

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

The name of the resource provider hosted within ProviderHub.

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

The resource type.

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

The SKU.

Functions

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