Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datadog/armdatadog(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datadog/armdatadog). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package datadog implements the Azure ARM Datadog service API version 2021-03-01.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type APIKey
- type APIKeyListResponse
- type APIKeyListResponseIterator
- func (iter *APIKeyListResponseIterator) Next() error
- func (iter *APIKeyListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter APIKeyListResponseIterator) NotDone() bool
- func (iter APIKeyListResponseIterator) Response() APIKeyListResponse
- func (iter APIKeyListResponseIterator) Value() APIKey
- type APIKeyListResponsePage
- func (page *APIKeyListResponsePage) Next() error
- func (page *APIKeyListResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page APIKeyListResponsePage) NotDone() bool
- func (page APIKeyListResponsePage) Response() APIKeyListResponse
- func (page APIKeyListResponsePage) Values() []APIKey
- type AgreementProperties
- type AgreementResource
- type AgreementResourceListResponse
- type AgreementResourceListResponseIterator
- func (iter *AgreementResourceListResponseIterator) Next() error
- func (iter *AgreementResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AgreementResourceListResponseIterator) NotDone() bool
- func (iter AgreementResourceListResponseIterator) Response() AgreementResourceListResponse
- func (iter AgreementResourceListResponseIterator) Value() AgreementResource
- type AgreementResourceListResponsePage
- func (page *AgreementResourceListResponsePage) Next() error
- func (page *AgreementResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page AgreementResourceListResponsePage) NotDone() bool
- func (page AgreementResourceListResponsePage) Response() AgreementResourceListResponse
- func (page AgreementResourceListResponsePage) Values() []AgreementResource
- type BaseClient
- type CreatedByType
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type FilteringTag
- type Host
- type HostListResponse
- type HostListResponseIterator
- func (iter *HostListResponseIterator) Next() error
- func (iter *HostListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HostListResponseIterator) NotDone() bool
- func (iter HostListResponseIterator) Response() HostListResponse
- func (iter HostListResponseIterator) Value() Host
- type HostListResponsePage
- type HostMetadata
- type IdentityProperties
- type InstallMethod
- type LiftrResourceCategories
- type LinkedResource
- type LinkedResourceListResponse
- type LinkedResourceListResponseIterator
- func (iter *LinkedResourceListResponseIterator) Next() error
- func (iter *LinkedResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LinkedResourceListResponseIterator) NotDone() bool
- func (iter LinkedResourceListResponseIterator) Response() LinkedResourceListResponse
- func (iter LinkedResourceListResponseIterator) Value() LinkedResource
- type LinkedResourceListResponsePage
- func (page *LinkedResourceListResponsePage) Next() error
- func (page *LinkedResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page LinkedResourceListResponsePage) NotDone() bool
- func (page LinkedResourceListResponsePage) Response() LinkedResourceListResponse
- func (page LinkedResourceListResponsePage) Values() []LinkedResource
- type LogRules
- type LogsAgent
- type ManagedIdentityTypes
- type MarketplaceAgreementsClient
- func (client MarketplaceAgreementsClient) CreateOrUpdate(ctx context.Context, body *AgreementResource) (result AgreementResource, err error)
- func (client MarketplaceAgreementsClient) CreateOrUpdatePreparer(ctx context.Context, body *AgreementResource) (*http.Request, error)
- func (client MarketplaceAgreementsClient) CreateOrUpdateResponder(resp *http.Response) (result AgreementResource, err error)
- func (client MarketplaceAgreementsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client MarketplaceAgreementsClient) List(ctx context.Context) (result AgreementResourceListResponsePage, err error)
- func (client MarketplaceAgreementsClient) ListComplete(ctx context.Context) (result AgreementResourceListResponseIterator, err error)
- func (client MarketplaceAgreementsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client MarketplaceAgreementsClient) ListResponder(resp *http.Response) (result AgreementResourceListResponse, err error)
- func (client MarketplaceAgreementsClient) ListSender(req *http.Request) (*http.Response, error)
- type MarketplaceSubscriptionStatus
- type MetricRules
- type MonitorProperties
- type MonitorResource
- type MonitorResourceListResponse
- type MonitorResourceListResponseIterator
- func (iter *MonitorResourceListResponseIterator) Next() error
- func (iter *MonitorResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter MonitorResourceListResponseIterator) NotDone() bool
- func (iter MonitorResourceListResponseIterator) Response() MonitorResourceListResponse
- func (iter MonitorResourceListResponseIterator) Value() MonitorResource
- type MonitorResourceListResponsePage
- func (page *MonitorResourceListResponsePage) Next() error
- func (page *MonitorResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page MonitorResourceListResponsePage) NotDone() bool
- func (page MonitorResourceListResponsePage) Response() MonitorResourceListResponse
- func (page MonitorResourceListResponsePage) Values() []MonitorResource
- type MonitorResourceUpdateParameters
- type MonitorUpdateProperties
- type MonitoredResource
- type MonitoredResourceListResponse
- type MonitoredResourceListResponseIterator
- func (iter *MonitoredResourceListResponseIterator) Next() error
- func (iter *MonitoredResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter MonitoredResourceListResponseIterator) NotDone() bool
- func (iter MonitoredResourceListResponseIterator) Response() MonitoredResourceListResponse
- func (iter MonitoredResourceListResponseIterator) Value() MonitoredResource
- type MonitoredResourceListResponsePage
- func (page *MonitoredResourceListResponsePage) Next() error
- func (page *MonitoredResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page MonitoredResourceListResponsePage) NotDone() bool
- func (page MonitoredResourceListResponsePage) Response() MonitoredResourceListResponse
- func (page MonitoredResourceListResponsePage) Values() []MonitoredResource
- type MonitoringStatus
- type MonitoringTagRules
- type MonitoringTagRulesListResponse
- type MonitoringTagRulesListResponseIterator
- func (iter *MonitoringTagRulesListResponseIterator) Next() error
- func (iter *MonitoringTagRulesListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter MonitoringTagRulesListResponseIterator) NotDone() bool
- func (iter MonitoringTagRulesListResponseIterator) Response() MonitoringTagRulesListResponse
- func (iter MonitoringTagRulesListResponseIterator) Value() MonitoringTagRules
- type MonitoringTagRulesListResponsePage
- func (page *MonitoringTagRulesListResponsePage) Next() error
- func (page *MonitoringTagRulesListResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page MonitoringTagRulesListResponsePage) NotDone() bool
- func (page MonitoringTagRulesListResponsePage) Response() MonitoringTagRulesListResponse
- func (page MonitoringTagRulesListResponsePage) Values() []MonitoringTagRules
- type MonitoringTagRulesProperties
- type MonitorsClient
- func (client MonitorsClient) Create(ctx context.Context, resourceGroupName string, monitorName string, ...) (result MonitorsCreateFuture, err error)
- func (client MonitorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, monitorName string, ...) (*http.Request, error)
- func (client MonitorsClient) CreateResponder(resp *http.Response) (result MonitorResource, err error)
- func (client MonitorsClient) CreateSender(req *http.Request) (future MonitorsCreateFuture, err error)
- func (client MonitorsClient) Delete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorsDeleteFuture, err error)
- func (client MonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MonitorsClient) DeleteSender(req *http.Request) (future MonitorsDeleteFuture, err error)
- func (client MonitorsClient) Get(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorResource, err error)
- func (client MonitorsClient) GetDefaultKey(ctx context.Context, resourceGroupName string, monitorName string) (result APIKey, err error)
- func (client MonitorsClient) GetDefaultKeyPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) GetDefaultKeyResponder(resp *http.Response) (result APIKey, err error)
- func (client MonitorsClient) GetDefaultKeySender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) GetResponder(resp *http.Response) (result MonitorResource, err error)
- func (client MonitorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) List(ctx context.Context) (result MonitorResourceListResponsePage, err error)
- func (client MonitorsClient) ListAPIKeys(ctx context.Context, resourceGroupName string, monitorName string) (result APIKeyListResponsePage, err error)
- func (client MonitorsClient) ListAPIKeysComplete(ctx context.Context, resourceGroupName string, monitorName string) (result APIKeyListResponseIterator, err error)
- func (client MonitorsClient) ListAPIKeysPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) ListAPIKeysResponder(resp *http.Response) (result APIKeyListResponse, err error)
- func (client MonitorsClient) ListAPIKeysSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponsePage, err error)
- func (client MonitorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponseIterator, err error)
- func (client MonitorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client MonitorsClient) ListByResourceGroupResponder(resp *http.Response) (result MonitorResourceListResponse, err error)
- func (client MonitorsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) ListComplete(ctx context.Context) (result MonitorResourceListResponseIterator, err error)
- func (client MonitorsClient) ListHosts(ctx context.Context, resourceGroupName string, monitorName string) (result HostListResponsePage, err error)
- func (client MonitorsClient) ListHostsComplete(ctx context.Context, resourceGroupName string, monitorName string) (result HostListResponseIterator, err error)
- func (client MonitorsClient) ListHostsPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) ListHostsResponder(resp *http.Response) (result HostListResponse, err error)
- func (client MonitorsClient) ListHostsSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) ListLinkedResources(ctx context.Context, resourceGroupName string, monitorName string) (result LinkedResourceListResponsePage, err error)
- func (client MonitorsClient) ListLinkedResourcesComplete(ctx context.Context, resourceGroupName string, monitorName string) (result LinkedResourceListResponseIterator, err error)
- func (client MonitorsClient) ListLinkedResourcesPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) ListLinkedResourcesResponder(resp *http.Response) (result LinkedResourceListResponse, err error)
- func (client MonitorsClient) ListLinkedResourcesSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) ListMonitoredResources(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponsePage, err error)
- func (client MonitorsClient) ListMonitoredResourcesComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponseIterator, err error)
- func (client MonitorsClient) ListMonitoredResourcesPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) ListMonitoredResourcesResponder(resp *http.Response) (result MonitoredResourceListResponse, err error)
- func (client MonitorsClient) ListMonitoredResourcesSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client MonitorsClient) ListResponder(resp *http.Response) (result MonitorResourceListResponse, err error)
- func (client MonitorsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) RefreshSetPasswordLink(ctx context.Context, resourceGroupName string, monitorName string) (result SetPasswordLink, err error)
- func (client MonitorsClient) RefreshSetPasswordLinkPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client MonitorsClient) RefreshSetPasswordLinkResponder(resp *http.Response) (result SetPasswordLink, err error)
- func (client MonitorsClient) RefreshSetPasswordLinkSender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) SetDefaultKey(ctx context.Context, resourceGroupName string, monitorName string, ...) (result autorest.Response, err error)
- func (client MonitorsClient) SetDefaultKeyPreparer(ctx context.Context, resourceGroupName string, monitorName string, ...) (*http.Request, error)
- func (client MonitorsClient) SetDefaultKeyResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MonitorsClient) SetDefaultKeySender(req *http.Request) (*http.Response, error)
- func (client MonitorsClient) Update(ctx context.Context, resourceGroupName string, monitorName string, ...) (result MonitorsUpdateFuture, err error)
- func (client MonitorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, ...) (*http.Request, error)
- func (client MonitorsClient) UpdateResponder(resp *http.Response) (result MonitorResource, err error)
- func (client MonitorsClient) UpdateSender(req *http.Request) (future MonitorsUpdateFuture, err error)
- type MonitorsCreateFuture
- type MonitorsDeleteFuture
- type MonitorsUpdateFuture
- type OperationDisplay
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() OperationResult
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []OperationResult
- type OperationResult
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OrganizationProperties
- type ProvisioningState
- type ResourceSku
- type SetPasswordLink
- type SingleSignOnConfigurationsClient
- func (client SingleSignOnConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, monitorName string, ...) (result SingleSignOnConfigurationsCreateOrUpdateFuture, err error)
- func (client SingleSignOnConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, ...) (*http.Request, error)
- func (client SingleSignOnConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result SingleSignOnResource, err error)
- func (client SingleSignOnConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future SingleSignOnConfigurationsCreateOrUpdateFuture, err error)
- func (client SingleSignOnConfigurationsClient) Get(ctx context.Context, resourceGroupName string, monitorName string, ...) (result SingleSignOnResource, err error)
- func (client SingleSignOnConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, ...) (*http.Request, error)
- func (client SingleSignOnConfigurationsClient) GetResponder(resp *http.Response) (result SingleSignOnResource, err error)
- func (client SingleSignOnConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SingleSignOnConfigurationsClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result SingleSignOnResourceListResponsePage, err error)
- func (client SingleSignOnConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result SingleSignOnResourceListResponseIterator, err error)
- func (client SingleSignOnConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client SingleSignOnConfigurationsClient) ListResponder(resp *http.Response) (result SingleSignOnResourceListResponse, err error)
- func (client SingleSignOnConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)
- type SingleSignOnConfigurationsCreateOrUpdateFuture
- type SingleSignOnProperties
- type SingleSignOnResource
- type SingleSignOnResourceListResponse
- type SingleSignOnResourceListResponseIterator
- func (iter *SingleSignOnResourceListResponseIterator) Next() error
- func (iter *SingleSignOnResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SingleSignOnResourceListResponseIterator) NotDone() bool
- func (iter SingleSignOnResourceListResponseIterator) Response() SingleSignOnResourceListResponse
- func (iter SingleSignOnResourceListResponseIterator) Value() SingleSignOnResource
- type SingleSignOnResourceListResponsePage
- func (page *SingleSignOnResourceListResponsePage) Next() error
- func (page *SingleSignOnResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page SingleSignOnResourceListResponsePage) NotDone() bool
- func (page SingleSignOnResourceListResponsePage) Response() SingleSignOnResourceListResponse
- func (page SingleSignOnResourceListResponsePage) Values() []SingleSignOnResource
- type SingleSignOnStates
- type SystemData
- type TagAction
- type TagRulesClient
- func (client TagRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, monitorName string, ...) (result MonitoringTagRules, err error)
- func (client TagRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, ...) (*http.Request, error)
- func (client TagRulesClient) CreateOrUpdateResponder(resp *http.Response) (result MonitoringTagRules, err error)
- func (client TagRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client TagRulesClient) Get(ctx context.Context, resourceGroupName string, monitorName string, ...) (result MonitoringTagRules, err error)
- func (client TagRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, ...) (*http.Request, error)
- func (client TagRulesClient) GetResponder(resp *http.Response) (result MonitoringTagRules, err error)
- func (client TagRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TagRulesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponsePage, err error)
- func (client TagRulesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponseIterator, err error)
- func (client TagRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
- func (client TagRulesClient) ListResponder(resp *http.Response) (result MonitoringTagRulesListResponse, err error)
- func (client TagRulesClient) ListSender(req *http.Request) (*http.Response, error)
- type UserInfo
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Datadog
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type APIKey ¶
type APIKey struct { autorest.Response `json:"-"` // CreatedBy - The user that created the API key. CreatedBy *string `json:"createdBy,omitempty"` // Name - The name of the API key. Name *string `json:"name,omitempty"` // Key - The value of the API key. Key *string `json:"key,omitempty"` // Created - The time of creation of the API key. Created *string `json:"created,omitempty"` }
APIKey ...
type APIKeyListResponse ¶
type APIKeyListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]APIKey `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
APIKeyListResponse response of a list operation.
func (APIKeyListResponse) IsEmpty ¶
func (aklr APIKeyListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type APIKeyListResponseIterator ¶
type APIKeyListResponseIterator struct {
// contains filtered or unexported fields
}
APIKeyListResponseIterator provides access to a complete listing of APIKey values.
func NewAPIKeyListResponseIterator ¶
func NewAPIKeyListResponseIterator(page APIKeyListResponsePage) APIKeyListResponseIterator
Creates a new instance of the APIKeyListResponseIterator type.
func (*APIKeyListResponseIterator) Next ¶
func (iter *APIKeyListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*APIKeyListResponseIterator) NextWithContext ¶
func (iter *APIKeyListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (APIKeyListResponseIterator) NotDone ¶
func (iter APIKeyListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (APIKeyListResponseIterator) Response ¶
func (iter APIKeyListResponseIterator) Response() APIKeyListResponse
Response returns the raw server response from the last page request.
func (APIKeyListResponseIterator) Value ¶
func (iter APIKeyListResponseIterator) Value() APIKey
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type APIKeyListResponsePage ¶
type APIKeyListResponsePage struct {
// contains filtered or unexported fields
}
APIKeyListResponsePage contains a page of APIKey values.
func NewAPIKeyListResponsePage ¶
func NewAPIKeyListResponsePage(cur APIKeyListResponse, getNextPage func(context.Context, APIKeyListResponse) (APIKeyListResponse, error)) APIKeyListResponsePage
Creates a new instance of the APIKeyListResponsePage type.
func (*APIKeyListResponsePage) Next ¶
func (page *APIKeyListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*APIKeyListResponsePage) NextWithContext ¶
func (page *APIKeyListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (APIKeyListResponsePage) NotDone ¶
func (page APIKeyListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (APIKeyListResponsePage) Response ¶
func (page APIKeyListResponsePage) Response() APIKeyListResponse
Response returns the raw server response from the last page request.
func (APIKeyListResponsePage) Values ¶
func (page APIKeyListResponsePage) Values() []APIKey
Values returns the slice of values for the current page or nil if there are no values.
type AgreementProperties ¶
type AgreementProperties struct { // Publisher - Publisher identifier string. Publisher *string `json:"publisher,omitempty"` // Product - Product identifier string. Product *string `json:"product,omitempty"` // Plan - Plan identifier string. Plan *string `json:"plan,omitempty"` // LicenseTextLink - Link to HTML with Microsoft and Publisher terms. LicenseTextLink *string `json:"licenseTextLink,omitempty"` // PrivacyPolicyLink - Link to the privacy policy of the publisher. PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"` // RetrieveDatetime - Date and time in UTC of when the terms were accepted. This is empty if Accepted is false. RetrieveDatetime *date.Time `json:"retrieveDatetime,omitempty"` // Signature - Terms signature. Signature *string `json:"signature,omitempty"` // Accepted - If any version of the terms have been accepted, otherwise false. Accepted *bool `json:"accepted,omitempty"` }
AgreementProperties terms properties.
type AgreementResource ¶
type AgreementResource struct { autorest.Response `json:"-"` // ID - READ-ONLY; ARM id of the resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the agreement. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` // Properties - Represents the properties of the resource. Properties *AgreementProperties `json:"properties,omitempty"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` }
AgreementResource ...
func (AgreementResource) MarshalJSON ¶
func (ar AgreementResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AgreementResource.
type AgreementResourceListResponse ¶
type AgreementResourceListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]AgreementResource `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
AgreementResourceListResponse response of a list operation.
func (AgreementResourceListResponse) IsEmpty ¶
func (arlr AgreementResourceListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AgreementResourceListResponseIterator ¶
type AgreementResourceListResponseIterator struct {
// contains filtered or unexported fields
}
AgreementResourceListResponseIterator provides access to a complete listing of AgreementResource values.
func NewAgreementResourceListResponseIterator ¶
func NewAgreementResourceListResponseIterator(page AgreementResourceListResponsePage) AgreementResourceListResponseIterator
Creates a new instance of the AgreementResourceListResponseIterator type.
func (*AgreementResourceListResponseIterator) Next ¶
func (iter *AgreementResourceListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AgreementResourceListResponseIterator) NextWithContext ¶
func (iter *AgreementResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AgreementResourceListResponseIterator) NotDone ¶
func (iter AgreementResourceListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AgreementResourceListResponseIterator) Response ¶
func (iter AgreementResourceListResponseIterator) Response() AgreementResourceListResponse
Response returns the raw server response from the last page request.
func (AgreementResourceListResponseIterator) Value ¶
func (iter AgreementResourceListResponseIterator) Value() AgreementResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AgreementResourceListResponsePage ¶
type AgreementResourceListResponsePage struct {
// contains filtered or unexported fields
}
AgreementResourceListResponsePage contains a page of AgreementResource values.
func NewAgreementResourceListResponsePage ¶
func NewAgreementResourceListResponsePage(cur AgreementResourceListResponse, getNextPage func(context.Context, AgreementResourceListResponse) (AgreementResourceListResponse, error)) AgreementResourceListResponsePage
Creates a new instance of the AgreementResourceListResponsePage type.
func (*AgreementResourceListResponsePage) Next ¶
func (page *AgreementResourceListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AgreementResourceListResponsePage) NextWithContext ¶
func (page *AgreementResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AgreementResourceListResponsePage) NotDone ¶
func (page AgreementResourceListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AgreementResourceListResponsePage) Response ¶
func (page AgreementResourceListResponsePage) Response() AgreementResourceListResponse
Response returns the raw server response from the last page request.
func (AgreementResourceListResponsePage) Values ¶
func (page AgreementResourceListResponsePage) Values() []AgreementResource
Values returns the slice of values for the current page or nil if there are no values.
type BaseClient ¶
BaseClient is the base client for Datadog.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // CreatedByTypeApplication ... CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey ... CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity ... CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser ... CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // Type - READ-ONLY; The additional info type. Type *string `json:"type,omitempty"` // Info - READ-ONLY; The additional info. Info interface{} `json:"info,omitempty"` }
ErrorAdditionalInfo the resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorAdditionalInfo.
type ErrorDetail ¶
type ErrorDetail struct { // Code - READ-ONLY; The error code. Code *string `json:"code,omitempty"` // Message - READ-ONLY; The error message. Message *string `json:"message,omitempty"` // Target - READ-ONLY; The error target. Target *string `json:"target,omitempty"` // Details - READ-ONLY; The error details. Details *[]ErrorDetail `json:"details,omitempty"` // AdditionalInfo - READ-ONLY; The error additional info. AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` }
ErrorDetail the error detail.
func (ErrorDetail) MarshalJSON ¶
func (ed ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct { // Error - The error object. Error *ErrorDetail `json:"error,omitempty"` }
ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
type FilteringTag ¶
type FilteringTag struct { // Name - The name (also known as the key) of the tag. Name *string `json:"name,omitempty"` // Value - The value of the tag. Value *string `json:"value,omitempty"` // Action - Possible values include: 'TagActionInclude', 'TagActionExclude' Action TagAction `json:"action,omitempty"` }
FilteringTag the definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.
type Host ¶
type Host struct { // Name - The name of the host. Name *string `json:"name,omitempty"` // Aliases - The aliases for the host. Aliases *[]string `json:"aliases,omitempty"` // Apps - The Datadog integrations reporting metrics for the host. Apps *[]string `json:"apps,omitempty"` Meta *HostMetadata `json:"meta,omitempty"` }
Host ...
type HostListResponse ¶
type HostListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]Host `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
HostListResponse response of a list operation.
func (HostListResponse) IsEmpty ¶
func (hlr HostListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type HostListResponseIterator ¶
type HostListResponseIterator struct {
// contains filtered or unexported fields
}
HostListResponseIterator provides access to a complete listing of Host values.
func NewHostListResponseIterator ¶
func NewHostListResponseIterator(page HostListResponsePage) HostListResponseIterator
Creates a new instance of the HostListResponseIterator type.
func (*HostListResponseIterator) Next ¶
func (iter *HostListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*HostListResponseIterator) NextWithContext ¶
func (iter *HostListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (HostListResponseIterator) NotDone ¶
func (iter HostListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (HostListResponseIterator) Response ¶
func (iter HostListResponseIterator) Response() HostListResponse
Response returns the raw server response from the last page request.
func (HostListResponseIterator) Value ¶
func (iter HostListResponseIterator) Value() Host
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type HostListResponsePage ¶
type HostListResponsePage struct {
// contains filtered or unexported fields
}
HostListResponsePage contains a page of Host values.
func NewHostListResponsePage ¶
func NewHostListResponsePage(cur HostListResponse, getNextPage func(context.Context, HostListResponse) (HostListResponse, error)) HostListResponsePage
Creates a new instance of the HostListResponsePage type.
func (*HostListResponsePage) Next ¶
func (page *HostListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*HostListResponsePage) NextWithContext ¶
func (page *HostListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (HostListResponsePage) NotDone ¶
func (page HostListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (HostListResponsePage) Response ¶
func (page HostListResponsePage) Response() HostListResponse
Response returns the raw server response from the last page request.
func (HostListResponsePage) Values ¶
func (page HostListResponsePage) Values() []Host
Values returns the slice of values for the current page or nil if there are no values.
type HostMetadata ¶
type HostMetadata struct { // AgentVersion - The agent version. AgentVersion *string `json:"agentVersion,omitempty"` InstallMethod *InstallMethod `json:"installMethod,omitempty"` LogsAgent *LogsAgent `json:"logsAgent,omitempty"` }
HostMetadata ...
type IdentityProperties ¶
type IdentityProperties struct { // PrincipalID - READ-ONLY; The identity ID. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant ID of resource. TenantID *string `json:"tenantId,omitempty"` // Type - Possible values include: 'ManagedIdentityTypesSystemAssigned', 'ManagedIdentityTypesUserAssigned' Type ManagedIdentityTypes `json:"type,omitempty"` }
IdentityProperties ...
func (IdentityProperties) MarshalJSON ¶
func (IP IdentityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IdentityProperties.
type InstallMethod ¶
type InstallMethod struct { // Tool - The tool. Tool *string `json:"tool,omitempty"` // ToolVersion - The tool version. ToolVersion *string `json:"toolVersion,omitempty"` // InstallerVersion - The installer version. InstallerVersion *string `json:"installerVersion,omitempty"` }
InstallMethod ...
type LiftrResourceCategories ¶
type LiftrResourceCategories string
LiftrResourceCategories enumerates the values for liftr resource categories.
const ( // LiftrResourceCategoriesMonitorLogs ... LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" // LiftrResourceCategoriesUnknown ... LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" )
func PossibleLiftrResourceCategoriesValues ¶
func PossibleLiftrResourceCategoriesValues() []LiftrResourceCategories
PossibleLiftrResourceCategoriesValues returns an array of possible values for the LiftrResourceCategories const type.
type LinkedResource ¶
type LinkedResource struct { // ID - The ARM id of the linked resource. ID *string `json:"id,omitempty"` }
LinkedResource the definition of a linked resource.
type LinkedResourceListResponse ¶
type LinkedResourceListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]LinkedResource `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
LinkedResourceListResponse response of a list operation.
func (LinkedResourceListResponse) IsEmpty ¶
func (lrlr LinkedResourceListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LinkedResourceListResponseIterator ¶
type LinkedResourceListResponseIterator struct {
// contains filtered or unexported fields
}
LinkedResourceListResponseIterator provides access to a complete listing of LinkedResource values.
func NewLinkedResourceListResponseIterator ¶
func NewLinkedResourceListResponseIterator(page LinkedResourceListResponsePage) LinkedResourceListResponseIterator
Creates a new instance of the LinkedResourceListResponseIterator type.
func (*LinkedResourceListResponseIterator) Next ¶
func (iter *LinkedResourceListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LinkedResourceListResponseIterator) NextWithContext ¶
func (iter *LinkedResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (LinkedResourceListResponseIterator) NotDone ¶
func (iter LinkedResourceListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LinkedResourceListResponseIterator) Response ¶
func (iter LinkedResourceListResponseIterator) Response() LinkedResourceListResponse
Response returns the raw server response from the last page request.
func (LinkedResourceListResponseIterator) Value ¶
func (iter LinkedResourceListResponseIterator) Value() LinkedResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LinkedResourceListResponsePage ¶
type LinkedResourceListResponsePage struct {
// contains filtered or unexported fields
}
LinkedResourceListResponsePage contains a page of LinkedResource values.
func NewLinkedResourceListResponsePage ¶
func NewLinkedResourceListResponsePage(cur LinkedResourceListResponse, getNextPage func(context.Context, LinkedResourceListResponse) (LinkedResourceListResponse, error)) LinkedResourceListResponsePage
Creates a new instance of the LinkedResourceListResponsePage type.
func (*LinkedResourceListResponsePage) Next ¶
func (page *LinkedResourceListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*LinkedResourceListResponsePage) NextWithContext ¶
func (page *LinkedResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (LinkedResourceListResponsePage) NotDone ¶
func (page LinkedResourceListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LinkedResourceListResponsePage) Response ¶
func (page LinkedResourceListResponsePage) Response() LinkedResourceListResponse
Response returns the raw server response from the last page request.
func (LinkedResourceListResponsePage) Values ¶
func (page LinkedResourceListResponsePage) Values() []LinkedResource
Values returns the slice of values for the current page or nil if there are no values.
type LogRules ¶
type LogRules struct { // SendAadLogs - Flag specifying if AAD logs should be sent for the Monitor resource. SendAadLogs *bool `json:"sendAadLogs,omitempty"` // SendSubscriptionLogs - Flag specifying if Azure subscription logs should be sent for the Monitor resource. SendSubscriptionLogs *bool `json:"sendSubscriptionLogs,omitempty"` // SendResourceLogs - Flag specifying if Azure resource logs should be sent for the Monitor resource. SendResourceLogs *bool `json:"sendResourceLogs,omitempty"` // FilteringTags - List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` }
LogRules set of rules for sending logs for the Monitor resource.
type LogsAgent ¶
type LogsAgent struct { // Transport - The transport. Transport *string `json:"transport,omitempty"` }
LogsAgent ...
type ManagedIdentityTypes ¶
type ManagedIdentityTypes string
ManagedIdentityTypes enumerates the values for managed identity types.
const ( // ManagedIdentityTypesSystemAssigned ... ManagedIdentityTypesSystemAssigned ManagedIdentityTypes = "SystemAssigned" // ManagedIdentityTypesUserAssigned ... ManagedIdentityTypesUserAssigned ManagedIdentityTypes = "UserAssigned" )
func PossibleManagedIdentityTypesValues ¶
func PossibleManagedIdentityTypesValues() []ManagedIdentityTypes
PossibleManagedIdentityTypesValues returns an array of possible values for the ManagedIdentityTypes const type.
type MarketplaceAgreementsClient ¶
type MarketplaceAgreementsClient struct {
BaseClient
}
MarketplaceAgreementsClient is the client for the MarketplaceAgreements methods of the Datadog service.
func NewMarketplaceAgreementsClient ¶
func NewMarketplaceAgreementsClient(subscriptionID string) MarketplaceAgreementsClient
NewMarketplaceAgreementsClient creates an instance of the MarketplaceAgreementsClient client.
func NewMarketplaceAgreementsClientWithBaseURI ¶
func NewMarketplaceAgreementsClientWithBaseURI(baseURI string, subscriptionID string) MarketplaceAgreementsClient
NewMarketplaceAgreementsClientWithBaseURI creates an instance of the MarketplaceAgreementsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MarketplaceAgreementsClient) CreateOrUpdate ¶
func (client MarketplaceAgreementsClient) CreateOrUpdate(ctx context.Context, body *AgreementResource) (result AgreementResource, err error)
CreateOrUpdate sends the create or update request.
func (MarketplaceAgreementsClient) CreateOrUpdatePreparer ¶
func (client MarketplaceAgreementsClient) CreateOrUpdatePreparer(ctx context.Context, body *AgreementResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (MarketplaceAgreementsClient) CreateOrUpdateResponder ¶
func (client MarketplaceAgreementsClient) CreateOrUpdateResponder(resp *http.Response) (result AgreementResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (MarketplaceAgreementsClient) CreateOrUpdateSender ¶
func (client MarketplaceAgreementsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (MarketplaceAgreementsClient) List ¶
func (client MarketplaceAgreementsClient) List(ctx context.Context) (result AgreementResourceListResponsePage, err error)
List sends the list request.
func (MarketplaceAgreementsClient) ListComplete ¶
func (client MarketplaceAgreementsClient) ListComplete(ctx context.Context) (result AgreementResourceListResponseIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (MarketplaceAgreementsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (MarketplaceAgreementsClient) ListResponder ¶
func (client MarketplaceAgreementsClient) ListResponder(resp *http.Response) (result AgreementResourceListResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (MarketplaceAgreementsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type MarketplaceSubscriptionStatus ¶
type MarketplaceSubscriptionStatus string
MarketplaceSubscriptionStatus enumerates the values for marketplace subscription status.
const ( // MarketplaceSubscriptionStatusActive ... MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" // MarketplaceSubscriptionStatusProvisioning ... MarketplaceSubscriptionStatusProvisioning MarketplaceSubscriptionStatus = "Provisioning" // MarketplaceSubscriptionStatusSuspended ... MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" // MarketplaceSubscriptionStatusUnsubscribed ... MarketplaceSubscriptionStatusUnsubscribed MarketplaceSubscriptionStatus = "Unsubscribed" )
func PossibleMarketplaceSubscriptionStatusValues ¶
func PossibleMarketplaceSubscriptionStatusValues() []MarketplaceSubscriptionStatus
PossibleMarketplaceSubscriptionStatusValues returns an array of possible values for the MarketplaceSubscriptionStatus const type.
type MetricRules ¶
type MetricRules struct { // FilteringTags - List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` }
MetricRules set of rules for sending metrics for the Monitor resource.
type MonitorProperties ¶
type MonitorProperties struct { // ProvisioningState - Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // MonitoringStatus - Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled' MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"` // MarketplaceSubscriptionStatus - Possible values include: 'MarketplaceSubscriptionStatusProvisioning', 'MarketplaceSubscriptionStatusActive', 'MarketplaceSubscriptionStatusSuspended', 'MarketplaceSubscriptionStatusUnsubscribed' MarketplaceSubscriptionStatus MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"` DatadogOrganizationProperties *OrganizationProperties `json:"datadogOrganizationProperties,omitempty"` UserInfo *UserInfo `json:"userInfo,omitempty"` // LiftrResourceCategory - Possible values include: 'LiftrResourceCategoriesUnknown', 'LiftrResourceCategoriesMonitorLogs' LiftrResourceCategory LiftrResourceCategories `json:"liftrResourceCategory,omitempty"` // LiftrResourcePreference - READ-ONLY; The priority of the resource. LiftrResourcePreference *int32 `json:"liftrResourcePreference,omitempty"` }
MonitorProperties properties specific to the monitor resource.
func (MonitorProperties) MarshalJSON ¶
func (mp MonitorProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MonitorProperties.
type MonitorResource ¶
type MonitorResource struct { autorest.Response `json:"-"` // ID - READ-ONLY; ARM id of the monitor resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the monitor resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the monitor resource. Type *string `json:"type,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` Properties *MonitorProperties `json:"properties,omitempty"` Identity *IdentityProperties `json:"identity,omitempty"` Tags map[string]*string `json:"tags"` Location *string `json:"location,omitempty"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` }
MonitorResource ...
func (MonitorResource) MarshalJSON ¶
func (mr MonitorResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MonitorResource.
type MonitorResourceListResponse ¶
type MonitorResourceListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]MonitorResource `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
MonitorResourceListResponse response of a list operation.
func (MonitorResourceListResponse) IsEmpty ¶
func (mrlr MonitorResourceListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type MonitorResourceListResponseIterator ¶
type MonitorResourceListResponseIterator struct {
// contains filtered or unexported fields
}
MonitorResourceListResponseIterator provides access to a complete listing of MonitorResource values.
func NewMonitorResourceListResponseIterator ¶
func NewMonitorResourceListResponseIterator(page MonitorResourceListResponsePage) MonitorResourceListResponseIterator
Creates a new instance of the MonitorResourceListResponseIterator type.
func (*MonitorResourceListResponseIterator) Next ¶
func (iter *MonitorResourceListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MonitorResourceListResponseIterator) NextWithContext ¶
func (iter *MonitorResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (MonitorResourceListResponseIterator) NotDone ¶
func (iter MonitorResourceListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (MonitorResourceListResponseIterator) Response ¶
func (iter MonitorResourceListResponseIterator) Response() MonitorResourceListResponse
Response returns the raw server response from the last page request.
func (MonitorResourceListResponseIterator) Value ¶
func (iter MonitorResourceListResponseIterator) Value() MonitorResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type MonitorResourceListResponsePage ¶
type MonitorResourceListResponsePage struct {
// contains filtered or unexported fields
}
MonitorResourceListResponsePage contains a page of MonitorResource values.
func NewMonitorResourceListResponsePage ¶
func NewMonitorResourceListResponsePage(cur MonitorResourceListResponse, getNextPage func(context.Context, MonitorResourceListResponse) (MonitorResourceListResponse, error)) MonitorResourceListResponsePage
Creates a new instance of the MonitorResourceListResponsePage type.
func (*MonitorResourceListResponsePage) Next ¶
func (page *MonitorResourceListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MonitorResourceListResponsePage) NextWithContext ¶
func (page *MonitorResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (MonitorResourceListResponsePage) NotDone ¶
func (page MonitorResourceListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (MonitorResourceListResponsePage) Response ¶
func (page MonitorResourceListResponsePage) Response() MonitorResourceListResponse
Response returns the raw server response from the last page request.
func (MonitorResourceListResponsePage) Values ¶
func (page MonitorResourceListResponsePage) Values() []MonitorResource
Values returns the slice of values for the current page or nil if there are no values.
type MonitorResourceUpdateParameters ¶
type MonitorResourceUpdateParameters struct { Properties *MonitorUpdateProperties `json:"properties,omitempty"` // Tags - The new tags of the monitor resource. Tags map[string]*string `json:"tags"` Sku *ResourceSku `json:"sku,omitempty"` }
MonitorResourceUpdateParameters the parameters for a PATCH request to a monitor resource.
func (MonitorResourceUpdateParameters) MarshalJSON ¶
func (mrup MonitorResourceUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MonitorResourceUpdateParameters.
type MonitorUpdateProperties ¶
type MonitorUpdateProperties struct { // MonitoringStatus - Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled' MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"` }
MonitorUpdateProperties the set of properties that can be update in a PATCH request to a monitor resource.
type MonitoredResource ¶
type MonitoredResource struct { // ID - The ARM id of the resource. ID *string `json:"id,omitempty"` // SendingMetrics - Flag indicating if resource is sending metrics to Datadog. SendingMetrics *bool `json:"sendingMetrics,omitempty"` // ReasonForMetricsStatus - Reason for why the resource is sending metrics (or why it is not sending). ReasonForMetricsStatus *string `json:"reasonForMetricsStatus,omitempty"` // SendingLogs - Flag indicating if resource is sending logs to Datadog. SendingLogs *bool `json:"sendingLogs,omitempty"` // ReasonForLogsStatus - Reason for why the resource is sending logs (or why it is not sending). ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"` }
MonitoredResource the properties of a resource currently being monitored by the Datadog monitor resource.
type MonitoredResourceListResponse ¶
type MonitoredResourceListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]MonitoredResource `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
MonitoredResourceListResponse response of a list operation.
func (MonitoredResourceListResponse) IsEmpty ¶
func (mrlr MonitoredResourceListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type MonitoredResourceListResponseIterator ¶
type MonitoredResourceListResponseIterator struct {
// contains filtered or unexported fields
}
MonitoredResourceListResponseIterator provides access to a complete listing of MonitoredResource values.
func NewMonitoredResourceListResponseIterator ¶
func NewMonitoredResourceListResponseIterator(page MonitoredResourceListResponsePage) MonitoredResourceListResponseIterator
Creates a new instance of the MonitoredResourceListResponseIterator type.
func (*MonitoredResourceListResponseIterator) Next ¶
func (iter *MonitoredResourceListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MonitoredResourceListResponseIterator) NextWithContext ¶
func (iter *MonitoredResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (MonitoredResourceListResponseIterator) NotDone ¶
func (iter MonitoredResourceListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (MonitoredResourceListResponseIterator) Response ¶
func (iter MonitoredResourceListResponseIterator) Response() MonitoredResourceListResponse
Response returns the raw server response from the last page request.
func (MonitoredResourceListResponseIterator) Value ¶
func (iter MonitoredResourceListResponseIterator) Value() MonitoredResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type MonitoredResourceListResponsePage ¶
type MonitoredResourceListResponsePage struct {
// contains filtered or unexported fields
}
MonitoredResourceListResponsePage contains a page of MonitoredResource values.
func NewMonitoredResourceListResponsePage ¶
func NewMonitoredResourceListResponsePage(cur MonitoredResourceListResponse, getNextPage func(context.Context, MonitoredResourceListResponse) (MonitoredResourceListResponse, error)) MonitoredResourceListResponsePage
Creates a new instance of the MonitoredResourceListResponsePage type.
func (*MonitoredResourceListResponsePage) Next ¶
func (page *MonitoredResourceListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MonitoredResourceListResponsePage) NextWithContext ¶
func (page *MonitoredResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (MonitoredResourceListResponsePage) NotDone ¶
func (page MonitoredResourceListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (MonitoredResourceListResponsePage) Response ¶
func (page MonitoredResourceListResponsePage) Response() MonitoredResourceListResponse
Response returns the raw server response from the last page request.
func (MonitoredResourceListResponsePage) Values ¶
func (page MonitoredResourceListResponsePage) Values() []MonitoredResource
Values returns the slice of values for the current page or nil if there are no values.
type MonitoringStatus ¶
type MonitoringStatus string
MonitoringStatus enumerates the values for monitoring status.
const ( // MonitoringStatusDisabled ... MonitoringStatusDisabled MonitoringStatus = "Disabled" // MonitoringStatusEnabled ... MonitoringStatusEnabled MonitoringStatus = "Enabled" )
func PossibleMonitoringStatusValues ¶
func PossibleMonitoringStatusValues() []MonitoringStatus
PossibleMonitoringStatusValues returns an array of possible values for the MonitoringStatus const type.
type MonitoringTagRules ¶
type MonitoringTagRules struct { autorest.Response `json:"-"` // Name - READ-ONLY; Name of the rule set. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The id of the rule set. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the rule set. Type *string `json:"type,omitempty"` Properties *MonitoringTagRulesProperties `json:"properties,omitempty"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` }
MonitoringTagRules capture logs and metrics of Azure resources based on ARM tags.
func (MonitoringTagRules) MarshalJSON ¶
func (mtr MonitoringTagRules) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MonitoringTagRules.
type MonitoringTagRulesListResponse ¶
type MonitoringTagRulesListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]MonitoringTagRules `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
MonitoringTagRulesListResponse response of a list operation.
func (MonitoringTagRulesListResponse) IsEmpty ¶
func (mtrlr MonitoringTagRulesListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type MonitoringTagRulesListResponseIterator ¶
type MonitoringTagRulesListResponseIterator struct {
// contains filtered or unexported fields
}
MonitoringTagRulesListResponseIterator provides access to a complete listing of MonitoringTagRules values.
func NewMonitoringTagRulesListResponseIterator ¶
func NewMonitoringTagRulesListResponseIterator(page MonitoringTagRulesListResponsePage) MonitoringTagRulesListResponseIterator
Creates a new instance of the MonitoringTagRulesListResponseIterator type.
func (*MonitoringTagRulesListResponseIterator) Next ¶
func (iter *MonitoringTagRulesListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MonitoringTagRulesListResponseIterator) NextWithContext ¶
func (iter *MonitoringTagRulesListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (MonitoringTagRulesListResponseIterator) NotDone ¶
func (iter MonitoringTagRulesListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (MonitoringTagRulesListResponseIterator) Response ¶
func (iter MonitoringTagRulesListResponseIterator) Response() MonitoringTagRulesListResponse
Response returns the raw server response from the last page request.
func (MonitoringTagRulesListResponseIterator) Value ¶
func (iter MonitoringTagRulesListResponseIterator) Value() MonitoringTagRules
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type MonitoringTagRulesListResponsePage ¶
type MonitoringTagRulesListResponsePage struct {
// contains filtered or unexported fields
}
MonitoringTagRulesListResponsePage contains a page of MonitoringTagRules values.
func NewMonitoringTagRulesListResponsePage ¶
func NewMonitoringTagRulesListResponsePage(cur MonitoringTagRulesListResponse, getNextPage func(context.Context, MonitoringTagRulesListResponse) (MonitoringTagRulesListResponse, error)) MonitoringTagRulesListResponsePage
Creates a new instance of the MonitoringTagRulesListResponsePage type.
func (*MonitoringTagRulesListResponsePage) Next ¶
func (page *MonitoringTagRulesListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MonitoringTagRulesListResponsePage) NextWithContext ¶
func (page *MonitoringTagRulesListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (MonitoringTagRulesListResponsePage) NotDone ¶
func (page MonitoringTagRulesListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (MonitoringTagRulesListResponsePage) Response ¶
func (page MonitoringTagRulesListResponsePage) Response() MonitoringTagRulesListResponse
Response returns the raw server response from the last page request.
func (MonitoringTagRulesListResponsePage) Values ¶
func (page MonitoringTagRulesListResponsePage) Values() []MonitoringTagRules
Values returns the slice of values for the current page or nil if there are no values.
type MonitoringTagRulesProperties ¶
type MonitoringTagRulesProperties struct { // ProvisioningState - Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` LogRules *LogRules `json:"logRules,omitempty"` MetricRules *MetricRules `json:"metricRules,omitempty"` }
MonitoringTagRulesProperties definition of the properties for a TagRules resource.
type MonitorsClient ¶
type MonitorsClient struct {
BaseClient
}
MonitorsClient is the client for the Monitors methods of the Datadog service.
func NewMonitorsClient ¶
func NewMonitorsClient(subscriptionID string) MonitorsClient
NewMonitorsClient creates an instance of the MonitorsClient client.
func NewMonitorsClientWithBaseURI ¶
func NewMonitorsClientWithBaseURI(baseURI string, subscriptionID string) MonitorsClient
NewMonitorsClientWithBaseURI creates an instance of the MonitorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MonitorsClient) Create ¶
func (client MonitorsClient) Create(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResource) (result MonitorsCreateFuture, err error)
Create sends the create request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) CreatePreparer ¶
func (client MonitorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResource) (*http.Request, error)
CreatePreparer prepares the Create request.
func (MonitorsClient) CreateResponder ¶
func (client MonitorsClient) CreateResponder(resp *http.Response) (result MonitorResource, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (MonitorsClient) CreateSender ¶
func (client MonitorsClient) CreateSender(req *http.Request) (future MonitorsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) Delete ¶
func (client MonitorsClient) Delete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorsDeleteFuture, err error)
Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) DeletePreparer ¶
func (client MonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (MonitorsClient) DeleteResponder ¶
func (client MonitorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (MonitorsClient) DeleteSender ¶
func (client MonitorsClient) DeleteSender(req *http.Request) (future MonitorsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) Get ¶
func (client MonitorsClient) Get(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorResource, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) GetDefaultKey ¶
func (client MonitorsClient) GetDefaultKey(ctx context.Context, resourceGroupName string, monitorName string) (result APIKey, err error)
GetDefaultKey sends the get default key request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) GetDefaultKeyPreparer ¶
func (client MonitorsClient) GetDefaultKeyPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
GetDefaultKeyPreparer prepares the GetDefaultKey request.
func (MonitorsClient) GetDefaultKeyResponder ¶
func (client MonitorsClient) GetDefaultKeyResponder(resp *http.Response) (result APIKey, err error)
GetDefaultKeyResponder handles the response to the GetDefaultKey request. The method always closes the http.Response Body.
func (MonitorsClient) GetDefaultKeySender ¶
GetDefaultKeySender sends the GetDefaultKey request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) GetPreparer ¶
func (client MonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (MonitorsClient) GetResponder ¶
func (client MonitorsClient) GetResponder(resp *http.Response) (result MonitorResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (MonitorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) List ¶
func (client MonitorsClient) List(ctx context.Context) (result MonitorResourceListResponsePage, err error)
List sends the list request.
func (MonitorsClient) ListAPIKeys ¶
func (client MonitorsClient) ListAPIKeys(ctx context.Context, resourceGroupName string, monitorName string) (result APIKeyListResponsePage, err error)
ListAPIKeys sends the list api keys request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) ListAPIKeysComplete ¶
func (client MonitorsClient) ListAPIKeysComplete(ctx context.Context, resourceGroupName string, monitorName string) (result APIKeyListResponseIterator, err error)
ListAPIKeysComplete enumerates all values, automatically crossing page boundaries as required.
func (MonitorsClient) ListAPIKeysPreparer ¶
func (client MonitorsClient) ListAPIKeysPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
ListAPIKeysPreparer prepares the ListAPIKeys request.
func (MonitorsClient) ListAPIKeysResponder ¶
func (client MonitorsClient) ListAPIKeysResponder(resp *http.Response) (result APIKeyListResponse, err error)
ListAPIKeysResponder handles the response to the ListAPIKeys request. The method always closes the http.Response Body.
func (MonitorsClient) ListAPIKeysSender ¶
ListAPIKeysSender sends the ListAPIKeys request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) ListByResourceGroup ¶
func (client MonitorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponsePage, err error)
ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (MonitorsClient) ListByResourceGroupComplete ¶
func (client MonitorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponseIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (MonitorsClient) ListByResourceGroupPreparer ¶
func (client MonitorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (MonitorsClient) ListByResourceGroupResponder ¶
func (client MonitorsClient) ListByResourceGroupResponder(resp *http.Response) (result MonitorResourceListResponse, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (MonitorsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) ListComplete ¶
func (client MonitorsClient) ListComplete(ctx context.Context) (result MonitorResourceListResponseIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (MonitorsClient) ListHosts ¶
func (client MonitorsClient) ListHosts(ctx context.Context, resourceGroupName string, monitorName string) (result HostListResponsePage, err error)
ListHosts sends the list hosts request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) ListHostsComplete ¶
func (client MonitorsClient) ListHostsComplete(ctx context.Context, resourceGroupName string, monitorName string) (result HostListResponseIterator, err error)
ListHostsComplete enumerates all values, automatically crossing page boundaries as required.
func (MonitorsClient) ListHostsPreparer ¶
func (client MonitorsClient) ListHostsPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
ListHostsPreparer prepares the ListHosts request.
func (MonitorsClient) ListHostsResponder ¶
func (client MonitorsClient) ListHostsResponder(resp *http.Response) (result HostListResponse, err error)
ListHostsResponder handles the response to the ListHosts request. The method always closes the http.Response Body.
func (MonitorsClient) ListHostsSender ¶
ListHostsSender sends the ListHosts request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) ListLinkedResources ¶
func (client MonitorsClient) ListLinkedResources(ctx context.Context, resourceGroupName string, monitorName string) (result LinkedResourceListResponsePage, err error)
ListLinkedResources sends the list linked resources request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) ListLinkedResourcesComplete ¶
func (client MonitorsClient) ListLinkedResourcesComplete(ctx context.Context, resourceGroupName string, monitorName string) (result LinkedResourceListResponseIterator, err error)
ListLinkedResourcesComplete enumerates all values, automatically crossing page boundaries as required.
func (MonitorsClient) ListLinkedResourcesPreparer ¶
func (client MonitorsClient) ListLinkedResourcesPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
ListLinkedResourcesPreparer prepares the ListLinkedResources request.
func (MonitorsClient) ListLinkedResourcesResponder ¶
func (client MonitorsClient) ListLinkedResourcesResponder(resp *http.Response) (result LinkedResourceListResponse, err error)
ListLinkedResourcesResponder handles the response to the ListLinkedResources request. The method always closes the http.Response Body.
func (MonitorsClient) ListLinkedResourcesSender ¶
ListLinkedResourcesSender sends the ListLinkedResources request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) ListMonitoredResources ¶
func (client MonitorsClient) ListMonitoredResources(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponsePage, err error)
ListMonitoredResources sends the list monitored resources request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) ListMonitoredResourcesComplete ¶
func (client MonitorsClient) ListMonitoredResourcesComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponseIterator, err error)
ListMonitoredResourcesComplete enumerates all values, automatically crossing page boundaries as required.
func (MonitorsClient) ListMonitoredResourcesPreparer ¶
func (client MonitorsClient) ListMonitoredResourcesPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
ListMonitoredResourcesPreparer prepares the ListMonitoredResources request.
func (MonitorsClient) ListMonitoredResourcesResponder ¶
func (client MonitorsClient) ListMonitoredResourcesResponder(resp *http.Response) (result MonitoredResourceListResponse, err error)
ListMonitoredResourcesResponder handles the response to the ListMonitoredResources request. The method always closes the http.Response Body.
func (MonitorsClient) ListMonitoredResourcesSender ¶
func (client MonitorsClient) ListMonitoredResourcesSender(req *http.Request) (*http.Response, error)
ListMonitoredResourcesSender sends the ListMonitoredResources request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (MonitorsClient) ListResponder ¶
func (client MonitorsClient) ListResponder(resp *http.Response) (result MonitorResourceListResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (MonitorsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) RefreshSetPasswordLink ¶
func (client MonitorsClient) RefreshSetPasswordLink(ctx context.Context, resourceGroupName string, monitorName string) (result SetPasswordLink, err error)
RefreshSetPasswordLink sends the refresh set password link request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) RefreshSetPasswordLinkPreparer ¶
func (client MonitorsClient) RefreshSetPasswordLinkPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
RefreshSetPasswordLinkPreparer prepares the RefreshSetPasswordLink request.
func (MonitorsClient) RefreshSetPasswordLinkResponder ¶
func (client MonitorsClient) RefreshSetPasswordLinkResponder(resp *http.Response) (result SetPasswordLink, err error)
RefreshSetPasswordLinkResponder handles the response to the RefreshSetPasswordLink request. The method always closes the http.Response Body.
func (MonitorsClient) RefreshSetPasswordLinkSender ¶
func (client MonitorsClient) RefreshSetPasswordLinkSender(req *http.Request) (*http.Response, error)
RefreshSetPasswordLinkSender sends the RefreshSetPasswordLink request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) SetDefaultKey ¶
func (client MonitorsClient) SetDefaultKey(ctx context.Context, resourceGroupName string, monitorName string, body *APIKey) (result autorest.Response, err error)
SetDefaultKey sends the set default key request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) SetDefaultKeyPreparer ¶
func (client MonitorsClient) SetDefaultKeyPreparer(ctx context.Context, resourceGroupName string, monitorName string, body *APIKey) (*http.Request, error)
SetDefaultKeyPreparer prepares the SetDefaultKey request.
func (MonitorsClient) SetDefaultKeyResponder ¶
func (client MonitorsClient) SetDefaultKeyResponder(resp *http.Response) (result autorest.Response, err error)
SetDefaultKeyResponder handles the response to the SetDefaultKey request. The method always closes the http.Response Body.
func (MonitorsClient) SetDefaultKeySender ¶
SetDefaultKeySender sends the SetDefaultKey request. The method will close the http.Response Body if it receives an error.
func (MonitorsClient) Update ¶
func (client MonitorsClient) Update(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (result MonitorsUpdateFuture, err error)
Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (MonitorsClient) UpdatePreparer ¶
func (client MonitorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (MonitorsClient) UpdateResponder ¶
func (client MonitorsClient) UpdateResponder(resp *http.Response) (result MonitorResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (MonitorsClient) UpdateSender ¶
func (client MonitorsClient) UpdateSender(req *http.Request) (future MonitorsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type MonitorsCreateFuture ¶
type MonitorsCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(MonitorsClient) (MonitorResource, error) }
MonitorsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*MonitorsCreateFuture) UnmarshalJSON ¶
func (future *MonitorsCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type MonitorsDeleteFuture ¶
type MonitorsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(MonitorsClient) (autorest.Response, error) }
MonitorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*MonitorsDeleteFuture) UnmarshalJSON ¶
func (future *MonitorsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type MonitorsUpdateFuture ¶
type MonitorsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(MonitorsClient) (MonitorResource, error) }
MonitorsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*MonitorsUpdateFuture) UnmarshalJSON ¶
func (future *MonitorsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - Service provider, i.e., Microsoft.Datadog. Provider *string `json:"provider,omitempty"` // Resource - Type on which the operation is performed, e.g., 'monitors'. Resource *string `json:"resource,omitempty"` // Operation - Operation type, e.g., read, write, delete, etc. Operation *string `json:"operation,omitempty"` // Description - Description of the operation, e.g., 'Write monitors'. Description *string `json:"description,omitempty"` }
OperationDisplay the object that represents the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of operations supported by the Microsoft.Datadog provider. Value *[]OperationResult `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
OperationListResult result of GET request to list the Microsoft.Datadog operations.
func (OperationListResult) IsEmpty ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of OperationResult values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultIterator) NextWithContext ¶
func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
func (iter OperationListResultIterator) Value() OperationResult
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListResultPage ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of OperationResult values.
func NewOperationListResultPage ¶
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultPage) NextWithContext ¶
func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []OperationResult
Values returns the slice of values for the current page or nil if there are no values.
type OperationResult ¶
type OperationResult struct { // Name - Operation name, i.e., {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` Display *OperationDisplay `json:"display,omitempty"` // IsDataAction - Indicates whether the operation is a data action IsDataAction *bool `json:"isDataAction,omitempty"` }
OperationResult a Microsoft.Datadog REST API operation.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the client for the Operations methods of the Datadog service.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List sends the list request.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OrganizationProperties ¶
type OrganizationProperties struct { // Name - READ-ONLY; Name of the Datadog organization. Name *string `json:"name,omitempty"` // ID - READ-ONLY; Id of the Datadog organization. ID *string `json:"id,omitempty"` // LinkingAuthCode - The auth code used to linking to an existing datadog organization. LinkingAuthCode *string `json:"linkingAuthCode,omitempty"` // LinkingClientID - The client_id from an existing in exchange for an auth token to link organization. LinkingClientID *string `json:"linkingClientId,omitempty"` // RedirectURI - The redirect uri for linking. RedirectURI *string `json:"redirectUri,omitempty"` // APIKey - Api key associated to the Datadog organization. APIKey *string `json:"apiKey,omitempty"` // ApplicationKey - Application key associated to the Datadog organization. ApplicationKey *string `json:"applicationKey,omitempty"` // EnterpriseAppID - The Id of the Enterprise App used for Single sign on. EnterpriseAppID *string `json:"enterpriseAppId,omitempty"` }
OrganizationProperties datadog organization properties
func (OrganizationProperties) MarshalJSON ¶
func (op OrganizationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OrganizationProperties.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // ProvisioningStateAccepted ... ProvisioningStateAccepted ProvisioningState = "Accepted" // ProvisioningStateCanceled ... ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateCreating ... ProvisioningStateCreating ProvisioningState = "Creating" // ProvisioningStateDeleted ... ProvisioningStateDeleted ProvisioningState = "Deleted" // ProvisioningStateDeleting ... ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed ... ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateNotSpecified ... ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" // ProvisioningStateSucceeded ... ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUpdating ... ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type ResourceSku ¶
type ResourceSku struct { // Name - Name of the SKU. Name *string `json:"name,omitempty"` }
ResourceSku ...
type SetPasswordLink ¶
type SetPasswordLink struct { autorest.Response `json:"-"` SetPasswordLink *string `json:"setPasswordLink,omitempty"` }
SetPasswordLink ...
type SingleSignOnConfigurationsClient ¶
type SingleSignOnConfigurationsClient struct {
BaseClient
}
SingleSignOnConfigurationsClient is the client for the SingleSignOnConfigurations methods of the Datadog service.
func NewSingleSignOnConfigurationsClient ¶
func NewSingleSignOnConfigurationsClient(subscriptionID string) SingleSignOnConfigurationsClient
NewSingleSignOnConfigurationsClient creates an instance of the SingleSignOnConfigurationsClient client.
func NewSingleSignOnConfigurationsClientWithBaseURI ¶
func NewSingleSignOnConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) SingleSignOnConfigurationsClient
NewSingleSignOnConfigurationsClientWithBaseURI creates an instance of the SingleSignOnConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SingleSignOnConfigurationsClient) CreateOrUpdate ¶
func (client SingleSignOnConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, monitorName string, configurationName string, body *SingleSignOnResource) (result SingleSignOnConfigurationsCreateOrUpdateFuture, err error)
CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name configurationName - configuration name
func (SingleSignOnConfigurationsClient) CreateOrUpdatePreparer ¶
func (client SingleSignOnConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, configurationName string, body *SingleSignOnResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SingleSignOnConfigurationsClient) CreateOrUpdateResponder ¶
func (client SingleSignOnConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result SingleSignOnResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SingleSignOnConfigurationsClient) CreateOrUpdateSender ¶
func (client SingleSignOnConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future SingleSignOnConfigurationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SingleSignOnConfigurationsClient) Get ¶
func (client SingleSignOnConfigurationsClient) Get(ctx context.Context, resourceGroupName string, monitorName string, configurationName string) (result SingleSignOnResource, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name configurationName - configuration name
func (SingleSignOnConfigurationsClient) GetPreparer ¶
func (client SingleSignOnConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, configurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SingleSignOnConfigurationsClient) GetResponder ¶
func (client SingleSignOnConfigurationsClient) GetResponder(resp *http.Response) (result SingleSignOnResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SingleSignOnConfigurationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SingleSignOnConfigurationsClient) List ¶
func (client SingleSignOnConfigurationsClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result SingleSignOnResourceListResponsePage, err error)
List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (SingleSignOnConfigurationsClient) ListComplete ¶
func (client SingleSignOnConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result SingleSignOnResourceListResponseIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SingleSignOnConfigurationsClient) ListPreparer ¶
func (client SingleSignOnConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SingleSignOnConfigurationsClient) ListResponder ¶
func (client SingleSignOnConfigurationsClient) ListResponder(resp *http.Response) (result SingleSignOnResourceListResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SingleSignOnConfigurationsClient) ListSender ¶
func (client SingleSignOnConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SingleSignOnConfigurationsCreateOrUpdateFuture ¶
type SingleSignOnConfigurationsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SingleSignOnConfigurationsClient) (SingleSignOnResource, error) }
SingleSignOnConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SingleSignOnConfigurationsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *SingleSignOnConfigurationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SingleSignOnProperties ¶
type SingleSignOnProperties struct { // ProvisioningState - Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // SingleSignOnState - Possible values include: 'SingleSignOnStatesInitial', 'SingleSignOnStatesEnable', 'SingleSignOnStatesDisable', 'SingleSignOnStatesExisting' SingleSignOnState SingleSignOnStates `json:"singleSignOnState,omitempty"` // EnterpriseAppID - The Id of the Enterprise App used for Single sign-on. EnterpriseAppID *string `json:"enterpriseAppId,omitempty"` // SingleSignOnURL - READ-ONLY; The login URL specific to this Datadog Organization. SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"` }
SingleSignOnProperties ...
func (SingleSignOnProperties) MarshalJSON ¶
func (ssop SingleSignOnProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SingleSignOnProperties.
type SingleSignOnResource ¶
type SingleSignOnResource struct { autorest.Response `json:"-"` // ID - READ-ONLY; ARM id of the resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the configuration. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` Properties *SingleSignOnProperties `json:"properties,omitempty"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` }
SingleSignOnResource ...
func (SingleSignOnResource) MarshalJSON ¶
func (ssor SingleSignOnResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SingleSignOnResource.
type SingleSignOnResourceListResponse ¶
type SingleSignOnResourceListResponse struct { autorest.Response `json:"-"` // Value - Results of a list operation. Value *[]SingleSignOnResource `json:"value,omitempty"` // NextLink - Link to the next set of results, if any. NextLink *string `json:"nextLink,omitempty"` }
SingleSignOnResourceListResponse response of a list operation.
func (SingleSignOnResourceListResponse) IsEmpty ¶
func (ssorlr SingleSignOnResourceListResponse) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SingleSignOnResourceListResponseIterator ¶
type SingleSignOnResourceListResponseIterator struct {
// contains filtered or unexported fields
}
SingleSignOnResourceListResponseIterator provides access to a complete listing of SingleSignOnResource values.
func NewSingleSignOnResourceListResponseIterator ¶
func NewSingleSignOnResourceListResponseIterator(page SingleSignOnResourceListResponsePage) SingleSignOnResourceListResponseIterator
Creates a new instance of the SingleSignOnResourceListResponseIterator type.
func (*SingleSignOnResourceListResponseIterator) Next ¶
func (iter *SingleSignOnResourceListResponseIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SingleSignOnResourceListResponseIterator) NextWithContext ¶
func (iter *SingleSignOnResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SingleSignOnResourceListResponseIterator) NotDone ¶
func (iter SingleSignOnResourceListResponseIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SingleSignOnResourceListResponseIterator) Response ¶
func (iter SingleSignOnResourceListResponseIterator) Response() SingleSignOnResourceListResponse
Response returns the raw server response from the last page request.
func (SingleSignOnResourceListResponseIterator) Value ¶
func (iter SingleSignOnResourceListResponseIterator) Value() SingleSignOnResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SingleSignOnResourceListResponsePage ¶
type SingleSignOnResourceListResponsePage struct {
// contains filtered or unexported fields
}
SingleSignOnResourceListResponsePage contains a page of SingleSignOnResource values.
func NewSingleSignOnResourceListResponsePage ¶
func NewSingleSignOnResourceListResponsePage(cur SingleSignOnResourceListResponse, getNextPage func(context.Context, SingleSignOnResourceListResponse) (SingleSignOnResourceListResponse, error)) SingleSignOnResourceListResponsePage
Creates a new instance of the SingleSignOnResourceListResponsePage type.
func (*SingleSignOnResourceListResponsePage) Next ¶
func (page *SingleSignOnResourceListResponsePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SingleSignOnResourceListResponsePage) NextWithContext ¶
func (page *SingleSignOnResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SingleSignOnResourceListResponsePage) NotDone ¶
func (page SingleSignOnResourceListResponsePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SingleSignOnResourceListResponsePage) Response ¶
func (page SingleSignOnResourceListResponsePage) Response() SingleSignOnResourceListResponse
Response returns the raw server response from the last page request.
func (SingleSignOnResourceListResponsePage) Values ¶
func (page SingleSignOnResourceListResponsePage) Values() []SingleSignOnResource
Values returns the slice of values for the current page or nil if there are no values.
type SingleSignOnStates ¶
type SingleSignOnStates string
SingleSignOnStates enumerates the values for single sign on states.
const ( // SingleSignOnStatesDisable ... SingleSignOnStatesDisable SingleSignOnStates = "Disable" // SingleSignOnStatesEnable ... SingleSignOnStatesEnable SingleSignOnStates = "Enable" // SingleSignOnStatesExisting ... SingleSignOnStatesExisting SingleSignOnStates = "Existing" // SingleSignOnStatesInitial ... SingleSignOnStatesInitial SingleSignOnStates = "Initial" )
func PossibleSingleSignOnStatesValues ¶
func PossibleSingleSignOnStatesValues() []SingleSignOnStates
PossibleSingleSignOnStatesValues returns an array of possible values for the SingleSignOnStates const type.
type SystemData ¶
type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData metadata pertaining to creation and last modification of the resource.
type TagAction ¶
type TagAction string
TagAction enumerates the values for tag action.
func PossibleTagActionValues ¶
func PossibleTagActionValues() []TagAction
PossibleTagActionValues returns an array of possible values for the TagAction const type.
type TagRulesClient ¶
type TagRulesClient struct {
BaseClient
}
TagRulesClient is the client for the TagRules methods of the Datadog service.
func NewTagRulesClient ¶
func NewTagRulesClient(subscriptionID string) TagRulesClient
NewTagRulesClient creates an instance of the TagRulesClient client.
func NewTagRulesClientWithBaseURI ¶
func NewTagRulesClientWithBaseURI(baseURI string, subscriptionID string) TagRulesClient
NewTagRulesClientWithBaseURI creates an instance of the TagRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TagRulesClient) CreateOrUpdate ¶
func (client TagRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, body *MonitoringTagRules) (result MonitoringTagRules, err error)
CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name ruleSetName - rule set name
func (TagRulesClient) CreateOrUpdatePreparer ¶
func (client TagRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, body *MonitoringTagRules) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (TagRulesClient) CreateOrUpdateResponder ¶
func (client TagRulesClient) CreateOrUpdateResponder(resp *http.Response) (result MonitoringTagRules, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (TagRulesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (TagRulesClient) Get ¶
func (client TagRulesClient) Get(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (result MonitoringTagRules, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name ruleSetName - rule set name
func (TagRulesClient) GetPreparer ¶
func (client TagRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TagRulesClient) GetResponder ¶
func (client TagRulesClient) GetResponder(resp *http.Response) (result MonitoringTagRules, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TagRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TagRulesClient) List ¶
func (client TagRulesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponsePage, err error)
List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name
func (TagRulesClient) ListComplete ¶
func (client TagRulesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponseIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (TagRulesClient) ListPreparer ¶
func (client TagRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
ListPreparer prepares the List request.
func (TagRulesClient) ListResponder ¶
func (client TagRulesClient) ListResponder(resp *http.Response) (result MonitoringTagRulesListResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (TagRulesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type UserInfo ¶
type UserInfo struct { // Name - Name of the user Name *string `json:"name,omitempty"` // EmailAddress - Email of the user used by Datadog for contacting them if needed EmailAddress *string `json:"emailAddress,omitempty"` // PhoneNumber - Phone number of the user used by Datadog for contacting them if needed PhoneNumber *string `json:"phoneNumber,omitempty"` }
UserInfo user info
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Deprecated: Please note, this package has been deprecated.
|
Deprecated: Please note, this package has been deprecated. |