// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package arm

type MongodbUserDefinition_STATUS struct {
	// Id: The unique resource identifier of the database account.
	Id *string `json:"id,omitempty"`

	// Name: The name of the database account.
	Name *string `json:"name,omitempty"`

	// Properties: Properties related to the User Definition.
	Properties *MongoUserDefinitionResource_STATUS `json:"properties,omitempty"`

	// Type: The type of Azure resource.
	Type *string `json:"type,omitempty"`
}

// Azure Cosmos DB Mongo User Definition resource object.
type MongoUserDefinitionResource_STATUS struct {
	// CustomData: A custom definition for the USer Definition.
	CustomData *string `json:"customData,omitempty"`

	// DatabaseName: The database name for which access is being granted for this User Definition.
	DatabaseName *string `json:"databaseName,omitempty"`

	// Mechanisms: The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256.
	Mechanisms *string `json:"mechanisms,omitempty"`

	// Roles: The set of roles inherited by the User Definition.
	Roles []Role_STATUS `json:"roles,omitempty"`

	// UserName: The user name for User Definition.
	UserName *string `json:"userName,omitempty"`
}
