Documentation ¶
Index ¶
- func ValidateTopLevelDomainID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListAgreementsCompleteResult
- type ListAgreementsOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type TldLegalAgreement
- type TldLegalAgreementOperationPredicate
- type TopLevelDomain
- type TopLevelDomainAgreementOption
- type TopLevelDomainId
- type TopLevelDomainOperationPredicate
- type TopLevelDomainProperties
- type TopLevelDomainsClient
- func (c TopLevelDomainsClient) Get(ctx context.Context, id TopLevelDomainId) (result GetOperationResponse, err error)
- func (c TopLevelDomainsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c TopLevelDomainsClient) ListAgreements(ctx context.Context, id TopLevelDomainId, input TopLevelDomainAgreementOption) (result ListAgreementsOperationResponse, err error)
- func (c TopLevelDomainsClient) ListAgreementsComplete(ctx context.Context, id TopLevelDomainId, input TopLevelDomainAgreementOption) (ListAgreementsCompleteResult, error)
- func (c TopLevelDomainsClient) ListAgreementsCompleteMatchingPredicate(ctx context.Context, id TopLevelDomainId, input TopLevelDomainAgreementOption, ...) (result ListAgreementsCompleteResult, err error)
- func (c TopLevelDomainsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c TopLevelDomainsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateTopLevelDomainID ¶
ValidateTopLevelDomainID checks that 'input' can be parsed as a Top Level Domain ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TopLevelDomain }
type ListAgreementsCompleteResult ¶
type ListAgreementsCompleteResult struct { LatestHttpResponse *http.Response Items []TldLegalAgreement }
type ListAgreementsOperationResponse ¶
type ListAgreementsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TldLegalAgreement }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TopLevelDomain }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TopLevelDomain }
type TldLegalAgreement ¶
type TldLegalAgreementOperationPredicate ¶
type TldLegalAgreementOperationPredicate struct { AgreementKey *string Content *string Title *string Url *string }
func (TldLegalAgreementOperationPredicate) Matches ¶
func (p TldLegalAgreementOperationPredicate) Matches(input TldLegalAgreement) bool
type TopLevelDomain ¶
type TopLevelDomain struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties *TopLevelDomainProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TopLevelDomainId ¶
TopLevelDomainId is a struct representing the Resource ID for a Top Level Domain
func NewTopLevelDomainID ¶
func NewTopLevelDomainID(subscriptionId string, topLevelDomainName string) TopLevelDomainId
NewTopLevelDomainID returns a new TopLevelDomainId struct
func ParseTopLevelDomainID ¶
func ParseTopLevelDomainID(input string) (*TopLevelDomainId, error)
ParseTopLevelDomainID parses 'input' into a TopLevelDomainId
func ParseTopLevelDomainIDInsensitively ¶
func ParseTopLevelDomainIDInsensitively(input string) (*TopLevelDomainId, error)
ParseTopLevelDomainIDInsensitively parses 'input' case-insensitively into a TopLevelDomainId note: this method should only be used for API response data and not user input
func (*TopLevelDomainId) FromParseResult ¶
func (id *TopLevelDomainId) FromParseResult(input resourceids.ParseResult) error
func (TopLevelDomainId) ID ¶
func (id TopLevelDomainId) ID() string
ID returns the formatted Top Level Domain ID
func (TopLevelDomainId) Segments ¶
func (id TopLevelDomainId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Top Level Domain ID
func (TopLevelDomainId) String ¶
func (id TopLevelDomainId) String() string
String returns a human-readable description of this Top Level Domain ID
type TopLevelDomainOperationPredicate ¶
func (TopLevelDomainOperationPredicate) Matches ¶
func (p TopLevelDomainOperationPredicate) Matches(input TopLevelDomain) bool
type TopLevelDomainProperties ¶
type TopLevelDomainProperties struct {
Privacy *bool `json:"privacy,omitempty"`
}
type TopLevelDomainsClient ¶
type TopLevelDomainsClient struct {
Client *resourcemanager.Client
}
func NewTopLevelDomainsClientWithBaseURI ¶
func NewTopLevelDomainsClientWithBaseURI(sdkApi sdkEnv.Api) (*TopLevelDomainsClient, error)
func (TopLevelDomainsClient) Get ¶
func (c TopLevelDomainsClient) Get(ctx context.Context, id TopLevelDomainId) (result GetOperationResponse, err error)
Get ...
func (TopLevelDomainsClient) List ¶
func (c TopLevelDomainsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (TopLevelDomainsClient) ListAgreements ¶
func (c TopLevelDomainsClient) ListAgreements(ctx context.Context, id TopLevelDomainId, input TopLevelDomainAgreementOption) (result ListAgreementsOperationResponse, err error)
ListAgreements ...
func (TopLevelDomainsClient) ListAgreementsComplete ¶
func (c TopLevelDomainsClient) ListAgreementsComplete(ctx context.Context, id TopLevelDomainId, input TopLevelDomainAgreementOption) (ListAgreementsCompleteResult, error)
ListAgreementsComplete retrieves all the results into a single object
func (TopLevelDomainsClient) ListAgreementsCompleteMatchingPredicate ¶
func (c TopLevelDomainsClient) ListAgreementsCompleteMatchingPredicate(ctx context.Context, id TopLevelDomainId, input TopLevelDomainAgreementOption, predicate TldLegalAgreementOperationPredicate) (result ListAgreementsCompleteResult, err error)
ListAgreementsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TopLevelDomainsClient) ListComplete ¶
func (c TopLevelDomainsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TopLevelDomainsClient) ListCompleteMatchingPredicate ¶
func (c TopLevelDomainsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate TopLevelDomainOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate