Documentation ¶
Index ¶
- func PossibleValuesForDnsResolverState() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateDnsResolverID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DnsResolver
- type DnsResolverId
- type DnsResolverOperationPredicate
- type DnsResolverPatch
- type DnsResolverProperties
- type DnsResolverState
- type DnsResolversClient
- func (c DnsResolversClient) CreateOrUpdate(ctx context.Context, id DnsResolverId, input DnsResolver, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DnsResolversClient) CreateOrUpdateThenPoll(ctx context.Context, id DnsResolverId, input DnsResolver, ...) error
- func (c DnsResolversClient) Delete(ctx context.Context, id DnsResolverId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c DnsResolversClient) DeleteThenPoll(ctx context.Context, id DnsResolverId, options DeleteOperationOptions) error
- func (c DnsResolversClient) Get(ctx context.Context, id DnsResolverId) (result GetOperationResponse, err error)
- func (c DnsResolversClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c DnsResolversClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c DnsResolversClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c DnsResolversClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DnsResolversClient) ListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId, ...) (result ListByVirtualNetworkOperationResponse, err error)
- func (c DnsResolversClient) ListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId, ...) (ListByVirtualNetworkCompleteResult, error)
- func (c DnsResolversClient) ListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, ...) (result ListByVirtualNetworkCompleteResult, err error)
- func (c DnsResolversClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c DnsResolversClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c DnsResolversClient) Update(ctx context.Context, id DnsResolverId, input DnsResolverPatch, ...) (result UpdateOperationResponse, err error)
- func (c DnsResolversClient) UpdateThenPoll(ctx context.Context, id DnsResolverId, input DnsResolverPatch, ...) error
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListByVirtualNetworkCompleteResult
- type ListByVirtualNetworkOperationOptions
- type ListByVirtualNetworkOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ProvisioningState
- type SubResource
- type SubResourceOperationPredicate
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDnsResolverState ¶
func PossibleValuesForDnsResolverState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDnsResolverID ¶
ValidateDnsResolverID checks that 'input' can be parsed as a Dns Resolver 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 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 DnsResolver ¶
type DnsResolver struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties DnsResolverProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DnsResolverId ¶
DnsResolverId is a struct representing the Resource ID for a Dns Resolver
func NewDnsResolverID ¶
func NewDnsResolverID(subscriptionId string, resourceGroupName string, dnsResolverName string) DnsResolverId
NewDnsResolverID returns a new DnsResolverId struct
func ParseDnsResolverID ¶
func ParseDnsResolverID(input string) (*DnsResolverId, error)
ParseDnsResolverID parses 'input' into a DnsResolverId
func ParseDnsResolverIDInsensitively ¶
func ParseDnsResolverIDInsensitively(input string) (*DnsResolverId, error)
ParseDnsResolverIDInsensitively parses 'input' case-insensitively into a DnsResolverId note: this method should only be used for API response data and not user input
func (DnsResolverId) ID ¶
func (id DnsResolverId) ID() string
ID returns the formatted Dns Resolver ID
func (DnsResolverId) Segments ¶
func (id DnsResolverId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dns Resolver ID
func (DnsResolverId) String ¶
func (id DnsResolverId) String() string
String returns a human-readable description of this Dns Resolver ID
type DnsResolverOperationPredicate ¶
type DnsResolverOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (DnsResolverOperationPredicate) Matches ¶
func (p DnsResolverOperationPredicate) Matches(input DnsResolver) bool
type DnsResolverPatch ¶
type DnsResolverProperties ¶
type DnsResolverProperties struct { DnsResolverState *DnsResolverState `json:"dnsResolverState,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` VirtualNetwork SubResource `json:"virtualNetwork"` }
type DnsResolverState ¶
type DnsResolverState string
const ( DnsResolverStateConnected DnsResolverState = "Connected" DnsResolverStateDisconnected DnsResolverState = "Disconnected" )
func (*DnsResolverState) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *DnsResolverState) UnmarshalJSON(bytes []byte) error
type DnsResolversClient ¶
type DnsResolversClient struct {
Client *resourcemanager.Client
}
func NewDnsResolversClientWithBaseURI ¶
func NewDnsResolversClientWithBaseURI(sdkApi sdkEnv.Api) (*DnsResolversClient, error)
func (DnsResolversClient) CreateOrUpdate ¶
func (c DnsResolversClient) CreateOrUpdate(ctx context.Context, id DnsResolverId, input DnsResolver, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DnsResolversClient) CreateOrUpdateThenPoll ¶
func (c DnsResolversClient) CreateOrUpdateThenPoll(ctx context.Context, id DnsResolverId, input DnsResolver, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DnsResolversClient) Delete ¶
func (c DnsResolversClient) Delete(ctx context.Context, id DnsResolverId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (DnsResolversClient) DeleteThenPoll ¶
func (c DnsResolversClient) DeleteThenPoll(ctx context.Context, id DnsResolverId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (DnsResolversClient) Get ¶
func (c DnsResolversClient) Get(ctx context.Context, id DnsResolverId) (result GetOperationResponse, err error)
Get ...
func (DnsResolversClient) List ¶
func (c DnsResolversClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DnsResolversClient) ListByResourceGroup ¶
func (c DnsResolversClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DnsResolversClient) ListByResourceGroupComplete ¶
func (c DnsResolversClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DnsResolversClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DnsResolversClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate DnsResolverOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DnsResolversClient) ListByVirtualNetwork ¶
func (c DnsResolversClient) ListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions) (result ListByVirtualNetworkOperationResponse, err error)
ListByVirtualNetwork ...
func (DnsResolversClient) ListByVirtualNetworkComplete ¶
func (c DnsResolversClient) ListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions) (ListByVirtualNetworkCompleteResult, error)
ListByVirtualNetworkComplete retrieves all the results into a single object
func (DnsResolversClient) ListByVirtualNetworkCompleteMatchingPredicate ¶
func (c DnsResolversClient) ListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions, predicate SubResourceOperationPredicate) (result ListByVirtualNetworkCompleteResult, err error)
ListByVirtualNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DnsResolversClient) ListComplete ¶
func (c DnsResolversClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DnsResolversClient) ListCompleteMatchingPredicate ¶
func (c DnsResolversClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate DnsResolverOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DnsResolversClient) Update ¶
func (c DnsResolversClient) Update(ctx context.Context, id DnsResolverId, input DnsResolverPatch, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (DnsResolversClient) UpdateThenPoll ¶
func (c DnsResolversClient) UpdateThenPoll(ctx context.Context, id DnsResolverId, input DnsResolverPatch, options UpdateOperationOptions) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DnsResolver }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []DnsResolver
}
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Top *int64
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DnsResolver }
type ListByVirtualNetworkCompleteResult ¶
type ListByVirtualNetworkCompleteResult struct {
Items []SubResource
}
type ListByVirtualNetworkOperationOptions ¶
type ListByVirtualNetworkOperationOptions struct {
Top *int64
}
func DefaultListByVirtualNetworkOperationOptions ¶
func DefaultListByVirtualNetworkOperationOptions() ListByVirtualNetworkOperationOptions
func (ListByVirtualNetworkOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o ListByVirtualNetworkOperationOptions) ToHeaders() *client.Headers
func (ListByVirtualNetworkOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o ListByVirtualNetworkOperationOptions) ToOData() *odata.Query
func (ListByVirtualNetworkOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o ListByVirtualNetworkOperationOptions) ToQuery() *client.QueryParams
type ListByVirtualNetworkOperationResponse ¶
type ListByVirtualNetworkOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DnsResolver
}
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 *[]DnsResolver }
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 SubResource ¶
type SubResource struct {
Id string `json:"id"`
}
type SubResourceOperationPredicate ¶
type SubResourceOperationPredicate struct {
Id *string
}
func (SubResourceOperationPredicate) Matches ¶
func (p SubResourceOperationPredicate) Matches(input SubResource) bool
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
Source Files ¶
- client.go
- constants.go
- id_dnsresolver.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_listbyvirtualnetwork.go
- method_update.go
- model_dnsresolver.go
- model_dnsresolverpatch.go
- model_dnsresolverproperties.go
- model_subresource.go
- predicates.go
- version.go