Documentation ¶
Index ¶
- func PossibleValuesForActivationState() []string
- func PossibleValuesForNginxPrivateIPAllocationMethod() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateNginxDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- type ActivationState
- type AutoUpgradeProfile
- type DeploymentsCreateOrUpdateOperationResponse
- type DeploymentsDeleteOperationResponse
- type DeploymentsGetOperationResponse
- type DeploymentsListByResourceGroupCompleteResult
- type DeploymentsListByResourceGroupCustomPager
- type DeploymentsListByResourceGroupOperationResponse
- type DeploymentsListCompleteResult
- type DeploymentsListCustomPager
- type DeploymentsListOperationResponse
- type DeploymentsUpdateOperationResponse
- type NginxDeployment
- type NginxDeploymentClient
- func (c NginxDeploymentClient) DeploymentsCreateOrUpdate(ctx context.Context, id NginxDeploymentId, input NginxDeployment) (result DeploymentsCreateOrUpdateOperationResponse, err error)
- func (c NginxDeploymentClient) DeploymentsCreateOrUpdateThenPoll(ctx context.Context, id NginxDeploymentId, input NginxDeployment) error
- func (c NginxDeploymentClient) DeploymentsDelete(ctx context.Context, id NginxDeploymentId) (result DeploymentsDeleteOperationResponse, err error)
- func (c NginxDeploymentClient) DeploymentsDeleteThenPoll(ctx context.Context, id NginxDeploymentId) error
- func (c NginxDeploymentClient) DeploymentsGet(ctx context.Context, id NginxDeploymentId) (result DeploymentsGetOperationResponse, err error)
- func (c NginxDeploymentClient) DeploymentsList(ctx context.Context, id commonids.SubscriptionId) (result DeploymentsListOperationResponse, err error)
- func (c NginxDeploymentClient) DeploymentsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result DeploymentsListByResourceGroupOperationResponse, err error)
- func (c NginxDeploymentClient) DeploymentsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (DeploymentsListByResourceGroupCompleteResult, error)
- func (c NginxDeploymentClient) DeploymentsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result DeploymentsListByResourceGroupCompleteResult, err error)
- func (c NginxDeploymentClient) DeploymentsListComplete(ctx context.Context, id commonids.SubscriptionId) (DeploymentsListCompleteResult, error)
- func (c NginxDeploymentClient) DeploymentsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result DeploymentsListCompleteResult, err error)
- func (c NginxDeploymentClient) DeploymentsUpdate(ctx context.Context, id NginxDeploymentId, ...) (result DeploymentsUpdateOperationResponse, err error)
- func (c NginxDeploymentClient) DeploymentsUpdateThenPoll(ctx context.Context, id NginxDeploymentId, ...) error
- type NginxDeploymentId
- type NginxDeploymentOperationPredicate
- type NginxDeploymentProperties
- type NginxDeploymentPropertiesNginxAppProtect
- type NginxDeploymentScalingProperties
- type NginxDeploymentScalingPropertiesAutoScaleSettings
- type NginxDeploymentUpdateParameters
- type NginxDeploymentUpdateProperties
- type NginxDeploymentUpdatePropertiesNginxAppProtect
- type NginxDeploymentUserProfile
- type NginxFrontendIPConfiguration
- type NginxLogging
- type NginxNetworkInterfaceConfiguration
- type NginxNetworkProfile
- type NginxPrivateIPAddress
- type NginxPrivateIPAllocationMethod
- type NginxPublicIPAddress
- type NginxStorageAccount
- type ProvisioningState
- type ResourceSku
- type ScaleProfile
- type ScaleProfileCapacity
- type WebApplicationFirewallComponentVersions
- type WebApplicationFirewallPackage
- type WebApplicationFirewallSettings
- type WebApplicationFirewallStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActivationState ¶
func PossibleValuesForActivationState() []string
func PossibleValuesForNginxPrivateIPAllocationMethod ¶
func PossibleValuesForNginxPrivateIPAllocationMethod() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateNginxDeploymentID ¶
ValidateNginxDeploymentID checks that 'input' can be parsed as a Nginx Deployment ID
Types ¶
type ActivationState ¶
type ActivationState string
const ( ActivationStateDisabled ActivationState = "Disabled" ActivationStateEnabled ActivationState = "Enabled" )
func (*ActivationState) UnmarshalJSON ¶
func (s *ActivationState) UnmarshalJSON(bytes []byte) error
type AutoUpgradeProfile ¶
type AutoUpgradeProfile struct {
UpgradeChannel string `json:"upgradeChannel"`
}
type DeploymentsGetOperationResponse ¶
type DeploymentsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NginxDeployment }
type DeploymentsListByResourceGroupCompleteResult ¶
type DeploymentsListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []NginxDeployment }
type DeploymentsListByResourceGroupCustomPager ¶
func (*DeploymentsListByResourceGroupCustomPager) NextPageLink ¶
func (p *DeploymentsListByResourceGroupCustomPager) NextPageLink() *odata.Link
type DeploymentsListByResourceGroupOperationResponse ¶
type DeploymentsListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NginxDeployment }
type DeploymentsListCompleteResult ¶
type DeploymentsListCompleteResult struct { LatestHttpResponse *http.Response Items []NginxDeployment }
type DeploymentsListCustomPager ¶
func (*DeploymentsListCustomPager) NextPageLink ¶
func (p *DeploymentsListCustomPager) NextPageLink() *odata.Link
type DeploymentsListOperationResponse ¶
type DeploymentsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NginxDeployment }
type NginxDeployment ¶
type NginxDeployment struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *NginxDeploymentProperties `json:"properties,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NginxDeploymentClient ¶
type NginxDeploymentClient struct {
Client *resourcemanager.Client
}
func NewNginxDeploymentClientWithBaseURI ¶
func NewNginxDeploymentClientWithBaseURI(sdkApi sdkEnv.Api) (*NginxDeploymentClient, error)
func (NginxDeploymentClient) DeploymentsCreateOrUpdate ¶
func (c NginxDeploymentClient) DeploymentsCreateOrUpdate(ctx context.Context, id NginxDeploymentId, input NginxDeployment) (result DeploymentsCreateOrUpdateOperationResponse, err error)
DeploymentsCreateOrUpdate ...
func (NginxDeploymentClient) DeploymentsCreateOrUpdateThenPoll ¶
func (c NginxDeploymentClient) DeploymentsCreateOrUpdateThenPoll(ctx context.Context, id NginxDeploymentId, input NginxDeployment) error
DeploymentsCreateOrUpdateThenPoll performs DeploymentsCreateOrUpdate then polls until it's completed
func (NginxDeploymentClient) DeploymentsDelete ¶
func (c NginxDeploymentClient) DeploymentsDelete(ctx context.Context, id NginxDeploymentId) (result DeploymentsDeleteOperationResponse, err error)
DeploymentsDelete ...
func (NginxDeploymentClient) DeploymentsDeleteThenPoll ¶
func (c NginxDeploymentClient) DeploymentsDeleteThenPoll(ctx context.Context, id NginxDeploymentId) error
DeploymentsDeleteThenPoll performs DeploymentsDelete then polls until it's completed
func (NginxDeploymentClient) DeploymentsGet ¶
func (c NginxDeploymentClient) DeploymentsGet(ctx context.Context, id NginxDeploymentId) (result DeploymentsGetOperationResponse, err error)
DeploymentsGet ...
func (NginxDeploymentClient) DeploymentsList ¶
func (c NginxDeploymentClient) DeploymentsList(ctx context.Context, id commonids.SubscriptionId) (result DeploymentsListOperationResponse, err error)
DeploymentsList ...
func (NginxDeploymentClient) DeploymentsListByResourceGroup ¶
func (c NginxDeploymentClient) DeploymentsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result DeploymentsListByResourceGroupOperationResponse, err error)
DeploymentsListByResourceGroup ...
func (NginxDeploymentClient) DeploymentsListByResourceGroupComplete ¶
func (c NginxDeploymentClient) DeploymentsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (DeploymentsListByResourceGroupCompleteResult, error)
DeploymentsListByResourceGroupComplete retrieves all the results into a single object
func (NginxDeploymentClient) DeploymentsListByResourceGroupCompleteMatchingPredicate ¶
func (c NginxDeploymentClient) DeploymentsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate NginxDeploymentOperationPredicate) (result DeploymentsListByResourceGroupCompleteResult, err error)
DeploymentsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NginxDeploymentClient) DeploymentsListComplete ¶
func (c NginxDeploymentClient) DeploymentsListComplete(ctx context.Context, id commonids.SubscriptionId) (DeploymentsListCompleteResult, error)
DeploymentsListComplete retrieves all the results into a single object
func (NginxDeploymentClient) DeploymentsListCompleteMatchingPredicate ¶
func (c NginxDeploymentClient) DeploymentsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate NginxDeploymentOperationPredicate) (result DeploymentsListCompleteResult, err error)
DeploymentsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NginxDeploymentClient) DeploymentsUpdate ¶
func (c NginxDeploymentClient) DeploymentsUpdate(ctx context.Context, id NginxDeploymentId, input NginxDeploymentUpdateParameters) (result DeploymentsUpdateOperationResponse, err error)
DeploymentsUpdate ...
func (NginxDeploymentClient) DeploymentsUpdateThenPoll ¶
func (c NginxDeploymentClient) DeploymentsUpdateThenPoll(ctx context.Context, id NginxDeploymentId, input NginxDeploymentUpdateParameters) error
DeploymentsUpdateThenPoll performs DeploymentsUpdate then polls until it's completed
type NginxDeploymentId ¶
type NginxDeploymentId struct { SubscriptionId string ResourceGroupName string NginxDeploymentName string }
NginxDeploymentId is a struct representing the Resource ID for a Nginx Deployment
func NewNginxDeploymentID ¶
func NewNginxDeploymentID(subscriptionId string, resourceGroupName string, nginxDeploymentName string) NginxDeploymentId
NewNginxDeploymentID returns a new NginxDeploymentId struct
func ParseNginxDeploymentID ¶
func ParseNginxDeploymentID(input string) (*NginxDeploymentId, error)
ParseNginxDeploymentID parses 'input' into a NginxDeploymentId
func ParseNginxDeploymentIDInsensitively ¶
func ParseNginxDeploymentIDInsensitively(input string) (*NginxDeploymentId, error)
ParseNginxDeploymentIDInsensitively parses 'input' case-insensitively into a NginxDeploymentId note: this method should only be used for API response data and not user input
func (*NginxDeploymentId) FromParseResult ¶
func (id *NginxDeploymentId) FromParseResult(input resourceids.ParseResult) error
func (NginxDeploymentId) ID ¶
func (id NginxDeploymentId) ID() string
ID returns the formatted Nginx Deployment ID
func (NginxDeploymentId) Segments ¶
func (id NginxDeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Nginx Deployment ID
func (NginxDeploymentId) String ¶
func (id NginxDeploymentId) String() string
String returns a human-readable description of this Nginx Deployment ID
type NginxDeploymentOperationPredicate ¶
type NginxDeploymentOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (NginxDeploymentOperationPredicate) Matches ¶
func (p NginxDeploymentOperationPredicate) Matches(input NginxDeployment) bool
type NginxDeploymentProperties ¶
type NginxDeploymentProperties struct { AutoUpgradeProfile *AutoUpgradeProfile `json:"autoUpgradeProfile,omitempty"` EnableDiagnosticsSupport *bool `json:"enableDiagnosticsSupport,omitempty"` IPAddress *string `json:"ipAddress,omitempty"` Logging *NginxLogging `json:"logging,omitempty"` ManagedResourceGroup *string `json:"managedResourceGroup,omitempty"` NetworkProfile *NginxNetworkProfile `json:"networkProfile,omitempty"` NginxAppProtect *NginxDeploymentPropertiesNginxAppProtect `json:"nginxAppProtect,omitempty"` NginxVersion *string `json:"nginxVersion,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ScalingProperties *NginxDeploymentScalingProperties `json:"scalingProperties,omitempty"` UserProfile *NginxDeploymentUserProfile `json:"userProfile,omitempty"` }
type NginxDeploymentPropertiesNginxAppProtect ¶
type NginxDeploymentPropertiesNginxAppProtect struct { WebApplicationFirewallSettings WebApplicationFirewallSettings `json:"webApplicationFirewallSettings"` WebApplicationFirewallStatus *WebApplicationFirewallStatus `json:"webApplicationFirewallStatus,omitempty"` }
type NginxDeploymentScalingProperties ¶
type NginxDeploymentScalingProperties struct { AutoScaleSettings *NginxDeploymentScalingPropertiesAutoScaleSettings `json:"autoScaleSettings,omitempty"` Capacity *int64 `json:"capacity,omitempty"` }
type NginxDeploymentScalingPropertiesAutoScaleSettings ¶
type NginxDeploymentScalingPropertiesAutoScaleSettings struct {
Profiles []ScaleProfile `json:"profiles"`
}
type NginxDeploymentUpdateParameters ¶
type NginxDeploymentUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Properties *NginxDeploymentUpdateProperties `json:"properties,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type NginxDeploymentUpdateProperties ¶
type NginxDeploymentUpdateProperties struct { AutoUpgradeProfile *AutoUpgradeProfile `json:"autoUpgradeProfile,omitempty"` EnableDiagnosticsSupport *bool `json:"enableDiagnosticsSupport,omitempty"` Logging *NginxLogging `json:"logging,omitempty"` NginxAppProtect *NginxDeploymentUpdatePropertiesNginxAppProtect `json:"nginxAppProtect,omitempty"` ScalingProperties *NginxDeploymentScalingProperties `json:"scalingProperties,omitempty"` UserProfile *NginxDeploymentUserProfile `json:"userProfile,omitempty"` }
type NginxDeploymentUpdatePropertiesNginxAppProtect ¶
type NginxDeploymentUpdatePropertiesNginxAppProtect struct {
WebApplicationFirewallSettings *WebApplicationFirewallSettings `json:"webApplicationFirewallSettings,omitempty"`
}
type NginxDeploymentUserProfile ¶
type NginxDeploymentUserProfile struct {
PreferredEmail *string `json:"preferredEmail,omitempty"`
}
type NginxFrontendIPConfiguration ¶
type NginxFrontendIPConfiguration struct { PrivateIPAddresses *[]NginxPrivateIPAddress `json:"privateIPAddresses,omitempty"` PublicIPAddresses *[]NginxPublicIPAddress `json:"publicIPAddresses,omitempty"` }
type NginxLogging ¶
type NginxLogging struct {
StorageAccount *NginxStorageAccount `json:"storageAccount,omitempty"`
}
type NginxNetworkInterfaceConfiguration ¶
type NginxNetworkInterfaceConfiguration struct {
SubnetId *string `json:"subnetId,omitempty"`
}
type NginxNetworkProfile ¶
type NginxNetworkProfile struct { FrontEndIPConfiguration *NginxFrontendIPConfiguration `json:"frontEndIPConfiguration,omitempty"` NetworkInterfaceConfiguration *NginxNetworkInterfaceConfiguration `json:"networkInterfaceConfiguration,omitempty"` }
type NginxPrivateIPAddress ¶
type NginxPrivateIPAddress struct { PrivateIPAddress *string `json:"privateIPAddress,omitempty"` PrivateIPAllocationMethod *NginxPrivateIPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` SubnetId *string `json:"subnetId,omitempty"` }
type NginxPrivateIPAllocationMethod ¶
type NginxPrivateIPAllocationMethod string
const ( NginxPrivateIPAllocationMethodDynamic NginxPrivateIPAllocationMethod = "Dynamic" NginxPrivateIPAllocationMethodStatic NginxPrivateIPAllocationMethod = "Static" )
func (*NginxPrivateIPAllocationMethod) UnmarshalJSON ¶
func (s *NginxPrivateIPAllocationMethod) UnmarshalJSON(bytes []byte) error
type NginxPublicIPAddress ¶
type NginxPublicIPAddress struct {
Id *string `json:"id,omitempty"`
}
type NginxStorageAccount ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ResourceSku ¶
type ResourceSku struct {
Name string `json:"name"`
}
type ScaleProfile ¶
type ScaleProfile struct { Capacity ScaleProfileCapacity `json:"capacity"` Name string `json:"name"` }
type ScaleProfileCapacity ¶
type WebApplicationFirewallPackage ¶
type WebApplicationFirewallPackage struct { RevisionDatetime string `json:"revisionDatetime"` Version string `json:"version"` }
func (*WebApplicationFirewallPackage) GetRevisionDatetimeAsTime ¶
func (o *WebApplicationFirewallPackage) GetRevisionDatetimeAsTime() (*time.Time, error)
func (*WebApplicationFirewallPackage) SetRevisionDatetimeAsTime ¶
func (o *WebApplicationFirewallPackage) SetRevisionDatetimeAsTime(input time.Time)
type WebApplicationFirewallSettings ¶
type WebApplicationFirewallSettings struct {
ActivationState *ActivationState `json:"activationState,omitempty"`
}
type WebApplicationFirewallStatus ¶
type WebApplicationFirewallStatus struct { AttackSignaturesPackage *WebApplicationFirewallPackage `json:"attackSignaturesPackage,omitempty"` BotSignaturesPackage *WebApplicationFirewallPackage `json:"botSignaturesPackage,omitempty"` ComponentVersions *WebApplicationFirewallComponentVersions `json:"componentVersions,omitempty"` ThreatCampaignsPackage *WebApplicationFirewallPackage `json:"threatCampaignsPackage,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_nginxdeployment.go
- method_deploymentscreateorupdate.go
- method_deploymentsdelete.go
- method_deploymentsget.go
- method_deploymentslist.go
- method_deploymentslistbyresourcegroup.go
- method_deploymentsupdate.go
- model_autoupgradeprofile.go
- model_nginxdeployment.go
- model_nginxdeploymentproperties.go
- model_nginxdeploymentpropertiesnginxappprotect.go
- model_nginxdeploymentscalingproperties.go
- model_nginxdeploymentscalingpropertiesautoscalesettings.go
- model_nginxdeploymentupdateparameters.go
- model_nginxdeploymentupdateproperties.go
- model_nginxdeploymentupdatepropertiesnginxappprotect.go
- model_nginxdeploymentuserprofile.go
- model_nginxfrontendipconfiguration.go
- model_nginxlogging.go
- model_nginxnetworkinterfaceconfiguration.go
- model_nginxnetworkprofile.go
- model_nginxprivateipaddress.go
- model_nginxpublicipaddress.go
- model_nginxstorageaccount.go
- model_resourcesku.go
- model_scaleprofile.go
- model_scaleprofilecapacity.go
- model_webapplicationfirewallcomponentversions.go
- model_webapplicationfirewallpackage.go
- model_webapplicationfirewallsettings.go
- model_webapplicationfirewallstatus.go
- predicates.go
- version.go