Documentation ¶
Index ¶
- type CreateDomainOperationOptions
- type CreateDomainOperationResponse
- type CreateForceDeleteOperationOptions
- type CreateForceDeleteOperationResponse
- type CreateForceDeleteRequest
- type CreatePromoteOperationOptions
- type CreatePromoteOperationResponse
- type CreatePromoteResult
- type CreateVerifyOperationOptions
- type CreateVerifyOperationResponse
- type DeleteDomainOperationOptions
- type DeleteDomainOperationResponse
- type DomainClient
- func (c DomainClient) CreateDomain(ctx context.Context, input stable.Domain, options CreateDomainOperationOptions) (result CreateDomainOperationResponse, err error)
- func (c DomainClient) CreateForceDelete(ctx context.Context, id stable.DomainId, input CreateForceDeleteRequest, ...) (result CreateForceDeleteOperationResponse, err error)
- func (c DomainClient) CreatePromote(ctx context.Context, id stable.DomainId, options CreatePromoteOperationOptions) (result CreatePromoteOperationResponse, err error)
- func (c DomainClient) CreateVerify(ctx context.Context, id stable.DomainId, options CreateVerifyOperationOptions) (result CreateVerifyOperationResponse, err error)
- func (c DomainClient) DeleteDomain(ctx context.Context, id stable.DomainId, options DeleteDomainOperationOptions) (result DeleteDomainOperationResponse, err error)
- func (c DomainClient) GetDomain(ctx context.Context, id stable.DomainId, options GetDomainOperationOptions) (result GetDomainOperationResponse, err error)
- func (c DomainClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
- func (c DomainClient) ListDomains(ctx context.Context, options ListDomainsOperationOptions) (result ListDomainsOperationResponse, err error)
- func (c DomainClient) ListDomainsComplete(ctx context.Context, options ListDomainsOperationOptions) (ListDomainsCompleteResult, error)
- func (c DomainClient) ListDomainsCompleteMatchingPredicate(ctx context.Context, options ListDomainsOperationOptions, ...) (result ListDomainsCompleteResult, err error)
- func (c DomainClient) UpdateDomain(ctx context.Context, id stable.DomainId, input stable.Domain, ...) (result UpdateDomainOperationResponse, err error)
- type DomainOperationPredicate
- type GetDomainOperationOptions
- type GetDomainOperationResponse
- type GetsCountOperationOptions
- type GetsCountOperationResponse
- type ListDomainsCompleteResult
- type ListDomainsCustomPager
- type ListDomainsOperationOptions
- type ListDomainsOperationResponse
- type UpdateDomainOperationOptions
- type UpdateDomainOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDomainOperationOptions ¶
type CreateDomainOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDomainOperationOptions ¶
func DefaultCreateDomainOperationOptions() CreateDomainOperationOptions
func (CreateDomainOperationOptions) ToHeaders ¶
func (o CreateDomainOperationOptions) ToHeaders() *client.Headers
func (CreateDomainOperationOptions) ToOData ¶
func (o CreateDomainOperationOptions) ToOData() *odata.Query
func (CreateDomainOperationOptions) ToQuery ¶
func (o CreateDomainOperationOptions) ToQuery() *client.QueryParams
type CreateForceDeleteOperationOptions ¶
type CreateForceDeleteOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateForceDeleteOperationOptions ¶
func DefaultCreateForceDeleteOperationOptions() CreateForceDeleteOperationOptions
func (CreateForceDeleteOperationOptions) ToHeaders ¶
func (o CreateForceDeleteOperationOptions) ToHeaders() *client.Headers
func (CreateForceDeleteOperationOptions) ToOData ¶
func (o CreateForceDeleteOperationOptions) ToOData() *odata.Query
func (CreateForceDeleteOperationOptions) ToQuery ¶
func (o CreateForceDeleteOperationOptions) ToQuery() *client.QueryParams
type CreatePromoteOperationOptions ¶
type CreatePromoteOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreatePromoteOperationOptions ¶
func DefaultCreatePromoteOperationOptions() CreatePromoteOperationOptions
func (CreatePromoteOperationOptions) ToHeaders ¶
func (o CreatePromoteOperationOptions) ToHeaders() *client.Headers
func (CreatePromoteOperationOptions) ToOData ¶
func (o CreatePromoteOperationOptions) ToOData() *odata.Query
func (CreatePromoteOperationOptions) ToQuery ¶
func (o CreatePromoteOperationOptions) ToQuery() *client.QueryParams
type CreatePromoteOperationResponse ¶
type CreatePromoteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CreatePromoteResult }
type CreatePromoteResult ¶
type CreateVerifyOperationOptions ¶
type CreateVerifyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateVerifyOperationOptions ¶
func DefaultCreateVerifyOperationOptions() CreateVerifyOperationOptions
func (CreateVerifyOperationOptions) ToHeaders ¶
func (o CreateVerifyOperationOptions) ToHeaders() *client.Headers
func (CreateVerifyOperationOptions) ToOData ¶
func (o CreateVerifyOperationOptions) ToOData() *odata.Query
func (CreateVerifyOperationOptions) ToQuery ¶
func (o CreateVerifyOperationOptions) ToQuery() *client.QueryParams
type DeleteDomainOperationOptions ¶
type DeleteDomainOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDomainOperationOptions ¶
func DefaultDeleteDomainOperationOptions() DeleteDomainOperationOptions
func (DeleteDomainOperationOptions) ToHeaders ¶
func (o DeleteDomainOperationOptions) ToHeaders() *client.Headers
func (DeleteDomainOperationOptions) ToOData ¶
func (o DeleteDomainOperationOptions) ToOData() *odata.Query
func (DeleteDomainOperationOptions) ToQuery ¶
func (o DeleteDomainOperationOptions) ToQuery() *client.QueryParams
type DomainClient ¶
func NewDomainClientWithBaseURI ¶
func NewDomainClientWithBaseURI(sdkApi sdkEnv.Api) (*DomainClient, error)
func (DomainClient) CreateDomain ¶
func (c DomainClient) CreateDomain(ctx context.Context, input stable.Domain, options CreateDomainOperationOptions) (result CreateDomainOperationResponse, err error)
CreateDomain - Create domain. Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified.
func (DomainClient) CreateForceDelete ¶
func (c DomainClient) CreateForceDelete(ctx context.Context, id stable.DomainId, input CreateForceDeleteRequest, options CreateForceDeleteOperationOptions) (result CreateForceDeleteOperationResponse, err error)
CreateForceDelete - Invoke action forceDelete. Delete a domain using an asynchronous long-running operation. Before performing this operation, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation.
func (DomainClient) CreatePromote ¶
func (c DomainClient) CreatePromote(ctx context.Context, id stable.DomainId, options CreatePromoteOperationOptions) (result CreatePromoteOperationResponse, err error)
CreatePromote - Invoke action promote. Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true.
func (DomainClient) CreateVerify ¶
func (c DomainClient) CreateVerify(ctx context.Context, id stable.DomainId, options CreateVerifyOperationOptions) (result CreateVerifyOperationResponse, err error)
CreateVerify - Invoke action verify. Validates the ownership of the domain.
func (DomainClient) DeleteDomain ¶
func (c DomainClient) DeleteDomain(ctx context.Context, id stable.DomainId, options DeleteDomainOperationOptions) (result DeleteDomainOperationResponse, err error)
DeleteDomain - Delete domain. Delete a domain from a tenant.
func (DomainClient) GetDomain ¶
func (c DomainClient) GetDomain(ctx context.Context, id stable.DomainId, options GetDomainOperationOptions) (result GetDomainOperationResponse, err error)
GetDomain - Get domain. Retrieve the properties and relationships of domain object.
func (DomainClient) GetsCount ¶
func (c DomainClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
GetsCount - Get the number of the resource
func (DomainClient) ListDomains ¶
func (c DomainClient) ListDomains(ctx context.Context, options ListDomainsOperationOptions) (result ListDomainsOperationResponse, err error)
ListDomains - List domains. Retrieve a list of domain objects.
func (DomainClient) ListDomainsComplete ¶
func (c DomainClient) ListDomainsComplete(ctx context.Context, options ListDomainsOperationOptions) (ListDomainsCompleteResult, error)
ListDomainsComplete retrieves all the results into a single object
func (DomainClient) ListDomainsCompleteMatchingPredicate ¶
func (c DomainClient) ListDomainsCompleteMatchingPredicate(ctx context.Context, options ListDomainsOperationOptions, predicate DomainOperationPredicate) (result ListDomainsCompleteResult, err error)
ListDomainsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DomainClient) UpdateDomain ¶
func (c DomainClient) UpdateDomain(ctx context.Context, id stable.DomainId, input stable.Domain, options UpdateDomainOperationOptions) (result UpdateDomainOperationResponse, err error)
UpdateDomain - Update domain. Update the properties of domain object. Only verified domains can be updated.
type DomainOperationPredicate ¶
type DomainOperationPredicate struct { }
type GetDomainOperationOptions ¶
type GetDomainOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDomainOperationOptions ¶
func DefaultGetDomainOperationOptions() GetDomainOperationOptions
func (GetDomainOperationOptions) ToHeaders ¶
func (o GetDomainOperationOptions) ToHeaders() *client.Headers
func (GetDomainOperationOptions) ToOData ¶
func (o GetDomainOperationOptions) ToOData() *odata.Query
func (GetDomainOperationOptions) ToQuery ¶
func (o GetDomainOperationOptions) ToQuery() *client.QueryParams
type GetsCountOperationOptions ¶
type GetsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetsCountOperationOptions ¶
func DefaultGetsCountOperationOptions() GetsCountOperationOptions
func (GetsCountOperationOptions) ToHeaders ¶
func (o GetsCountOperationOptions) ToHeaders() *client.Headers
func (GetsCountOperationOptions) ToOData ¶
func (o GetsCountOperationOptions) ToOData() *odata.Query
func (GetsCountOperationOptions) ToQuery ¶
func (o GetsCountOperationOptions) ToQuery() *client.QueryParams
type ListDomainsCustomPager ¶
func (*ListDomainsCustomPager) NextPageLink ¶
func (p *ListDomainsCustomPager) NextPageLink() *odata.Link
type ListDomainsOperationOptions ¶
type ListDomainsOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListDomainsOperationOptions ¶
func DefaultListDomainsOperationOptions() ListDomainsOperationOptions
func (ListDomainsOperationOptions) ToHeaders ¶
func (o ListDomainsOperationOptions) ToHeaders() *client.Headers
func (ListDomainsOperationOptions) ToOData ¶
func (o ListDomainsOperationOptions) ToOData() *odata.Query
func (ListDomainsOperationOptions) ToQuery ¶
func (o ListDomainsOperationOptions) ToQuery() *client.QueryParams
type UpdateDomainOperationOptions ¶
type UpdateDomainOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDomainOperationOptions ¶
func DefaultUpdateDomainOperationOptions() UpdateDomainOperationOptions
func (UpdateDomainOperationOptions) ToHeaders ¶
func (o UpdateDomainOperationOptions) ToHeaders() *client.Headers
func (UpdateDomainOperationOptions) ToOData ¶
func (o UpdateDomainOperationOptions) ToOData() *odata.Query
func (UpdateDomainOperationOptions) ToQuery ¶
func (o UpdateDomainOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createdomain.go
- method_createforcedelete.go
- method_createpromote.go
- method_createverify.go
- method_deletedomain.go
- method_getdomain.go
- method_getscount.go
- method_listdomains.go
- method_updatedomain.go
- model_createforcedeleterequest.go
- model_createpromoteresult.go
- predicates.go
- version.go