Documentation ¶
Index ¶
- func PossibleValuesForAdministratorType() []string
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type AdministratorType
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListOperationResponse
- type ServerAdministratorProperties
- type ServerAdministratorResource
- type ServerAdministratorResourceListResult
- type ServerAdministratorsClient
- func (c ServerAdministratorsClient) CreateOrUpdate(ctx context.Context, id ServerId, input ServerAdministratorResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ServerAdministratorsClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerId, input ServerAdministratorResource) error
- func (c ServerAdministratorsClient) Delete(ctx context.Context, id ServerId) (result DeleteOperationResponse, err error)
- func (c ServerAdministratorsClient) DeleteThenPoll(ctx context.Context, id ServerId) error
- func (c ServerAdministratorsClient) Get(ctx context.Context, id ServerId) (result GetOperationResponse, err error)
- func (c ServerAdministratorsClient) List(ctx context.Context, id ServerId) (result ListOperationResponse, 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 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 *ServerAdministratorResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerAdministratorResourceListResult }
type ServerAdministratorProperties ¶
type ServerAdministratorProperties struct { AdministratorType AdministratorType `json:"administratorType"` Login string `json:"login"` Sid string `json:"sid"` TenantId string `json:"tenantId"` }
type ServerAdministratorResource ¶
type ServerAdministratorResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerAdministratorProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerAdministratorResourceListResult ¶
type ServerAdministratorResourceListResult struct {
Value *[]ServerAdministratorResource `json:"value,omitempty"`
}
type ServerAdministratorsClient ¶
type ServerAdministratorsClient struct {
Client *resourcemanager.Client
}
func NewServerAdministratorsClientWithBaseURI ¶
func NewServerAdministratorsClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerAdministratorsClient, error)
func (ServerAdministratorsClient) CreateOrUpdate ¶
func (c ServerAdministratorsClient) CreateOrUpdate(ctx context.Context, id ServerId, input ServerAdministratorResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServerAdministratorsClient) CreateOrUpdateThenPoll ¶
func (c ServerAdministratorsClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerId, input ServerAdministratorResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServerAdministratorsClient) Delete ¶
func (c ServerAdministratorsClient) Delete(ctx context.Context, id ServerId) (result DeleteOperationResponse, err error)
Delete ...
func (ServerAdministratorsClient) DeleteThenPoll ¶
func (c ServerAdministratorsClient) DeleteThenPoll(ctx context.Context, id ServerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ServerAdministratorsClient) Get ¶
func (c ServerAdministratorsClient) Get(ctx context.Context, id ServerId) (result GetOperationResponse, err error)
Get ...
func (ServerAdministratorsClient) List ¶
func (c ServerAdministratorsClient) List(ctx context.Context, id ServerId) (result ListOperationResponse, err error)
List ...
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) FromParseResult ¶
func (id *ServerId) FromParseResult(input resourceids.ParseResult) error
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
Click to show internal directories.
Click to hide internal directories.