Documentation ¶
Index ¶
- func ValidateOfficeConsentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type OfficeConsent
- type OfficeConsentId
- type OfficeConsentOperationPredicate
- type OfficeConsentProperties
- type OfficeConsentsClient
- func (c OfficeConsentsClient) Delete(ctx context.Context, id OfficeConsentId) (result DeleteOperationResponse, err error)
- func (c OfficeConsentsClient) Get(ctx context.Context, id OfficeConsentId) (result GetOperationResponse, err error)
- func (c OfficeConsentsClient) List(ctx context.Context, id WorkspaceId) (result ListOperationResponse, err error)
- func (c OfficeConsentsClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
- func (c OfficeConsentsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate OfficeConsentOperationPredicate) (result ListCompleteResult, err error)
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateOfficeConsentID ¶
ValidateOfficeConsentID checks that 'input' can be parsed as a Office Consent ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OfficeConsent }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []OfficeConsent }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OfficeConsent }
type OfficeConsent ¶
type OfficeConsent struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OfficeConsentProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type OfficeConsentId ¶
type OfficeConsentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ConsentId string }
OfficeConsentId is a struct representing the Resource ID for a Office Consent
func NewOfficeConsentID ¶
func NewOfficeConsentID(subscriptionId string, resourceGroupName string, workspaceName string, consentId string) OfficeConsentId
NewOfficeConsentID returns a new OfficeConsentId struct
func ParseOfficeConsentID ¶
func ParseOfficeConsentID(input string) (*OfficeConsentId, error)
ParseOfficeConsentID parses 'input' into a OfficeConsentId
func ParseOfficeConsentIDInsensitively ¶
func ParseOfficeConsentIDInsensitively(input string) (*OfficeConsentId, error)
ParseOfficeConsentIDInsensitively parses 'input' case-insensitively into a OfficeConsentId note: this method should only be used for API response data and not user input
func (*OfficeConsentId) FromParseResult ¶
func (id *OfficeConsentId) FromParseResult(input resourceids.ParseResult) error
func (OfficeConsentId) ID ¶
func (id OfficeConsentId) ID() string
ID returns the formatted Office Consent ID
func (OfficeConsentId) Segments ¶
func (id OfficeConsentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Office Consent ID
func (OfficeConsentId) String ¶
func (id OfficeConsentId) String() string
String returns a human-readable description of this Office Consent ID
type OfficeConsentOperationPredicate ¶
func (OfficeConsentOperationPredicate) Matches ¶
func (p OfficeConsentOperationPredicate) Matches(input OfficeConsent) bool
type OfficeConsentProperties ¶
type OfficeConsentsClient ¶
type OfficeConsentsClient struct {
Client *resourcemanager.Client
}
func NewOfficeConsentsClientWithBaseURI ¶
func NewOfficeConsentsClientWithBaseURI(sdkApi sdkEnv.Api) (*OfficeConsentsClient, error)
func (OfficeConsentsClient) Delete ¶
func (c OfficeConsentsClient) Delete(ctx context.Context, id OfficeConsentId) (result DeleteOperationResponse, err error)
Delete ...
func (OfficeConsentsClient) Get ¶
func (c OfficeConsentsClient) Get(ctx context.Context, id OfficeConsentId) (result GetOperationResponse, err error)
Get ...
func (OfficeConsentsClient) List ¶
func (c OfficeConsentsClient) List(ctx context.Context, id WorkspaceId) (result ListOperationResponse, err error)
List ...
func (OfficeConsentsClient) ListComplete ¶
func (c OfficeConsentsClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (OfficeConsentsClient) ListCompleteMatchingPredicate ¶
func (c OfficeConsentsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate OfficeConsentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID