README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2022-05-01/vaults
Documentation
The vaults
SDK allows for interaction with the Azure Resource Manager Service netapp
(API Version 2022-05-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/netapp/2022-05-01/vaults"
Client Initialization
client := vaults.NewVaultsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: VaultsClient.List
ctx := context.TODO()
id := vaults.NewNetAppAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "netAppAccountValue")
read, err := client.List(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 ValidateNetAppAccountID ¶
ValidateNetAppAccountID checks that 'input' can be parsed as a Net App Account ID
Types ¶
type ListOperationResponse ¶
type NetAppAccountId ¶
type NetAppAccountId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string }
NetAppAccountId is a struct representing the Resource ID for a Net App Account
func NewNetAppAccountID ¶
func NewNetAppAccountID(subscriptionId string, resourceGroupName string, netAppAccountName string) NetAppAccountId
NewNetAppAccountID returns a new NetAppAccountId struct
func ParseNetAppAccountID ¶
func ParseNetAppAccountID(input string) (*NetAppAccountId, error)
ParseNetAppAccountID parses 'input' into a NetAppAccountId
func ParseNetAppAccountIDInsensitively ¶
func ParseNetAppAccountIDInsensitively(input string) (*NetAppAccountId, error)
ParseNetAppAccountIDInsensitively parses 'input' case-insensitively into a NetAppAccountId note: this method should only be used for API response data and not user input
func (NetAppAccountId) ID ¶
func (id NetAppAccountId) ID() string
ID returns the formatted Net App Account ID
func (NetAppAccountId) Segments ¶
func (id NetAppAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Net App Account ID
func (NetAppAccountId) String ¶
func (id NetAppAccountId) String() string
String returns a human-readable description of this Net App Account ID
type Vault ¶
type Vault struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties VaultProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type VaultProperties ¶
type VaultProperties struct {
VaultName *string `json:"vaultName,omitempty"`
}
type VaultsClient ¶
func NewVaultsClientWithBaseURI ¶
func NewVaultsClientWithBaseURI(endpoint string) VaultsClient
func (VaultsClient) List ¶
func (c VaultsClient) List(ctx context.Context, id NetAppAccountId) (result ListOperationResponse, err error)
List ...