Documentation ¶
Index ¶
- func PossibleValuesForAdministratorType() []string
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type AdministratorProperties
- type AdministratorType
- type AzureADAdministrator
- type AzureADAdministratorOperationPredicate
- type AzureADAdministratorsClient
- func (c AzureADAdministratorsClient) CreateOrUpdate(ctx context.Context, id FlexibleServerId, input AzureADAdministrator) (result CreateOrUpdateOperationResponse, err error)
- func (c AzureADAdministratorsClient) CreateOrUpdateThenPoll(ctx context.Context, id FlexibleServerId, input AzureADAdministrator) error
- func (c AzureADAdministratorsClient) Delete(ctx context.Context, id FlexibleServerId) (result DeleteOperationResponse, err error)
- func (c AzureADAdministratorsClient) DeleteThenPoll(ctx context.Context, id FlexibleServerId) error
- func (c AzureADAdministratorsClient) Get(ctx context.Context, id FlexibleServerId) (result GetOperationResponse, err error)
- func (c AzureADAdministratorsClient) ListByServer(ctx context.Context, id FlexibleServerId) (result ListByServerOperationResponse, err error)
- func (c AzureADAdministratorsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
- func (c AzureADAdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (result ListByServerCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FlexibleServerId
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAdministratorType ¶
func PossibleValuesForAdministratorType() []string
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
Types ¶
type AdministratorProperties ¶
type AdministratorProperties struct { AdministratorType *AdministratorType `json:"administratorType,omitempty"` IdentityResourceId *string `json:"identityResourceId,omitempty"` Login *string `json:"login,omitempty"` Sid *string `json:"sid,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type AdministratorType ¶
type AdministratorType string
const (
AdministratorTypeActiveDirectory AdministratorType = "ActiveDirectory"
)
func (*AdministratorType) UnmarshalJSON ¶
func (s *AdministratorType) UnmarshalJSON(bytes []byte) error
type AzureADAdministrator ¶
type AzureADAdministrator struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AdministratorProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AzureADAdministratorOperationPredicate ¶
func (AzureADAdministratorOperationPredicate) Matches ¶
func (p AzureADAdministratorOperationPredicate) Matches(input AzureADAdministrator) bool
type AzureADAdministratorsClient ¶
type AzureADAdministratorsClient struct {
Client *resourcemanager.Client
}
func NewAzureADAdministratorsClientWithBaseURI ¶
func NewAzureADAdministratorsClientWithBaseURI(sdkApi sdkEnv.Api) (*AzureADAdministratorsClient, error)
func (AzureADAdministratorsClient) CreateOrUpdate ¶
func (c AzureADAdministratorsClient) CreateOrUpdate(ctx context.Context, id FlexibleServerId, input AzureADAdministrator) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AzureADAdministratorsClient) CreateOrUpdateThenPoll ¶
func (c AzureADAdministratorsClient) CreateOrUpdateThenPoll(ctx context.Context, id FlexibleServerId, input AzureADAdministrator) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AzureADAdministratorsClient) Delete ¶
func (c AzureADAdministratorsClient) Delete(ctx context.Context, id FlexibleServerId) (result DeleteOperationResponse, err error)
Delete ...
func (AzureADAdministratorsClient) DeleteThenPoll ¶
func (c AzureADAdministratorsClient) DeleteThenPoll(ctx context.Context, id FlexibleServerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AzureADAdministratorsClient) Get ¶
func (c AzureADAdministratorsClient) Get(ctx context.Context, id FlexibleServerId) (result GetOperationResponse, err error)
Get ...
func (AzureADAdministratorsClient) ListByServer ¶
func (c AzureADAdministratorsClient) ListByServer(ctx context.Context, id FlexibleServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (AzureADAdministratorsClient) ListByServerComplete ¶
func (c AzureADAdministratorsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (AzureADAdministratorsClient) ListByServerCompleteMatchingPredicate ¶
func (c AzureADAdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate AzureADAdministratorOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 *AzureADAdministrator }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []AzureADAdministrator }
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AzureADAdministrator }