Documentation ¶
Index ¶
- func ValidateDnsAliasID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type AcquireOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DnsAliasId
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type ServerDnsAlias
- type ServerDnsAliasAcquisition
- type ServerDnsAliasOperationPredicate
- type ServerDnsAliasProperties
- type ServerDnsAliasesClient
- func (c ServerDnsAliasesClient) Acquire(ctx context.Context, id DnsAliasId, input ServerDnsAliasAcquisition) (result AcquireOperationResponse, err error)
- func (c ServerDnsAliasesClient) AcquireThenPoll(ctx context.Context, id DnsAliasId, input ServerDnsAliasAcquisition) error
- func (c ServerDnsAliasesClient) CreateOrUpdate(ctx context.Context, id DnsAliasId) (result CreateOrUpdateOperationResponse, err error)
- func (c ServerDnsAliasesClient) CreateOrUpdateThenPoll(ctx context.Context, id DnsAliasId) error
- func (c ServerDnsAliasesClient) Delete(ctx context.Context, id DnsAliasId) (result DeleteOperationResponse, err error)
- func (c ServerDnsAliasesClient) DeleteThenPoll(ctx context.Context, id DnsAliasId) error
- func (c ServerDnsAliasesClient) Get(ctx context.Context, id DnsAliasId) (result GetOperationResponse, err error)
- func (c ServerDnsAliasesClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
- func (c ServerDnsAliasesClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
- func (c ServerDnsAliasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate ServerDnsAliasOperationPredicate) (result ListByServerCompleteResult, err error)
- type ServerId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDnsAliasID ¶
ValidateDnsAliasID checks that 'input' can be parsed as a Dns Alias ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type DeleteOperationResponse ¶
type DnsAliasId ¶
type DnsAliasId struct { SubscriptionId string ResourceGroupName string ServerName string DnsAliasName string }
DnsAliasId is a struct representing the Resource ID for a Dns Alias
func NewDnsAliasID ¶
func NewDnsAliasID(subscriptionId string, resourceGroupName string, serverName string, dnsAliasName string) DnsAliasId
NewDnsAliasID returns a new DnsAliasId struct
func ParseDnsAliasID ¶
func ParseDnsAliasID(input string) (*DnsAliasId, error)
ParseDnsAliasID parses 'input' into a DnsAliasId
func ParseDnsAliasIDInsensitively ¶
func ParseDnsAliasIDInsensitively(input string) (*DnsAliasId, error)
ParseDnsAliasIDInsensitively parses 'input' case-insensitively into a DnsAliasId note: this method should only be used for API response data and not user input
func (DnsAliasId) Segments ¶
func (id DnsAliasId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dns Alias ID
func (DnsAliasId) String ¶
func (id DnsAliasId) String() string
String returns a human-readable description of this Dns Alias ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerDnsAlias }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []ServerDnsAlias
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerDnsAlias }
type ServerDnsAlias ¶
type ServerDnsAlias struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerDnsAliasProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerDnsAliasAcquisition ¶
type ServerDnsAliasAcquisition struct {
OldServerDnsAliasId *string `json:"oldServerDnsAliasId,omitempty"`
}
type ServerDnsAliasOperationPredicate ¶
func (ServerDnsAliasOperationPredicate) Matches ¶
func (p ServerDnsAliasOperationPredicate) Matches(input ServerDnsAlias) bool
type ServerDnsAliasProperties ¶
type ServerDnsAliasProperties struct {
AzureDnsRecord *string `json:"azureDnsRecord,omitempty"`
}
type ServerDnsAliasesClient ¶
type ServerDnsAliasesClient struct {
Client *resourcemanager.Client
}
func NewServerDnsAliasesClientWithBaseURI ¶
func NewServerDnsAliasesClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerDnsAliasesClient, error)
func (ServerDnsAliasesClient) Acquire ¶
func (c ServerDnsAliasesClient) Acquire(ctx context.Context, id DnsAliasId, input ServerDnsAliasAcquisition) (result AcquireOperationResponse, err error)
Acquire ...
func (ServerDnsAliasesClient) AcquireThenPoll ¶
func (c ServerDnsAliasesClient) AcquireThenPoll(ctx context.Context, id DnsAliasId, input ServerDnsAliasAcquisition) error
AcquireThenPoll performs Acquire then polls until it's completed
func (ServerDnsAliasesClient) CreateOrUpdate ¶
func (c ServerDnsAliasesClient) CreateOrUpdate(ctx context.Context, id DnsAliasId) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServerDnsAliasesClient) CreateOrUpdateThenPoll ¶
func (c ServerDnsAliasesClient) CreateOrUpdateThenPoll(ctx context.Context, id DnsAliasId) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServerDnsAliasesClient) Delete ¶
func (c ServerDnsAliasesClient) Delete(ctx context.Context, id DnsAliasId) (result DeleteOperationResponse, err error)
Delete ...
func (ServerDnsAliasesClient) DeleteThenPoll ¶
func (c ServerDnsAliasesClient) DeleteThenPoll(ctx context.Context, id DnsAliasId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ServerDnsAliasesClient) Get ¶
func (c ServerDnsAliasesClient) Get(ctx context.Context, id DnsAliasId) (result GetOperationResponse, err error)
Get ...
func (ServerDnsAliasesClient) ListByServer ¶
func (c ServerDnsAliasesClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (ServerDnsAliasesClient) ListByServerComplete ¶
func (c ServerDnsAliasesClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (ServerDnsAliasesClient) ListByServerCompleteMatchingPredicate ¶
func (c ServerDnsAliasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate ServerDnsAliasOperationPredicate) (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