azure-native.databasewatcher.Watcher
Explore with Pulumi AI
The DatabaseWatcherProviderHub resource.
Uses Azure REST API version 2024-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-09-01-preview.
Other available API versions: 2023-09-01-preview, 2024-07-19-preview, 2025-01-02. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native databasewatcher [ApiVersion]
. See the version guide for details.
Create Watcher Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Watcher(name: string, args: WatcherArgs, opts?: CustomResourceOptions);
@overload
def Watcher(resource_name: str,
args: WatcherArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Watcher(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
datastore: Optional[DatastoreArgs] = None,
default_alert_rule_identity_resource_id: Optional[str] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
watcher_name: Optional[str] = None)
func NewWatcher(ctx *Context, name string, args WatcherArgs, opts ...ResourceOption) (*Watcher, error)
public Watcher(string name, WatcherArgs args, CustomResourceOptions? opts = null)
public Watcher(String name, WatcherArgs args)
public Watcher(String name, WatcherArgs args, CustomResourceOptions options)
type: azure-native:databasewatcher:Watcher
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WatcherArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. WatcherArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WatcherArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WatcherArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. WatcherArgs - 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 azure_nativeWatcherResource = new AzureNative.DatabaseWatcher.Watcher("azure-nativeWatcherResource", new()
{
ResourceGroupName = "string",
Datastore = new AzureNative.DatabaseWatcher.Inputs.DatastoreArgs
{
KustoClusterUri = "string",
KustoDataIngestionUri = "string",
KustoDatabaseName = "string",
KustoManagementUrl = "string",
KustoOfferingType = "string",
AdxClusterResourceId = "string",
KustoClusterDisplayName = "string",
},
DefaultAlertRuleIdentityResourceId = "string",
Identity = new AzureNative.DatabaseWatcher.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
Location = "string",
Tags =
{
{ "string", "string" },
},
WatcherName = "string",
});
example, err := databasewatcher.NewWatcher(ctx, "azure-nativeWatcherResource", &databasewatcher.WatcherArgs{
ResourceGroupName: pulumi.String("string"),
Datastore: &databasewatcher.DatastoreArgs{
KustoClusterUri: pulumi.String("string"),
KustoDataIngestionUri: pulumi.String("string"),
KustoDatabaseName: pulumi.String("string"),
KustoManagementUrl: pulumi.String("string"),
KustoOfferingType: pulumi.String("string"),
AdxClusterResourceId: pulumi.String("string"),
KustoClusterDisplayName: pulumi.String("string"),
},
DefaultAlertRuleIdentityResourceId: pulumi.String("string"),
Identity: &databasewatcher.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
WatcherName: pulumi.String("string"),
})
var azure_nativeWatcherResource = new Watcher("azure-nativeWatcherResource", WatcherArgs.builder()
.resourceGroupName("string")
.datastore(DatastoreArgs.builder()
.kustoClusterUri("string")
.kustoDataIngestionUri("string")
.kustoDatabaseName("string")
.kustoManagementUrl("string")
.kustoOfferingType("string")
.adxClusterResourceId("string")
.kustoClusterDisplayName("string")
.build())
.defaultAlertRuleIdentityResourceId("string")
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.location("string")
.tags(Map.of("string", "string"))
.watcherName("string")
.build());
azure_native_watcher_resource = azure_native.databasewatcher.Watcher("azure-nativeWatcherResource",
resource_group_name="string",
datastore={
"kusto_cluster_uri": "string",
"kusto_data_ingestion_uri": "string",
"kusto_database_name": "string",
"kusto_management_url": "string",
"kusto_offering_type": "string",
"adx_cluster_resource_id": "string",
"kusto_cluster_display_name": "string",
},
default_alert_rule_identity_resource_id="string",
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
location="string",
tags={
"string": "string",
},
watcher_name="string")
const azure_nativeWatcherResource = new azure_native.databasewatcher.Watcher("azure-nativeWatcherResource", {
resourceGroupName: "string",
datastore: {
kustoClusterUri: "string",
kustoDataIngestionUri: "string",
kustoDatabaseName: "string",
kustoManagementUrl: "string",
kustoOfferingType: "string",
adxClusterResourceId: "string",
kustoClusterDisplayName: "string",
},
defaultAlertRuleIdentityResourceId: "string",
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
location: "string",
tags: {
string: "string",
},
watcherName: "string",
});
type: azure-native:databasewatcher:Watcher
properties:
datastore:
adxClusterResourceId: string
kustoClusterDisplayName: string
kustoClusterUri: string
kustoDataIngestionUri: string
kustoDatabaseName: string
kustoManagementUrl: string
kustoOfferingType: string
defaultAlertRuleIdentityResourceId: string
identity:
type: string
userAssignedIdentities:
- string
location: string
resourceGroupName: string
tags:
string: string
watcherName: string
Watcher 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 Watcher resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Datastore
Pulumi.
Azure Native. Database Watcher. Inputs. Datastore - The data store for collected monitoring data.
- Default
Alert stringRule Identity Resource Id - The resource ID of a user-assigned managed identity that will be assigned to a new alert rule.
- Identity
Pulumi.
Azure Native. Database Watcher. Inputs. Managed Service Identity - The managed service identities assigned to this resource.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Watcher
Name Changes to this property will trigger replacement.
- The database watcher name.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Datastore
Datastore
Args - The data store for collected monitoring data.
- Default
Alert stringRule Identity Resource Id - The resource ID of a user-assigned managed identity that will be assigned to a new alert rule.
- Identity
Managed
Service Identity Args - The managed service identities assigned to this resource.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- Watcher
Name Changes to this property will trigger replacement.
- The database watcher name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- datastore Datastore
- The data store for collected monitoring data.
- default
Alert StringRule Identity Resource Id - The resource ID of a user-assigned managed identity that will be assigned to a new alert rule.
- identity
Managed
Service Identity - The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- watcher
Name Changes to this property will trigger replacement.
- The database watcher name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- datastore Datastore
- The data store for collected monitoring data.
- default
Alert stringRule Identity Resource Id - The resource ID of a user-assigned managed identity that will be assigned to a new alert rule.
- identity
Managed
Service Identity - The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- watcher
Name Changes to this property will trigger replacement.
- The database watcher name.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- datastore
Datastore
Args - The data store for collected monitoring data.
- default_
alert_ strrule_ identity_ resource_ id - The resource ID of a user-assigned managed identity that will be assigned to a new alert rule.
- identity
Managed
Service Identity Args - The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- watcher_
name Changes to this property will trigger replacement.
- The database watcher name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- datastore Property Map
- The data store for collected monitoring data.
- default
Alert StringRule Identity Resource Id - The resource ID of a user-assigned managed identity that will be assigned to a new alert rule.
- identity Property Map
- The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Map<String>
- Resource tags.
- watcher
Name Changes to this property will trigger replacement.
- The database watcher name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Watcher resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource watcher.
- Status string
- The monitoring collection status of the watcher.
- System
Data Pulumi.Azure Native. Database Watcher. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource watcher.
- Status string
- The monitoring collection status of the watcher.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource watcher.
- status String
- The monitoring collection status of the watcher.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the resource watcher.
- status string
- The monitoring collection status of the watcher.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the resource watcher.
- status str
- The monitoring collection status of the watcher.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource watcher.
- status String
- The monitoring collection status of the watcher.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
Datastore, DatastoreArgs
- Kusto
Cluster Uri This property is required. string - The Kusto cluster URI.
- Kusto
Data Ingestion Uri This property is required. string - The Kusto data ingestion URI.
- Kusto
Database Name This property is required. string - The name of a Kusto database.
- Kusto
Management Url This property is required. string - The Kusto management URL.
- Kusto
Offering Type This property is required. string | Pulumi.Azure Native. Database Watcher. Kusto Offering Type - The type of a Kusto offering.
- Adx
Cluster stringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- Kusto
Cluster stringDisplay Name - The Kusto cluster display name.
- Kusto
Cluster Uri This property is required. string - The Kusto cluster URI.
- Kusto
Data Ingestion Uri This property is required. string - The Kusto data ingestion URI.
- Kusto
Database Name This property is required. string - The name of a Kusto database.
- Kusto
Management Url This property is required. string - The Kusto management URL.
- Kusto
Offering Type This property is required. string | KustoOffering Type - The type of a Kusto offering.
- Adx
Cluster stringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- Kusto
Cluster stringDisplay Name - The Kusto cluster display name.
- kusto
Cluster Uri This property is required. String - The Kusto cluster URI.
- kusto
Data Ingestion Uri This property is required. String - The Kusto data ingestion URI.
- kusto
Database Name This property is required. String - The name of a Kusto database.
- kusto
Management Url This property is required. String - The Kusto management URL.
- kusto
Offering Type This property is required. String | KustoOffering Type - The type of a Kusto offering.
- adx
Cluster StringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto
Cluster StringDisplay Name - The Kusto cluster display name.
- kusto
Cluster Uri This property is required. string - The Kusto cluster URI.
- kusto
Data Ingestion Uri This property is required. string - The Kusto data ingestion URI.
- kusto
Database Name This property is required. string - The name of a Kusto database.
- kusto
Management Url This property is required. string - The Kusto management URL.
- kusto
Offering Type This property is required. string | KustoOffering Type - The type of a Kusto offering.
- adx
Cluster stringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto
Cluster stringDisplay Name - The Kusto cluster display name.
- kusto_
cluster_ uri This property is required. str - The Kusto cluster URI.
- kusto_
data_ ingestion_ uri This property is required. str - The Kusto data ingestion URI.
- kusto_
database_ name This property is required. str - The name of a Kusto database.
- kusto_
management_ url This property is required. str - The Kusto management URL.
- kusto_
offering_ type This property is required. str | KustoOffering Type - The type of a Kusto offering.
- adx_
cluster_ strresource_ id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto_
cluster_ strdisplay_ name - The Kusto cluster display name.
- kusto
Cluster Uri This property is required. String - The Kusto cluster URI.
- kusto
Data Ingestion Uri This property is required. String - The Kusto data ingestion URI.
- kusto
Database Name This property is required. String - The name of a Kusto database.
- kusto
Management Url This property is required. String - The Kusto management URL.
- kusto
Offering Type This property is required. String | "adx" | "free" | "fabric" - The type of a Kusto offering.
- adx
Cluster StringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto
Cluster StringDisplay Name - The Kusto cluster display name.
DatastoreResponse, DatastoreResponseArgs
- Kusto
Cluster Uri This property is required. string - The Kusto cluster URI.
- Kusto
Data Ingestion Uri This property is required. string - The Kusto data ingestion URI.
- Kusto
Database Name This property is required. string - The name of a Kusto database.
- Kusto
Management Url This property is required. string - The Kusto management URL.
- Kusto
Offering Type This property is required. string - The type of a Kusto offering.
- Adx
Cluster stringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- Kusto
Cluster stringDisplay Name - The Kusto cluster display name.
- Kusto
Cluster Uri This property is required. string - The Kusto cluster URI.
- Kusto
Data Ingestion Uri This property is required. string - The Kusto data ingestion URI.
- Kusto
Database Name This property is required. string - The name of a Kusto database.
- Kusto
Management Url This property is required. string - The Kusto management URL.
- Kusto
Offering Type This property is required. string - The type of a Kusto offering.
- Adx
Cluster stringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- Kusto
Cluster stringDisplay Name - The Kusto cluster display name.
- kusto
Cluster Uri This property is required. String - The Kusto cluster URI.
- kusto
Data Ingestion Uri This property is required. String - The Kusto data ingestion URI.
- kusto
Database Name This property is required. String - The name of a Kusto database.
- kusto
Management Url This property is required. String - The Kusto management URL.
- kusto
Offering Type This property is required. String - The type of a Kusto offering.
- adx
Cluster StringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto
Cluster StringDisplay Name - The Kusto cluster display name.
- kusto
Cluster Uri This property is required. string - The Kusto cluster URI.
- kusto
Data Ingestion Uri This property is required. string - The Kusto data ingestion URI.
- kusto
Database Name This property is required. string - The name of a Kusto database.
- kusto
Management Url This property is required. string - The Kusto management URL.
- kusto
Offering Type This property is required. string - The type of a Kusto offering.
- adx
Cluster stringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto
Cluster stringDisplay Name - The Kusto cluster display name.
- kusto_
cluster_ uri This property is required. str - The Kusto cluster URI.
- kusto_
data_ ingestion_ uri This property is required. str - The Kusto data ingestion URI.
- kusto_
database_ name This property is required. str - The name of a Kusto database.
- kusto_
management_ url This property is required. str - The Kusto management URL.
- kusto_
offering_ type This property is required. str - The type of a Kusto offering.
- adx_
cluster_ strresource_ id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto_
cluster_ strdisplay_ name - The Kusto cluster display name.
- kusto
Cluster Uri This property is required. String - The Kusto cluster URI.
- kusto
Data Ingestion Uri This property is required. String - The Kusto data ingestion URI.
- kusto
Database Name This property is required. String - The name of a Kusto database.
- kusto
Management Url This property is required. String - The Kusto management URL.
- kusto
Offering Type This property is required. String - The type of a Kusto offering.
- adx
Cluster StringResource Id - The Azure resource ID of an Azure Data Explorer cluster.
- kusto
Cluster StringDisplay Name - The Kusto cluster display name.
KustoOfferingType, KustoOfferingTypeArgs
- Adx
- adxThe Azure Data Explorer cluster Kusto offering.
- Free
- freeThe free Azure Data Explorer cluster Kusto offering.
- Fabric
- fabricThe Fabric Real-Time Analytics Kusto offering.
- Kusto
Offering Type Adx - adxThe Azure Data Explorer cluster Kusto offering.
- Kusto
Offering Type Free - freeThe free Azure Data Explorer cluster Kusto offering.
- Kusto
Offering Type Fabric - fabricThe Fabric Real-Time Analytics Kusto offering.
- Adx
- adxThe Azure Data Explorer cluster Kusto offering.
- Free
- freeThe free Azure Data Explorer cluster Kusto offering.
- Fabric
- fabricThe Fabric Real-Time Analytics Kusto offering.
- Adx
- adxThe Azure Data Explorer cluster Kusto offering.
- Free
- freeThe free Azure Data Explorer cluster Kusto offering.
- Fabric
- fabricThe Fabric Real-Time Analytics Kusto offering.
- ADX
- adxThe Azure Data Explorer cluster Kusto offering.
- FREE
- freeThe free Azure Data Explorer cluster Kusto offering.
- FABRIC
- fabricThe Fabric Real-Time Analytics Kusto offering.
- "adx"
- adxThe Azure Data Explorer cluster Kusto offering.
- "free"
- freeThe free Azure Data Explorer cluster Kusto offering.
- "fabric"
- fabricThe Fabric Real-Time Analytics Kusto offering.
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
This property is required. string | Pulumi.Azure Native. Database Watcher. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
This property is required. string | ManagedService Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
This property is required. String | ManagedService Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
This property is required. string | ManagedService Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
This property is required. str | ManagedService Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
This property is required. String | "None" | "SystemAssigned" | "User Assigned" | "System Assigned, User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Database Watcher. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. string - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id This property is required. str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id This property is required. str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. str - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned, User Assigned" - SystemAssigned, UserAssigned
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id This property is required. string - The client ID of the assigned identity.
- Principal
Id This property is required. string - The principal ID of the assigned identity.
- Client
Id This property is required. string - The client ID of the assigned identity.
- Principal
Id This property is required. string - The principal ID of the assigned identity.
- client
Id This property is required. String - The client ID of the assigned identity.
- principal
Id This property is required. String - The principal ID of the assigned identity.
- client
Id This property is required. string - The client ID of the assigned identity.
- principal
Id This property is required. string - The principal ID of the assigned identity.
- client_
id This property is required. str - The client ID of the assigned identity.
- principal_
id This property is required. str - The principal ID of the assigned identity.
- client
Id This property is required. String - The client ID of the assigned identity.
- principal
Id This property is required. String - The principal ID of the assigned identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:databasewatcher:Watcher myWatcher /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0