Documentation ¶
Index ¶
- 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 NginxConfigurationAnalysisClient
- type NginxConfigurationFile
- type NginxConfigurationPackage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 *[]NginxConfigurationFile `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 {
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 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 ...