ArmMongoClusterModelFactory.MongoClusterUserProperties 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 MongoClusterUserProperties.
public static Azure.ResourceManager.MongoCluster.Models.MongoClusterUserProperties MongoClusterUserProperties(Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState? provisioningState = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterIdentityProvider identityProvider = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MongoCluster.Models.MongoClusterDatabaseRole> roles = default);
static member MongoClusterUserProperties : Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState> * Azure.ResourceManager.MongoCluster.Models.MongoClusterIdentityProvider * seq<Azure.ResourceManager.MongoCluster.Models.MongoClusterDatabaseRole> -> Azure.ResourceManager.MongoCluster.Models.MongoClusterUserProperties
Public Shared Function MongoClusterUserProperties (Optional provisioningState As Nullable(Of MongoClusterProvisioningState) = Nothing, Optional identityProvider As MongoClusterIdentityProvider = Nothing, Optional roles As IEnumerable(Of MongoClusterDatabaseRole) = Nothing) As MongoClusterUserProperties
Parameters
- provisioningState
- Nullable<MongoClusterProvisioningState>
The provisioning state of the user.
- identityProvider
- MongoClusterIdentityProvider
The user's identity provider definition. Please note MongoClusterIdentityProvider is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MongoClusterEntraIdentityProvider.
Database roles that are assigned to the user.
Returns
A new MongoClusterUserProperties instance for mocking.