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
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:
- Environment
Type stringName - The name of the environment type.
- Project
Name string - The name of the project.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Environment
Type stringName - The name of the environment type.
- Project
Name string - The name of the project.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- environment
Type StringName - The name of the environment type.
- project
Name String - The name of the project.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- environment
Type stringName - The name of the environment type.
- project
Name string - The name of the project.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- environment_
type_ strname - The name of the environment type.
- project_
name str - The name of the project.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- environment
Type StringName - The name of the environment type.
- project
Name String - The name of the project.
- resource
Group StringName - 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
- Provisioning
State string - The provisioning state of the resource.
- System
Data Pulumi.Azure Native. Dev Center. 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"
- Creator
Role Pulumi.Assignment Azure Native. Dev Center. Outputs. Project Environment Type Update Properties Response Creator Role Assignment - The role definition assigned to the environment creator on backing resources.
- Deployment
Target stringId - Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
- Identity
Pulumi.
Azure Native. Dev Center. Outputs. Managed Service Identity Response - 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.
- Dictionary<string, string>
- Resource tags.
- User
Role Dictionary<string, Pulumi.Assignments Azure Native. Dev Center. Outputs. User Role Assignment Response> - 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
- Provisioning
State string - The 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"
- Creator
Role ProjectAssignment Environment Type Update Properties Response Creator Role Assignment - The role definition assigned to the environment creator on backing resources.
- Deployment
Target stringId - Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
- Identity
Managed
Service Identity Response - 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.
- map[string]string
- Resource tags.
- User
Role map[string]UserAssignments Role Assignment Response - 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
- provisioning
State String - The 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"
- creator
Role ProjectAssignment Environment Type Update Properties Response Creator Role Assignment - The role definition assigned to the environment creator on backing resources.
- deployment
Target StringId - Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
- identity
Managed
Service Identity Response - 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.
- Map<String,String>
- Resource tags.
- user
Role Map<String,UserAssignments Role Assignment Response> - 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
- provisioning
State string - The 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"
- creator
Role ProjectAssignment Environment Type Update Properties Response Creator Role Assignment - The role definition assigned to the environment creator on backing resources.
- deployment
Target stringId - Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
- identity
Managed
Service Identity Response - 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.
- {[key: string]: string}
- Resource tags.
- user
Role {[key: string]: UserAssignments Role Assignment Response} - 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 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"
- creator_
role_ Projectassignment Environment Type Update Properties Response Creator Role Assignment - The role definition assigned to the environment creator on backing resources.
- deployment_
target_ strid - Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
- identity
Managed
Service Identity Response - 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.
- Mapping[str, str]
- Resource tags.
- user_
role_ Mapping[str, Userassignments Role Assignment Response] - 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
- provisioning
State String - The 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"
- creator
Role Property MapAssignment - The role definition assigned to the environment creator on backing resources.
- deployment
Target StringId - 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.
- Map<String>
- Resource tags.
- user
Role Map<Property Map>Assignments - 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.
- Role
Name 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.
- Role
Name 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.
- role
Name 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.
- role
Name 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.
- role
Name String - The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
ManagedServiceIdentityResponse
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Dev Center. 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 string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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).
- 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 String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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).
- 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 string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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).
- 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 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_ 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 String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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).
- 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.
ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment
- Roles
Dictionary<string, Pulumi.
Azure Native. Dev Center. Inputs. Environment Role Response> - A map of roles to assign to the environment creator.
- Roles
map[string]Environment
Role Response - A map of roles to assign to the environment creator.
- roles
Map<String,Environment
Role Response> - A map of roles to assign to the environment creator.
- roles
{[key: string]: Environment
Role Response} - A map of roles to assign to the environment creator.
- roles
Mapping[str, Environment
Role Response] - 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
- 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
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id 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.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
UserRoleAssignmentResponse
- Roles
Dictionary<string, Pulumi.
Azure Native. Dev Center. Inputs. Environment Role Response> - A map of roles to assign to the parent user.
- Roles
map[string]Environment
Role Response - A map of roles to assign to the parent user.
- roles
Map<String,Environment
Role Response> - A map of roles to assign to the parent user.
- roles
{[key: string]: Environment
Role Response} - A map of roles to assign to the parent user.
- roles
Mapping[str, Environment
Role Response] - 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
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