Documentation ¶
Index ¶
- func PossibleValuesForEndpointAuthMode() []string
- func PossibleValuesForEndpointProvisioningState() []string
- func PossibleValuesForManagedServiceIdentityType() []string
- func PossibleValuesForSkuTier() []string
- func ValidateBatchEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type BatchEndpoint
- type BatchEndpointClient
- func (c BatchEndpointClient) CreateOrUpdate(ctx context.Context, id BatchEndpointId, input BatchEndpointTrackedResource) (result CreateOrUpdateOperationResponse, err error)
- func (c BatchEndpointClient) CreateOrUpdateThenPoll(ctx context.Context, id BatchEndpointId, input BatchEndpointTrackedResource) error
- func (c BatchEndpointClient) Delete(ctx context.Context, id BatchEndpointId) (result DeleteOperationResponse, err error)
- func (c BatchEndpointClient) DeleteThenPoll(ctx context.Context, id BatchEndpointId) error
- func (c BatchEndpointClient) Get(ctx context.Context, id BatchEndpointId) (result GetOperationResponse, err error)
- func (c BatchEndpointClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c BatchEndpointClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BatchEndpointClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c BatchEndpointClient) ListKeys(ctx context.Context, id BatchEndpointId) (result ListKeysOperationResponse, err error)
- func (c BatchEndpointClient) Update(ctx context.Context, id BatchEndpointId, ...) (result UpdateOperationResponse, err error)
- func (c BatchEndpointClient) UpdateThenPoll(ctx context.Context, id BatchEndpointId, ...) error
- type BatchEndpointDefaults
- type BatchEndpointId
- type BatchEndpointTrackedResource
- type BatchEndpointTrackedResourceOperationPredicate
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EndpointAuthKeys
- type EndpointAuthMode
- type EndpointProvisioningState
- type GetOperationResponse
- type ListCompleteResult
- type ListKeysOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type ManagedServiceIdentityType
- type PartialManagedServiceIdentity
- type PartialMinimalTrackedResourceWithIdentity
- type Sku
- type SkuTier
- type UpdateOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEndpointAuthMode ¶
func PossibleValuesForEndpointAuthMode() []string
func PossibleValuesForEndpointProvisioningState ¶
func PossibleValuesForEndpointProvisioningState() []string
func PossibleValuesForManagedServiceIdentityType ¶
func PossibleValuesForManagedServiceIdentityType() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateBatchEndpointID ¶
ValidateBatchEndpointID checks that 'input' can be parsed as a Batch Endpoint ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type BatchEndpoint ¶
type BatchEndpoint struct { AuthMode EndpointAuthMode `json:"authMode"` Defaults *BatchEndpointDefaults `json:"defaults,omitempty"` Description *string `json:"description,omitempty"` Keys *EndpointAuthKeys `json:"keys,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *EndpointProvisioningState `json:"provisioningState,omitempty"` ScoringUri *string `json:"scoringUri,omitempty"` SwaggerUri *string `json:"swaggerUri,omitempty"` }
type BatchEndpointClient ¶
type BatchEndpointClient struct {
Client *resourcemanager.Client
}
func NewBatchEndpointClientWithBaseURI ¶
func NewBatchEndpointClientWithBaseURI(sdkApi sdkEnv.Api) (*BatchEndpointClient, error)
func (BatchEndpointClient) CreateOrUpdate ¶
func (c BatchEndpointClient) CreateOrUpdate(ctx context.Context, id BatchEndpointId, input BatchEndpointTrackedResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BatchEndpointClient) CreateOrUpdateThenPoll ¶
func (c BatchEndpointClient) CreateOrUpdateThenPoll(ctx context.Context, id BatchEndpointId, input BatchEndpointTrackedResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BatchEndpointClient) Delete ¶
func (c BatchEndpointClient) Delete(ctx context.Context, id BatchEndpointId) (result DeleteOperationResponse, err error)
Delete ...
func (BatchEndpointClient) DeleteThenPoll ¶
func (c BatchEndpointClient) DeleteThenPoll(ctx context.Context, id BatchEndpointId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BatchEndpointClient) Get ¶
func (c BatchEndpointClient) Get(ctx context.Context, id BatchEndpointId) (result GetOperationResponse, err error)
Get ...
func (BatchEndpointClient) List ¶
func (c BatchEndpointClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (BatchEndpointClient) ListComplete ¶
func (c BatchEndpointClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BatchEndpointClient) ListCompleteMatchingPredicate ¶
func (c BatchEndpointClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate BatchEndpointTrackedResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BatchEndpointClient) ListKeys ¶
func (c BatchEndpointClient) ListKeys(ctx context.Context, id BatchEndpointId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (BatchEndpointClient) Update ¶
func (c BatchEndpointClient) Update(ctx context.Context, id BatchEndpointId, input PartialMinimalTrackedResourceWithIdentity) (result UpdateOperationResponse, err error)
Update ...
func (BatchEndpointClient) UpdateThenPoll ¶
func (c BatchEndpointClient) UpdateThenPoll(ctx context.Context, id BatchEndpointId, input PartialMinimalTrackedResourceWithIdentity) error
UpdateThenPoll performs Update then polls until it's completed
type BatchEndpointDefaults ¶
type BatchEndpointDefaults struct {
DeploymentName *string `json:"deploymentName,omitempty"`
}
type BatchEndpointId ¶
type BatchEndpointId struct { SubscriptionId string ResourceGroupName string WorkspaceName string BatchEndpointName string }
BatchEndpointId is a struct representing the Resource ID for a Batch Endpoint
func NewBatchEndpointID ¶
func NewBatchEndpointID(subscriptionId string, resourceGroupName string, workspaceName string, batchEndpointName string) BatchEndpointId
NewBatchEndpointID returns a new BatchEndpointId struct
func ParseBatchEndpointID ¶
func ParseBatchEndpointID(input string) (*BatchEndpointId, error)
ParseBatchEndpointID parses 'input' into a BatchEndpointId
func ParseBatchEndpointIDInsensitively ¶
func ParseBatchEndpointIDInsensitively(input string) (*BatchEndpointId, error)
ParseBatchEndpointIDInsensitively parses 'input' case-insensitively into a BatchEndpointId note: this method should only be used for API response data and not user input
func (*BatchEndpointId) FromParseResult ¶
func (id *BatchEndpointId) FromParseResult(input resourceids.ParseResult) error
func (BatchEndpointId) ID ¶
func (id BatchEndpointId) ID() string
ID returns the formatted Batch Endpoint ID
func (BatchEndpointId) Segments ¶
func (id BatchEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Batch Endpoint ID
func (BatchEndpointId) String ¶
func (id BatchEndpointId) String() string
String returns a human-readable description of this Batch Endpoint ID
type BatchEndpointTrackedResource ¶
type BatchEndpointTrackedResource struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties BatchEndpoint `json:"properties"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BatchEndpointTrackedResourceOperationPredicate ¶
type BatchEndpointTrackedResourceOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (BatchEndpointTrackedResourceOperationPredicate) Matches ¶
func (p BatchEndpointTrackedResourceOperationPredicate) Matches(input BatchEndpointTrackedResource) bool
type DeleteOperationResponse ¶
type EndpointAuthKeys ¶
type EndpointAuthMode ¶
type EndpointAuthMode string
const ( EndpointAuthModeAADToken EndpointAuthMode = "AADToken" EndpointAuthModeAMLToken EndpointAuthMode = "AMLToken" EndpointAuthModeKey EndpointAuthMode = "Key" )
func (*EndpointAuthMode) UnmarshalJSON ¶
func (s *EndpointAuthMode) UnmarshalJSON(bytes []byte) error
type EndpointProvisioningState ¶
type EndpointProvisioningState string
const ( EndpointProvisioningStateCanceled EndpointProvisioningState = "Canceled" EndpointProvisioningStateCreating EndpointProvisioningState = "Creating" EndpointProvisioningStateDeleting EndpointProvisioningState = "Deleting" EndpointProvisioningStateFailed EndpointProvisioningState = "Failed" EndpointProvisioningStateSucceeded EndpointProvisioningState = "Succeeded" EndpointProvisioningStateUpdating EndpointProvisioningState = "Updating" )
func (*EndpointProvisioningState) UnmarshalJSON ¶
func (s *EndpointProvisioningState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BatchEndpointTrackedResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BatchEndpointTrackedResource }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EndpointAuthKeys }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BatchEndpointTrackedResource }
type ManagedServiceIdentityType ¶
type ManagedServiceIdentityType string
const ( ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None" ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned" ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned" ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" )
func (*ManagedServiceIdentityType) UnmarshalJSON ¶
func (s *ManagedServiceIdentityType) UnmarshalJSON(bytes []byte) error
type PartialManagedServiceIdentity ¶
type PartialManagedServiceIdentity struct { Type *ManagedServiceIdentityType `json:"type,omitempty"` UserAssignedIdentities *map[string]interface{} `json:"userAssignedIdentities,omitempty"` }
type PartialMinimalTrackedResourceWithIdentity ¶
type PartialMinimalTrackedResourceWithIdentity struct { Identity *PartialManagedServiceIdentity `json:"identity,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type UpdateOperationResponse ¶
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
Source Files ¶
- client.go
- constants.go
- id_batchendpoint.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listkeys.go
- method_update.go
- model_batchendpoint.go
- model_batchendpointdefaults.go
- model_batchendpointtrackedresource.go
- model_endpointauthkeys.go
- model_partialmanagedserviceidentity.go
- model_partialminimaltrackedresourcewithidentity.go
- model_sku.go
- predicates.go
- version.go