Documentation ¶
Index ¶
- type CreateDomainOperationOptions
- type CreateDomainOperationResponse
- type CreateForceDeleteOperationOptions
- type CreateForceDeleteOperationResponse
- type CreateForceDeleteRequest
- type CreatePromoteOperationOptions
- type CreatePromoteOperationResponse
- type CreatePromoteResult
- type CreatePromoteToInitialOperationOptions
- type CreatePromoteToInitialOperationResponse
- type CreateVerifyOperationOptions
- type CreateVerifyOperationResponse
- type DeleteDomainOperationOptions
- type DeleteDomainOperationResponse
- type DomainClient
- func (c DomainClient) CreateDomain(ctx context.Context, input beta.Domain, options CreateDomainOperationOptions) (result CreateDomainOperationResponse, err error)
- func (c DomainClient) CreateForceDelete(ctx context.Context, id beta.DomainId, input CreateForceDeleteRequest, ...) (result CreateForceDeleteOperationResponse, err error)
- func (c DomainClient) CreatePromote(ctx context.Context, id beta.DomainId, options CreatePromoteOperationOptions) (result CreatePromoteOperationResponse, err error)
- func (c DomainClient) CreatePromoteToInitial(ctx context.Context, id beta.DomainId, ...) (result CreatePromoteToInitialOperationResponse, err error)
- func (c DomainClient) CreateVerify(ctx context.Context, id beta.DomainId, options CreateVerifyOperationOptions) (result CreateVerifyOperationResponse, err error)
- func (c DomainClient) DeleteDomain(ctx context.Context, id beta.DomainId, options DeleteDomainOperationOptions) (result DeleteDomainOperationResponse, err error)
- func (c DomainClient) GetDomain(ctx context.Context, id beta.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 beta.DomainId, input beta.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 CreatePromoteToInitialOperationOptions ¶
type CreatePromoteToInitialOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreatePromoteToInitialOperationOptions ¶
func DefaultCreatePromoteToInitialOperationOptions() CreatePromoteToInitialOperationOptions
func (CreatePromoteToInitialOperationOptions) ToHeaders ¶
func (o CreatePromoteToInitialOperationOptions) ToHeaders() *client.Headers
func (CreatePromoteToInitialOperationOptions) ToOData ¶
func (o CreatePromoteToInitialOperationOptions) ToOData() *odata.Query
func (CreatePromoteToInitialOperationOptions) ToQuery ¶
func (o CreatePromoteToInitialOperationOptions) ToQuery() *client.QueryParams
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 beta.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 beta.DomainId, input CreateForceDeleteRequest, options CreateForceDeleteOperationOptions) (result CreateForceDeleteOperationResponse, err error)
CreateForceDelete - Invoke action forceDelete. Delete a domain using an asynchronous 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 a 404 HTTP response code. To verify deletion of a domain, you can perform a get domain. If the domain was successfully deleted, a 404 HTTP response code is returned in the response.
func (DomainClient) CreatePromote ¶
func (c DomainClient) CreatePromote(ctx context.Context, id beta.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) CreatePromoteToInitial ¶
func (c DomainClient) CreatePromoteToInitial(ctx context.Context, id beta.DomainId, options CreatePromoteToInitialOperationOptions) (result CreatePromoteToInitialOperationResponse, err error)
CreatePromoteToInitial - Invoke action promoteToInitial
func (DomainClient) CreateVerify ¶
func (c DomainClient) CreateVerify(ctx context.Context, id beta.DomainId, options CreateVerifyOperationOptions) (result CreateVerifyOperationResponse, err error)
CreateVerify - Invoke action verify. Validate the ownership of a domain.
func (DomainClient) DeleteDomain ¶
func (c DomainClient) DeleteDomain(ctx context.Context, id beta.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 beta.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 beta.DomainId, input beta.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_createpromotetoinitial.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