1. Packages
  2. Azure Native
  3. API Docs
  4. devcenter
  5. getProjectEnvironmentType
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.devcenter.getProjectEnvironmentType

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Gets a project environment type. Azure REST API version: 2023-04-01.

    Other available API versions: 2023-08-01-preview, 2023-10-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-07-01-preview, 2024-08-01-preview, 2024-10-01-preview.

    Using getProjectEnvironmentType

    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 getProjectEnvironmentType(args: GetProjectEnvironmentTypeArgs, opts?: InvokeOptions): Promise<GetProjectEnvironmentTypeResult>
    function getProjectEnvironmentTypeOutput(args: GetProjectEnvironmentTypeOutputArgs, opts?: InvokeOptions): Output<GetProjectEnvironmentTypeResult>
    def get_project_environment_type(environment_type_name: Optional[str] = None,
                                     project_name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetProjectEnvironmentTypeResult
    def get_project_environment_type_output(environment_type_name: Optional[pulumi.Input[str]] = None,
                                     project_name: Optional[pulumi.Input[str]] = None,
                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetProjectEnvironmentTypeResult]
    func LookupProjectEnvironmentType(ctx *Context, args *LookupProjectEnvironmentTypeArgs, opts ...InvokeOption) (*LookupProjectEnvironmentTypeResult, error)
    func LookupProjectEnvironmentTypeOutput(ctx *Context, args *LookupProjectEnvironmentTypeOutputArgs, opts ...InvokeOption) LookupProjectEnvironmentTypeResultOutput

    > Note: This function is named LookupProjectEnvironmentType in the Go SDK.

    public static class GetProjectEnvironmentType 
    {
        public static Task<GetProjectEnvironmentTypeResult> InvokeAsync(GetProjectEnvironmentTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectEnvironmentTypeResult> Invoke(GetProjectEnvironmentTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProjectEnvironmentTypeResult> getProjectEnvironmentType(GetProjectEnvironmentTypeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:devcenter:getProjectEnvironmentType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnvironmentTypeName string
    The name of the environment type.
    ProjectName string
    The name of the project.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    EnvironmentTypeName string
    The name of the environment type.
    ProjectName string
    The name of the project.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    environmentTypeName String
    The name of the environment type.
    projectName String
    The name of the project.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    environmentTypeName string
    The name of the environment type.
    projectName string
    The name of the project.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    environment_type_name str
    The name of the environment type.
    project_name str
    The name of the project.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    environmentTypeName String
    The name of the environment type.
    projectName String
    The name of the project.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getProjectEnvironmentType Result

    The following output properties are available:

    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the resource.
    SystemData Pulumi.AzureNative.DevCenter.Outputs.SystemDataResponse
    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"
    CreatorRoleAssignment Pulumi.AzureNative.DevCenter.Outputs.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment
    The role definition assigned to the environment creator on backing resources.
    DeploymentTargetId string
    Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
    Identity Pulumi.AzureNative.DevCenter.Outputs.ManagedServiceIdentityResponse
    Managed identity properties
    Location string
    The geo-location for the environment type
    Status string
    Defines whether this Environment Type can be used in this Project.
    Tags Dictionary<string, string>
    Resource tags.
    UserRoleAssignments Dictionary<string, Pulumi.AzureNative.DevCenter.Outputs.UserRoleAssignmentResponse>
    Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the resource.
    SystemData SystemDataResponse
    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"
    CreatorRoleAssignment ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment
    The role definition assigned to the environment creator on backing resources.
    DeploymentTargetId string
    Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
    Identity ManagedServiceIdentityResponse
    Managed identity properties
    Location string
    The geo-location for the environment type
    Status string
    Defines whether this Environment Type can be used in this Project.
    Tags map[string]string
    Resource tags.
    UserRoleAssignments map[string]UserRoleAssignmentResponse
    Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the resource.
    systemData SystemDataResponse
    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"
    creatorRoleAssignment ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment
    The role definition assigned to the environment creator on backing resources.
    deploymentTargetId String
    Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
    identity ManagedServiceIdentityResponse
    Managed identity properties
    location String
    The geo-location for the environment type
    status String
    Defines whether this Environment Type can be used in this Project.
    tags Map<String,String>
    Resource tags.
    userRoleAssignments Map<String,UserRoleAssignmentResponse>
    Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name string
    The name of the resource
    provisioningState string
    The provisioning state of the resource.
    systemData SystemDataResponse
    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"
    creatorRoleAssignment ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment
    The role definition assigned to the environment creator on backing resources.
    deploymentTargetId string
    Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
    identity ManagedServiceIdentityResponse
    Managed identity properties
    location string
    The geo-location for the environment type
    status string
    Defines whether this Environment Type can be used in this Project.
    tags {[key: string]: string}
    Resource tags.
    userRoleAssignments {[key: string]: UserRoleAssignmentResponse}
    Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name str
    The name of the resource
    provisioning_state str
    The provisioning state of the resource.
    system_data SystemDataResponse
    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"
    creator_role_assignment ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment
    The role definition assigned to the environment creator on backing resources.
    deployment_target_id str
    Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
    identity ManagedServiceIdentityResponse
    Managed identity properties
    location str
    The geo-location for the environment type
    status str
    Defines whether this Environment Type can be used in this Project.
    tags Mapping[str, str]
    Resource tags.
    user_role_assignments Mapping[str, UserRoleAssignmentResponse]
    Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the resource.
    systemData 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"
    creatorRoleAssignment Property Map
    The role definition assigned to the environment creator on backing resources.
    deploymentTargetId String
    Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
    identity Property Map
    Managed identity properties
    location String
    The geo-location for the environment type
    status String
    Defines whether this Environment Type can be used in this Project.
    tags Map<String>
    Resource tags.
    userRoleAssignments Map<Property Map>
    Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.

    Supporting Types

    EnvironmentRoleResponse

    Description string
    This is a description of the Role Assignment.
    RoleName string
    The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
    Description string
    This is a description of the Role Assignment.
    RoleName string
    The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
    description String
    This is a description of the Role Assignment.
    roleName String
    The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
    description string
    This is a description of the Role Assignment.
    roleName string
    The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
    description str
    This is a description of the Role Assignment.
    role_name str
    The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
    description String
    This is a description of the Role Assignment.
    roleName String
    The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.

    ManagedServiceIdentityResponse

    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DevCenter.Inputs.UserAssignedIdentityResponse>
    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.
    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    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.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    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.
    principalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type string
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    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 str
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenant_id str
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type str
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
    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.
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
    userAssignedIdentities Map<Property Map>
    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.

    ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment

    Roles Dictionary<string, Pulumi.AzureNative.DevCenter.Inputs.EnvironmentRoleResponse>
    A map of roles to assign to the environment creator.
    Roles map[string]EnvironmentRoleResponse
    A map of roles to assign to the environment creator.
    roles Map<String,EnvironmentRoleResponse>
    A map of roles to assign to the environment creator.
    roles {[key: string]: EnvironmentRoleResponse}
    A map of roles to assign to the environment creator.
    roles Mapping[str, EnvironmentRoleResponse]
    A map of roles to assign to the environment creator.
    roles Map<Property Map>
    A map of roles to assign to the environment creator.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserAssignedIdentityResponse

    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.
    clientId string
    The client ID of the assigned identity.
    principalId string
    The principal ID of the assigned identity.
    client_id str
    The client ID of the assigned identity.
    principal_id str
    The principal ID of the assigned identity.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.

    UserRoleAssignmentResponse

    Roles Dictionary<string, Pulumi.AzureNative.DevCenter.Inputs.EnvironmentRoleResponse>
    A map of roles to assign to the parent user.
    Roles map[string]EnvironmentRoleResponse
    A map of roles to assign to the parent user.
    roles Map<String,EnvironmentRoleResponse>
    A map of roles to assign to the parent user.
    roles {[key: string]: EnvironmentRoleResponse}
    A map of roles to assign to the parent user.
    roles Mapping[str, EnvironmentRoleResponse]
    A map of roles to assign to the parent user.
    roles Map<Property Map>
    A map of roles to assign to the parent user.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi