Documentation ¶
Index ¶
- func PossibleValuesForCapabilityHostKind() []string
- func PossibleValuesForCapabilityHostProvisioningState() []string
- func ValidateCapabilityHostID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilityHost
- type CapabilityHostClient
- func (c CapabilityHostClient) CreateOrUpdate(ctx context.Context, id CapabilityHostId, input CapabilityHostResource) (result CreateOrUpdateOperationResponse, err error)
- func (c CapabilityHostClient) CreateOrUpdateThenPoll(ctx context.Context, id CapabilityHostId, input CapabilityHostResource) error
- func (c CapabilityHostClient) Delete(ctx context.Context, id CapabilityHostId) (result DeleteOperationResponse, err error)
- func (c CapabilityHostClient) DeleteThenPoll(ctx context.Context, id CapabilityHostId) error
- func (c CapabilityHostClient) Get(ctx context.Context, id CapabilityHostId) (result GetOperationResponse, err error)
- type CapabilityHostId
- type CapabilityHostKind
- type CapabilityHostProvisioningState
- type CapabilityHostResource
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCapabilityHostKind ¶
func PossibleValuesForCapabilityHostKind() []string
func PossibleValuesForCapabilityHostProvisioningState ¶
func PossibleValuesForCapabilityHostProvisioningState() []string
func ValidateCapabilityHostID ¶
ValidateCapabilityHostID checks that 'input' can be parsed as a Capability Host ID
Types ¶
type CapabilityHost ¶
type CapabilityHost struct { AiServicesConnections *[]string `json:"aiServicesConnections,omitempty"` CapabilityHostKind *CapabilityHostKind `json:"capabilityHostKind,omitempty"` CustomerSubnet *string `json:"customerSubnet,omitempty"` Description *string `json:"description,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *CapabilityHostProvisioningState `json:"provisioningState,omitempty"` StorageConnections *[]string `json:"storageConnections,omitempty"` Tags *map[string]string `json:"tags,omitempty"` VectorStoreConnections *[]string `json:"vectorStoreConnections,omitempty"` }
type CapabilityHostClient ¶
type CapabilityHostClient struct {
Client *resourcemanager.Client
}
func NewCapabilityHostClientWithBaseURI ¶
func NewCapabilityHostClientWithBaseURI(sdkApi sdkEnv.Api) (*CapabilityHostClient, error)
func (CapabilityHostClient) CreateOrUpdate ¶
func (c CapabilityHostClient) CreateOrUpdate(ctx context.Context, id CapabilityHostId, input CapabilityHostResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CapabilityHostClient) CreateOrUpdateThenPoll ¶
func (c CapabilityHostClient) CreateOrUpdateThenPoll(ctx context.Context, id CapabilityHostId, input CapabilityHostResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CapabilityHostClient) Delete ¶
func (c CapabilityHostClient) Delete(ctx context.Context, id CapabilityHostId) (result DeleteOperationResponse, err error)
Delete ...
func (CapabilityHostClient) DeleteThenPoll ¶
func (c CapabilityHostClient) DeleteThenPoll(ctx context.Context, id CapabilityHostId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CapabilityHostClient) Get ¶
func (c CapabilityHostClient) Get(ctx context.Context, id CapabilityHostId) (result GetOperationResponse, err error)
Get ...
type CapabilityHostId ¶
type CapabilityHostId struct { SubscriptionId string ResourceGroupName string WorkspaceName string CapabilityHostName string }
CapabilityHostId is a struct representing the Resource ID for a Capability Host
func NewCapabilityHostID ¶
func NewCapabilityHostID(subscriptionId string, resourceGroupName string, workspaceName string, capabilityHostName string) CapabilityHostId
NewCapabilityHostID returns a new CapabilityHostId struct
func ParseCapabilityHostID ¶
func ParseCapabilityHostID(input string) (*CapabilityHostId, error)
ParseCapabilityHostID parses 'input' into a CapabilityHostId
func ParseCapabilityHostIDInsensitively ¶
func ParseCapabilityHostIDInsensitively(input string) (*CapabilityHostId, error)
ParseCapabilityHostIDInsensitively parses 'input' case-insensitively into a CapabilityHostId note: this method should only be used for API response data and not user input
func (*CapabilityHostId) FromParseResult ¶
func (id *CapabilityHostId) FromParseResult(input resourceids.ParseResult) error
func (CapabilityHostId) ID ¶
func (id CapabilityHostId) ID() string
ID returns the formatted Capability Host ID
func (CapabilityHostId) Segments ¶
func (id CapabilityHostId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Capability Host ID
func (CapabilityHostId) String ¶
func (id CapabilityHostId) String() string
String returns a human-readable description of this Capability Host ID
type CapabilityHostKind ¶
type CapabilityHostKind string
const (
CapabilityHostKindAgents CapabilityHostKind = "Agents"
)
func (*CapabilityHostKind) UnmarshalJSON ¶
func (s *CapabilityHostKind) UnmarshalJSON(bytes []byte) error
type CapabilityHostProvisioningState ¶
type CapabilityHostProvisioningState string
const ( CapabilityHostProvisioningStateCanceled CapabilityHostProvisioningState = "Canceled" CapabilityHostProvisioningStateCreating CapabilityHostProvisioningState = "Creating" CapabilityHostProvisioningStateDeleting CapabilityHostProvisioningState = "Deleting" CapabilityHostProvisioningStateFailed CapabilityHostProvisioningState = "Failed" CapabilityHostProvisioningStateSucceeded CapabilityHostProvisioningState = "Succeeded" CapabilityHostProvisioningStateUpdating CapabilityHostProvisioningState = "Updating" )
func (*CapabilityHostProvisioningState) UnmarshalJSON ¶
func (s *CapabilityHostProvisioningState) UnmarshalJSON(bytes []byte) error
type CapabilityHostResource ¶
type CapabilityHostResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties CapabilityHost `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CapabilityHostResource }