This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi
azure-native.cosmosdb.getMongoMIResourceMongoMIRoleAssignment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi
Retrieves the properties of an existing Azure Cosmos DB MongoMI Role Assignment with the given Id.
Uses Azure REST API version 2025-05-01-preview.
Using getMongoMIResourceMongoMIRoleAssignment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMongoMIResourceMongoMIRoleAssignment(args: GetMongoMIResourceMongoMIRoleAssignmentArgs, opts?: InvokeOptions): Promise<GetMongoMIResourceMongoMIRoleAssignmentResult>
function getMongoMIResourceMongoMIRoleAssignmentOutput(args: GetMongoMIResourceMongoMIRoleAssignmentOutputArgs, opts?: InvokeOptions): Output<GetMongoMIResourceMongoMIRoleAssignmentResult>
def get_mongo_mi_resource_mongo_mi_role_assignment(account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
role_assignment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMongoMIResourceMongoMIRoleAssignmentResult
def get_mongo_mi_resource_mongo_mi_role_assignment_output(account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
role_assignment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMongoMIResourceMongoMIRoleAssignmentResult]
func LookupMongoMIResourceMongoMIRoleAssignment(ctx *Context, args *LookupMongoMIResourceMongoMIRoleAssignmentArgs, opts ...InvokeOption) (*LookupMongoMIResourceMongoMIRoleAssignmentResult, error)
func LookupMongoMIResourceMongoMIRoleAssignmentOutput(ctx *Context, args *LookupMongoMIResourceMongoMIRoleAssignmentOutputArgs, opts ...InvokeOption) LookupMongoMIResourceMongoMIRoleAssignmentResultOutput
> Note: This function is named LookupMongoMIResourceMongoMIRoleAssignment
in the Go SDK.
public static class GetMongoMIResourceMongoMIRoleAssignment
{
public static Task<GetMongoMIResourceMongoMIRoleAssignmentResult> InvokeAsync(GetMongoMIResourceMongoMIRoleAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetMongoMIResourceMongoMIRoleAssignmentResult> Invoke(GetMongoMIResourceMongoMIRoleAssignmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMongoMIResourceMongoMIRoleAssignmentResult> getMongoMIResourceMongoMIRoleAssignment(GetMongoMIResourceMongoMIRoleAssignmentArgs args, InvokeOptions options)
public static Output<GetMongoMIResourceMongoMIRoleAssignmentResult> getMongoMIResourceMongoMIRoleAssignment(GetMongoMIResourceMongoMIRoleAssignmentArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:cosmosdb:getMongoMIResourceMongoMIRoleAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - Cosmos DB database account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Role
Assignment stringId - The GUID for the Role Assignment.
- Account
Name string - Cosmos DB database account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Role
Assignment stringId - The GUID for the Role Assignment.
- account
Name String - Cosmos DB database account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- role
Assignment StringId - The GUID for the Role Assignment.
- account
Name string - Cosmos DB database account name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- role
Assignment stringId - The GUID for the Role Assignment.
- account_
name str - Cosmos DB database account name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- role_
assignment_ strid - The GUID for the Role Assignment.
- account
Name String - Cosmos DB database account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- role
Assignment StringId - The GUID for the Role Assignment.
getMongoMIResourceMongoMIRoleAssignment Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- System
Data Pulumi.Azure Native. Cosmos DB. 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"
- Principal
Id string - The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.
- Role
Definition stringId - The unique identifier for the associated Role Definition.
- Scope string
- The data plane resource path for which access is being granted through this MongoMI Role Assignment.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- 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"
- Principal
Id string - The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.
- Role
Definition stringId - The unique identifier for the associated Role Definition.
- Scope string
- The data plane resource path for which access is being granted through this MongoMI Role Assignment.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- 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"
- principal
Id String - The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.
- role
Definition StringId - The unique identifier for the associated Role Definition.
- scope String
- The data plane resource path for which access is being granted through this MongoMI Role Assignment.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the resource.
- 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"
- principal
Id string - The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.
- role
Definition stringId - The unique identifier for the associated Role Definition.
- scope string
- The data plane resource path for which access is being granted through this MongoMI Role Assignment.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the resource.
- 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"
- principal_
id str - The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.
- role_
definition_ strid - The unique identifier for the associated Role Definition.
- scope str
- The data plane resource path for which access is being granted through this MongoMI Role Assignment.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- 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"
- principal
Id String - The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.
- role
Definition StringId - The unique identifier for the associated Role Definition.
- scope String
- The data plane resource path for which access is being granted through this MongoMI Role Assignment.
Supporting Types
SystemDataResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi