Documentation ¶
Index ¶
- func PossibleValuesForLevel() []string
- func ValidateConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type AnalysisCreate
- type AnalysisCreateConfig
- type AnalysisDiagnostic
- type AnalysisResult
- type AnalysisResultData
- type ConfigurationId
- type ConfigurationsAnalysisOperationResponse
- type DiagnosticItem
- type Level
- type NginxConfigurationAnalysisClient
- type NginxConfigurationFile
- type NginxConfigurationPackage
- type NginxConfigurationProtectedFileRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLevel ¶
func PossibleValuesForLevel() []string
func ValidateConfigurationID ¶
ValidateConfigurationID checks that 'input' can be parsed as a Configuration ID
Types ¶
type AnalysisCreate ¶
type AnalysisCreate struct {
Config AnalysisCreateConfig `json:"config"`
}
type AnalysisCreateConfig ¶
type AnalysisCreateConfig struct { Files *[]NginxConfigurationFile `json:"files,omitempty"` Package *NginxConfigurationPackage `json:"package,omitempty"` ProtectedFiles *[]NginxConfigurationProtectedFileRequest `json:"protectedFiles,omitempty"` RootFile *string `json:"rootFile,omitempty"` }
type AnalysisDiagnostic ¶
type AnalysisResult ¶
type AnalysisResult struct { Data *AnalysisResultData `json:"data,omitempty"` Status string `json:"status"` }
type AnalysisResultData ¶
type AnalysisResultData struct { Diagnostics *[]DiagnosticItem `json:"diagnostics,omitempty"` Errors *[]AnalysisDiagnostic `json:"errors,omitempty"` }
type ConfigurationId ¶
type ConfigurationId struct { SubscriptionId string ResourceGroupName string NginxDeploymentName string ConfigurationName string }
ConfigurationId is a struct representing the Resource ID for a Configuration
func NewConfigurationID ¶
func NewConfigurationID(subscriptionId string, resourceGroupName string, nginxDeploymentName string, configurationName string) ConfigurationId
NewConfigurationID returns a new ConfigurationId struct
func ParseConfigurationID ¶
func ParseConfigurationID(input string) (*ConfigurationId, error)
ParseConfigurationID parses 'input' into a ConfigurationId
func ParseConfigurationIDInsensitively ¶
func ParseConfigurationIDInsensitively(input string) (*ConfigurationId, error)
ParseConfigurationIDInsensitively parses 'input' case-insensitively into a ConfigurationId note: this method should only be used for API response data and not user input
func (*ConfigurationId) FromParseResult ¶
func (id *ConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (ConfigurationId) ID ¶
func (id ConfigurationId) ID() string
ID returns the formatted Configuration ID
func (ConfigurationId) Segments ¶
func (id ConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Configuration ID
func (ConfigurationId) String ¶
func (id ConfigurationId) String() string
String returns a human-readable description of this Configuration ID
type ConfigurationsAnalysisOperationResponse ¶
type ConfigurationsAnalysisOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AnalysisResult }
type DiagnosticItem ¶
type DiagnosticItem struct { Category *string `json:"category,omitempty"` Description string `json:"description"` Directive string `json:"directive"` File string `json:"file"` Id *string `json:"id,omitempty"` Level Level `json:"level"` Line float64 `json:"line"` Message string `json:"message"` Rule string `json:"rule"` }
type NginxConfigurationAnalysisClient ¶
type NginxConfigurationAnalysisClient struct {
Client *resourcemanager.Client
}
func NewNginxConfigurationAnalysisClientWithBaseURI ¶
func NewNginxConfigurationAnalysisClientWithBaseURI(sdkApi sdkEnv.Api) (*NginxConfigurationAnalysisClient, error)
func (NginxConfigurationAnalysisClient) ConfigurationsAnalysis ¶
func (c NginxConfigurationAnalysisClient) ConfigurationsAnalysis(ctx context.Context, id ConfigurationId, input AnalysisCreate) (result ConfigurationsAnalysisOperationResponse, err error)
ConfigurationsAnalysis ...
type NginxConfigurationFile ¶
Source Files ¶
- client.go
- constants.go
- id_configuration.go
- method_configurationsanalysis.go
- model_analysiscreate.go
- model_analysiscreateconfig.go
- model_analysisdiagnostic.go
- model_analysisresult.go
- model_analysisresultdata.go
- model_diagnosticitem.go
- model_nginxconfigurationfile.go
- model_nginxconfigurationpackage.go
- model_nginxconfigurationprotectedfilerequest.go
- version.go