Documentation ¶
Index ¶
- func PossibleValuesForClusterPrincipalRole() []string
- func PossibleValuesForPrincipalAssignmentType() []string
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForReason() []string
- func ValidatePrincipalAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityOperationResponse
- type CheckNameResult
- type ClusterPrincipalAssignment
- type ClusterPrincipalAssignmentCheckNameRequest
- type ClusterPrincipalAssignmentListResult
- type ClusterPrincipalAssignmentsClient
- func (c ClusterPrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, id commonids.KustoClusterId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c ClusterPrincipalAssignmentsClient) CreateOrUpdate(ctx context.Context, id PrincipalAssignmentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ClusterPrincipalAssignmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id PrincipalAssignmentId, ...) error
- func (c ClusterPrincipalAssignmentsClient) Delete(ctx context.Context, id PrincipalAssignmentId) (result DeleteOperationResponse, err error)
- func (c ClusterPrincipalAssignmentsClient) DeleteThenPoll(ctx context.Context, id PrincipalAssignmentId) error
- func (c ClusterPrincipalAssignmentsClient) Get(ctx context.Context, id PrincipalAssignmentId) (result GetOperationResponse, err error)
- func (c ClusterPrincipalAssignmentsClient) List(ctx context.Context, id commonids.KustoClusterId) (result ListOperationResponse, err error)
- type ClusterPrincipalProperties
- type ClusterPrincipalRole
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListOperationResponse
- type PrincipalAssignmentId
- type PrincipalAssignmentType
- type PrincipalType
- type ProvisioningState
- type Reason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClusterPrincipalRole ¶
func PossibleValuesForClusterPrincipalRole() []string
func PossibleValuesForPrincipalAssignmentType ¶
func PossibleValuesForPrincipalAssignmentType() []string
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForReason ¶
func PossibleValuesForReason() []string
func ValidatePrincipalAssignmentID ¶
func ValidatePrincipalAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidatePrincipalAssignmentID checks that 'input' can be parsed as a Principal Assignment ID
Types ¶
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameResult }
type CheckNameResult ¶
type ClusterPrincipalAssignment ¶
type ClusterPrincipalAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ClusterPrincipalProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ClusterPrincipalAssignmentCheckNameRequest ¶
type ClusterPrincipalAssignmentCheckNameRequest struct { Name string `json:"name"` Type PrincipalAssignmentType `json:"type"` }
type ClusterPrincipalAssignmentListResult ¶
type ClusterPrincipalAssignmentListResult struct {
Value *[]ClusterPrincipalAssignment `json:"value,omitempty"`
}
type ClusterPrincipalAssignmentsClient ¶
type ClusterPrincipalAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewClusterPrincipalAssignmentsClientWithBaseURI ¶
func NewClusterPrincipalAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*ClusterPrincipalAssignmentsClient, error)
func (ClusterPrincipalAssignmentsClient) CheckNameAvailability ¶
func (c ClusterPrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, id commonids.KustoClusterId, input ClusterPrincipalAssignmentCheckNameRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (ClusterPrincipalAssignmentsClient) CreateOrUpdate ¶
func (c ClusterPrincipalAssignmentsClient) CreateOrUpdate(ctx context.Context, id PrincipalAssignmentId, input ClusterPrincipalAssignment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ClusterPrincipalAssignmentsClient) CreateOrUpdateThenPoll ¶
func (c ClusterPrincipalAssignmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id PrincipalAssignmentId, input ClusterPrincipalAssignment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ClusterPrincipalAssignmentsClient) Delete ¶
func (c ClusterPrincipalAssignmentsClient) Delete(ctx context.Context, id PrincipalAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (ClusterPrincipalAssignmentsClient) DeleteThenPoll ¶
func (c ClusterPrincipalAssignmentsClient) DeleteThenPoll(ctx context.Context, id PrincipalAssignmentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ClusterPrincipalAssignmentsClient) Get ¶
func (c ClusterPrincipalAssignmentsClient) Get(ctx context.Context, id PrincipalAssignmentId) (result GetOperationResponse, err error)
Get ...
func (ClusterPrincipalAssignmentsClient) List ¶
func (c ClusterPrincipalAssignmentsClient) List(ctx context.Context, id commonids.KustoClusterId) (result ListOperationResponse, err error)
List ...
type ClusterPrincipalProperties ¶
type ClusterPrincipalProperties 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 ClusterPrincipalRole `json:"role"` TenantId *string `json:"tenantId,omitempty"` TenantName *string `json:"tenantName,omitempty"` }
type ClusterPrincipalRole ¶
type ClusterPrincipalRole string
const ( ClusterPrincipalRoleAllDatabasesAdmin ClusterPrincipalRole = "AllDatabasesAdmin" ClusterPrincipalRoleAllDatabasesViewer ClusterPrincipalRole = "AllDatabasesViewer" )
func (*ClusterPrincipalRole) UnmarshalJSON ¶
func (s *ClusterPrincipalRole) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ClusterPrincipalAssignment }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ClusterPrincipalAssignmentListResult }
type PrincipalAssignmentId ¶
type PrincipalAssignmentId struct { SubscriptionId string ResourceGroupName string ClusterName string PrincipalAssignmentName string }
PrincipalAssignmentId is a struct representing the Resource ID for a Principal Assignment
func NewPrincipalAssignmentID ¶
func NewPrincipalAssignmentID(subscriptionId string, resourceGroupName string, clusterName string, principalAssignmentName string) PrincipalAssignmentId
NewPrincipalAssignmentID returns a new PrincipalAssignmentId struct
func ParsePrincipalAssignmentID ¶
func ParsePrincipalAssignmentID(input string) (*PrincipalAssignmentId, error)
ParsePrincipalAssignmentID parses 'input' into a PrincipalAssignmentId
func ParsePrincipalAssignmentIDInsensitively ¶
func ParsePrincipalAssignmentIDInsensitively(input string) (*PrincipalAssignmentId, error)
ParsePrincipalAssignmentIDInsensitively parses 'input' case-insensitively into a PrincipalAssignmentId note: this method should only be used for API response data and not user input
func (*PrincipalAssignmentId) FromParseResult ¶
func (id *PrincipalAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (PrincipalAssignmentId) ID ¶
func (id PrincipalAssignmentId) ID() string
ID returns the formatted Principal Assignment ID
func (PrincipalAssignmentId) Segments ¶
func (id PrincipalAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Principal Assignment ID
func (PrincipalAssignmentId) String ¶
func (id PrincipalAssignmentId) String() string
String returns a human-readable description of this Principal Assignment ID
type PrincipalAssignmentType ¶
type PrincipalAssignmentType string
const (
PrincipalAssignmentTypeMicrosoftPointKustoClustersPrincipalAssignments PrincipalAssignmentType = "Microsoft.Kusto/clusters/principalAssignments"
)
func (*PrincipalAssignmentType) UnmarshalJSON ¶
func (s *PrincipalAssignmentType) UnmarshalJSON(bytes []byte) error
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeApp PrincipalType = "App" PrincipalTypeGroup PrincipalType = "Group" PrincipalTypeUser PrincipalType = "User" )
func (*PrincipalType) UnmarshalJSON ¶
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 ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_principalassignment.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_checknameresult.go
- model_clusterprincipalassignment.go
- model_clusterprincipalassignmentchecknamerequest.go
- model_clusterprincipalassignmentlistresult.go
- model_clusterprincipalproperties.go
- version.go