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) (result ListByServerOperationResponse, err error)
- func (c AdministratorsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
- func (c AdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (result ListByServerCompleteResult, err error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type FlexibleServerId
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerCustomPager
- 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 FlexibleServerName string ObjectId string }
AdministratorId is a struct representing the Resource ID for a Administrator
func NewAdministratorID ¶
func NewAdministratorID(subscriptionId string, resourceGroupName string, flexibleServerName 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) FromParseResult ¶
func (id *AdministratorId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewAdministratorsClientWithBaseURI ¶
func NewAdministratorsClientWithBaseURI(sdkApi sdkEnv.Api) (*AdministratorsClient, error)
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) (result ListByServerOperationResponse, err error)
ListByServer ...
func (AdministratorsClient) ListByServerComplete ¶
func (c AdministratorsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (AdministratorsClient) ListByServerCompleteMatchingPredicate ¶
func (c AdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate ActiveDirectoryAdministratorOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type FlexibleServerId ¶
type FlexibleServerId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string }
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName 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) FromParseResult ¶
func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *ActiveDirectoryAdministrator }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []ActiveDirectoryAdministrator }
type ListByServerCustomPager ¶
func (*ListByServerCustomPager) NextPageLink ¶
func (p *ListByServerCustomPager) NextPageLink() *odata.Link
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ActiveDirectoryAdministrator }
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeGroup PrincipalType = "Group" PrincipalTypeServicePrincipal PrincipalType = "ServicePrincipal" PrincipalTypeUnknown PrincipalType = "Unknown" PrincipalTypeUser PrincipalType = "User" )
func (*PrincipalType) UnmarshalJSON ¶
func (s *PrincipalType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_administrator.go
- id_flexibleserver.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyserver.go
- model_activedirectoryadministrator.go
- model_activedirectoryadministratoradd.go
- model_administratorproperties.go
- model_administratorpropertiesforadd.go
- predicates.go
- version.go