Documentation ¶
Index ¶
- func PossibleValuesForInvitationStatus() []string
- func ValidateInvitationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateShareID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type Invitation
- type InvitationClient
- func (c InvitationClient) Create(ctx context.Context, id InvitationId, input Invitation) (result CreateOperationResponse, err error)
- func (c InvitationClient) Delete(ctx context.Context, id InvitationId) (result DeleteOperationResponse, err error)
- func (c InvitationClient) Get(ctx context.Context, id InvitationId) (result GetOperationResponse, err error)
- func (c InvitationClient) ListByShare(ctx context.Context, id ShareId, options ListByShareOperationOptions) (result ListByShareOperationResponse, err error)
- func (c InvitationClient) ListByShareComplete(ctx context.Context, id ShareId, options ListByShareOperationOptions) (ListByShareCompleteResult, error)
- func (c InvitationClient) ListByShareCompleteMatchingPredicate(ctx context.Context, id ShareId, options ListByShareOperationOptions, ...) (result ListByShareCompleteResult, err error)
- type InvitationId
- type InvitationOperationPredicate
- type InvitationProperties
- func (o *InvitationProperties) GetExpirationDateAsTime() (*time.Time, error)
- func (o *InvitationProperties) GetRespondedAtAsTime() (*time.Time, error)
- func (o *InvitationProperties) GetSentAtAsTime() (*time.Time, error)
- func (o *InvitationProperties) SetExpirationDateAsTime(input time.Time)
- func (o *InvitationProperties) SetRespondedAtAsTime(input time.Time)
- func (o *InvitationProperties) SetSentAtAsTime(input time.Time)
- type InvitationStatus
- type ListByShareCompleteResult
- type ListByShareCustomPager
- type ListByShareOperationOptions
- type ListByShareOperationResponse
- type ShareId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForInvitationStatus ¶
func PossibleValuesForInvitationStatus() []string
func ValidateInvitationID ¶
ValidateInvitationID checks that 'input' can be parsed as a Invitation ID
func ValidateShareID ¶
ValidateShareID checks that 'input' can be parsed as a Share ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Invitation }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Invitation }
type Invitation ¶
type Invitation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *InvitationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type InvitationClient ¶
type InvitationClient struct {
Client *resourcemanager.Client
}
func NewInvitationClientWithBaseURI ¶
func NewInvitationClientWithBaseURI(sdkApi sdkEnv.Api) (*InvitationClient, error)
func (InvitationClient) Create ¶
func (c InvitationClient) Create(ctx context.Context, id InvitationId, input Invitation) (result CreateOperationResponse, err error)
Create ...
func (InvitationClient) Delete ¶
func (c InvitationClient) Delete(ctx context.Context, id InvitationId) (result DeleteOperationResponse, err error)
Delete ...
func (InvitationClient) Get ¶
func (c InvitationClient) Get(ctx context.Context, id InvitationId) (result GetOperationResponse, err error)
Get ...
func (InvitationClient) ListByShare ¶
func (c InvitationClient) ListByShare(ctx context.Context, id ShareId, options ListByShareOperationOptions) (result ListByShareOperationResponse, err error)
ListByShare ...
func (InvitationClient) ListByShareComplete ¶
func (c InvitationClient) ListByShareComplete(ctx context.Context, id ShareId, options ListByShareOperationOptions) (ListByShareCompleteResult, error)
ListByShareComplete retrieves all the results into a single object
func (InvitationClient) ListByShareCompleteMatchingPredicate ¶
func (c InvitationClient) ListByShareCompleteMatchingPredicate(ctx context.Context, id ShareId, options ListByShareOperationOptions, predicate InvitationOperationPredicate) (result ListByShareCompleteResult, err error)
ListByShareCompleteMatchingPredicate retrieves all the results and then applies the predicate
type InvitationId ¶
type InvitationId struct { SubscriptionId string ResourceGroupName string AccountName string InvitationName string }
InvitationId is a struct representing the Resource ID for a Invitation
func NewInvitationID ¶
func NewInvitationID(subscriptionId string, resourceGroupName string, accountName string, shareName string, invitationName string) InvitationId
NewInvitationID returns a new InvitationId struct
func ParseInvitationID ¶
func ParseInvitationID(input string) (*InvitationId, error)
ParseInvitationID parses 'input' into a InvitationId
func ParseInvitationIDInsensitively ¶
func ParseInvitationIDInsensitively(input string) (*InvitationId, error)
ParseInvitationIDInsensitively parses 'input' case-insensitively into a InvitationId note: this method should only be used for API response data and not user input
func (*InvitationId) FromParseResult ¶
func (id *InvitationId) FromParseResult(input resourceids.ParseResult) error
func (InvitationId) Segments ¶
func (id InvitationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invitation ID
func (InvitationId) String ¶
func (id InvitationId) String() string
String returns a human-readable description of this Invitation ID
type InvitationOperationPredicate ¶
func (InvitationOperationPredicate) Matches ¶
func (p InvitationOperationPredicate) Matches(input Invitation) bool
type InvitationProperties ¶
type InvitationProperties struct { ExpirationDate *string `json:"expirationDate,omitempty"` InvitationId *string `json:"invitationId,omitempty"` InvitationStatus *InvitationStatus `json:"invitationStatus,omitempty"` RespondedAt *string `json:"respondedAt,omitempty"` SentAt *string `json:"sentAt,omitempty"` TargetActiveDirectoryId *string `json:"targetActiveDirectoryId,omitempty"` TargetEmail *string `json:"targetEmail,omitempty"` TargetObjectId *string `json:"targetObjectId,omitempty"` UserEmail *string `json:"userEmail,omitempty"` UserName *string `json:"userName,omitempty"` }
func (*InvitationProperties) GetExpirationDateAsTime ¶
func (o *InvitationProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*InvitationProperties) GetRespondedAtAsTime ¶
func (o *InvitationProperties) GetRespondedAtAsTime() (*time.Time, error)
func (*InvitationProperties) GetSentAtAsTime ¶
func (o *InvitationProperties) GetSentAtAsTime() (*time.Time, error)
func (*InvitationProperties) SetExpirationDateAsTime ¶
func (o *InvitationProperties) SetExpirationDateAsTime(input time.Time)
func (*InvitationProperties) SetRespondedAtAsTime ¶
func (o *InvitationProperties) SetRespondedAtAsTime(input time.Time)
func (*InvitationProperties) SetSentAtAsTime ¶
func (o *InvitationProperties) SetSentAtAsTime(input time.Time)
type InvitationStatus ¶
type InvitationStatus string
const ( InvitationStatusAccepted InvitationStatus = "Accepted" InvitationStatusPending InvitationStatus = "Pending" InvitationStatusRejected InvitationStatus = "Rejected" InvitationStatusWithdrawn InvitationStatus = "Withdrawn" )
func (*InvitationStatus) UnmarshalJSON ¶
func (s *InvitationStatus) UnmarshalJSON(bytes []byte) error
type ListByShareCompleteResult ¶
type ListByShareCompleteResult struct {}
type ListByShareCustomPager ¶
type ListByShareCustomPager struct {
}func (*ListByShareCustomPager) NextPageLink ¶
func (p *ListByShareCustomPager) NextPageLink() *odata.Link
type ListByShareOperationOptions ¶
type ListByShareOperationOptions struct {}
func DefaultListByShareOperationOptions ¶
func DefaultListByShareOperationOptions() ListByShareOperationOptions
func (ListByShareOperationOptions) ToHeaders ¶
func (o ListByShareOperationOptions) ToHeaders() *client.Headers
func (ListByShareOperationOptions) ToOData ¶
func (o ListByShareOperationOptions) ToOData() *odata.Query
func (ListByShareOperationOptions) ToQuery ¶
func (o ListByShareOperationOptions) ToQuery() *client.QueryParams
type ListByShareOperationResponse ¶
type ListByShareOperationResponse struct {}
type ShareId ¶
type ShareId struct {}
ShareId is a struct representing the Resource ID for a Share
func NewShareID ¶
func NewShareID(subscriptionId string, resourceGroupName string, accountName string, shareName string) ShareId
NewShareID returns a new ShareId struct
func ParseShareID ¶
ParseShareID parses 'input' into a ShareId
func ParseShareIDInsensitively ¶
ParseShareIDInsensitively parses 'input' case-insensitively into a ShareId note: this method should only be used for API response data and not user input
func (*ShareId) FromParseResult ¶
func (id *ShareId) FromParseResult(input resourceids.ParseResult) error
func (ShareId) Segments ¶
func (id ShareId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Share ID