Documentation ¶
Index ¶
- func PossibleValuesForListViewType() []string
- func ValidateEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AssetContainer
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnvironmentContainerClient
- func (c EnvironmentContainerClient) CreateOrUpdate(ctx context.Context, id EnvironmentId, input EnvironmentContainerResource) (result CreateOrUpdateOperationResponse, err error)
- func (c EnvironmentContainerClient) Delete(ctx context.Context, id EnvironmentId) (result DeleteOperationResponse, err error)
- func (c EnvironmentContainerClient) Get(ctx context.Context, id EnvironmentId) (result GetOperationResponse, err error)
- func (c EnvironmentContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c EnvironmentContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c EnvironmentContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type EnvironmentContainerResource
- type EnvironmentContainerResourceOperationPredicate
- type EnvironmentId
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func ValidateEnvironmentID ¶
ValidateEnvironmentID checks that 'input' can be parsed as a Environment ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type AssetContainer ¶
type AssetContainer struct { Description *string `json:"description,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` LatestVersion *string `json:"latestVersion,omitempty"` NextVersion *string `json:"nextVersion,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *EnvironmentContainerResource }
type DeleteOperationResponse ¶
type EnvironmentContainerClient ¶
type EnvironmentContainerClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewEnvironmentContainerClientWithBaseURI ¶
func NewEnvironmentContainerClientWithBaseURI(endpoint string) EnvironmentContainerClient
func (EnvironmentContainerClient) CreateOrUpdate ¶
func (c EnvironmentContainerClient) CreateOrUpdate(ctx context.Context, id EnvironmentId, input EnvironmentContainerResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EnvironmentContainerClient) Delete ¶
func (c EnvironmentContainerClient) Delete(ctx context.Context, id EnvironmentId) (result DeleteOperationResponse, err error)
Delete ...
func (EnvironmentContainerClient) Get ¶
func (c EnvironmentContainerClient) Get(ctx context.Context, id EnvironmentId) (result GetOperationResponse, err error)
Get ...
func (EnvironmentContainerClient) List ¶
func (c EnvironmentContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (EnvironmentContainerClient) ListComplete ¶
func (c EnvironmentContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (EnvironmentContainerClient) ListCompleteMatchingPredicate ¶
func (c EnvironmentContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate EnvironmentContainerResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type EnvironmentContainerResource ¶
type EnvironmentContainerResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AssetContainer `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type EnvironmentContainerResourceOperationPredicate ¶
func (EnvironmentContainerResourceOperationPredicate) Matches ¶
func (p EnvironmentContainerResourceOperationPredicate) Matches(input EnvironmentContainerResource) bool
type EnvironmentId ¶
type EnvironmentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EnvironmentName string }
EnvironmentId is a struct representing the Resource ID for a Environment
func NewEnvironmentID ¶
func NewEnvironmentID(subscriptionId string, resourceGroupName string, workspaceName string, environmentName string) EnvironmentId
NewEnvironmentID returns a new EnvironmentId struct
func ParseEnvironmentID ¶
func ParseEnvironmentID(input string) (*EnvironmentId, error)
ParseEnvironmentID parses 'input' into a EnvironmentId
func ParseEnvironmentIDInsensitively ¶
func ParseEnvironmentIDInsensitively(input string) (*EnvironmentId, error)
ParseEnvironmentIDInsensitively parses 'input' case-insensitively into a EnvironmentId note: this method should only be used for API response data and not user input
func (EnvironmentId) ID ¶
func (id EnvironmentId) ID() string
ID returns the formatted Environment ID
func (EnvironmentId) Segments ¶
func (id EnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Environment ID
func (EnvironmentId) String ¶
func (id EnvironmentId) String() string
String returns a human-readable description of this Environment ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *EnvironmentContainerResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []EnvironmentContainerResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { ListViewType *ListViewType Skip *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]EnvironmentContainerResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ListViewType ¶
type ListViewType string
const ( ListViewTypeActiveOnly ListViewType = "ActiveOnly" ListViewTypeAll ListViewType = "All" ListViewTypeArchivedOnly ListViewType = "ArchivedOnly" )
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) 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