ArmNeonPostgresModelFactory.NeonRoleProperties 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.
Initializes a new instance of NeonRoleProperties.
public static Azure.ResourceManager.NeonPostgres.Models.NeonRoleProperties NeonRoleProperties(string entityId = default, string entityName = default, string createdAt = default, Azure.ResourceManager.NeonPostgres.Models.NeonResourceProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NeonPostgres.Models.Attributes> attributes = default, string branchId = default, System.Collections.Generic.IEnumerable<string> permissions = default, bool? isSuperUser = default);
static member NeonRoleProperties : string * string * string * Nullable<Azure.ResourceManager.NeonPostgres.Models.NeonResourceProvisioningState> * seq<Azure.ResourceManager.NeonPostgres.Models.Attributes> * string * seq<string> * Nullable<bool> -> Azure.ResourceManager.NeonPostgres.Models.NeonRoleProperties
Public Shared Function NeonRoleProperties (Optional entityId As String = Nothing, Optional entityName As String = Nothing, Optional createdAt As String = Nothing, Optional provisioningState As Nullable(Of NeonResourceProvisioningState) = Nothing, Optional attributes As IEnumerable(Of Attributes) = Nothing, Optional branchId As String = Nothing, Optional permissions As IEnumerable(Of String) = Nothing, Optional isSuperUser As Nullable(Of Boolean) = Nothing) As NeonRoleProperties
Parameters
- entityId
- String
Unique identifier for the entity.
- entityName
- String
Name of the resource.
- createdAt
- String
Timestamp indicating when the entity was created.
- provisioningState
- Nullable<NeonResourceProvisioningState>
Provisioning state of the resource.
- attributes
- IEnumerable<Attributes>
Additional attributes for the entity.
- branchId
- String
The ID of the branch this role belongs to.
- permissions
- IEnumerable<String>
Permissions assigned to the role.
Returns
A new NeonRoleProperties instance for mocking.