Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

AzureADMetric

AzureADMetrics resource. API Version: 2020-07-01-preview.

Example Usage

azureADMetricsCreate

using System.Collections.Generic;
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,
    });

});
package main

import (
	aadiam "github.com/pulumi/pulumi-azure-native/sdk/go/azure/aadiam"
	"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
	})
}
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 pulumi
import pulumi_azure_native as azure_native

azure_ad_metric = azure_native.aadiam.AzureADMetric("azureADMetric",
    azure_ad_metrics_name="ddb1",
    location="West US",
    resource_group_name="rg1",
    tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const azureADMetric = new azure_native.aadiam.AzureADMetric("azureADMetric", {
    azureADMetricsName: "ddb1",
    location: "West US",
    resourceGroupName: "rg1",
    tags: {},
});
resources:
  azureADMetric:
    type: azure-native:aadiam:azureADMetric
    properties:
      azureADMetricsName: ddb1
      location: West US
      resourceGroupName: rg1
      tags: {}

Create AzureADMetric Resource

new AzureADMetric(name: string, args: AzureADMetricArgs, opts?: CustomResourceOptions);
@overload
def AzureADMetric(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  azure_ad_metrics_name: Optional[str] = None,
                  location: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)
@overload
def AzureADMetric(resource_name: str,
                  args: AzureADMetricArgs,
                  opts: Optional[ResourceOptions] = None)
func NewAzureADMetric(ctx *Context, name string, args AzureADMetricArgs, opts ...ResourceOption) (*AzureADMetric, error)
public AzureADMetric(string name, AzureADMetricArgs args, CustomResourceOptions? opts = null)
public AzureADMetric(String name, AzureADMetricArgs args)
public AzureADMetric(String name, AzureADMetricArgs args, CustomResourceOptions options)
type: azure-native:aadiam:azureADMetric
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AzureADMetricArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AzureADMetricArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AzureADMetricArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AzureADMetricArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AzureADMetricArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AzureADMetric Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AzureADMetric resource accepts the following input properties:

ResourceGroupName string

Name of an Azure resource group.

AzureADMetricsName string

Name of the azureADMetrics instance.

Location string

The geo-location where the resource lives

Tags Dictionary<string, string>

Resource tags.

ResourceGroupName string

Name of an Azure resource group.

AzureADMetricsName string

Name of the azureADMetrics instance.

Location string

The geo-location where the resource lives

Tags map[string]string

Resource tags.

resourceGroupName String

Name of an Azure resource group.

azureADMetricsName String

Name of the azureADMetrics instance.

location String

The geo-location where the resource lives

tags Map<String,String>

Resource tags.

resourceGroupName string

Name of an Azure resource group.

azureADMetricsName string

Name of the azureADMetrics instance.

location string

The geo-location where the resource lives

tags {[key: string]: string}

Resource tags.

resource_group_name str

Name of an Azure resource group.

azure_ad_metrics_name str

Name of the azureADMetrics instance.

location str

The geo-location where the resource lives

tags Mapping[str, str]

Resource tags.

resourceGroupName String

Name of an Azure resource group.

azureADMetricsName String

Name of the azureADMetrics instance.

location String

The geo-location where the resource lives

tags Map<String>

Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the AzureADMetric resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Properties Pulumi.AzureNative.AadIam.Outputs.AzureADMetricsPropertiesFormatResponse
Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Properties AzureADMetricsPropertiesFormatResponse
Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

properties AzureADMetricsPropertiesFormatResponse
type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

properties AzureADMetricsPropertiesFormatResponse
type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

properties AzureADMetricsPropertiesFormatResponse
type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

properties Property Map
type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AzureADMetricsPropertiesFormatResponse

ProvisioningState string

The provisioning state of the resource.

ProvisioningState string

The provisioning state of the resource.

provisioningState String

The provisioning state of the resource.

provisioningState string

The provisioning state of the resource.

provisioning_state str

The provisioning state of the resource.

provisioningState String

The provisioning state of the resource.

Import

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

$ pulumi import azure-native:aadiam:azureADMetric ddb1 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.Aadiam/azureADMetrics/ddb1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0