Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForMongoRoleDefinitionType() []string + func ValidateDatabaseAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateMongodbRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error) + func ValidateMongodbUserDefinitionID(input interface{}, key string) (warnings []string, errors []error) + type DatabaseAccountId struct + DatabaseAccountName string + ResourceGroupName string + SubscriptionId string + func NewDatabaseAccountID(subscriptionId string, resourceGroupName string, databaseAccountName string) DatabaseAccountId + func ParseDatabaseAccountID(input string) (*DatabaseAccountId, error) + func ParseDatabaseAccountIDInsensitively(input string) (*DatabaseAccountId, error) + func (id *DatabaseAccountId) FromParseResult(input resourceids.ParseResult) error + func (id DatabaseAccountId) ID() string + func (id DatabaseAccountId) Segments() []resourceids.Segment + func (id DatabaseAccountId) String() string + type MongoDBResourcesCreateUpdateMongoRoleDefinitionOperationResponse struct + HttpResponse *http.Response + Model *MongoRoleDefinitionGetResults + OData *odata.OData + Poller pollers.Poller + type MongoDBResourcesCreateUpdateMongoUserDefinitionOperationResponse struct + HttpResponse *http.Response + Model *MongoUserDefinitionGetResults + OData *odata.OData + Poller pollers.Poller + type MongoDBResourcesDeleteMongoRoleDefinitionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type MongoDBResourcesDeleteMongoUserDefinitionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type MongoDBResourcesGetMongoRoleDefinitionOperationResponse struct + HttpResponse *http.Response + Model *MongoRoleDefinitionGetResults + OData *odata.OData + type MongoDBResourcesGetMongoUserDefinitionOperationResponse struct + HttpResponse *http.Response + Model *MongoUserDefinitionGetResults + OData *odata.OData + type MongoDBResourcesListMongoRoleDefinitionsOperationResponse struct + HttpResponse *http.Response + Model *MongoRoleDefinitionListResult + OData *odata.OData + type MongoDBResourcesListMongoUserDefinitionsOperationResponse struct + HttpResponse *http.Response + Model *MongoUserDefinitionListResult + OData *odata.OData + type MongoRoleDefinitionCreateUpdateParameters struct + Properties *MongoRoleDefinitionResource + type MongoRoleDefinitionGetResults struct + Id *string + Name *string + Properties *MongoRoleDefinitionResource + Type *string + type MongoRoleDefinitionListResult struct + Value *[]MongoRoleDefinitionGetResults + type MongoRoleDefinitionResource struct + DatabaseName *string + Privileges *[]Privilege + RoleName *string + Roles *[]Role + Type *MongoRoleDefinitionType + type MongoRoleDefinitionType string + const MongoRoleDefinitionTypeBuiltInRole + const MongoRoleDefinitionTypeCustomRole + func (s *MongoRoleDefinitionType) UnmarshalJSON(bytes []byte) error + type MongoUserDefinitionCreateUpdateParameters struct + Properties *MongoUserDefinitionResource + type MongoUserDefinitionGetResults struct + Id *string + Name *string + Properties *MongoUserDefinitionResource + Type *string + type MongoUserDefinitionListResult struct + Value *[]MongoUserDefinitionGetResults + type MongoUserDefinitionResource struct + CustomData *string + DatabaseName *string + Mechanisms *string + Password *string + Roles *[]Role + UserName *string + type MongodbRoleDefinitionId struct + DatabaseAccountName string + MongoRoleDefinitionId string + ResourceGroupName string + SubscriptionId string + func NewMongodbRoleDefinitionID(subscriptionId string, resourceGroupName string, databaseAccountName string, ...) MongodbRoleDefinitionId + func ParseMongodbRoleDefinitionID(input string) (*MongodbRoleDefinitionId, error) + func ParseMongodbRoleDefinitionIDInsensitively(input string) (*MongodbRoleDefinitionId, error) + func (id *MongodbRoleDefinitionId) FromParseResult(input resourceids.ParseResult) error + func (id MongodbRoleDefinitionId) ID() string + func (id MongodbRoleDefinitionId) Segments() []resourceids.Segment + func (id MongodbRoleDefinitionId) String() string + type MongodbUserDefinitionId struct + DatabaseAccountName string + MongoUserDefinitionId string + ResourceGroupName string + SubscriptionId string + func NewMongodbUserDefinitionID(subscriptionId string, resourceGroupName string, databaseAccountName string, ...) MongodbUserDefinitionId + func ParseMongodbUserDefinitionID(input string) (*MongodbUserDefinitionId, error) + func ParseMongodbUserDefinitionIDInsensitively(input string) (*MongodbUserDefinitionId, error) + func (id *MongodbUserDefinitionId) FromParseResult(input resourceids.ParseResult) error + func (id MongodbUserDefinitionId) ID() string + func (id MongodbUserDefinitionId) Segments() []resourceids.Segment + func (id MongodbUserDefinitionId) String() string + type MongorbacsClient struct + Client *resourcemanager.Client + func NewMongorbacsClientWithBaseURI(sdkApi sdkEnv.Api) (*MongorbacsClient, error) + func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoRoleDefinition(ctx context.Context, id MongodbRoleDefinitionId, ...) (result MongoDBResourcesCreateUpdateMongoRoleDefinitionOperationResponse, ...) + func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoRoleDefinitionThenPoll(ctx context.Context, id MongodbRoleDefinitionId, ...) error + func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoUserDefinition(ctx context.Context, id MongodbUserDefinitionId, ...) (result MongoDBResourcesCreateUpdateMongoUserDefinitionOperationResponse, ...) + func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoUserDefinitionThenPoll(ctx context.Context, id MongodbUserDefinitionId, ...) error + func (c MongorbacsClient) MongoDBResourcesDeleteMongoRoleDefinition(ctx context.Context, id MongodbRoleDefinitionId) (result MongoDBResourcesDeleteMongoRoleDefinitionOperationResponse, err error) + func (c MongorbacsClient) MongoDBResourcesDeleteMongoRoleDefinitionThenPoll(ctx context.Context, id MongodbRoleDefinitionId) error + func (c MongorbacsClient) MongoDBResourcesDeleteMongoUserDefinition(ctx context.Context, id MongodbUserDefinitionId) (result MongoDBResourcesDeleteMongoUserDefinitionOperationResponse, err error) + func (c MongorbacsClient) MongoDBResourcesDeleteMongoUserDefinitionThenPoll(ctx context.Context, id MongodbUserDefinitionId) error + func (c MongorbacsClient) MongoDBResourcesGetMongoRoleDefinition(ctx context.Context, id MongodbRoleDefinitionId) (result MongoDBResourcesGetMongoRoleDefinitionOperationResponse, err error) + func (c MongorbacsClient) MongoDBResourcesGetMongoUserDefinition(ctx context.Context, id MongodbUserDefinitionId) (result MongoDBResourcesGetMongoUserDefinitionOperationResponse, err error) + func (c MongorbacsClient) MongoDBResourcesListMongoRoleDefinitions(ctx context.Context, id DatabaseAccountId) (result MongoDBResourcesListMongoRoleDefinitionsOperationResponse, err error) + func (c MongorbacsClient) MongoDBResourcesListMongoUserDefinitions(ctx context.Context, id DatabaseAccountId) (result MongoDBResourcesListMongoUserDefinitionsOperationResponse, err error) + type Privilege struct + Actions *[]string + Resource *PrivilegeResource + type PrivilegeResource struct + Collection *string + Db *string + type Role struct + Db *string + Role *string