Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateDomainID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSenderUsernameID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DomainId
- type GetOperationResponse
- type ListByDomainsCompleteResult
- type ListByDomainsOperationResponse
- type ProvisioningState
- type SenderUsernameId
- type SenderUsernameProperties
- type SenderUsernameResource
- type SenderUsernameResourceOperationPredicate
- type SenderUsernamesClient
- func (c SenderUsernamesClient) CreateOrUpdate(ctx context.Context, id SenderUsernameId, input SenderUsernameResource) (result CreateOrUpdateOperationResponse, err error)
- func (c SenderUsernamesClient) Delete(ctx context.Context, id SenderUsernameId) (result DeleteOperationResponse, err error)
- func (c SenderUsernamesClient) Get(ctx context.Context, id SenderUsernameId) (result GetOperationResponse, err error)
- func (c SenderUsernamesClient) ListByDomains(ctx context.Context, id DomainId) (result ListByDomainsOperationResponse, err error)
- func (c SenderUsernamesClient) ListByDomainsComplete(ctx context.Context, id DomainId) (ListByDomainsCompleteResult, error)
- func (c SenderUsernamesClient) ListByDomainsCompleteMatchingPredicate(ctx context.Context, id DomainId, ...) (result ListByDomainsCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDomainID ¶
ValidateDomainID checks that 'input' can be parsed as a Domain ID
func ValidateSenderUsernameID ¶
ValidateSenderUsernameID checks that 'input' can be parsed as a Sender Username ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SenderUsernameResource }
type DeleteOperationResponse ¶
type DomainId ¶
type DomainId struct { SubscriptionId string ResourceGroupName string EmailServiceName string DomainName string }
DomainId is a struct representing the Resource ID for a Domain
func NewDomainID ¶
func NewDomainID(subscriptionId string, resourceGroupName string, emailServiceName string, domainName string) DomainId
NewDomainID returns a new DomainId struct
func ParseDomainID ¶
ParseDomainID parses 'input' into a DomainId
func ParseDomainIDInsensitively ¶
ParseDomainIDInsensitively parses 'input' case-insensitively into a DomainId note: this method should only be used for API response data and not user input
func (*DomainId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DomainId) FromParseResult(input resourceids.ParseResult) error
func (DomainId) Segments ¶
func (id DomainId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Domain ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SenderUsernameResource }
type ListByDomainsCompleteResult ¶
type ListByDomainsCompleteResult struct {
Items []SenderUsernameResource
}
type ListByDomainsOperationResponse ¶
type ListByDomainsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SenderUsernameResource }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SenderUsernameId ¶
type SenderUsernameId struct { SubscriptionId string ResourceGroupName string EmailServiceName string DomainName string SenderUsernameName string }
SenderUsernameId is a struct representing the Resource ID for a Sender Username
func NewSenderUsernameID ¶
func NewSenderUsernameID(subscriptionId string, resourceGroupName string, emailServiceName string, domainName string, senderUsernameName string) SenderUsernameId
NewSenderUsernameID returns a new SenderUsernameId struct
func ParseSenderUsernameID ¶
func ParseSenderUsernameID(input string) (*SenderUsernameId, error)
ParseSenderUsernameID parses 'input' into a SenderUsernameId
func ParseSenderUsernameIDInsensitively ¶
func ParseSenderUsernameIDInsensitively(input string) (*SenderUsernameId, error)
ParseSenderUsernameIDInsensitively parses 'input' case-insensitively into a SenderUsernameId note: this method should only be used for API response data and not user input
func (*SenderUsernameId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SenderUsernameId) FromParseResult(input resourceids.ParseResult) error
func (SenderUsernameId) ID ¶
func (id SenderUsernameId) ID() string
ID returns the formatted Sender Username ID
func (SenderUsernameId) Segments ¶
func (id SenderUsernameId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sender Username ID
func (SenderUsernameId) String ¶
func (id SenderUsernameId) String() string
String returns a human-readable description of this Sender Username ID
type SenderUsernameProperties ¶
type SenderUsernameProperties struct { DataLocation *string `json:"dataLocation,omitempty"` DisplayName *string `json:"displayName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Username string `json:"username"` }
type SenderUsernameResource ¶
type SenderUsernameResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SenderUsernameProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SenderUsernameResourceOperationPredicate ¶
func (SenderUsernameResourceOperationPredicate) Matches ¶
func (p SenderUsernameResourceOperationPredicate) Matches(input SenderUsernameResource) bool
type SenderUsernamesClient ¶
type SenderUsernamesClient struct {
Client *resourcemanager.Client
}
func NewSenderUsernamesClientWithBaseURI ¶
func NewSenderUsernamesClientWithBaseURI(sdkApi sdkEnv.Api) (*SenderUsernamesClient, error)
func (SenderUsernamesClient) CreateOrUpdate ¶
func (c SenderUsernamesClient) CreateOrUpdate(ctx context.Context, id SenderUsernameId, input SenderUsernameResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SenderUsernamesClient) Delete ¶
func (c SenderUsernamesClient) Delete(ctx context.Context, id SenderUsernameId) (result DeleteOperationResponse, err error)
Delete ...
func (SenderUsernamesClient) Get ¶
func (c SenderUsernamesClient) Get(ctx context.Context, id SenderUsernameId) (result GetOperationResponse, err error)
Get ...
func (SenderUsernamesClient) ListByDomains ¶
func (c SenderUsernamesClient) ListByDomains(ctx context.Context, id DomainId) (result ListByDomainsOperationResponse, err error)
ListByDomains ...
func (SenderUsernamesClient) ListByDomainsComplete ¶
func (c SenderUsernamesClient) ListByDomainsComplete(ctx context.Context, id DomainId) (ListByDomainsCompleteResult, error)
ListByDomainsComplete retrieves all the results into a single object
func (SenderUsernamesClient) ListByDomainsCompleteMatchingPredicate ¶
func (c SenderUsernamesClient) ListByDomainsCompleteMatchingPredicate(ctx context.Context, id DomainId, predicate SenderUsernameResourceOperationPredicate) (result ListByDomainsCompleteResult, err error)
ListByDomainsCompleteMatchingPredicate retrieves all the results and then applies the predicate