parse

package
v2.85.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountId

type AccountId struct {
	SubscriptionId    string
	ResourceGroup     string
	NetAppAccountName string
}

func AccountID

func AccountID(input string) (*AccountId, error)

AccountID parses a Account ID into an AccountId struct

func NewAccountID

func NewAccountID(subscriptionId, resourceGroup, netAppAccountName string) AccountId

func (AccountId) ID

func (id AccountId) ID() string

func (AccountId) String

func (id AccountId) String() string

type CapacityPoolId

type CapacityPoolId struct {
	SubscriptionId    string
	ResourceGroup     string
	NetAppAccountName string
	Name              string
}

func CapacityPoolID

func CapacityPoolID(input string) (*CapacityPoolId, error)

CapacityPoolID parses a CapacityPool ID into an CapacityPoolId struct

func NewCapacityPoolID

func NewCapacityPoolID(subscriptionId, resourceGroup, netAppAccountName, name string) CapacityPoolId

func (CapacityPoolId) ID

func (id CapacityPoolId) ID() string

func (CapacityPoolId) String

func (id CapacityPoolId) String() string

type SnapshotId

type SnapshotId struct {
	SubscriptionId    string
	ResourceGroup     string
	NetAppAccountName string
	CapacityPoolName  string
	VolumeName        string
	Name              string
}

func NewSnapshotID

func NewSnapshotID(subscriptionId, resourceGroup, netAppAccountName, capacityPoolName, volumeName, name string) SnapshotId

func SnapshotID

func SnapshotID(input string) (*SnapshotId, error)

SnapshotID parses a Snapshot ID into an SnapshotId struct

func (SnapshotId) ID

func (id SnapshotId) ID() string

func (SnapshotId) String

func (id SnapshotId) String() string

type VolumeId

type VolumeId struct {
	SubscriptionId    string
	ResourceGroup     string
	NetAppAccountName string
	CapacityPoolName  string
	Name              string
}

func NewVolumeID

func NewVolumeID(subscriptionId, resourceGroup, netAppAccountName, capacityPoolName, name string) VolumeId

func VolumeID

func VolumeID(input string) (*VolumeId, error)

VolumeID parses a Volume ID into an VolumeId struct

func (VolumeId) ID

func (id VolumeId) ID() string

func (VolumeId) String

func (id VolumeId) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL