azure-native.aadiam.AzureADMetric
Explore with Pulumi AI
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
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 (
"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
})
}
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:
- Resource
Group stringName Name of an Azure resource group.
- Azure
ADMetrics stringName Name of the azureADMetrics instance.
- Location string
The geo-location where the resource lives
- Dictionary<string, string>
Resource tags.
- Resource
Group stringName Name of an Azure resource group.
- Azure
ADMetrics stringName Name of the azureADMetrics instance.
- Location string
The geo-location where the resource lives
- map[string]string
Resource tags.
- resource
Group StringName Name of an Azure resource group.
- azure
ADMetrics StringName Name of the azureADMetrics instance.
- location String
The geo-location where the resource lives
- Map<String,String>
Resource tags.
- resource
Group stringName Name of an Azure resource group.
- azure
ADMetrics stringName Name of the azureADMetrics instance.
- location string
The geo-location where the resource lives
- {[key: string]: string}
Resource tags.
- resource_
group_ strname Name of an Azure resource group.
- azure_
ad_ strmetrics_ name Name of the azureADMetrics instance.
- location str
The geo-location where the resource lives
- Mapping[str, str]
Resource tags.
- resource
Group StringName Name of an Azure resource group.
- azure
ADMetrics StringName Name of the azureADMetrics instance.
- location String
The geo-location where the resource lives
- 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.
Azure Native. Aad Iam. Outputs. Azure ADMetrics Properties Format Response - 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
Azure
ADMetrics Properties Format Response - 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
Azure
ADMetrics Properties Format Response - 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
Azure
ADMetrics Properties Format Response - 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
Azure
ADMetrics Properties Format Response - 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
- Provisioning
State string The provisioning state of the resource.
- Provisioning
State string The provisioning state of the resource.
- provisioning
State String The provisioning state of the resource.
- provisioning
State string The provisioning state of the resource.
- provisioning_
state str The provisioning state of the resource.
- provisioning
State 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/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.aadiam/azureADMetrics/{azureADMetricsName}
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0