Documentation ¶
Index ¶
- func PossibleValuesForRoleDefinitionType() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDatabaseAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSqlRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type DatabaseAccountId
- type Permission
- type RbacsClient
- func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleAssignment(ctx context.Context, id AccountId, ...) (result SqlResourcesCreateUpdateSqlRoleAssignmentOperationResponse, err error)
- func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleAssignmentThenPoll(ctx context.Context, id AccountId, ...) error
- func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleDefinition(ctx context.Context, id SqlRoleDefinitionId, ...) (result SqlResourcesCreateUpdateSqlRoleDefinitionOperationResponse, err error)
- func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleDefinitionThenPoll(ctx context.Context, id SqlRoleDefinitionId, ...) error
- func (c RbacsClient) SqlResourcesDeleteSqlRoleAssignment(ctx context.Context, id AccountId) (result SqlResourcesDeleteSqlRoleAssignmentOperationResponse, err error)
- func (c RbacsClient) SqlResourcesDeleteSqlRoleAssignmentThenPoll(ctx context.Context, id AccountId) error
- func (c RbacsClient) SqlResourcesDeleteSqlRoleDefinition(ctx context.Context, id SqlRoleDefinitionId) (result SqlResourcesDeleteSqlRoleDefinitionOperationResponse, err error)
- func (c RbacsClient) SqlResourcesDeleteSqlRoleDefinitionThenPoll(ctx context.Context, id SqlRoleDefinitionId) error
- func (c RbacsClient) SqlResourcesGetSqlRoleAssignment(ctx context.Context, id AccountId) (result SqlResourcesGetSqlRoleAssignmentOperationResponse, err error)
- func (c RbacsClient) SqlResourcesGetSqlRoleDefinition(ctx context.Context, id SqlRoleDefinitionId) (result SqlResourcesGetSqlRoleDefinitionOperationResponse, err error)
- func (c RbacsClient) SqlResourcesListSqlRoleAssignments(ctx context.Context, id DatabaseAccountId) (result SqlResourcesListSqlRoleAssignmentsOperationResponse, err error)
- func (c RbacsClient) SqlResourcesListSqlRoleDefinitions(ctx context.Context, id DatabaseAccountId) (result SqlResourcesListSqlRoleDefinitionsOperationResponse, err error)
- type RoleDefinitionType
- type SqlResourcesCreateUpdateSqlRoleAssignmentOperationResponse
- type SqlResourcesCreateUpdateSqlRoleDefinitionOperationResponse
- type SqlResourcesDeleteSqlRoleAssignmentOperationResponse
- type SqlResourcesDeleteSqlRoleDefinitionOperationResponse
- type SqlResourcesGetSqlRoleAssignmentOperationResponse
- type SqlResourcesGetSqlRoleDefinitionOperationResponse
- type SqlResourcesListSqlRoleAssignmentsOperationResponse
- type SqlResourcesListSqlRoleDefinitionsOperationResponse
- type SqlRoleAssignmentCreateUpdateParameters
- type SqlRoleAssignmentGetResults
- type SqlRoleAssignmentListResult
- type SqlRoleAssignmentResource
- type SqlRoleDefinitionCreateUpdateParameters
- type SqlRoleDefinitionGetResults
- type SqlRoleDefinitionId
- type SqlRoleDefinitionListResult
- type SqlRoleDefinitionResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRoleDefinitionType ¶
func PossibleValuesForRoleDefinitionType() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateDatabaseAccountID ¶
ValidateDatabaseAccountID checks that 'input' can be parsed as a Database Account ID
func ValidateSqlRoleDefinitionID ¶
ValidateSqlRoleDefinitionID checks that 'input' can be parsed as a Sql Role Definition ID
Types ¶
type AccountId ¶
type AccountId struct { SubscriptionId string ResourceGroupName string DatabaseAccountName string RoleAssignmentId string }
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
func NewAccountID(subscriptionId string, resourceGroupName string, databaseAccountName string, roleAssignmentId string) AccountId
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (*AccountId) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
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) FromParseResult ¶
func (id *DatabaseAccountId) FromParseResult(input resourceids.ParseResult) error
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 Permission ¶
type RbacsClient ¶
func NewRbacsClientWithBaseURI ¶
func NewRbacsClientWithBaseURI(endpoint string) RbacsClient
func (RbacsClient) SqlResourcesCreateUpdateSqlRoleAssignment ¶
func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleAssignment(ctx context.Context, id AccountId, input SqlRoleAssignmentCreateUpdateParameters) (result SqlResourcesCreateUpdateSqlRoleAssignmentOperationResponse, err error)
SqlResourcesCreateUpdateSqlRoleAssignment ...
func (RbacsClient) SqlResourcesCreateUpdateSqlRoleAssignmentThenPoll ¶
func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleAssignmentThenPoll(ctx context.Context, id AccountId, input SqlRoleAssignmentCreateUpdateParameters) error
SqlResourcesCreateUpdateSqlRoleAssignmentThenPoll performs SqlResourcesCreateUpdateSqlRoleAssignment then polls until it's completed
func (RbacsClient) SqlResourcesCreateUpdateSqlRoleDefinition ¶
func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleDefinition(ctx context.Context, id SqlRoleDefinitionId, input SqlRoleDefinitionCreateUpdateParameters) (result SqlResourcesCreateUpdateSqlRoleDefinitionOperationResponse, err error)
SqlResourcesCreateUpdateSqlRoleDefinition ...
func (RbacsClient) SqlResourcesCreateUpdateSqlRoleDefinitionThenPoll ¶
func (c RbacsClient) SqlResourcesCreateUpdateSqlRoleDefinitionThenPoll(ctx context.Context, id SqlRoleDefinitionId, input SqlRoleDefinitionCreateUpdateParameters) error
SqlResourcesCreateUpdateSqlRoleDefinitionThenPoll performs SqlResourcesCreateUpdateSqlRoleDefinition then polls until it's completed
func (RbacsClient) SqlResourcesDeleteSqlRoleAssignment ¶
func (c RbacsClient) SqlResourcesDeleteSqlRoleAssignment(ctx context.Context, id AccountId) (result SqlResourcesDeleteSqlRoleAssignmentOperationResponse, err error)
SqlResourcesDeleteSqlRoleAssignment ...
func (RbacsClient) SqlResourcesDeleteSqlRoleAssignmentThenPoll ¶
func (c RbacsClient) SqlResourcesDeleteSqlRoleAssignmentThenPoll(ctx context.Context, id AccountId) error
SqlResourcesDeleteSqlRoleAssignmentThenPoll performs SqlResourcesDeleteSqlRoleAssignment then polls until it's completed
func (RbacsClient) SqlResourcesDeleteSqlRoleDefinition ¶
func (c RbacsClient) SqlResourcesDeleteSqlRoleDefinition(ctx context.Context, id SqlRoleDefinitionId) (result SqlResourcesDeleteSqlRoleDefinitionOperationResponse, err error)
SqlResourcesDeleteSqlRoleDefinition ...
func (RbacsClient) SqlResourcesDeleteSqlRoleDefinitionThenPoll ¶
func (c RbacsClient) SqlResourcesDeleteSqlRoleDefinitionThenPoll(ctx context.Context, id SqlRoleDefinitionId) error
SqlResourcesDeleteSqlRoleDefinitionThenPoll performs SqlResourcesDeleteSqlRoleDefinition then polls until it's completed
func (RbacsClient) SqlResourcesGetSqlRoleAssignment ¶
func (c RbacsClient) SqlResourcesGetSqlRoleAssignment(ctx context.Context, id AccountId) (result SqlResourcesGetSqlRoleAssignmentOperationResponse, err error)
SqlResourcesGetSqlRoleAssignment ...
func (RbacsClient) SqlResourcesGetSqlRoleDefinition ¶
func (c RbacsClient) SqlResourcesGetSqlRoleDefinition(ctx context.Context, id SqlRoleDefinitionId) (result SqlResourcesGetSqlRoleDefinitionOperationResponse, err error)
SqlResourcesGetSqlRoleDefinition ...
func (RbacsClient) SqlResourcesListSqlRoleAssignments ¶
func (c RbacsClient) SqlResourcesListSqlRoleAssignments(ctx context.Context, id DatabaseAccountId) (result SqlResourcesListSqlRoleAssignmentsOperationResponse, err error)
SqlResourcesListSqlRoleAssignments ...
func (RbacsClient) SqlResourcesListSqlRoleDefinitions ¶
func (c RbacsClient) SqlResourcesListSqlRoleDefinitions(ctx context.Context, id DatabaseAccountId) (result SqlResourcesListSqlRoleDefinitionsOperationResponse, err error)
SqlResourcesListSqlRoleDefinitions ...
type RoleDefinitionType ¶
type RoleDefinitionType string
const ( RoleDefinitionTypeBuiltInRole RoleDefinitionType = "BuiltInRole" RoleDefinitionTypeCustomRole RoleDefinitionType = "CustomRole" )
type SqlResourcesCreateUpdateSqlRoleAssignmentOperationResponse ¶
type SqlResourcesCreateUpdateSqlRoleAssignmentOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *SqlRoleAssignmentGetResults }
type SqlResourcesCreateUpdateSqlRoleDefinitionOperationResponse ¶
type SqlResourcesCreateUpdateSqlRoleDefinitionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *SqlRoleDefinitionGetResults }
type SqlResourcesDeleteSqlRoleAssignmentOperationResponse ¶
type SqlResourcesDeleteSqlRoleAssignmentOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SqlResourcesDeleteSqlRoleDefinitionOperationResponse ¶
type SqlResourcesDeleteSqlRoleDefinitionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SqlResourcesGetSqlRoleAssignmentOperationResponse ¶
type SqlResourcesGetSqlRoleAssignmentOperationResponse struct { HttpResponse *http.Response Model *SqlRoleAssignmentGetResults }
type SqlResourcesGetSqlRoleDefinitionOperationResponse ¶
type SqlResourcesGetSqlRoleDefinitionOperationResponse struct { HttpResponse *http.Response Model *SqlRoleDefinitionGetResults }
type SqlResourcesListSqlRoleAssignmentsOperationResponse ¶
type SqlResourcesListSqlRoleAssignmentsOperationResponse struct { HttpResponse *http.Response Model *SqlRoleAssignmentListResult }
type SqlResourcesListSqlRoleDefinitionsOperationResponse ¶
type SqlResourcesListSqlRoleDefinitionsOperationResponse struct { HttpResponse *http.Response Model *SqlRoleDefinitionListResult }
type SqlRoleAssignmentCreateUpdateParameters ¶
type SqlRoleAssignmentCreateUpdateParameters struct {
Properties *SqlRoleAssignmentResource `json:"properties,omitempty"`
}
type SqlRoleAssignmentGetResults ¶
type SqlRoleAssignmentGetResults struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlRoleAssignmentResource `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SqlRoleAssignmentListResult ¶
type SqlRoleAssignmentListResult struct {
Value *[]SqlRoleAssignmentGetResults `json:"value,omitempty"`
}
type SqlRoleDefinitionCreateUpdateParameters ¶
type SqlRoleDefinitionCreateUpdateParameters struct {
Properties *SqlRoleDefinitionResource `json:"properties,omitempty"`
}
type SqlRoleDefinitionGetResults ¶
type SqlRoleDefinitionGetResults struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlRoleDefinitionResource `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SqlRoleDefinitionId ¶
type SqlRoleDefinitionId struct { SubscriptionId string ResourceGroupName string DatabaseAccountName string RoleDefinitionId string }
SqlRoleDefinitionId is a struct representing the Resource ID for a Sql Role Definition
func NewSqlRoleDefinitionID ¶
func NewSqlRoleDefinitionID(subscriptionId string, resourceGroupName string, databaseAccountName string, roleDefinitionId string) SqlRoleDefinitionId
NewSqlRoleDefinitionID returns a new SqlRoleDefinitionId struct
func ParseSqlRoleDefinitionID ¶
func ParseSqlRoleDefinitionID(input string) (*SqlRoleDefinitionId, error)
ParseSqlRoleDefinitionID parses 'input' into a SqlRoleDefinitionId
func ParseSqlRoleDefinitionIDInsensitively ¶
func ParseSqlRoleDefinitionIDInsensitively(input string) (*SqlRoleDefinitionId, error)
ParseSqlRoleDefinitionIDInsensitively parses 'input' case-insensitively into a SqlRoleDefinitionId note: this method should only be used for API response data and not user input
func (*SqlRoleDefinitionId) FromParseResult ¶
func (id *SqlRoleDefinitionId) FromParseResult(input resourceids.ParseResult) error
func (SqlRoleDefinitionId) ID ¶
func (id SqlRoleDefinitionId) ID() string
ID returns the formatted Sql Role Definition ID
func (SqlRoleDefinitionId) Segments ¶
func (id SqlRoleDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Role Definition ID
func (SqlRoleDefinitionId) String ¶
func (id SqlRoleDefinitionId) String() string
String returns a human-readable description of this Sql Role Definition ID
type SqlRoleDefinitionListResult ¶
type SqlRoleDefinitionListResult struct {
Value *[]SqlRoleDefinitionGetResults `json:"value,omitempty"`
}
type SqlRoleDefinitionResource ¶
type SqlRoleDefinitionResource struct { AssignableScopes *[]string `json:"assignableScopes,omitempty"` Permissions *[]Permission `json:"permissions,omitempty"` RoleName *string `json:"roleName,omitempty"` Type *RoleDefinitionType `json:"type,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_databaseaccount.go
- id_sqlroledefinition.go
- method_sqlresourcescreateupdatesqlroleassignment_autorest.go
- method_sqlresourcescreateupdatesqlroledefinition_autorest.go
- method_sqlresourcesdeletesqlroleassignment_autorest.go
- method_sqlresourcesdeletesqlroledefinition_autorest.go
- method_sqlresourcesgetsqlroleassignment_autorest.go
- method_sqlresourcesgetsqlroledefinition_autorest.go
- method_sqlresourceslistsqlroleassignments_autorest.go
- method_sqlresourceslistsqlroledefinitions_autorest.go
- model_permission.go
- model_sqlroleassignmentcreateupdateparameters.go
- model_sqlroleassignmentgetresults.go
- model_sqlroleassignmentlistresult.go
- model_sqlroleassignmentresource.go
- model_sqlroledefinitioncreateupdateparameters.go
- model_sqlroledefinitiongetresults.go
- model_sqlroledefinitionlistresult.go
- model_sqlroledefinitionresource.go
- version.go