external help file | Module Name | online version | schema |
---|---|---|---|
Az.Nginx-help.xml |
Az.Nginx |
2.0.0 |
Analyze an NGINX configuration without applying it to the NGINXaaS deployment
Invoke-AzNginxAnalysisConfiguration -ConfigurationName <String> -DeploymentName <String>
-ResourceGroupName <String> [-SubscriptionId <String>] [-ConfigFile <INginxConfigurationFile[]>]
[-ConfigProtectedFile <INginxConfigurationFile[]>] [-ConfigRootFile <String>] [-PackageData <String>]
[-PackageProtectedFile <String[]>] [-DefaultProfile <PSObject>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Invoke-AzNginxAnalysisConfiguration -ConfigurationName <String> -DeploymentName <String>
-ResourceGroupName <String> [-SubscriptionId <String>] -Body <IAnalysisCreate> [-DefaultProfile <PSObject>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Invoke-AzNginxAnalysisConfiguration -InputObject <INginxIdentity> [-ConfigFile <INginxConfigurationFile[]>]
[-ConfigProtectedFile <INginxConfigurationFile[]>] [-ConfigRootFile <String>] [-PackageData <String>]
[-PackageProtectedFile <String[]>] [-DefaultProfile <PSObject>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Invoke-AzNginxAnalysisConfiguration -InputObject <INginxIdentity> -Body <IAnalysisCreate>
[-DefaultProfile <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>]
Analyze an NGINX configuration without applying it to the NGINXaaS deployment
$confFile = New-AzNginxConfigurationFileObject -VirtualPath "nginx.conf" -Content 'xxxx'
# configuration analysis
$confAnalysis = Invoke-AzNginxAnalysisConfiguration -ConfigurationName default -DeploymentName xxxx -ResourceGroupName xxxx -ConfigFile $confFile -ConfigRootFile "nginx.conf"
Status
------
SUCCEEDED
This command analyzes the configuration before you submit to create your configuration for your nginx deployment
The request body for creating an analysis for an NGINX configuration. To construct, see NOTES section for BODY properties and create a hash table.
Type: Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.Api202401Preview.IAnalysisCreate
Parameter Sets: Analysis, AnalysisViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
. To construct, see NOTES section for CONFIGFILE properties and create a hash table.
Type: Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.Api202401Preview.INginxConfigurationFile[]
Parameter Sets: AnalysisExpanded, AnalysisViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
. To construct, see NOTES section for CONFIGPROTECTEDFILE properties and create a hash table.
Type: Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.Api202401Preview.INginxConfigurationFile[]
Parameter Sets: AnalysisExpanded, AnalysisViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The root file of the NGINX config file(s). It must match one of the files' filepath.
Type: System.String
Parameter Sets: AnalysisExpanded, AnalysisViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of configuration, only 'default' is supported value due to the singleton of NGINX conf
Type: System.String
Parameter Sets: AnalysisExpanded, Analysis
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of targeted NGINX deployment
Type: System.String
Parameter Sets: AnalysisExpanded, Analysis
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.INginxIdentity
Parameter Sets: AnalysisViaIdentityExpanded, AnalysisViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
.
Type: System.String
Parameter Sets: AnalysisExpanded, AnalysisViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
.
Type: System.String[]
Parameter Sets: AnalysisExpanded, AnalysisViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the resource group. The name is case insensitive.
Type: System.String
Parameter Sets: AnalysisExpanded, Analysis
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID of the target subscription.
Type: System.String
Parameter Sets: AnalysisExpanded, Analysis
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.