README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/healthcareapis/2022-12-01/workspaceprivatelinkresources
Documentation
The workspaceprivatelinkresources
SDK allows for interaction with the Azure Resource Manager Service healthcareapis
(API Version 2022-12-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/healthcareapis/2022-12-01/workspaceprivatelinkresources"
Client Initialization
client := workspaceprivatelinkresources.NewWorkspacePrivateLinkResourcesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: WorkspacePrivateLinkResourcesClient.Get
ctx := context.TODO()
id := workspaceprivatelinkresources.NewWorkspacePrivateLinkResourceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "privateLinkResourceValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: WorkspacePrivateLinkResourcesClient.ListByWorkspace
ctx := context.TODO()
id := workspaceprivatelinkresources.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")
read, err := client.ListByWorkspace(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspacePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByWorkspaceOperationResponse
- type PrivateLinkResourceDescription
- type PrivateLinkResourceListResultDescription
- type PrivateLinkResourceProperties
- type WorkspaceId
- type WorkspacePrivateLinkResourceId
- func NewWorkspacePrivateLinkResourceID(subscriptionId string, resourceGroupName string, workspaceName string, ...) WorkspacePrivateLinkResourceId
- func ParseWorkspacePrivateLinkResourceID(input string) (*WorkspacePrivateLinkResourceId, error)
- func ParseWorkspacePrivateLinkResourceIDInsensitively(input string) (*WorkspacePrivateLinkResourceId, error)
- type WorkspacePrivateLinkResourcesClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
func ValidateWorkspacePrivateLinkResourceID ¶
func ValidateWorkspacePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkspacePrivateLinkResourceID checks that 'input' can be parsed as a Workspace Private Link Resource ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PrivateLinkResourceDescription }
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PrivateLinkResourceListResultDescription }
type PrivateLinkResourceDescription ¶
type PrivateLinkResourceDescription struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourceListResultDescription ¶
type PrivateLinkResourceListResultDescription struct {
Value *[]PrivateLinkResourceDescription `json:"value,omitempty"`
}
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
type WorkspacePrivateLinkResourceId ¶
type WorkspacePrivateLinkResourceId struct { SubscriptionId string ResourceGroupName string WorkspaceName string PrivateLinkResourceName string }
WorkspacePrivateLinkResourceId is a struct representing the Resource ID for a Workspace Private Link Resource
func NewWorkspacePrivateLinkResourceID ¶
func NewWorkspacePrivateLinkResourceID(subscriptionId string, resourceGroupName string, workspaceName string, privateLinkResourceName string) WorkspacePrivateLinkResourceId
NewWorkspacePrivateLinkResourceID returns a new WorkspacePrivateLinkResourceId struct
func ParseWorkspacePrivateLinkResourceID ¶
func ParseWorkspacePrivateLinkResourceID(input string) (*WorkspacePrivateLinkResourceId, error)
ParseWorkspacePrivateLinkResourceID parses 'input' into a WorkspacePrivateLinkResourceId
func ParseWorkspacePrivateLinkResourceIDInsensitively ¶
func ParseWorkspacePrivateLinkResourceIDInsensitively(input string) (*WorkspacePrivateLinkResourceId, error)
ParseWorkspacePrivateLinkResourceIDInsensitively parses 'input' case-insensitively into a WorkspacePrivateLinkResourceId note: this method should only be used for API response data and not user input
func (*WorkspacePrivateLinkResourceId) FromParseResult ¶
func (id *WorkspacePrivateLinkResourceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspacePrivateLinkResourceId) ID ¶
func (id WorkspacePrivateLinkResourceId) ID() string
ID returns the formatted Workspace Private Link Resource ID
func (WorkspacePrivateLinkResourceId) Segments ¶
func (id WorkspacePrivateLinkResourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Private Link Resource ID
func (WorkspacePrivateLinkResourceId) String ¶
func (id WorkspacePrivateLinkResourceId) String() string
String returns a human-readable description of this Workspace Private Link Resource ID
type WorkspacePrivateLinkResourcesClient ¶
type WorkspacePrivateLinkResourcesClient struct {
Client *resourcemanager.Client
}
func NewWorkspacePrivateLinkResourcesClientWithBaseURI ¶
func NewWorkspacePrivateLinkResourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspacePrivateLinkResourcesClient, error)
func (WorkspacePrivateLinkResourcesClient) Get ¶
func (c WorkspacePrivateLinkResourcesClient) Get(ctx context.Context, id WorkspacePrivateLinkResourceId) (result GetOperationResponse, err error)
Get ...
func (WorkspacePrivateLinkResourcesClient) ListByWorkspace ¶
func (c WorkspacePrivateLinkResourcesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...