README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/redis/2022-06-01/privatelinkresources
Documentation
The privatelinkresources
SDK allows for interaction with the Azure Resource Manager Service redis
(API Version 2022-06-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/redis/2022-06-01/privatelinkresources"
Client Initialization
client := privatelinkresources.NewPrivateLinkResourcesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: PrivateLinkResourcesClient.ListByRedisCache
ctx := context.TODO()
id := privatelinkresources.NewRediID("12345678-1234-9876-4563-123456789012", "example-resource-group", "redisValue")
read, err := client.ListByRedisCache(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRediID ¶
ValidateRediID checks that 'input' can be parsed as a Redi ID
Types ¶
type ListByRedisCacheOperationResponse ¶
type ListByRedisCacheOperationResponse struct { HttpResponse *http.Response Model *PrivateLinkResourceListResult }
type PrivateLinkResource ¶
type PrivateLinkResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourceListResult ¶
type PrivateLinkResourceListResult struct {
Value *[]PrivateLinkResource `json:"value,omitempty"`
}
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(endpoint string) PrivateLinkResourcesClient
func (PrivateLinkResourcesClient) ListByRedisCache ¶
func (c PrivateLinkResourcesClient) ListByRedisCache(ctx context.Context, id RediId) (result ListByRedisCacheOperationResponse, err error)
ListByRedisCache ...
type RediId ¶
RediId is a struct representing the Resource ID for a Redi
func ParseRediID ¶
ParseRediID parses 'input' into a RediId
func ParseRediIDInsensitively ¶
ParseRediIDInsensitively parses 'input' case-insensitively into a RediId note: this method should only be used for API response data and not user input
func (RediId) Segments ¶
func (id RediId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Redi ID
Click to show internal directories.
Click to hide internal directories.