1. Packages
  2. Azure Native v1
  3. API Docs
  4. aadiam
  5. AzureADMetric
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.aadiam.AzureADMetric

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

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

    Example Usage

    azureADMetricsCreate

    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,
        });
    
    });
    
    package main
    
    import (
    	aadiam "github.com/pulumi/pulumi-azure-native-sdk/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

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AzureADMetric(name: string, args: AzureADMetricArgs, opts?: CustomResourceOptions);
    @overload
    def AzureADMetric(resource_name: str,
                      args: AzureADMetricArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureADMetric(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      resource_group_name: Optional[str] = None,
                      azure_ad_metrics_name: Optional[str] = None,
                      location: Optional[str] = None,
                      tags: Optional[Mapping[str, str]] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azureADMetricResource = new AzureNative.Aadiam.AzureADMetric("azureADMetricResource", new()
    {
        ResourceGroupName = "string",
        AzureADMetricsName = "string",
        Location = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := aadiam.NewAzureADMetric(ctx, "azureADMetricResource", &aadiam.AzureADMetricArgs{
    	ResourceGroupName:  "string",
    	AzureADMetricsName: "string",
    	Location:           "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var azureADMetricResource = new AzureADMetric("azureADMetricResource", AzureADMetricArgs.builder()
        .resourceGroupName("string")
        .azureADMetricsName("string")
        .location("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    azure_ad_metric_resource = azure_native.aadiam.AzureADMetric("azureADMetricResource",
        resource_group_name=string,
        azure_ad_metrics_name=string,
        location=string,
        tags={
            string: string,
        })
    
    const azureADMetricResource = new azure_native.aadiam.AzureADMetric("azureADMetricResource", {
        resourceGroupName: "string",
        azureADMetricsName: "string",
        location: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:aadiam:azureADMetric
    properties:
        azureADMetricsName: string
        location: string
        resourceGroupName: string
        tags:
            string: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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, AzureADMetricsPropertiesFormatResponseArgs

    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 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi