Documentation ¶
Index ¶
- func PossibleValuesForClusterPrincipalRole() []string
- func PossibleValuesForPrincipalAssignmentType() []string
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForReason() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrincipalAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityOperationResponse
- type CheckNameResult
- type ClusterId
- type ClusterPrincipalAssignment
- type ClusterPrincipalAssignmentCheckNameRequest
- type ClusterPrincipalAssignmentListResult
- type ClusterPrincipalAssignmentsClient
- func (c ClusterPrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, id ClusterId, ...) (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 ClusterId) (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 ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
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 Model *CheckNameResult }
type CheckNameResult ¶
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
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 autorest.Client // contains filtered or unexported fields }
func NewClusterPrincipalAssignmentsClientWithBaseURI ¶
func NewClusterPrincipalAssignmentsClientWithBaseURI(endpoint string) ClusterPrincipalAssignmentsClient
func (ClusterPrincipalAssignmentsClient) CheckNameAvailability ¶
func (c ClusterPrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, id ClusterId, 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 ClusterId) (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" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ClusterPrincipalAssignment }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response 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) 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"
)
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeApp PrincipalType = "App" PrincipalTypeGroup PrincipalType = "Group" PrincipalTypeUser PrincipalType = "User" )
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" )
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- id_principalassignment.go
- method_checknameavailability_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_checknameresult.go
- model_clusterprincipalassignment.go
- model_clusterprincipalassignmentchecknamerequest.go
- model_clusterprincipalassignmentlistresult.go
- model_clusterprincipalproperties.go
- version.go