Documentation ¶
Index ¶
- 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
- type MongoDBResourcesCreateUpdateMongoRoleDefinitionOperationResponse
- type MongoDBResourcesCreateUpdateMongoUserDefinitionOperationResponse
- type MongoDBResourcesDeleteMongoRoleDefinitionOperationResponse
- type MongoDBResourcesDeleteMongoUserDefinitionOperationResponse
- type MongoDBResourcesGetMongoRoleDefinitionOperationResponse
- type MongoDBResourcesGetMongoUserDefinitionOperationResponse
- type MongoDBResourcesListMongoRoleDefinitionsOperationResponse
- type MongoDBResourcesListMongoUserDefinitionsOperationResponse
- type MongoRoleDefinitionCreateUpdateParameters
- type MongoRoleDefinitionGetResults
- type MongoRoleDefinitionListResult
- type MongoRoleDefinitionResource
- type MongoRoleDefinitionType
- type MongoUserDefinitionCreateUpdateParameters
- type MongoUserDefinitionGetResults
- type MongoUserDefinitionListResult
- type MongoUserDefinitionResource
- type MongodbRoleDefinitionId
- func NewMongodbRoleDefinitionID(subscriptionId string, resourceGroupName string, databaseAccountName string, ...) MongodbRoleDefinitionId
- func ParseMongodbRoleDefinitionID(input string) (*MongodbRoleDefinitionId, error)
- func ParseMongodbRoleDefinitionIDInsensitively(input string) (*MongodbRoleDefinitionId, error)
- type MongodbUserDefinitionId
- func NewMongodbUserDefinitionID(subscriptionId string, resourceGroupName string, databaseAccountName string, ...) MongodbUserDefinitionId
- func ParseMongodbUserDefinitionID(input string) (*MongodbUserDefinitionId, error)
- func ParseMongodbUserDefinitionIDInsensitively(input string) (*MongodbUserDefinitionId, error)
- type MongorbacsClient
- 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
- type PrivilegeResource
- type Role
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMongoRoleDefinitionType ¶
func PossibleValuesForMongoRoleDefinitionType() []string
func ValidateDatabaseAccountID ¶
ValidateDatabaseAccountID checks that 'input' can be parsed as a Database Account ID
func ValidateMongodbRoleDefinitionID ¶
func ValidateMongodbRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateMongodbRoleDefinitionID checks that 'input' can be parsed as a Mongodb Role Definition ID
func ValidateMongodbUserDefinitionID ¶
func ValidateMongodbUserDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateMongodbUserDefinitionID checks that 'input' can be parsed as a Mongodb User Definition ID
Types ¶
type DatabaseAccountId ¶
type DatabaseAccountId struct { SubscriptionId string ResourceGroupName string DatabaseAccountName string }
DatabaseAccountId is a struct representing the Resource ID for a Database Account
func NewDatabaseAccountID ¶
func NewDatabaseAccountID(subscriptionId string, resourceGroupName string, databaseAccountName string) DatabaseAccountId
NewDatabaseAccountID returns a new DatabaseAccountId struct
func ParseDatabaseAccountID ¶
func ParseDatabaseAccountID(input string) (*DatabaseAccountId, error)
ParseDatabaseAccountID parses 'input' into a DatabaseAccountId
func ParseDatabaseAccountIDInsensitively ¶
func ParseDatabaseAccountIDInsensitively(input string) (*DatabaseAccountId, error)
ParseDatabaseAccountIDInsensitively parses 'input' case-insensitively into a DatabaseAccountId note: this method should only be used for API response data and not user input
func (DatabaseAccountId) ID ¶
func (id DatabaseAccountId) ID() string
ID returns the formatted Database Account ID
func (DatabaseAccountId) Segments ¶
func (id DatabaseAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database Account ID
func (DatabaseAccountId) String ¶
func (id DatabaseAccountId) String() string
String returns a human-readable description of this Database Account ID
type MongoDBResourcesCreateUpdateMongoRoleDefinitionOperationResponse ¶
type MongoDBResourcesCreateUpdateMongoRoleDefinitionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type MongoDBResourcesCreateUpdateMongoUserDefinitionOperationResponse ¶
type MongoDBResourcesCreateUpdateMongoUserDefinitionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type MongoDBResourcesDeleteMongoRoleDefinitionOperationResponse ¶
type MongoDBResourcesDeleteMongoRoleDefinitionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type MongoDBResourcesDeleteMongoUserDefinitionOperationResponse ¶
type MongoDBResourcesDeleteMongoUserDefinitionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type MongoDBResourcesGetMongoRoleDefinitionOperationResponse ¶
type MongoDBResourcesGetMongoRoleDefinitionOperationResponse struct { HttpResponse *http.Response Model *MongoRoleDefinitionGetResults }
type MongoDBResourcesGetMongoUserDefinitionOperationResponse ¶
type MongoDBResourcesGetMongoUserDefinitionOperationResponse struct { HttpResponse *http.Response Model *MongoUserDefinitionGetResults }
type MongoDBResourcesListMongoRoleDefinitionsOperationResponse ¶
type MongoDBResourcesListMongoRoleDefinitionsOperationResponse struct { HttpResponse *http.Response Model *MongoRoleDefinitionListResult }
type MongoDBResourcesListMongoUserDefinitionsOperationResponse ¶
type MongoDBResourcesListMongoUserDefinitionsOperationResponse struct { HttpResponse *http.Response Model *MongoUserDefinitionListResult }
type MongoRoleDefinitionCreateUpdateParameters ¶
type MongoRoleDefinitionCreateUpdateParameters struct {
Properties *MongoRoleDefinitionResource `json:"properties,omitempty"`
}
type MongoRoleDefinitionGetResults ¶
type MongoRoleDefinitionGetResults struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MongoRoleDefinitionResource `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type MongoRoleDefinitionListResult ¶
type MongoRoleDefinitionListResult struct {
Value *[]MongoRoleDefinitionGetResults `json:"value,omitempty"`
}
type MongoRoleDefinitionResource ¶
type MongoRoleDefinitionResource struct { DatabaseName *string `json:"databaseName,omitempty"` Privileges *[]Privilege `json:"privileges,omitempty"` RoleName *string `json:"roleName,omitempty"` Roles *[]Role `json:"roles,omitempty"` Type *MongoRoleDefinitionType `json:"type,omitempty"` }
type MongoRoleDefinitionType ¶
type MongoRoleDefinitionType string
const ( MongoRoleDefinitionTypeBuiltInRole MongoRoleDefinitionType = "BuiltInRole" MongoRoleDefinitionTypeCustomRole MongoRoleDefinitionType = "CustomRole" )
type MongoUserDefinitionCreateUpdateParameters ¶
type MongoUserDefinitionCreateUpdateParameters struct {
Properties *MongoUserDefinitionResource `json:"properties,omitempty"`
}
type MongoUserDefinitionGetResults ¶
type MongoUserDefinitionGetResults struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MongoUserDefinitionResource `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type MongoUserDefinitionListResult ¶
type MongoUserDefinitionListResult struct {
Value *[]MongoUserDefinitionGetResults `json:"value,omitempty"`
}
type MongoUserDefinitionResource ¶
type MongoUserDefinitionResource struct { CustomData *string `json:"customData,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` Mechanisms *string `json:"mechanisms,omitempty"` Password *string `json:"password,omitempty"` Roles *[]Role `json:"roles,omitempty"` UserName *string `json:"userName,omitempty"` }
type MongodbRoleDefinitionId ¶
type MongodbRoleDefinitionId struct { SubscriptionId string ResourceGroupName string DatabaseAccountName string MongoRoleDefinitionId string }
MongodbRoleDefinitionId is a struct representing the Resource ID for a Mongodb Role Definition
func NewMongodbRoleDefinitionID ¶
func NewMongodbRoleDefinitionID(subscriptionId string, resourceGroupName string, databaseAccountName string, mongoRoleDefinitionId string) MongodbRoleDefinitionId
NewMongodbRoleDefinitionID returns a new MongodbRoleDefinitionId struct
func ParseMongodbRoleDefinitionID ¶
func ParseMongodbRoleDefinitionID(input string) (*MongodbRoleDefinitionId, error)
ParseMongodbRoleDefinitionID parses 'input' into a MongodbRoleDefinitionId
func ParseMongodbRoleDefinitionIDInsensitively ¶
func ParseMongodbRoleDefinitionIDInsensitively(input string) (*MongodbRoleDefinitionId, error)
ParseMongodbRoleDefinitionIDInsensitively parses 'input' case-insensitively into a MongodbRoleDefinitionId note: this method should only be used for API response data and not user input
func (MongodbRoleDefinitionId) ID ¶
func (id MongodbRoleDefinitionId) ID() string
ID returns the formatted Mongodb Role Definition ID
func (MongodbRoleDefinitionId) Segments ¶
func (id MongodbRoleDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Mongodb Role Definition ID
func (MongodbRoleDefinitionId) String ¶
func (id MongodbRoleDefinitionId) String() string
String returns a human-readable description of this Mongodb Role Definition ID
type MongodbUserDefinitionId ¶
type MongodbUserDefinitionId struct { SubscriptionId string ResourceGroupName string DatabaseAccountName string MongoUserDefinitionId string }
MongodbUserDefinitionId is a struct representing the Resource ID for a Mongodb User Definition
func NewMongodbUserDefinitionID ¶
func NewMongodbUserDefinitionID(subscriptionId string, resourceGroupName string, databaseAccountName string, mongoUserDefinitionId string) MongodbUserDefinitionId
NewMongodbUserDefinitionID returns a new MongodbUserDefinitionId struct
func ParseMongodbUserDefinitionID ¶
func ParseMongodbUserDefinitionID(input string) (*MongodbUserDefinitionId, error)
ParseMongodbUserDefinitionID parses 'input' into a MongodbUserDefinitionId
func ParseMongodbUserDefinitionIDInsensitively ¶
func ParseMongodbUserDefinitionIDInsensitively(input string) (*MongodbUserDefinitionId, error)
ParseMongodbUserDefinitionIDInsensitively parses 'input' case-insensitively into a MongodbUserDefinitionId note: this method should only be used for API response data and not user input
func (MongodbUserDefinitionId) ID ¶
func (id MongodbUserDefinitionId) ID() string
ID returns the formatted Mongodb User Definition ID
func (MongodbUserDefinitionId) Segments ¶
func (id MongodbUserDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Mongodb User Definition ID
func (MongodbUserDefinitionId) String ¶
func (id MongodbUserDefinitionId) String() string
String returns a human-readable description of this Mongodb User Definition ID
type MongorbacsClient ¶
func NewMongorbacsClientWithBaseURI ¶
func NewMongorbacsClientWithBaseURI(endpoint string) MongorbacsClient
func (MongorbacsClient) MongoDBResourcesCreateUpdateMongoRoleDefinition ¶
func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoRoleDefinition(ctx context.Context, id MongodbRoleDefinitionId, input MongoRoleDefinitionCreateUpdateParameters) (result MongoDBResourcesCreateUpdateMongoRoleDefinitionOperationResponse, err error)
MongoDBResourcesCreateUpdateMongoRoleDefinition ...
func (MongorbacsClient) MongoDBResourcesCreateUpdateMongoRoleDefinitionThenPoll ¶
func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoRoleDefinitionThenPoll(ctx context.Context, id MongodbRoleDefinitionId, input MongoRoleDefinitionCreateUpdateParameters) error
MongoDBResourcesCreateUpdateMongoRoleDefinitionThenPoll performs MongoDBResourcesCreateUpdateMongoRoleDefinition then polls until it's completed
func (MongorbacsClient) MongoDBResourcesCreateUpdateMongoUserDefinition ¶
func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoUserDefinition(ctx context.Context, id MongodbUserDefinitionId, input MongoUserDefinitionCreateUpdateParameters) (result MongoDBResourcesCreateUpdateMongoUserDefinitionOperationResponse, err error)
MongoDBResourcesCreateUpdateMongoUserDefinition ...
func (MongorbacsClient) MongoDBResourcesCreateUpdateMongoUserDefinitionThenPoll ¶
func (c MongorbacsClient) MongoDBResourcesCreateUpdateMongoUserDefinitionThenPoll(ctx context.Context, id MongodbUserDefinitionId, input MongoUserDefinitionCreateUpdateParameters) error
MongoDBResourcesCreateUpdateMongoUserDefinitionThenPoll performs MongoDBResourcesCreateUpdateMongoUserDefinition then polls until it's completed
func (MongorbacsClient) MongoDBResourcesDeleteMongoRoleDefinition ¶
func (c MongorbacsClient) MongoDBResourcesDeleteMongoRoleDefinition(ctx context.Context, id MongodbRoleDefinitionId) (result MongoDBResourcesDeleteMongoRoleDefinitionOperationResponse, err error)
MongoDBResourcesDeleteMongoRoleDefinition ...
func (MongorbacsClient) MongoDBResourcesDeleteMongoRoleDefinitionThenPoll ¶
func (c MongorbacsClient) MongoDBResourcesDeleteMongoRoleDefinitionThenPoll(ctx context.Context, id MongodbRoleDefinitionId) error
MongoDBResourcesDeleteMongoRoleDefinitionThenPoll performs MongoDBResourcesDeleteMongoRoleDefinition then polls until it's completed
func (MongorbacsClient) MongoDBResourcesDeleteMongoUserDefinition ¶
func (c MongorbacsClient) MongoDBResourcesDeleteMongoUserDefinition(ctx context.Context, id MongodbUserDefinitionId) (result MongoDBResourcesDeleteMongoUserDefinitionOperationResponse, err error)
MongoDBResourcesDeleteMongoUserDefinition ...
func (MongorbacsClient) MongoDBResourcesDeleteMongoUserDefinitionThenPoll ¶
func (c MongorbacsClient) MongoDBResourcesDeleteMongoUserDefinitionThenPoll(ctx context.Context, id MongodbUserDefinitionId) error
MongoDBResourcesDeleteMongoUserDefinitionThenPoll performs MongoDBResourcesDeleteMongoUserDefinition then polls until it's completed
func (MongorbacsClient) MongoDBResourcesGetMongoRoleDefinition ¶
func (c MongorbacsClient) MongoDBResourcesGetMongoRoleDefinition(ctx context.Context, id MongodbRoleDefinitionId) (result MongoDBResourcesGetMongoRoleDefinitionOperationResponse, err error)
MongoDBResourcesGetMongoRoleDefinition ...
func (MongorbacsClient) MongoDBResourcesGetMongoUserDefinition ¶
func (c MongorbacsClient) MongoDBResourcesGetMongoUserDefinition(ctx context.Context, id MongodbUserDefinitionId) (result MongoDBResourcesGetMongoUserDefinitionOperationResponse, err error)
MongoDBResourcesGetMongoUserDefinition ...
func (MongorbacsClient) MongoDBResourcesListMongoRoleDefinitions ¶
func (c MongorbacsClient) MongoDBResourcesListMongoRoleDefinitions(ctx context.Context, id DatabaseAccountId) (result MongoDBResourcesListMongoRoleDefinitionsOperationResponse, err error)
MongoDBResourcesListMongoRoleDefinitions ...
func (MongorbacsClient) MongoDBResourcesListMongoUserDefinitions ¶
func (c MongorbacsClient) MongoDBResourcesListMongoUserDefinitions(ctx context.Context, id DatabaseAccountId) (result MongoDBResourcesListMongoUserDefinitionsOperationResponse, err error)
MongoDBResourcesListMongoUserDefinitions ...
type Privilege ¶
type Privilege struct { Actions *[]string `json:"actions,omitempty"` Resource *PrivilegeResource `json:"resource,omitempty"` }
type PrivilegeResource ¶
Source Files ¶
- client.go
- constants.go
- id_databaseaccount.go
- id_mongodbroledefinition.go
- id_mongodbuserdefinition.go
- method_mongodbresourcescreateupdatemongoroledefinition_autorest.go
- method_mongodbresourcescreateupdatemongouserdefinition_autorest.go
- method_mongodbresourcesdeletemongoroledefinition_autorest.go
- method_mongodbresourcesdeletemongouserdefinition_autorest.go
- method_mongodbresourcesgetmongoroledefinition_autorest.go
- method_mongodbresourcesgetmongouserdefinition_autorest.go
- method_mongodbresourceslistmongoroledefinitions_autorest.go
- method_mongodbresourceslistmongouserdefinitions_autorest.go
- model_mongoroledefinitioncreateupdateparameters.go
- model_mongoroledefinitiongetresults.go
- model_mongoroledefinitionlistresult.go
- model_mongoroledefinitionresource.go
- model_mongouserdefinitioncreateupdateparameters.go
- model_mongouserdefinitiongetresults.go
- model_mongouserdefinitionlistresult.go
- model_mongouserdefinitionresource.go
- model_privilege.go
- model_privilegeresource.go
- model_role.go
- version.go