Documentation ¶
Index ¶
- func PossibleValuesForDatabasePrincipalAssignmentType() []string
- func PossibleValuesForDatabasePrincipalRole() []string
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForReason() []string
- func ValidateDatabasePrincipalAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityOperationResponse
- type CheckNameResult
- type CreateOrUpdateOperationResponse
- type DatabasePrincipalAssignment
- type DatabasePrincipalAssignmentCheckNameRequest
- type DatabasePrincipalAssignmentId
- func NewDatabasePrincipalAssignmentID(subscriptionId string, resourceGroupName string, clusterName string, ...) DatabasePrincipalAssignmentId
- func ParseDatabasePrincipalAssignmentID(input string) (*DatabasePrincipalAssignmentId, error)
- func ParseDatabasePrincipalAssignmentIDInsensitively(input string) (*DatabasePrincipalAssignmentId, error)
- type DatabasePrincipalAssignmentListResult
- type DatabasePrincipalAssignmentType
- type DatabasePrincipalAssignmentsClient
- func (c DatabasePrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, id commonids.KustoDatabaseId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c DatabasePrincipalAssignmentsClient) CreateOrUpdate(ctx context.Context, id DatabasePrincipalAssignmentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DatabasePrincipalAssignmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabasePrincipalAssignmentId, ...) error
- func (c DatabasePrincipalAssignmentsClient) Delete(ctx context.Context, id DatabasePrincipalAssignmentId) (result DeleteOperationResponse, err error)
- func (c DatabasePrincipalAssignmentsClient) DeleteThenPoll(ctx context.Context, id DatabasePrincipalAssignmentId) error
- func (c DatabasePrincipalAssignmentsClient) Get(ctx context.Context, id DatabasePrincipalAssignmentId) (result GetOperationResponse, err error)
- func (c DatabasePrincipalAssignmentsClient) List(ctx context.Context, id commonids.KustoDatabaseId) (result ListOperationResponse, err error)
- type DatabasePrincipalProperties
- type DatabasePrincipalRole
- type DeleteOperationResponse
- type GetOperationResponse
- type ListOperationResponse
- type PrincipalType
- type ProvisioningState
- type Reason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDatabasePrincipalAssignmentType ¶
func PossibleValuesForDatabasePrincipalAssignmentType() []string
func PossibleValuesForDatabasePrincipalRole ¶
func PossibleValuesForDatabasePrincipalRole() []string
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForReason ¶
func PossibleValuesForReason() []string
func ValidateDatabasePrincipalAssignmentID ¶
func ValidateDatabasePrincipalAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateDatabasePrincipalAssignmentID checks that 'input' can be parsed as a Database Principal Assignment ID
Types ¶
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameResult }
type CheckNameResult ¶
type DatabasePrincipalAssignment ¶
type DatabasePrincipalAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabasePrincipalProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabasePrincipalAssignmentCheckNameRequest ¶
type DatabasePrincipalAssignmentCheckNameRequest struct { Name string `json:"name"` Type DatabasePrincipalAssignmentType `json:"type"` }
type DatabasePrincipalAssignmentId ¶
type DatabasePrincipalAssignmentId struct { SubscriptionId string ResourceGroupName string ClusterName string DatabaseName string PrincipalAssignmentName string }
DatabasePrincipalAssignmentId is a struct representing the Resource ID for a Database Principal Assignment
func NewDatabasePrincipalAssignmentID ¶
func NewDatabasePrincipalAssignmentID(subscriptionId string, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string) DatabasePrincipalAssignmentId
NewDatabasePrincipalAssignmentID returns a new DatabasePrincipalAssignmentId struct
func ParseDatabasePrincipalAssignmentID ¶
func ParseDatabasePrincipalAssignmentID(input string) (*DatabasePrincipalAssignmentId, error)
ParseDatabasePrincipalAssignmentID parses 'input' into a DatabasePrincipalAssignmentId
func ParseDatabasePrincipalAssignmentIDInsensitively ¶
func ParseDatabasePrincipalAssignmentIDInsensitively(input string) (*DatabasePrincipalAssignmentId, error)
ParseDatabasePrincipalAssignmentIDInsensitively parses 'input' case-insensitively into a DatabasePrincipalAssignmentId note: this method should only be used for API response data and not user input
func (*DatabasePrincipalAssignmentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DatabasePrincipalAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (DatabasePrincipalAssignmentId) ID ¶
func (id DatabasePrincipalAssignmentId) ID() string
ID returns the formatted Database Principal Assignment ID
func (DatabasePrincipalAssignmentId) Segments ¶
func (id DatabasePrincipalAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database Principal Assignment ID
func (DatabasePrincipalAssignmentId) String ¶
func (id DatabasePrincipalAssignmentId) String() string
String returns a human-readable description of this Database Principal Assignment ID
type DatabasePrincipalAssignmentListResult ¶
type DatabasePrincipalAssignmentListResult struct {
Value *[]DatabasePrincipalAssignment `json:"value,omitempty"`
}
type DatabasePrincipalAssignmentType ¶
type DatabasePrincipalAssignmentType string
const (
DatabasePrincipalAssignmentTypeMicrosoftPointKustoClustersDatabasesPrincipalAssignments DatabasePrincipalAssignmentType = "Microsoft.Kusto/clusters/databases/principalAssignments"
)
func (*DatabasePrincipalAssignmentType) UnmarshalJSON ¶ added in v0.20240112.1095456
func (s *DatabasePrincipalAssignmentType) UnmarshalJSON(bytes []byte) error
type DatabasePrincipalAssignmentsClient ¶
type DatabasePrincipalAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewDatabasePrincipalAssignmentsClientWithBaseURI ¶
func NewDatabasePrincipalAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabasePrincipalAssignmentsClient, error)
func (DatabasePrincipalAssignmentsClient) CheckNameAvailability ¶
func (c DatabasePrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, id commonids.KustoDatabaseId, input DatabasePrincipalAssignmentCheckNameRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (DatabasePrincipalAssignmentsClient) CreateOrUpdate ¶
func (c DatabasePrincipalAssignmentsClient) CreateOrUpdate(ctx context.Context, id DatabasePrincipalAssignmentId, input DatabasePrincipalAssignment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatabasePrincipalAssignmentsClient) CreateOrUpdateThenPoll ¶
func (c DatabasePrincipalAssignmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabasePrincipalAssignmentId, input DatabasePrincipalAssignment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DatabasePrincipalAssignmentsClient) Delete ¶
func (c DatabasePrincipalAssignmentsClient) Delete(ctx context.Context, id DatabasePrincipalAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (DatabasePrincipalAssignmentsClient) DeleteThenPoll ¶
func (c DatabasePrincipalAssignmentsClient) DeleteThenPoll(ctx context.Context, id DatabasePrincipalAssignmentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DatabasePrincipalAssignmentsClient) Get ¶
func (c DatabasePrincipalAssignmentsClient) Get(ctx context.Context, id DatabasePrincipalAssignmentId) (result GetOperationResponse, err error)
Get ...
func (DatabasePrincipalAssignmentsClient) List ¶
func (c DatabasePrincipalAssignmentsClient) List(ctx context.Context, id commonids.KustoDatabaseId) (result ListOperationResponse, err error)
List ...
type DatabasePrincipalProperties ¶
type DatabasePrincipalProperties struct { AadObjectId *string `json:"aadObjectId,omitempty"` PrincipalId string `json:"principalId"` PrincipalName *string `json:"principalName,omitempty"` PrincipalType PrincipalType `json:"principalType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Role DatabasePrincipalRole `json:"role"` TenantId *string `json:"tenantId,omitempty"` TenantName *string `json:"tenantName,omitempty"` }
type DatabasePrincipalRole ¶
type DatabasePrincipalRole string
const ( DatabasePrincipalRoleAdmin DatabasePrincipalRole = "Admin" DatabasePrincipalRoleIngestor DatabasePrincipalRole = "Ingestor" DatabasePrincipalRoleMonitor DatabasePrincipalRole = "Monitor" DatabasePrincipalRoleUnrestrictedViewer DatabasePrincipalRole = "UnrestrictedViewer" DatabasePrincipalRoleUser DatabasePrincipalRole = "User" DatabasePrincipalRoleViewer DatabasePrincipalRole = "Viewer" )
func (*DatabasePrincipalRole) UnmarshalJSON ¶ added in v0.20240112.1095456
func (s *DatabasePrincipalRole) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabasePrincipalAssignment }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabasePrincipalAssignmentListResult }
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeApp PrincipalType = "App" PrincipalTypeGroup PrincipalType = "Group" PrincipalTypeUser PrincipalType = "User" )
func (*PrincipalType) UnmarshalJSON ¶ added in v0.20240112.1095456
func (s *PrincipalType) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20240112.1095456
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_databaseprincipalassignment.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_checknameresult.go
- model_databaseprincipalassignment.go
- model_databaseprincipalassignmentchecknamerequest.go
- model_databaseprincipalassignmentlistresult.go
- model_databaseprincipalproperties.go
- version.go