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
	BatchAccountName string
}

func AccountID

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

AccountID parses a Account ID into an AccountId struct

func NewAccountID

func NewAccountID(subscriptionId, resourceGroup, batchAccountName string) AccountId

func (AccountId) ID

func (id AccountId) ID() string

func (AccountId) String

func (id AccountId) String() string

type ApplicationId

type ApplicationId struct {
	SubscriptionId   string
	ResourceGroup    string
	BatchAccountName string
	Name             string
}

func ApplicationID

func ApplicationID(input string) (*ApplicationId, error)

ApplicationID parses a Application ID into an ApplicationId struct

func NewApplicationID

func NewApplicationID(subscriptionId, resourceGroup, batchAccountName, name string) ApplicationId

func (ApplicationId) ID

func (id ApplicationId) ID() string

func (ApplicationId) String

func (id ApplicationId) String() string

type CertificateId

type CertificateId struct {
	SubscriptionId   string
	ResourceGroup    string
	BatchAccountName string
	Name             string
}

func CertificateID

func CertificateID(input string) (*CertificateId, error)

CertificateID parses a Certificate ID into an CertificateId struct

func NewCertificateID

func NewCertificateID(subscriptionId, resourceGroup, batchAccountName, name string) CertificateId

func (CertificateId) ID

func (id CertificateId) ID() string

func (CertificateId) String

func (id CertificateId) String() string

type JobId

type JobId struct {
	SubscriptionId   string
	ResourceGroup    string
	BatchAccountName string
	PoolName         string
	Name             string
}

func JobID

func JobID(input string) (*JobId, error)

JobID parses a Job ID into an JobId struct

func NewJobID

func NewJobID(subscriptionId, resourceGroup, batchAccountName, poolName, name string) JobId

func (JobId) ID

func (id JobId) ID() string

func (JobId) String

func (id JobId) String() string

type PoolId

type PoolId struct {
	SubscriptionId   string
	ResourceGroup    string
	BatchAccountName string
	Name             string
}

func NewPoolID

func NewPoolID(subscriptionId, resourceGroup, batchAccountName, name string) PoolId

func PoolID

func PoolID(input string) (*PoolId, error)

PoolID parses a Pool ID into an PoolId struct

func (PoolId) ID

func (id PoolId) ID() string

func (PoolId) String

func (id PoolId) String() string

Jump to

Keyboard shortcuts

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