Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAzureResourceType() []string + func PossibleValuesForCustomHostNameDnsRecordType() []string + func PossibleValuesForDnsType() []string + func PossibleValuesForDomainStatus() []string + func PossibleValuesForDomainType() []string + func PossibleValuesForHostNameType() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForResourceNotRenewableReason() []string + func ValidateDomainID(input interface{}, key string) (warnings []string, errors []error) + func ValidateDomainOwnershipIdentifierID(input interface{}, key string) (warnings []string, errors []error) + type Address struct + Address1 string + Address2 *string + City string + Country string + PostalCode string + State string + type AzureResourceType string + const AzureResourceTypeTrafficManager + const AzureResourceTypeWebsite + func (s *AzureResourceType) UnmarshalJSON(bytes []byte) error + type CheckAvailabilityOperationResponse struct + HttpResponse *http.Response + Model *DomainAvailabilityCheckResult + OData *odata.OData + type Contact struct + AddressMailing *Address + Email string + Fax *string + JobTitle *string + NameFirst string + NameLast string + NameMiddle *string + Organization *string + Phone string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Domain + OData *odata.OData + Poller pollers.Poller + type CreateOrUpdateOwnershipIdentifierOperationResponse struct + HttpResponse *http.Response + Model *DomainOwnershipIdentifier + OData *odata.OData + type CustomHostNameDnsRecordType string + const CustomHostNameDnsRecordTypeA + const CustomHostNameDnsRecordTypeCName + func (s *CustomHostNameDnsRecordType) UnmarshalJSON(bytes []byte) error + type DeleteOperationOptions struct + ForceHardDeleteDomain *bool + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeleteOwnershipIdentifierOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DnsType string + const DnsTypeAzureDns + const DnsTypeDefaultDomainRegistrarDns + func (s *DnsType) UnmarshalJSON(bytes []byte) error + type Domain struct + Id *string + Kind *string + Location string + Name *string + Properties *DomainProperties + Tags *map[string]string + Type *string + type DomainAvailabilityCheckResult struct + Available *bool + DomainType *DomainType + Name *string + type DomainControlCenterSsoRequest struct + PostParameterKey *string + PostParameterValue *string + Url *string + type DomainId struct + DomainName string + ResourceGroupName string + SubscriptionId string + func NewDomainID(subscriptionId string, resourceGroupName string, domainName string) DomainId + func ParseDomainID(input string) (*DomainId, error) + func ParseDomainIDInsensitively(input string) (*DomainId, error) + func (id *DomainId) FromParseResult(input resourceids.ParseResult) error + func (id DomainId) ID() string + func (id DomainId) Segments() []resourceids.Segment + func (id DomainId) String() string + type DomainOperationPredicate struct + Id *string + Kind *string + Location *string + Name *string + Type *string + func (p DomainOperationPredicate) Matches(input Domain) bool + type DomainOwnershipIdentifier struct + Id *string + Kind *string + Name *string + Properties *DomainOwnershipIdentifierProperties + Type *string + type DomainOwnershipIdentifierId struct + DomainName string + DomainOwnershipIdentifierName string + ResourceGroupName string + SubscriptionId string + func NewDomainOwnershipIdentifierID(subscriptionId string, resourceGroupName string, domainName string, ...) DomainOwnershipIdentifierId + func ParseDomainOwnershipIdentifierID(input string) (*DomainOwnershipIdentifierId, error) + func ParseDomainOwnershipIdentifierIDInsensitively(input string) (*DomainOwnershipIdentifierId, error) + func (id *DomainOwnershipIdentifierId) FromParseResult(input resourceids.ParseResult) error + func (id DomainOwnershipIdentifierId) ID() string + func (id DomainOwnershipIdentifierId) Segments() []resourceids.Segment + func (id DomainOwnershipIdentifierId) String() string + type DomainOwnershipIdentifierOperationPredicate struct + Id *string + Kind *string + Name *string + Type *string + func (p DomainOwnershipIdentifierOperationPredicate) Matches(input DomainOwnershipIdentifier) bool + type DomainOwnershipIdentifierProperties struct + OwnershipId *string + type DomainPatchResource struct + Id *string + Kind *string + Name *string + Properties *DomainPatchResourceProperties + Type *string + type DomainPatchResourceProperties struct + AuthCode *string + AutoRenew *bool + Consent DomainPurchaseConsent + ContactAdmin Contact + ContactBilling Contact + ContactRegistrant Contact + ContactTech Contact + CreatedTime *string + DnsType *DnsType + DnsZoneId *string + DomainNotRenewableReasons *[]ResourceNotRenewableReason + ExpirationTime *string + LastRenewedTime *string + ManagedHostNames *[]HostName + NameServers *[]string + Privacy *bool + ProvisioningState *ProvisioningState + ReadyForDnsRecordManagement *bool + RegistrationStatus *DomainStatus + TargetDnsType *DnsType + func (o *DomainPatchResourceProperties) GetCreatedTimeAsTime() (*time.Time, error) + func (o *DomainPatchResourceProperties) GetExpirationTimeAsTime() (*time.Time, error) + func (o *DomainPatchResourceProperties) GetLastRenewedTimeAsTime() (*time.Time, error) + func (o *DomainPatchResourceProperties) SetCreatedTimeAsTime(input time.Time) + func (o *DomainPatchResourceProperties) SetExpirationTimeAsTime(input time.Time) + func (o *DomainPatchResourceProperties) SetLastRenewedTimeAsTime(input time.Time) + type DomainProperties struct + AuthCode *string + AutoRenew *bool + Consent DomainPurchaseConsent + ContactAdmin Contact + ContactBilling Contact + ContactRegistrant Contact + ContactTech Contact + CreatedTime *string + DnsType *DnsType + DnsZoneId *string + DomainNotRenewableReasons *[]ResourceNotRenewableReason + ExpirationTime *string + LastRenewedTime *string + ManagedHostNames *[]HostName + NameServers *[]string + Privacy *bool + ProvisioningState *ProvisioningState + ReadyForDnsRecordManagement *bool + RegistrationStatus *DomainStatus + TargetDnsType *DnsType + func (o *DomainProperties) GetCreatedTimeAsTime() (*time.Time, error) + func (o *DomainProperties) GetExpirationTimeAsTime() (*time.Time, error) + func (o *DomainProperties) GetLastRenewedTimeAsTime() (*time.Time, error) + func (o *DomainProperties) SetCreatedTimeAsTime(input time.Time) + func (o *DomainProperties) SetExpirationTimeAsTime(input time.Time) + func (o *DomainProperties) SetLastRenewedTimeAsTime(input time.Time) + type DomainPurchaseConsent struct + AgreedAt *string + AgreedBy *string + AgreementKeys *[]string + func (o *DomainPurchaseConsent) GetAgreedAtAsTime() (*time.Time, error) + func (o *DomainPurchaseConsent) SetAgreedAtAsTime(input time.Time) + type DomainRecommendationSearchParameters struct + Keywords *string + MaxDomainRecommendations *int64 + type DomainStatus string + const DomainStatusActive + const DomainStatusAwaiting + const DomainStatusCancelled + const DomainStatusConfiscated + const DomainStatusDisabled + const DomainStatusExcluded + const DomainStatusExpired + const DomainStatusFailed + const DomainStatusHeld + const DomainStatusJsonConverterFailed + const DomainStatusLocked + const DomainStatusParked + const DomainStatusPending + const DomainStatusReserved + const DomainStatusReverted + const DomainStatusSuspended + const DomainStatusTransferred + const DomainStatusUnknown + const DomainStatusUnlocked + const DomainStatusUnparked + const DomainStatusUpdated + func (s *DomainStatus) UnmarshalJSON(bytes []byte) error + type DomainType string + const DomainTypeRegular + const DomainTypeSoftDeleted + func (s *DomainType) UnmarshalJSON(bytes []byte) error + type DomainsClient struct + Client *resourcemanager.Client + func NewDomainsClientWithBaseURI(sdkApi sdkEnv.Api) (*DomainsClient, error) + func (c DomainsClient) CheckAvailability(ctx context.Context, id commonids.SubscriptionId, input NameIdentifier) (result CheckAvailabilityOperationResponse, err error) + func (c DomainsClient) CreateOrUpdate(ctx context.Context, id DomainId, input Domain) (result CreateOrUpdateOperationResponse, err error) + func (c DomainsClient) CreateOrUpdateOwnershipIdentifier(ctx context.Context, id DomainOwnershipIdentifierId, ...) (result CreateOrUpdateOwnershipIdentifierOperationResponse, err error) + func (c DomainsClient) CreateOrUpdateThenPoll(ctx context.Context, id DomainId, input Domain) error + func (c DomainsClient) Delete(ctx context.Context, id DomainId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c DomainsClient) DeleteOwnershipIdentifier(ctx context.Context, id DomainOwnershipIdentifierId) (result DeleteOwnershipIdentifierOperationResponse, err error) + func (c DomainsClient) Get(ctx context.Context, id DomainId) (result GetOperationResponse, err error) + func (c DomainsClient) GetControlCenterSsoRequest(ctx context.Context, id commonids.SubscriptionId) (result GetControlCenterSsoRequestOperationResponse, err error) + func (c DomainsClient) GetOwnershipIdentifier(ctx context.Context, id DomainOwnershipIdentifierId) (result GetOwnershipIdentifierOperationResponse, err error) + func (c DomainsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) + func (c DomainsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) + func (c DomainsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) + func (c DomainsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c DomainsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) + func (c DomainsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error) + func (c DomainsClient) ListOwnershipIdentifiers(ctx context.Context, id DomainId) (result ListOwnershipIdentifiersOperationResponse, err error) + func (c DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context, id DomainId) (ListOwnershipIdentifiersCompleteResult, error) + func (c DomainsClient) ListOwnershipIdentifiersCompleteMatchingPredicate(ctx context.Context, id DomainId, ...) (result ListOwnershipIdentifiersCompleteResult, err error) + func (c DomainsClient) ListRecommendations(ctx context.Context, id commonids.SubscriptionId, ...) (result ListRecommendationsOperationResponse, err error) + func (c DomainsClient) ListRecommendationsComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListRecommendationsCompleteResult, error) + func (c DomainsClient) ListRecommendationsCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListRecommendationsCompleteResult, err error) + func (c DomainsClient) Renew(ctx context.Context, id DomainId) (result RenewOperationResponse, err error) + func (c DomainsClient) TransferOut(ctx context.Context, id DomainId) (result TransferOutOperationResponse, err error) + func (c DomainsClient) Update(ctx context.Context, id DomainId, input DomainPatchResource) (result UpdateOperationResponse, err error) + func (c DomainsClient) UpdateOwnershipIdentifier(ctx context.Context, id DomainOwnershipIdentifierId, ...) (result UpdateOwnershipIdentifierOperationResponse, err error) + type GetControlCenterSsoRequestOperationResponse struct + HttpResponse *http.Response + Model *DomainControlCenterSsoRequest + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *Domain + OData *odata.OData + type GetOwnershipIdentifierOperationResponse struct + HttpResponse *http.Response + Model *DomainOwnershipIdentifier + OData *odata.OData + type HostName struct + AzureResourceName *string + AzureResourceType *AzureResourceType + CustomHostNameDnsRecordType *CustomHostNameDnsRecordType + HostNameType *HostNameType + Name *string + SiteNames *[]string + type HostNameType string + const HostNameTypeManaged + const HostNameTypeVerified + func (s *HostNameType) UnmarshalJSON(bytes []byte) error + type ListByResourceGroupCompleteResult struct + Items []Domain + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]Domain + OData *odata.OData + type ListCompleteResult struct + Items []Domain + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Domain + OData *odata.OData + type ListOwnershipIdentifiersCompleteResult struct + Items []DomainOwnershipIdentifier + LatestHttpResponse *http.Response + type ListOwnershipIdentifiersCustomPager struct + NextLink *odata.Link + func (p *ListOwnershipIdentifiersCustomPager) NextPageLink() *odata.Link + type ListOwnershipIdentifiersOperationResponse struct + HttpResponse *http.Response + Model *[]DomainOwnershipIdentifier + OData *odata.OData + type ListRecommendationsCompleteResult struct + Items []NameIdentifier + LatestHttpResponse *http.Response + type ListRecommendationsCustomPager struct + NextLink *odata.Link + func (p *ListRecommendationsCustomPager) NextPageLink() *odata.Link + type ListRecommendationsOperationResponse struct + HttpResponse *http.Response + Model *[]NameIdentifier + OData *odata.OData + type NameIdentifier struct + Name *string + type NameIdentifierOperationPredicate struct + Name *string + func (p NameIdentifierOperationPredicate) Matches(input NameIdentifier) bool + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateInProgress + const ProvisioningStateSucceeded + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RenewOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ResourceNotRenewableReason string + const ResourceNotRenewableReasonExpirationNotInRenewalTimeRange + const ResourceNotRenewableReasonRegistrationStatusNotSupportedForRenewal + const ResourceNotRenewableReasonSubscriptionNotActive + func (s *ResourceNotRenewableReason) UnmarshalJSON(bytes []byte) error + type TransferOutOperationResponse struct + HttpResponse *http.Response + Model *Domain + OData *odata.OData + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Domain + OData *odata.OData + type UpdateOwnershipIdentifierOperationResponse struct + HttpResponse *http.Response + Model *DomainOwnershipIdentifier + OData *odata.OData