ArmDevCenterModelFactory.DevCenterProjectEnvironmentPatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.DevCenter.Models.DevCenterProjectEnvironmentPatch DevCenterProjectEnvironmentPatch(Azure.Core.ResourceIdentifier deploymentTargetId = default, string displayName = default, Azure.ResourceManager.DevCenter.Models.EnvironmentTypeEnableStatus? status = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.DevCenter.Models.DevCenterUserRoleAssignments> userRoleAssignments = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole> roles = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member DevCenterProjectEnvironmentPatch : Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.DevCenter.Models.EnvironmentTypeEnableStatus> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DevCenter.Models.DevCenterUserRoleAssignments> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.DevCenter.Models.DevCenterProjectEnvironmentPatch
Public Shared Function DevCenterProjectEnvironmentPatch (Optional deploymentTargetId As ResourceIdentifier = Nothing, Optional displayName As String = Nothing, Optional status As Nullable(Of EnvironmentTypeEnableStatus) = Nothing, Optional userRoleAssignments As IDictionary(Of String, DevCenterUserRoleAssignments) = Nothing, Optional roles As IDictionary(Of String, DevCenterEnvironmentRole) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As DevCenterProjectEnvironmentPatch
Parameters
- deploymentTargetId
- ResourceIdentifier
Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
- displayName
- String
The display name of the project environment type.
- status
- Nullable<EnvironmentTypeEnableStatus>
Defines whether this Environment Type can be used in this Project.
- userRoleAssignments
- IDictionary<String,DevCenterUserRoleAssignments>
Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
A map of roles to assign to the environment creator.
- tags
- IDictionary<String,String>
Resource tags.
- identity
- ManagedServiceIdentity
Managed identity properties.
Returns
A new DevCenterProjectEnvironmentPatch instance for mocking.