Documentation ¶
Index ¶
- func ValidateBestPracticeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type BestPractice
- type BestPracticeId
- type BestPracticeList
- type BestPracticesVersionsClient
- type ConfigurationProfileProperties
- type GetOperationResponse
- type ListByTenantOperationResponse
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBestPracticeID ¶
ValidateBestPracticeID checks that 'input' can be parsed as a Best Practice ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type BestPractice ¶
type BestPractice struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ConfigurationProfileProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type BestPracticeId ¶
type BestPracticeId struct {
BestPracticeName string
}
BestPracticeId is a struct representing the Resource ID for a Best Practice
func NewBestPracticeID ¶
func NewBestPracticeID(bestPracticeName string) BestPracticeId
NewBestPracticeID returns a new BestPracticeId struct
func ParseBestPracticeID ¶
func ParseBestPracticeID(input string) (*BestPracticeId, error)
ParseBestPracticeID parses 'input' into a BestPracticeId
func ParseBestPracticeIDInsensitively ¶
func ParseBestPracticeIDInsensitively(input string) (*BestPracticeId, error)
ParseBestPracticeIDInsensitively parses 'input' case-insensitively into a BestPracticeId note: this method should only be used for API response data and not user input
func (BestPracticeId) ID ¶
func (id BestPracticeId) ID() string
ID returns the formatted Best Practice ID
func (BestPracticeId) Segments ¶
func (id BestPracticeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Best Practice ID
func (BestPracticeId) String ¶
func (id BestPracticeId) String() string
String returns a human-readable description of this Best Practice ID
type BestPracticeList ¶
type BestPracticeList struct {
Value *[]BestPractice `json:"value,omitempty"`
}
type BestPracticesVersionsClient ¶
type BestPracticesVersionsClient struct {
Client *resourcemanager.Client
}
func NewBestPracticesVersionsClientWithBaseURI ¶
func NewBestPracticesVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*BestPracticesVersionsClient, error)
func (BestPracticesVersionsClient) Get ¶
func (c BestPracticesVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (BestPracticesVersionsClient) ListByTenant ¶
func (c BestPracticesVersionsClient) ListByTenant(ctx context.Context, id BestPracticeId) (result ListByTenantOperationResponse, err error)
ListByTenant ...
type ConfigurationProfileProperties ¶
type ConfigurationProfileProperties struct {
Configuration *interface{} `json:"configuration,omitempty"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BestPractice }
type ListByTenantOperationResponse ¶
type ListByTenantOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BestPracticeList }
type VersionId ¶
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID