com.pulumi.azurenative.aadiam.kotlin.AzureADMetricArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.aadiam.kotlin
import com.pulumi.azurenative.aadiam.AzureADMetricArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* AzureADMetrics resource.
* Azure REST API version: 2020-07-01-preview. Prior API version in Azure Native 1.x: 2020-07-01-preview.
* ## Example Usage
* ### azureADMetricsCreate
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var azureADMetric = new AzureNative.AadIam.AzureADMetric("azureADMetric", new()
* {
* AzureADMetricsName = "ddb1",
* Location = "West US",
* ResourceGroupName = "rg1",
* Tags = null,
* });
* });
* ```
* ```go
* package main
* import (
* aadiam "github.com/pulumi/pulumi-azure-native-sdk/aadiam/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := aadiam.NewAzureADMetric(ctx, "azureADMetric", &aadiam.AzureADMetricArgs{
* AzureADMetricsName: pulumi.String("ddb1"),
* Location: pulumi.String("West US"),
* ResourceGroupName: pulumi.String("rg1"),
* Tags: nil,
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.aadiam.AzureADMetric;
* import com.pulumi.azurenative.aadiam.AzureADMetricArgs;
* 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 azureADMetric = new AzureADMetric("azureADMetric", AzureADMetricArgs.builder()
* .azureADMetricsName("ddb1")
* .location("West US")
* .resourceGroupName("rg1")
* .tags()
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:aadiam:AzureADMetric ddb1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.aadiam/azureADMetrics/{azureADMetricsName}
* ```
* @property azureADMetricsName Name of the azureADMetrics instance.
* @property location The geo-location where the resource lives
* @property resourceGroupName Name of an Azure resource group.
* @property tags Resource tags.
*/
public data class AzureADMetricArgs(
public val azureADMetricsName: Output? = null,
public val location: Output? = null,
public val resourceGroupName: Output? = null,
public val tags: Output