Documentation ¶
Index ¶
- func PossibleValuesForDnsPrivateViewsLifecycleState() []string
- func PossibleValuesForResourceProvisioningState() []string
- func ValidateDnsPrivateViewID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type DnsPrivateView
- type DnsPrivateViewId
- type DnsPrivateViewOperationPredicate
- type DnsPrivateViewProperties
- func (o *DnsPrivateViewProperties) GetTimeCreatedAsTime() (*time.Time, error)
- func (o *DnsPrivateViewProperties) GetTimeUpdatedAsTime() (*time.Time, error)
- func (o *DnsPrivateViewProperties) SetTimeCreatedAsTime(input time.Time)
- func (o *DnsPrivateViewProperties) SetTimeUpdatedAsTime(input time.Time)
- type DnsPrivateViewsClient
- func (c DnsPrivateViewsClient) Get(ctx context.Context, id DnsPrivateViewId) (result GetOperationResponse, err error)
- func (c DnsPrivateViewsClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
- func (c DnsPrivateViewsClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
- func (c DnsPrivateViewsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate DnsPrivateViewOperationPredicate) (result ListByLocationCompleteResult, err error)
- type DnsPrivateViewsLifecycleState
- type GetOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationCustomPager
- type ListByLocationOperationResponse
- type LocationId
- type ResourceProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDnsPrivateViewsLifecycleState ¶
func PossibleValuesForDnsPrivateViewsLifecycleState() []string
func PossibleValuesForResourceProvisioningState ¶
func PossibleValuesForResourceProvisioningState() []string
func ValidateDnsPrivateViewID ¶
ValidateDnsPrivateViewID checks that 'input' can be parsed as a Dns Private View ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type DnsPrivateView ¶
type DnsPrivateView struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DnsPrivateViewProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DnsPrivateViewId ¶
type DnsPrivateViewId struct { SubscriptionId string LocationName string DnsPrivateViewName string }
DnsPrivateViewId is a struct representing the Resource ID for a Dns Private View
func NewDnsPrivateViewID ¶
func NewDnsPrivateViewID(subscriptionId string, locationName string, dnsPrivateViewName string) DnsPrivateViewId
NewDnsPrivateViewID returns a new DnsPrivateViewId struct
func ParseDnsPrivateViewID ¶
func ParseDnsPrivateViewID(input string) (*DnsPrivateViewId, error)
ParseDnsPrivateViewID parses 'input' into a DnsPrivateViewId
func ParseDnsPrivateViewIDInsensitively ¶
func ParseDnsPrivateViewIDInsensitively(input string) (*DnsPrivateViewId, error)
ParseDnsPrivateViewIDInsensitively parses 'input' case-insensitively into a DnsPrivateViewId note: this method should only be used for API response data and not user input
func (*DnsPrivateViewId) FromParseResult ¶
func (id *DnsPrivateViewId) FromParseResult(input resourceids.ParseResult) error
func (DnsPrivateViewId) ID ¶
func (id DnsPrivateViewId) ID() string
ID returns the formatted Dns Private View ID
func (DnsPrivateViewId) Segments ¶
func (id DnsPrivateViewId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dns Private View ID
func (DnsPrivateViewId) String ¶
func (id DnsPrivateViewId) String() string
String returns a human-readable description of this Dns Private View ID
type DnsPrivateViewOperationPredicate ¶
func (DnsPrivateViewOperationPredicate) Matches ¶
func (p DnsPrivateViewOperationPredicate) Matches(input DnsPrivateView) bool
type DnsPrivateViewProperties ¶
type DnsPrivateViewProperties struct { DisplayName string `json:"displayName"` IsProtected bool `json:"isProtected"` LifecycleState DnsPrivateViewsLifecycleState `json:"lifecycleState"` Ocid string `json:"ocid"` ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` Self string `json:"self"` TimeCreated string `json:"timeCreated"` TimeUpdated string `json:"timeUpdated"` }
func (*DnsPrivateViewProperties) GetTimeCreatedAsTime ¶
func (o *DnsPrivateViewProperties) GetTimeCreatedAsTime() (*time.Time, error)
func (*DnsPrivateViewProperties) GetTimeUpdatedAsTime ¶
func (o *DnsPrivateViewProperties) GetTimeUpdatedAsTime() (*time.Time, error)
func (*DnsPrivateViewProperties) SetTimeCreatedAsTime ¶
func (o *DnsPrivateViewProperties) SetTimeCreatedAsTime(input time.Time)
func (*DnsPrivateViewProperties) SetTimeUpdatedAsTime ¶
func (o *DnsPrivateViewProperties) SetTimeUpdatedAsTime(input time.Time)
type DnsPrivateViewsClient ¶
type DnsPrivateViewsClient struct {
Client *resourcemanager.Client
}
func NewDnsPrivateViewsClientWithBaseURI ¶
func NewDnsPrivateViewsClientWithBaseURI(sdkApi sdkEnv.Api) (*DnsPrivateViewsClient, error)
func (DnsPrivateViewsClient) Get ¶
func (c DnsPrivateViewsClient) Get(ctx context.Context, id DnsPrivateViewId) (result GetOperationResponse, err error)
Get ...
func (DnsPrivateViewsClient) ListByLocation ¶
func (c DnsPrivateViewsClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (DnsPrivateViewsClient) ListByLocationComplete ¶
func (c DnsPrivateViewsClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (DnsPrivateViewsClient) ListByLocationCompleteMatchingPredicate ¶
func (c DnsPrivateViewsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate DnsPrivateViewOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DnsPrivateViewsLifecycleState ¶
type DnsPrivateViewsLifecycleState string
const ( DnsPrivateViewsLifecycleStateActive DnsPrivateViewsLifecycleState = "Active" DnsPrivateViewsLifecycleStateDeleted DnsPrivateViewsLifecycleState = "Deleted" DnsPrivateViewsLifecycleStateDeleting DnsPrivateViewsLifecycleState = "Deleting" DnsPrivateViewsLifecycleStateUpdating DnsPrivateViewsLifecycleState = "Updating" )
func (*DnsPrivateViewsLifecycleState) UnmarshalJSON ¶
func (s *DnsPrivateViewsLifecycleState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DnsPrivateView }
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct { LatestHttpResponse *http.Response Items []DnsPrivateView }
type ListByLocationCustomPager ¶
func (*ListByLocationCustomPager) NextPageLink ¶
func (p *ListByLocationCustomPager) NextPageLink() *odata.Link
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DnsPrivateView }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type ResourceProvisioningState ¶
type ResourceProvisioningState string
const ( ResourceProvisioningStateCanceled ResourceProvisioningState = "Canceled" ResourceProvisioningStateFailed ResourceProvisioningState = "Failed" ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded" )
func (*ResourceProvisioningState) UnmarshalJSON ¶
func (s *ResourceProvisioningState) UnmarshalJSON(bytes []byte) error