Documentation ¶
Index ¶
- func ValidateDnsAliasID(input interface{}, key string) (warnings []string, errors []error)
- type AcquireOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DnsAliasId
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerCustomPager
- 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 commonids.SqlServerId) (result ListByServerOperationResponse, err error)
- func (c ServerDnsAliasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
- func (c ServerDnsAliasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error)
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
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) FromParseResult ¶
func (id *DnsAliasId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []ServerDnsAlias }
type ListByServerCustomPager ¶ added in v0.20240628.1153531
func (*ListByServerCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByServerCustomPager) NextPageLink() *odata.Link
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"`
}
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 commonids.SqlServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (ServerDnsAliasesClient) ListByServerComplete ¶
func (c ServerDnsAliasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (ServerDnsAliasesClient) ListByServerCompleteMatchingPredicate ¶
func (c ServerDnsAliasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate ServerDnsAliasOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate