Documentation ¶
Index ¶
- func PossibleValuesForPrincipalType() []string
- func ValidateAdministratorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type ActiveDirectoryAdministrator
- type ActiveDirectoryAdministratorAdd
- type ActiveDirectoryAdministratorOperationPredicate
- type AdministratorId
- type AdministratorProperties
- type AdministratorPropertiesForAdd
- type AdministratorsClient
- func (c AdministratorsClient) Create(ctx context.Context, id AdministratorId, input ActiveDirectoryAdministratorAdd) (result CreateOperationResponse, err error)
- func (c AdministratorsClient) CreateThenPoll(ctx context.Context, id AdministratorId, input ActiveDirectoryAdministratorAdd) error
- func (c AdministratorsClient) Delete(ctx context.Context, id AdministratorId) (result DeleteOperationResponse, err error)
- func (c AdministratorsClient) DeleteThenPoll(ctx context.Context, id AdministratorId) error
- func (c AdministratorsClient) Get(ctx context.Context, id AdministratorId) (result GetOperationResponse, err error)
- func (c AdministratorsClient) ListByServer(ctx context.Context, id FlexibleServerId) (resp ListByServerOperationResponse, err error)
- func (c AdministratorsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
- func (c AdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (resp ListByServerCompleteResult, err error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type FlexibleServerId
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type PrincipalType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func ValidateAdministratorID ¶
ValidateAdministratorID checks that 'input' can be parsed as a Administrator ID
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
Types ¶
type ActiveDirectoryAdministrator ¶
type ActiveDirectoryAdministrator struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AdministratorProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ActiveDirectoryAdministratorAdd ¶
type ActiveDirectoryAdministratorAdd struct {
Properties *AdministratorPropertiesForAdd `json:"properties,omitempty"`
}
type ActiveDirectoryAdministratorOperationPredicate ¶
func (ActiveDirectoryAdministratorOperationPredicate) Matches ¶
func (p ActiveDirectoryAdministratorOperationPredicate) Matches(input ActiveDirectoryAdministrator) bool
type AdministratorId ¶
type AdministratorId struct { SubscriptionId string ResourceGroupName string ServerName string ObjectId string }
AdministratorId is a struct representing the Resource ID for a Administrator
func NewAdministratorID ¶
func NewAdministratorID(subscriptionId string, resourceGroupName string, serverName string, objectId string) AdministratorId
NewAdministratorID returns a new AdministratorId struct
func ParseAdministratorID ¶
func ParseAdministratorID(input string) (*AdministratorId, error)
ParseAdministratorID parses 'input' into a AdministratorId
func ParseAdministratorIDInsensitively ¶
func ParseAdministratorIDInsensitively(input string) (*AdministratorId, error)
ParseAdministratorIDInsensitively parses 'input' case-insensitively into a AdministratorId note: this method should only be used for API response data and not user input
func (AdministratorId) ID ¶
func (id AdministratorId) ID() string
ID returns the formatted Administrator ID
func (AdministratorId) Segments ¶
func (id AdministratorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Administrator ID
func (AdministratorId) String ¶
func (id AdministratorId) String() string
String returns a human-readable description of this Administrator ID
type AdministratorProperties ¶
type AdministratorProperties struct { ObjectId *string `json:"objectId,omitempty"` PrincipalName *string `json:"principalName,omitempty"` PrincipalType *PrincipalType `json:"principalType,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type AdministratorPropertiesForAdd ¶
type AdministratorPropertiesForAdd struct { PrincipalName *string `json:"principalName,omitempty"` PrincipalType *PrincipalType `json:"principalType,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type AdministratorsClient ¶
type AdministratorsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAdministratorsClientWithBaseURI ¶
func NewAdministratorsClientWithBaseURI(endpoint string) AdministratorsClient
func (AdministratorsClient) Create ¶
func (c AdministratorsClient) Create(ctx context.Context, id AdministratorId, input ActiveDirectoryAdministratorAdd) (result CreateOperationResponse, err error)
Create ...
func (AdministratorsClient) CreateThenPoll ¶
func (c AdministratorsClient) CreateThenPoll(ctx context.Context, id AdministratorId, input ActiveDirectoryAdministratorAdd) error
CreateThenPoll performs Create then polls until it's completed
func (AdministratorsClient) Delete ¶
func (c AdministratorsClient) Delete(ctx context.Context, id AdministratorId) (result DeleteOperationResponse, err error)
Delete ...
func (AdministratorsClient) DeleteThenPoll ¶
func (c AdministratorsClient) DeleteThenPoll(ctx context.Context, id AdministratorId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AdministratorsClient) Get ¶
func (c AdministratorsClient) Get(ctx context.Context, id AdministratorId) (result GetOperationResponse, err error)
Get ...
func (AdministratorsClient) ListByServer ¶
func (c AdministratorsClient) ListByServer(ctx context.Context, id FlexibleServerId) (resp ListByServerOperationResponse, err error)
ListByServer ...
func (AdministratorsClient) ListByServerComplete ¶
func (c AdministratorsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all of the results into a single object
func (AdministratorsClient) ListByServerCompleteMatchingPredicate ¶
func (c AdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate ActiveDirectoryAdministratorOperationPredicate) (resp ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type FlexibleServerId ¶
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, serverName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ActiveDirectoryAdministrator }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []ActiveDirectoryAdministrator
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response Model *[]ActiveDirectoryAdministrator // contains filtered or unexported fields }
func (ListByServerOperationResponse) HasMore ¶
func (r ListByServerOperationResponse) HasMore() bool
func (ListByServerOperationResponse) LoadMore ¶
func (r ListByServerOperationResponse) LoadMore(ctx context.Context) (resp ListByServerOperationResponse, err error)
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeGroup PrincipalType = "Group" PrincipalTypeServicePrincipal PrincipalType = "ServicePrincipal" PrincipalTypeUnknown PrincipalType = "Unknown" PrincipalTypeUser PrincipalType = "User" )
Source Files ¶
- client.go
- constants.go
- id_administrator.go
- id_flexibleserver.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyserver_autorest.go
- model_activedirectoryadministrator.go
- model_activedirectoryadministratoradd.go
- model_administratorproperties.go
- model_administratorpropertiesforadd.go
- predicates.go
- version.go