Documentation ¶
Index ¶
- func PossibleValuesForForwardingRuleState() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateDnsForwardingRulesetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateForwardingRuleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DnsForwardingRulesetId
- type ForwardingRule
- type ForwardingRuleId
- type ForwardingRuleOperationPredicate
- type ForwardingRulePatch
- type ForwardingRulePatchProperties
- type ForwardingRuleProperties
- type ForwardingRuleState
- type ForwardingRulesClient
- func (c ForwardingRulesClient) CreateOrUpdate(ctx context.Context, id ForwardingRuleId, input ForwardingRule, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ForwardingRulesClient) Delete(ctx context.Context, id ForwardingRuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ForwardingRulesClient) Get(ctx context.Context, id ForwardingRuleId) (result GetOperationResponse, err error)
- func (c ForwardingRulesClient) List(ctx context.Context, id DnsForwardingRulesetId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ForwardingRulesClient) ListComplete(ctx context.Context, id DnsForwardingRulesetId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ForwardingRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id DnsForwardingRulesetId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ForwardingRulesClient) Update(ctx context.Context, id ForwardingRuleId, input ForwardingRulePatch, ...) (result UpdateOperationResponse, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ProvisioningState
- type TargetDnsServer
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForForwardingRuleState ¶
func PossibleValuesForForwardingRuleState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDnsForwardingRulesetID ¶
func ValidateDnsForwardingRulesetID(input interface{}, key string) (warnings []string, errors []error)
ValidateDnsForwardingRulesetID checks that 'input' can be parsed as a Dns Forwarding Ruleset ID
func ValidateForwardingRuleID ¶
ValidateForwardingRuleID checks that 'input' can be parsed as a Forwarding Rule ID
Types ¶
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ForwardingRule }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type DnsForwardingRulesetId ¶
type DnsForwardingRulesetId struct { SubscriptionId string ResourceGroupName string DnsForwardingRulesetName string }
DnsForwardingRulesetId is a struct representing the Resource ID for a Dns Forwarding Ruleset
func NewDnsForwardingRulesetID ¶
func NewDnsForwardingRulesetID(subscriptionId string, resourceGroupName string, dnsForwardingRulesetName string) DnsForwardingRulesetId
NewDnsForwardingRulesetID returns a new DnsForwardingRulesetId struct
func ParseDnsForwardingRulesetID ¶
func ParseDnsForwardingRulesetID(input string) (*DnsForwardingRulesetId, error)
ParseDnsForwardingRulesetID parses 'input' into a DnsForwardingRulesetId
func ParseDnsForwardingRulesetIDInsensitively ¶
func ParseDnsForwardingRulesetIDInsensitively(input string) (*DnsForwardingRulesetId, error)
ParseDnsForwardingRulesetIDInsensitively parses 'input' case-insensitively into a DnsForwardingRulesetId note: this method should only be used for API response data and not user input
func (DnsForwardingRulesetId) ID ¶
func (id DnsForwardingRulesetId) ID() string
ID returns the formatted Dns Forwarding Ruleset ID
func (DnsForwardingRulesetId) Segments ¶
func (id DnsForwardingRulesetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dns Forwarding Ruleset ID
func (DnsForwardingRulesetId) String ¶
func (id DnsForwardingRulesetId) String() string
String returns a human-readable description of this Dns Forwarding Ruleset ID
type ForwardingRule ¶
type ForwardingRule struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ForwardingRuleProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ForwardingRuleId ¶
type ForwardingRuleId struct { SubscriptionId string ResourceGroupName string DnsForwardingRulesetName string ForwardingRuleName string }
ForwardingRuleId is a struct representing the Resource ID for a Forwarding Rule
func NewForwardingRuleID ¶
func NewForwardingRuleID(subscriptionId string, resourceGroupName string, dnsForwardingRulesetName string, forwardingRuleName string) ForwardingRuleId
NewForwardingRuleID returns a new ForwardingRuleId struct
func ParseForwardingRuleID ¶
func ParseForwardingRuleID(input string) (*ForwardingRuleId, error)
ParseForwardingRuleID parses 'input' into a ForwardingRuleId
func ParseForwardingRuleIDInsensitively ¶
func ParseForwardingRuleIDInsensitively(input string) (*ForwardingRuleId, error)
ParseForwardingRuleIDInsensitively parses 'input' case-insensitively into a ForwardingRuleId note: this method should only be used for API response data and not user input
func (ForwardingRuleId) ID ¶
func (id ForwardingRuleId) ID() string
ID returns the formatted Forwarding Rule ID
func (ForwardingRuleId) Segments ¶
func (id ForwardingRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Forwarding Rule ID
func (ForwardingRuleId) String ¶
func (id ForwardingRuleId) String() string
String returns a human-readable description of this Forwarding Rule ID
type ForwardingRuleOperationPredicate ¶
func (ForwardingRuleOperationPredicate) Matches ¶
func (p ForwardingRuleOperationPredicate) Matches(input ForwardingRule) bool
type ForwardingRulePatch ¶
type ForwardingRulePatch struct {
Properties *ForwardingRulePatchProperties `json:"properties,omitempty"`
}
type ForwardingRulePatchProperties ¶
type ForwardingRulePatchProperties struct { ForwardingRuleState *ForwardingRuleState `json:"forwardingRuleState,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` TargetDnsServers *[]TargetDnsServer `json:"targetDnsServers,omitempty"` }
type ForwardingRuleProperties ¶
type ForwardingRuleProperties struct { DomainName string `json:"domainName"` ForwardingRuleState *ForwardingRuleState `json:"forwardingRuleState,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TargetDnsServers []TargetDnsServer `json:"targetDnsServers"` }
type ForwardingRuleState ¶
type ForwardingRuleState string
const ( ForwardingRuleStateDisabled ForwardingRuleState = "Disabled" ForwardingRuleStateEnabled ForwardingRuleState = "Enabled" )
func (*ForwardingRuleState) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ForwardingRuleState) UnmarshalJSON(bytes []byte) error
type ForwardingRulesClient ¶
type ForwardingRulesClient struct {
Client *resourcemanager.Client
}
func NewForwardingRulesClientWithBaseURI ¶
func NewForwardingRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*ForwardingRulesClient, error)
func (ForwardingRulesClient) CreateOrUpdate ¶
func (c ForwardingRulesClient) CreateOrUpdate(ctx context.Context, id ForwardingRuleId, input ForwardingRule, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ForwardingRulesClient) Delete ¶
func (c ForwardingRulesClient) Delete(ctx context.Context, id ForwardingRuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ForwardingRulesClient) Get ¶
func (c ForwardingRulesClient) Get(ctx context.Context, id ForwardingRuleId) (result GetOperationResponse, err error)
Get ...
func (ForwardingRulesClient) List ¶
func (c ForwardingRulesClient) List(ctx context.Context, id DnsForwardingRulesetId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ForwardingRulesClient) ListComplete ¶
func (c ForwardingRulesClient) ListComplete(ctx context.Context, id DnsForwardingRulesetId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ForwardingRulesClient) ListCompleteMatchingPredicate ¶
func (c ForwardingRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id DnsForwardingRulesetId, options ListOperationOptions, predicate ForwardingRuleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ForwardingRulesClient) Update ¶
func (c ForwardingRulesClient) Update(ctx context.Context, id ForwardingRuleId, input ForwardingRulePatch, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ForwardingRule }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ForwardingRule
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ForwardingRule }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type TargetDnsServer ¶
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ForwardingRule }
Source Files ¶
- client.go
- constants.go
- id_dnsforwardingruleset.go
- id_forwardingrule.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_forwardingrule.go
- model_forwardingrulepatch.go
- model_forwardingrulepatchproperties.go
- model_forwardingruleproperties.go
- model_targetdnsserver.go
- predicates.go
- version.go