Documentation ¶
Index ¶
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
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) FromParseResult ¶
func (id *BestPracticeId) FromParseResult(input resourceids.ParseResult) error
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 BestPracticesClient ¶
type BestPracticesClient struct {
Client *resourcemanager.Client
}
func NewBestPracticesClientWithBaseURI ¶
func NewBestPracticesClientWithBaseURI(sdkApi sdkEnv.Api) (*BestPracticesClient, error)
func (BestPracticesClient) Get ¶
func (c BestPracticesClient) Get(ctx context.Context, id BestPracticeId) (result GetOperationResponse, err error)
Get ...
func (BestPracticesClient) ListByTenant ¶
func (c BestPracticesClient) ListByTenant(ctx context.Context) (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 }