Categorygithub.com/Azure/azure-sdk-for-go/sdk/resourcemanager/nginx/armnginx/v3
modulepackage
3.1.0-beta.2
Repository: https://github.com/azure/azure-sdk-for-go.git
Documentation: pkg.go.dev

# README

Azure Nginx Module for Go

The armnginx module provides operations for working with Azure Nginx.

Source code

Getting started

Prerequisites

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Nginx module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/nginx/armnginx/v3

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Nginx. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Client Factory

Azure Nginx module consists of one or more clients. We provide a client factory which could be used to create any client in this module.

clientFactory, err := armnginx.NewClientFactory(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options := arm.ClientOptions {
    ClientOptions: azcore.ClientOptions {
        Cloud: cloud.AzureChina,
    },
}
clientFactory, err := armnginx.NewClientFactory(<subscription ID>, cred, &options)

Clients

A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

client := clientFactory.NewAPIKeysClient()

Fakes

The fake package contains types used for constructing in-memory fake servers used in unit tests. This allows writing tests to cover various success/error conditions without the need for connecting to a live service.

Please see https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/samples/fakes for details and examples on how to use fakes.

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Nginx label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

# Packages

No description provided by the author

# Functions

NewAPIKeysClient creates a new instance of APIKeysClient with the specified values.
NewCertificatesClient creates a new instance of CertificatesClient with the specified values.
NewClientFactory creates a new instance of ClientFactory with the specified values.
NewConfigurationsClient creates a new instance of ConfigurationsClient with the specified values.
NewDeploymentsClient creates a new instance of DeploymentsClient with the specified values.
NewOperationsClient creates a new instance of OperationsClient with the specified values.
PossibleActivationStateValues returns the possible values for the ActivationState const type.
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
PossibleIdentityTypeValues returns the possible values for the IdentityType const type.
PossibleLevelValues returns the possible values for the Level const type.
PossibleNginxPrivateIPAllocationMethodValues returns the possible values for the NginxPrivateIPAllocationMethod const type.
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AnalysisCreate - The request body for creating an analysis for an NGINX configuration.
No description provided by the author
AnalysisDiagnostic - An error object found during the analysis of an NGINX configuration.
AnalysisResult - The response body for an analysis request.
No description provided by the author
APIKeysClient contains the methods for the APIKeys group.
APIKeysClientCreateOrUpdateOptions contains the optional parameters for the APIKeysClient.CreateOrUpdate method.
APIKeysClientCreateOrUpdateResponse contains the response from method APIKeysClient.CreateOrUpdate.
APIKeysClientDeleteOptions contains the optional parameters for the APIKeysClient.Delete method.
APIKeysClientDeleteResponse contains the response from method APIKeysClient.Delete.
APIKeysClientGetOptions contains the optional parameters for the APIKeysClient.Get method.
APIKeysClientGetResponse contains the response from method APIKeysClient.Get.
APIKeysClientListOptions contains the optional parameters for the APIKeysClient.NewListPager method.
APIKeysClientListResponse contains the response from method APIKeysClient.NewListPager.
AutoUpgradeProfile - Autoupgrade settings of a deployment.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CertificatesClient contains the methods for the Certificates group.
CertificatesClientBeginCreateOrUpdateOptions contains the optional parameters for the CertificatesClient.BeginCreateOrUpdate method.
CertificatesClientBeginDeleteOptions contains the optional parameters for the CertificatesClient.BeginDelete method.
CertificatesClientCreateOrUpdateResponse contains the response from method CertificatesClient.BeginCreateOrUpdate.
CertificatesClientDeleteResponse contains the response from method CertificatesClient.BeginDelete.
CertificatesClientGetOptions contains the optional parameters for the CertificatesClient.Get method.
CertificatesClientGetResponse contains the response from method CertificatesClient.Get.
CertificatesClientListOptions contains the optional parameters for the CertificatesClient.NewListPager method.
CertificatesClientListResponse contains the response from method CertificatesClient.NewListPager.
ClientFactory is a client factory used to create any client in this module.
No description provided by the author
ConfigurationListResponse - Response of a list operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigurationsClient contains the methods for the Configurations group.
ConfigurationsClientAnalysisOptions contains the optional parameters for the ConfigurationsClient.Analysis method.
ConfigurationsClientAnalysisResponse contains the response from method ConfigurationsClient.Analysis.
ConfigurationsClientBeginCreateOrUpdateOptions contains the optional parameters for the ConfigurationsClient.BeginCreateOrUpdate method.
ConfigurationsClientBeginDeleteOptions contains the optional parameters for the ConfigurationsClient.BeginDelete method.
ConfigurationsClientCreateOrUpdateResponse contains the response from method ConfigurationsClient.BeginCreateOrUpdate.
ConfigurationsClientDeleteResponse contains the response from method ConfigurationsClient.BeginDelete.
ConfigurationsClientGetOptions contains the optional parameters for the ConfigurationsClient.Get method.
ConfigurationsClientGetResponse contains the response from method ConfigurationsClient.Get.
ConfigurationsClientListOptions contains the optional parameters for the ConfigurationsClient.NewListPager method.
ConfigurationsClientListResponse contains the response from method ConfigurationsClient.NewListPager.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeploymentPropertiesNginxAppProtect - Settings for NGINX App Protect (NAP).
DeploymentScalingProperties - Information on how the deployment will be scaled.
DeploymentScalingPropertiesAutoScaleSettings - The settings for enabling automatic scaling of the deployment.
DeploymentsClient contains the methods for the Deployments group.
DeploymentsClientBeginCreateOrUpdateOptions contains the optional parameters for the DeploymentsClient.BeginCreateOrUpdate method.
DeploymentsClientBeginDeleteOptions contains the optional parameters for the DeploymentsClient.BeginDelete method.
DeploymentsClientBeginUpdateOptions contains the optional parameters for the DeploymentsClient.BeginUpdate method.
DeploymentsClientCreateOrUpdateResponse contains the response from method DeploymentsClient.BeginCreateOrUpdate.
DeploymentsClientDeleteResponse contains the response from method DeploymentsClient.BeginDelete.
DeploymentsClientGetOptions contains the optional parameters for the DeploymentsClient.Get method.
DeploymentsClientGetResponse contains the response from method DeploymentsClient.Get.
DeploymentsClientListByResourceGroupOptions contains the optional parameters for the DeploymentsClient.NewListByResourceGroupPager method.
DeploymentsClientListByResourceGroupResponse contains the response from method DeploymentsClient.NewListByResourceGroupPager.
DeploymentsClientListOptions contains the optional parameters for the DeploymentsClient.NewListPager method.
DeploymentsClientListResponse contains the response from method DeploymentsClient.NewListPager.
DeploymentsClientUpdateResponse contains the response from method DeploymentsClient.BeginUpdate.
No description provided by the author
No description provided by the author
DeploymentUpdatePropertiesNginxAppProtect - Update settings for NGINX App Protect (NAP).
No description provided by the author
DiagnosticItem - A diagnostic is a message associated with an NGINX config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OperationDisplay - The object that represents the operation.
OperationListResult - Result of GET request to list Nginx.NginxPlus operations.
OperationResult - A Nginx.NginxPlus REST API operation.
OperationsClient contains the methods for the Operations group.
OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
No description provided by the author
No description provided by the author
No description provided by the author
ScaleProfile - The autoscale profile.
ScaleProfileCapacity - The capacity parameters of the profile.
No description provided by the author
SystemData - Metadata pertaining to creation and last modification of the resource.
No description provided by the author
WebApplicationFirewallComponentVersions - Versions of the NGINX App Protect Web Application Firewall (WAF) components.
WebApplicationFirewallPackage - NGINX App Protect Web Application Firewall (WAF) Package.
WebApplicationFirewallSettings - Settings for the NGINX App Protect Web Application Firewall (WAF).
WebApplicationFirewallStatus - The status of the NGINX App Protect Web Application Firewall.

# Type aliases

ActivationState - The activation state of the WAF.
CreatedByType - The type of identity that created the resource.
No description provided by the author
Level - Warning or Info.
No description provided by the author
No description provided by the author