Categorygithub.com/Azure/azure-sdk-for-go/sdk/resourcemanager/nginx/armnginx/v2
modulepackage
2.1.0
Repository: https://github.com/azure/azure-sdk-for-go.git
Documentation: pkg.go.dev

# README

Azure Nginx Module for Go

PkgGoDev

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/v2

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.NewDeploymentsClient()

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.

# Functions

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.
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
PossibleIdentityTypeValues returns the possible values for the IdentityType 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

# Structs

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
No description provided by the author
ConfigurationListResponse - Response of a list operation.
No description provided by the author
No description provided by the author
ConfigurationsClient contains the methods for the Configurations group.
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
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
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
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
No description provided by the author
No description provided by the author
SystemData - Metadata pertaining to creation and last modification of the resource.
No description provided by the author

# Type aliases

CreatedByType - The type of identity that created the resource.
No description provided by the author
No description provided by the author
No description provided by the author