Documentation ¶
Index ¶
- func PossibleValuesForConnectivityStatusType() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ConnectivityStatusContract
- func (o *ConnectivityStatusContract) GetLastStatusChangeAsTime() (*time.Time, error)
- func (o *ConnectivityStatusContract) GetLastUpdatedAsTime() (*time.Time, error)
- func (o *ConnectivityStatusContract) SetLastStatusChangeAsTime(input time.Time)
- func (o *ConnectivityStatusContract) SetLastUpdatedAsTime(input time.Time)
- type ConnectivityStatusType
- type ListByLocationOperationResponse
- type ListByServiceOperationResponse
- type LocationId
- type NetworkStatusClient
- type NetworkStatusContract
- type NetworkStatusContractByLocation
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConnectivityStatusType ¶
func PossibleValuesForConnectivityStatusType() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ConnectivityStatusContract ¶
type ConnectivityStatusContract struct { Error *string `json:"error,omitempty"` IsOptional bool `json:"isOptional"` LastStatusChange string `json:"lastStatusChange"` LastUpdated string `json:"lastUpdated"` Name string `json:"name"` ResourceType string `json:"resourceType"` Status ConnectivityStatusType `json:"status"` }
func (*ConnectivityStatusContract) GetLastStatusChangeAsTime ¶
func (o *ConnectivityStatusContract) GetLastStatusChangeAsTime() (*time.Time, error)
func (*ConnectivityStatusContract) GetLastUpdatedAsTime ¶
func (o *ConnectivityStatusContract) GetLastUpdatedAsTime() (*time.Time, error)
func (*ConnectivityStatusContract) SetLastStatusChangeAsTime ¶
func (o *ConnectivityStatusContract) SetLastStatusChangeAsTime(input time.Time)
func (*ConnectivityStatusContract) SetLastUpdatedAsTime ¶
func (o *ConnectivityStatusContract) SetLastUpdatedAsTime(input time.Time)
type ConnectivityStatusType ¶
type ConnectivityStatusType string
const ( ConnectivityStatusTypeFailure ConnectivityStatusType = "failure" ConnectivityStatusTypeInitializing ConnectivityStatusType = "initializing" ConnectivityStatusTypeSuccess ConnectivityStatusType = "success" )
func (*ConnectivityStatusType) UnmarshalJSON ¶
func (s *ConnectivityStatusType) UnmarshalJSON(bytes []byte) error
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkStatusContract }
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NetworkStatusContractByLocation }
type LocationId ¶
type LocationId struct { SubscriptionId string ResourceGroupName string ServiceName string LocationName string }
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, resourceGroupName string, serviceName 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 NetworkStatusClient ¶
type NetworkStatusClient struct {
Client *resourcemanager.Client
}
func NewNetworkStatusClientWithBaseURI ¶
func NewNetworkStatusClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkStatusClient, error)
func (NetworkStatusClient) ListByLocation ¶
func (c NetworkStatusClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (NetworkStatusClient) ListByService ¶
func (c NetworkStatusClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
ListByService ...
type NetworkStatusContract ¶
type NetworkStatusContract struct { ConnectivityStatus []ConnectivityStatusContract `json:"connectivityStatus"` DnsServers []string `json:"dnsServers"` }
type NetworkStatusContractByLocation ¶
type NetworkStatusContractByLocation struct { Location *string `json:"location,omitempty"` NetworkStatus *NetworkStatusContract `json:"networkStatus,omitempty"` }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID