Documentation ¶
Index ¶
- func PossibleValuesForSslPreference() []string
- func PossibleValuesForWorkloadMonitorProvisioningState() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DB2ProviderInstanceProperties
- type DeleteOperationResponse
- type Error
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorInnerError
- type GetOperationResponse
- type HanaDbProviderInstanceProperties
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type MonitorId
- type MsSqlServerProviderInstanceProperties
- type OperationStatusResult
- type PrometheusHaClusterProviderInstanceProperties
- type PrometheusOSProviderInstanceProperties
- type ProviderInstance
- type ProviderInstanceId
- type ProviderInstanceOperationPredicate
- type ProviderInstanceProperties
- type ProviderInstancesClient
- func (c ProviderInstancesClient) Create(ctx context.Context, id ProviderInstanceId, input ProviderInstance) (result CreateOperationResponse, err error)
- func (c ProviderInstancesClient) CreateThenPoll(ctx context.Context, id ProviderInstanceId, input ProviderInstance) error
- func (c ProviderInstancesClient) Delete(ctx context.Context, id ProviderInstanceId) (result DeleteOperationResponse, err error)
- func (c ProviderInstancesClient) DeleteThenPoll(ctx context.Context, id ProviderInstanceId) error
- func (c ProviderInstancesClient) Get(ctx context.Context, id ProviderInstanceId) (result GetOperationResponse, err error)
- func (c ProviderInstancesClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
- func (c ProviderInstancesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
- func (c ProviderInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result ListCompleteResult, err error)
- type ProviderSpecificProperties
- type RawProviderSpecificPropertiesImpl
- type SapNetWeaverProviderInstanceProperties
- type SslPreference
- type WorkloadMonitorProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSslPreference ¶
func PossibleValuesForSslPreference() []string
func PossibleValuesForWorkloadMonitorProvisioningState ¶
func PossibleValuesForWorkloadMonitorProvisioningState() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
func ValidateProviderInstanceID ¶
ValidateProviderInstanceID checks that 'input' can be parsed as a Provider Instance ID
Types ¶
type CreateOperationResponse ¶
type DB2ProviderInstanceProperties ¶
type DB2ProviderInstanceProperties struct { DbName *string `json:"dbName,omitempty"` DbPassword *string `json:"dbPassword,omitempty"` DbPasswordUri *string `json:"dbPasswordUri,omitempty"` DbPort *string `json:"dbPort,omitempty"` DbUsername *string `json:"dbUsername,omitempty"` Hostname *string `json:"hostname,omitempty"` SapSid *string `json:"sapSid,omitempty"` SslCertificateUri *string `json:"sslCertificateUri,omitempty"` SslPreference *SslPreference `json:"sslPreference,omitempty"` }
func (DB2ProviderInstanceProperties) MarshalJSON ¶
func (s DB2ProviderInstanceProperties) MarshalJSON() ([]byte, error)
type DeleteOperationResponse ¶
type Error ¶
type Error struct { Code *string `json:"code,omitempty"` Details *[]Error `json:"details,omitempty"` InnerError *ErrorInnerError `json:"innerError,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type ErrorInnerError ¶
type ErrorInnerError struct {
InnerError *Error `json:"innerError,omitempty"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProviderInstance }
type HanaDbProviderInstanceProperties ¶
type HanaDbProviderInstanceProperties struct { DbName *string `json:"dbName,omitempty"` DbPassword *string `json:"dbPassword,omitempty"` DbPasswordUri *string `json:"dbPasswordUri,omitempty"` DbUsername *string `json:"dbUsername,omitempty"` Hostname *string `json:"hostname,omitempty"` InstanceNumber *string `json:"instanceNumber,omitempty"` SapSid *string `json:"sapSid,omitempty"` SqlPort *string `json:"sqlPort,omitempty"` SslCertificateUri *string `json:"sslCertificateUri,omitempty"` SslHostNameInCertificate *string `json:"sslHostNameInCertificate,omitempty"` SslPreference *SslPreference `json:"sslPreference,omitempty"` }
func (HanaDbProviderInstanceProperties) MarshalJSON ¶
func (s HanaDbProviderInstanceProperties) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ProviderInstance }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ProviderInstance }
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (*MonitorId) FromParseResult ¶
func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type MsSqlServerProviderInstanceProperties ¶
type MsSqlServerProviderInstanceProperties struct { DbPassword *string `json:"dbPassword,omitempty"` DbPasswordUri *string `json:"dbPasswordUri,omitempty"` DbPort *string `json:"dbPort,omitempty"` DbUsername *string `json:"dbUsername,omitempty"` Hostname *string `json:"hostname,omitempty"` SapSid *string `json:"sapSid,omitempty"` SslCertificateUri *string `json:"sslCertificateUri,omitempty"` SslPreference *SslPreference `json:"sslPreference,omitempty"` }
func (MsSqlServerProviderInstanceProperties) MarshalJSON ¶
func (s MsSqlServerProviderInstanceProperties) MarshalJSON() ([]byte, error)
type OperationStatusResult ¶
type OperationStatusResult struct { EndTime *string `json:"endTime,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Operations *[]OperationStatusResult `json:"operations,omitempty"` PercentComplete *float64 `json:"percentComplete,omitempty"` StartTime *string `json:"startTime,omitempty"` Status string `json:"status"` }
func (*OperationStatusResult) GetEndTimeAsTime ¶
func (o *OperationStatusResult) GetEndTimeAsTime() (*time.Time, error)
func (*OperationStatusResult) GetStartTimeAsTime ¶
func (o *OperationStatusResult) GetStartTimeAsTime() (*time.Time, error)
func (*OperationStatusResult) SetEndTimeAsTime ¶
func (o *OperationStatusResult) SetEndTimeAsTime(input time.Time)
func (*OperationStatusResult) SetStartTimeAsTime ¶
func (o *OperationStatusResult) SetStartTimeAsTime(input time.Time)
type PrometheusHaClusterProviderInstanceProperties ¶
type PrometheusHaClusterProviderInstanceProperties struct { ClusterName *string `json:"clusterName,omitempty"` Hostname *string `json:"hostname,omitempty"` PrometheusUrl *string `json:"prometheusUrl,omitempty"` Sid *string `json:"sid,omitempty"` SslCertificateUri *string `json:"sslCertificateUri,omitempty"` SslPreference *SslPreference `json:"sslPreference,omitempty"` }
func (PrometheusHaClusterProviderInstanceProperties) MarshalJSON ¶
func (s PrometheusHaClusterProviderInstanceProperties) MarshalJSON() ([]byte, error)
type PrometheusOSProviderInstanceProperties ¶
type PrometheusOSProviderInstanceProperties struct { PrometheusUrl *string `json:"prometheusUrl,omitempty"` SapSid *string `json:"sapSid,omitempty"` SslCertificateUri *string `json:"sslCertificateUri,omitempty"` SslPreference *SslPreference `json:"sslPreference,omitempty"` }
func (PrometheusOSProviderInstanceProperties) MarshalJSON ¶
func (s PrometheusOSProviderInstanceProperties) MarshalJSON() ([]byte, error)
type ProviderInstance ¶
type ProviderInstance struct { Id *string `json:"id,omitempty"` Identity *identity.UserAssignedMap `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *ProviderInstanceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ProviderInstanceId ¶
type ProviderInstanceId struct { SubscriptionId string ResourceGroupName string MonitorName string ProviderInstanceName string }
ProviderInstanceId is a struct representing the Resource ID for a Provider Instance
func NewProviderInstanceID ¶
func NewProviderInstanceID(subscriptionId string, resourceGroupName string, monitorName string, providerInstanceName string) ProviderInstanceId
NewProviderInstanceID returns a new ProviderInstanceId struct
func ParseProviderInstanceID ¶
func ParseProviderInstanceID(input string) (*ProviderInstanceId, error)
ParseProviderInstanceID parses 'input' into a ProviderInstanceId
func ParseProviderInstanceIDInsensitively ¶
func ParseProviderInstanceIDInsensitively(input string) (*ProviderInstanceId, error)
ParseProviderInstanceIDInsensitively parses 'input' case-insensitively into a ProviderInstanceId note: this method should only be used for API response data and not user input
func (*ProviderInstanceId) FromParseResult ¶
func (id *ProviderInstanceId) FromParseResult(input resourceids.ParseResult) error
func (ProviderInstanceId) ID ¶
func (id ProviderInstanceId) ID() string
ID returns the formatted Provider Instance ID
func (ProviderInstanceId) Segments ¶
func (id ProviderInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Instance ID
func (ProviderInstanceId) String ¶
func (id ProviderInstanceId) String() string
String returns a human-readable description of this Provider Instance ID
type ProviderInstanceOperationPredicate ¶
func (ProviderInstanceOperationPredicate) Matches ¶
func (p ProviderInstanceOperationPredicate) Matches(input ProviderInstance) bool
type ProviderInstanceProperties ¶
type ProviderInstanceProperties struct { Errors *Error `json:"errors,omitempty"` ProviderSettings ProviderSpecificProperties `json:"providerSettings"` ProvisioningState *WorkloadMonitorProvisioningState `json:"provisioningState,omitempty"` }
func (*ProviderInstanceProperties) UnmarshalJSON ¶
func (s *ProviderInstanceProperties) UnmarshalJSON(bytes []byte) error
type ProviderInstancesClient ¶
type ProviderInstancesClient struct {
Client *resourcemanager.Client
}
func NewProviderInstancesClientWithBaseURI ¶
func NewProviderInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*ProviderInstancesClient, error)
func (ProviderInstancesClient) Create ¶
func (c ProviderInstancesClient) Create(ctx context.Context, id ProviderInstanceId, input ProviderInstance) (result CreateOperationResponse, err error)
Create ...
func (ProviderInstancesClient) CreateThenPoll ¶
func (c ProviderInstancesClient) CreateThenPoll(ctx context.Context, id ProviderInstanceId, input ProviderInstance) error
CreateThenPoll performs Create then polls until it's completed
func (ProviderInstancesClient) Delete ¶
func (c ProviderInstancesClient) Delete(ctx context.Context, id ProviderInstanceId) (result DeleteOperationResponse, err error)
Delete ...
func (ProviderInstancesClient) DeleteThenPoll ¶
func (c ProviderInstancesClient) DeleteThenPoll(ctx context.Context, id ProviderInstanceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ProviderInstancesClient) Get ¶
func (c ProviderInstancesClient) Get(ctx context.Context, id ProviderInstanceId) (result GetOperationResponse, err error)
Get ...
func (ProviderInstancesClient) List ¶
func (c ProviderInstancesClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
List ...
func (ProviderInstancesClient) ListComplete ¶
func (c ProviderInstancesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ProviderInstancesClient) ListCompleteMatchingPredicate ¶
func (c ProviderInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate ProviderInstanceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ProviderSpecificProperties ¶
type ProviderSpecificProperties interface { }
type RawProviderSpecificPropertiesImpl ¶
RawProviderSpecificPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SapNetWeaverProviderInstanceProperties ¶
type SapNetWeaverProviderInstanceProperties struct { SapClientId *string `json:"sapClientId,omitempty"` SapHostFileEntries *[]string `json:"sapHostFileEntries,omitempty"` SapHostname *string `json:"sapHostname,omitempty"` SapInstanceNr *string `json:"sapInstanceNr,omitempty"` SapPassword *string `json:"sapPassword,omitempty"` SapPasswordUri *string `json:"sapPasswordUri,omitempty"` SapPortNumber *string `json:"sapPortNumber,omitempty"` SapSid *string `json:"sapSid,omitempty"` SapUsername *string `json:"sapUsername,omitempty"` SslCertificateUri *string `json:"sslCertificateUri,omitempty"` SslPreference *SslPreference `json:"sslPreference,omitempty"` }
func (SapNetWeaverProviderInstanceProperties) MarshalJSON ¶
func (s SapNetWeaverProviderInstanceProperties) MarshalJSON() ([]byte, error)
type SslPreference ¶
type SslPreference string
const ( SslPreferenceDisabled SslPreference = "Disabled" SslPreferenceRootCertificate SslPreference = "RootCertificate" SslPreferenceServerCertificate SslPreference = "ServerCertificate" )
func (*SslPreference) UnmarshalJSON ¶
func (s *SslPreference) UnmarshalJSON(bytes []byte) error
type WorkloadMonitorProvisioningState ¶
type WorkloadMonitorProvisioningState string
const ( WorkloadMonitorProvisioningStateAccepted WorkloadMonitorProvisioningState = "Accepted" WorkloadMonitorProvisioningStateCreating WorkloadMonitorProvisioningState = "Creating" WorkloadMonitorProvisioningStateDeleting WorkloadMonitorProvisioningState = "Deleting" WorkloadMonitorProvisioningStateFailed WorkloadMonitorProvisioningState = "Failed" WorkloadMonitorProvisioningStateMigrating WorkloadMonitorProvisioningState = "Migrating" WorkloadMonitorProvisioningStateSucceeded WorkloadMonitorProvisioningState = "Succeeded" WorkloadMonitorProvisioningStateUpdating WorkloadMonitorProvisioningState = "Updating" )
func (*WorkloadMonitorProvisioningState) UnmarshalJSON ¶
func (s *WorkloadMonitorProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- id_providerinstance.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- model_db2providerinstanceproperties.go
- model_error.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_errorinnererror.go
- model_hanadbproviderinstanceproperties.go
- model_mssqlserverproviderinstanceproperties.go
- model_operationstatusresult.go
- model_prometheushaclusterproviderinstanceproperties.go
- model_prometheusosproviderinstanceproperties.go
- model_providerinstance.go
- model_providerinstanceproperties.go
- model_providerspecificproperties.go
- model_sapnetweaverproviderinstanceproperties.go
- predicates.go
- version.go