Documentation ¶
Index ¶
- func PossibleValuesForAdministratorType() []string
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type AdministratorProperties
- type AdministratorType
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type ServerAzureADAdministrator
- type ServerAzureADAdministratorOperationPredicate
- type ServerAzureADAdministratorsClient
- func (c ServerAzureADAdministratorsClient) CreateOrUpdate(ctx context.Context, id ServerId, input ServerAzureADAdministrator) (result CreateOrUpdateOperationResponse, err error)
- func (c ServerAzureADAdministratorsClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerId, input ServerAzureADAdministrator) error
- func (c ServerAzureADAdministratorsClient) Delete(ctx context.Context, id ServerId) (result DeleteOperationResponse, err error)
- func (c ServerAzureADAdministratorsClient) DeleteThenPoll(ctx context.Context, id ServerId) error
- func (c ServerAzureADAdministratorsClient) Get(ctx context.Context, id ServerId) (result GetOperationResponse, err error)
- func (c ServerAzureADAdministratorsClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
- func (c ServerAzureADAdministratorsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
- func (c ServerAzureADAdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, ...) (result ListByServerCompleteResult, err error)
- type ServerId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAdministratorType ¶
func PossibleValuesForAdministratorType() []string
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type AdministratorProperties ¶
type AdministratorProperties struct { AdministratorType AdministratorType `json:"administratorType"` AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"` Login string `json:"login"` Sid string `json:"sid"` 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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerAzureADAdministrator }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []ServerAzureADAdministrator
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerAzureADAdministrator }
type ServerAzureADAdministrator ¶
type ServerAzureADAdministrator struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AdministratorProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerAzureADAdministratorOperationPredicate ¶
func (ServerAzureADAdministratorOperationPredicate) Matches ¶
func (p ServerAzureADAdministratorOperationPredicate) Matches(input ServerAzureADAdministrator) bool
type ServerAzureADAdministratorsClient ¶
type ServerAzureADAdministratorsClient struct {
Client *resourcemanager.Client
}
func NewServerAzureADAdministratorsClientWithBaseURI ¶
func NewServerAzureADAdministratorsClientWithBaseURI(api environments.Api) (*ServerAzureADAdministratorsClient, error)
func (ServerAzureADAdministratorsClient) CreateOrUpdate ¶
func (c ServerAzureADAdministratorsClient) CreateOrUpdate(ctx context.Context, id ServerId, input ServerAzureADAdministrator) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServerAzureADAdministratorsClient) CreateOrUpdateThenPoll ¶
func (c ServerAzureADAdministratorsClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerId, input ServerAzureADAdministrator) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServerAzureADAdministratorsClient) Delete ¶
func (c ServerAzureADAdministratorsClient) Delete(ctx context.Context, id ServerId) (result DeleteOperationResponse, err error)
Delete ...
func (ServerAzureADAdministratorsClient) DeleteThenPoll ¶
func (c ServerAzureADAdministratorsClient) DeleteThenPoll(ctx context.Context, id ServerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ServerAzureADAdministratorsClient) Get ¶
func (c ServerAzureADAdministratorsClient) Get(ctx context.Context, id ServerId) (result GetOperationResponse, err error)
Get ...
func (ServerAzureADAdministratorsClient) ListByServer ¶
func (c ServerAzureADAdministratorsClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (ServerAzureADAdministratorsClient) ListByServerComplete ¶
func (c ServerAzureADAdministratorsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (ServerAzureADAdministratorsClient) ListByServerCompleteMatchingPredicate ¶
func (c ServerAzureADAdministratorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate ServerAzureADAdministratorOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID