azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/datadog/mgmt/2020-02-01-preview/datadog Index | Files | Directories

package datadog

import "github.com/Azure/azure-sdk-for-go/services/preview/datadog/mgmt/2020-02-01-preview/datadog"

Package datadog implements the Azure ARM Datadog service API version 2020-02-01-preview.

Index

Package Files

apikeys.go client.go enums.go hosts.go linkedresources.go marketplaceagreements.go models.go monitoredresources.go monitors.go operations.go refreshsetpassword.go singlesignonconfigurations.go tagrules.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Datadog
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type APIKey Uses

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 Uses

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 Uses

func (aklr APIKeyListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type APIKeyListResponseIterator Uses

type APIKeyListResponseIterator struct {
    // contains filtered or unexported fields
}

APIKeyListResponseIterator provides access to a complete listing of APIKey values.

func NewAPIKeyListResponseIterator Uses

func NewAPIKeyListResponseIterator(page APIKeyListResponsePage) APIKeyListResponseIterator

Creates a new instance of the APIKeyListResponseIterator type.

func (*APIKeyListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter APIKeyListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (APIKeyListResponseIterator) Response Uses

func (iter APIKeyListResponseIterator) Response() APIKeyListResponse

Response returns the raw server response from the last page request.

func (APIKeyListResponseIterator) Value Uses

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 Uses

type APIKeyListResponsePage struct {
    // contains filtered or unexported fields
}

APIKeyListResponsePage contains a page of APIKey values.

func NewAPIKeyListResponsePage Uses

func NewAPIKeyListResponsePage(cur APIKeyListResponse, getNextPage func(context.Context, APIKeyListResponse) (APIKeyListResponse, error)) APIKeyListResponsePage

Creates a new instance of the APIKeyListResponsePage type.

func (*APIKeyListResponsePage) Next Uses

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 Uses

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 Uses

func (page APIKeyListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (APIKeyListResponsePage) Response Uses

func (page APIKeyListResponsePage) Response() APIKeyListResponse

Response returns the raw server response from the last page request.

func (APIKeyListResponsePage) Values Uses

func (page APIKeyListResponsePage) Values() []APIKey

Values returns the slice of values for the current page or nil if there are no values.

type APIKeysClient Uses

type APIKeysClient struct {
    BaseClient
}

APIKeysClient is the client for the APIKeys methods of the Datadog service.

func NewAPIKeysClient Uses

func NewAPIKeysClient(subscriptionID string) APIKeysClient

NewAPIKeysClient creates an instance of the APIKeysClient client.

func NewAPIKeysClientWithBaseURI Uses

func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysClient

NewAPIKeysClientWithBaseURI creates an instance of the APIKeysClient 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 (APIKeysClient) GetDefaultKey Uses

func (client APIKeysClient) 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 to which the Datadog resource belongs. monitorName - monitor resource name

func (APIKeysClient) GetDefaultKeyPreparer Uses

func (client APIKeysClient) GetDefaultKeyPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

GetDefaultKeyPreparer prepares the GetDefaultKey request.

func (APIKeysClient) GetDefaultKeyResponder Uses

func (client APIKeysClient) 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 (APIKeysClient) GetDefaultKeySender Uses

func (client APIKeysClient) GetDefaultKeySender(req *http.Request) (*http.Response, error)

GetDefaultKeySender sends the GetDefaultKey request. The method will close the http.Response Body if it receives an error.

func (APIKeysClient) List Uses

func (client APIKeysClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result APIKeyListResponsePage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Datadog resource belongs. monitorName - monitor resource name

func (APIKeysClient) ListComplete Uses

func (client APIKeysClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result APIKeyListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (APIKeysClient) ListPreparer Uses

func (client APIKeysClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (APIKeysClient) ListResponder Uses

func (client APIKeysClient) ListResponder(resp *http.Response) (result APIKeyListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (APIKeysClient) ListSender Uses

func (client APIKeysClient) 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.

func (APIKeysClient) SetDefaultKey Uses

func (client APIKeysClient) 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 to which the Datadog resource belongs. monitorName - monitor resource name

func (APIKeysClient) SetDefaultKeyPreparer Uses

func (client APIKeysClient) SetDefaultKeyPreparer(ctx context.Context, resourceGroupName string, monitorName string, body *APIKey) (*http.Request, error)

SetDefaultKeyPreparer prepares the SetDefaultKey request.

func (APIKeysClient) SetDefaultKeyResponder Uses

func (client APIKeysClient) 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 (APIKeysClient) SetDefaultKeySender Uses

func (client APIKeysClient) SetDefaultKeySender(req *http.Request) (*http.Response, error)

SetDefaultKeySender sends the SetDefaultKey request. The method will close the http.Response Body if it receives an error.

type AgreementProperties Uses

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 Uses

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"`
}

AgreementResource ...

func (AgreementResource) MarshalJSON Uses

func (ar AgreementResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AgreementResource.

type AgreementResourceListResponse Uses

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 Uses

func (arlr AgreementResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AgreementResourceListResponseIterator Uses

type AgreementResourceListResponseIterator struct {
    // contains filtered or unexported fields
}

AgreementResourceListResponseIterator provides access to a complete listing of AgreementResource values.

func NewAgreementResourceListResponseIterator Uses

func NewAgreementResourceListResponseIterator(page AgreementResourceListResponsePage) AgreementResourceListResponseIterator

Creates a new instance of the AgreementResourceListResponseIterator type.

func (*AgreementResourceListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter AgreementResourceListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AgreementResourceListResponseIterator) Response Uses

func (iter AgreementResourceListResponseIterator) Response() AgreementResourceListResponse

Response returns the raw server response from the last page request.

func (AgreementResourceListResponseIterator) Value Uses

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 Uses

type AgreementResourceListResponsePage struct {
    // contains filtered or unexported fields
}

AgreementResourceListResponsePage contains a page of AgreementResource values.

func NewAgreementResourceListResponsePage Uses

func NewAgreementResourceListResponsePage(cur AgreementResourceListResponse, getNextPage func(context.Context, AgreementResourceListResponse) (AgreementResourceListResponse, error)) AgreementResourceListResponsePage

Creates a new instance of the AgreementResourceListResponsePage type.

func (*AgreementResourceListResponsePage) Next Uses

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 Uses

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 Uses

func (page AgreementResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AgreementResourceListResponsePage) Response Uses

func (page AgreementResourceListResponsePage) Response() AgreementResourceListResponse

Response returns the raw server response from the last page request.

func (AgreementResourceListResponsePage) Values Uses

func (page AgreementResourceListResponsePage) Values() []AgreementResource

Values returns the slice of values for the current page or nil if there are no values.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Datadog.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 ErrorResponseBody Uses

type ErrorResponseBody struct {
    Code    *string              `json:"code,omitempty"`
    Message *string              `json:"message,omitempty"`
    Target  *string              `json:"target,omitempty"`
    Details *[]ErrorResponseBody `json:"details,omitempty"`
}

ErrorResponseBody ...

type FilteringTag Uses

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: 'Include', 'Exclude'
    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 Uses

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 Uses

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 Uses

func (hlr HostListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HostListResponseIterator Uses

type HostListResponseIterator struct {
    // contains filtered or unexported fields
}

HostListResponseIterator provides access to a complete listing of Host values.

func NewHostListResponseIterator Uses

func NewHostListResponseIterator(page HostListResponsePage) HostListResponseIterator

Creates a new instance of the HostListResponseIterator type.

func (*HostListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter HostListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (HostListResponseIterator) Response Uses

func (iter HostListResponseIterator) Response() HostListResponse

Response returns the raw server response from the last page request.

func (HostListResponseIterator) Value Uses

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 Uses

type HostListResponsePage struct {
    // contains filtered or unexported fields
}

HostListResponsePage contains a page of Host values.

func NewHostListResponsePage Uses

func NewHostListResponsePage(cur HostListResponse, getNextPage func(context.Context, HostListResponse) (HostListResponse, error)) HostListResponsePage

Creates a new instance of the HostListResponsePage type.

func (*HostListResponsePage) Next Uses

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 Uses

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 Uses

func (page HostListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HostListResponsePage) Response Uses

func (page HostListResponsePage) Response() HostListResponse

Response returns the raw server response from the last page request.

func (HostListResponsePage) Values Uses

func (page HostListResponsePage) Values() []Host

Values returns the slice of values for the current page or nil if there are no values.

type HostMetadata Uses

type HostMetadata struct {
    // AgentVersion - The agent version.
    AgentVersion  *string        `json:"agentVersion,omitempty"`
    InstallMethod *InstallMethod `json:"installMethod,omitempty"`
    LogsAgent     *LogsAgent     `json:"logsAgent,omitempty"`
}

HostMetadata ...

type HostsClient Uses

type HostsClient struct {
    BaseClient
}

HostsClient is the client for the Hosts methods of the Datadog service.

func NewHostsClient Uses

func NewHostsClient(subscriptionID string) HostsClient

NewHostsClient creates an instance of the HostsClient client.

func NewHostsClientWithBaseURI Uses

func NewHostsClientWithBaseURI(baseURI string, subscriptionID string) HostsClient

NewHostsClientWithBaseURI creates an instance of the HostsClient 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 (HostsClient) List Uses

func (client HostsClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result HostListResponsePage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Datadog resource belongs. monitorName - monitor resource name

func (HostsClient) ListComplete Uses

func (client HostsClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result HostListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (HostsClient) ListPreparer Uses

func (client HostsClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (HostsClient) ListResponder Uses

func (client HostsClient) ListResponder(resp *http.Response) (result HostListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (HostsClient) ListSender Uses

func (client HostsClient) 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 IdentityProperties Uses

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: 'SystemAssigned', 'UserAssigned'
    Type ManagedIdentityTypes `json:"type,omitempty"`
}

IdentityProperties ...

func (IdentityProperties) MarshalJSON Uses

func (IP IdentityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IdentityProperties.

type InstallMethod Uses

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 Uses

type LiftrResourceCategories string

LiftrResourceCategories enumerates the values for liftr resource categories.

const (
    // MonitorLogs ...
    MonitorLogs LiftrResourceCategories = "MonitorLogs"
    // Unknown ...
    Unknown LiftrResourceCategories = "Unknown"
)

func PossibleLiftrResourceCategoriesValues Uses

func PossibleLiftrResourceCategoriesValues() []LiftrResourceCategories

PossibleLiftrResourceCategoriesValues returns an array of possible values for the LiftrResourceCategories const type.

type LinkedResource Uses

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 Uses

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 Uses

func (lrlr LinkedResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LinkedResourceListResponseIterator Uses

type LinkedResourceListResponseIterator struct {
    // contains filtered or unexported fields
}

LinkedResourceListResponseIterator provides access to a complete listing of LinkedResource values.

func NewLinkedResourceListResponseIterator Uses

func NewLinkedResourceListResponseIterator(page LinkedResourceListResponsePage) LinkedResourceListResponseIterator

Creates a new instance of the LinkedResourceListResponseIterator type.

func (*LinkedResourceListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter LinkedResourceListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LinkedResourceListResponseIterator) Response Uses

func (iter LinkedResourceListResponseIterator) Response() LinkedResourceListResponse

Response returns the raw server response from the last page request.

func (LinkedResourceListResponseIterator) Value Uses

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 Uses

type LinkedResourceListResponsePage struct {
    // contains filtered or unexported fields
}

LinkedResourceListResponsePage contains a page of LinkedResource values.

func NewLinkedResourceListResponsePage Uses

func NewLinkedResourceListResponsePage(cur LinkedResourceListResponse, getNextPage func(context.Context, LinkedResourceListResponse) (LinkedResourceListResponse, error)) LinkedResourceListResponsePage

Creates a new instance of the LinkedResourceListResponsePage type.

func (*LinkedResourceListResponsePage) Next Uses

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 Uses

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 Uses

func (page LinkedResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LinkedResourceListResponsePage) Response Uses

func (page LinkedResourceListResponsePage) Response() LinkedResourceListResponse

Response returns the raw server response from the last page request.

func (LinkedResourceListResponsePage) Values Uses

func (page LinkedResourceListResponsePage) Values() []LinkedResource

Values returns the slice of values for the current page or nil if there are no values.

type LinkedResourcesClient Uses

type LinkedResourcesClient struct {
    BaseClient
}

LinkedResourcesClient is the client for the LinkedResources methods of the Datadog service.

func NewLinkedResourcesClient Uses

func NewLinkedResourcesClient(subscriptionID string) LinkedResourcesClient

NewLinkedResourcesClient creates an instance of the LinkedResourcesClient client.

func NewLinkedResourcesClientWithBaseURI Uses

func NewLinkedResourcesClientWithBaseURI(baseURI string, subscriptionID string) LinkedResourcesClient

NewLinkedResourcesClientWithBaseURI creates an instance of the LinkedResourcesClient 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 (LinkedResourcesClient) List Uses

func (client LinkedResourcesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result LinkedResourceListResponsePage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Datadog resource belongs. monitorName - monitor resource name

func (LinkedResourcesClient) ListComplete Uses

func (client LinkedResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result LinkedResourceListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LinkedResourcesClient) ListPreparer Uses

func (client LinkedResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LinkedResourcesClient) ListResponder Uses

func (client LinkedResourcesClient) ListResponder(resp *http.Response) (result LinkedResourceListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LinkedResourcesClient) ListSender Uses

func (client LinkedResourcesClient) 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 LogRules Uses

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 Uses

type LogsAgent struct {
    // Transport - The transport.
    Transport *string `json:"transport,omitempty"`
}

LogsAgent ...

type ManagedIdentityTypes Uses

type ManagedIdentityTypes string

ManagedIdentityTypes enumerates the values for managed identity types.

const (
    // SystemAssigned ...
    SystemAssigned ManagedIdentityTypes = "SystemAssigned"
    // UserAssigned ...
    UserAssigned ManagedIdentityTypes = "UserAssigned"
)

func PossibleManagedIdentityTypesValues Uses

func PossibleManagedIdentityTypesValues() []ManagedIdentityTypes

PossibleManagedIdentityTypesValues returns an array of possible values for the ManagedIdentityTypes const type.

type MarketplaceAgreementsClient Uses

type MarketplaceAgreementsClient struct {
    BaseClient
}

MarketplaceAgreementsClient is the client for the MarketplaceAgreements methods of the Datadog service.

func NewMarketplaceAgreementsClient Uses

func NewMarketplaceAgreementsClient(subscriptionID string) MarketplaceAgreementsClient

NewMarketplaceAgreementsClient creates an instance of the MarketplaceAgreementsClient client.

func NewMarketplaceAgreementsClientWithBaseURI Uses

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) Create Uses

func (client MarketplaceAgreementsClient) Create(ctx context.Context, body *AgreementResource) (result AgreementResource, err error)

Create sends the create request.

func (MarketplaceAgreementsClient) CreatePreparer Uses

func (client MarketplaceAgreementsClient) CreatePreparer(ctx context.Context, body *AgreementResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MarketplaceAgreementsClient) CreateResponder Uses

func (client MarketplaceAgreementsClient) CreateResponder(resp *http.Response) (result AgreementResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (MarketplaceAgreementsClient) CreateSender Uses

func (client MarketplaceAgreementsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (MarketplaceAgreementsClient) List Uses

func (client MarketplaceAgreementsClient) List(ctx context.Context) (result AgreementResourceListResponsePage, err error)

List sends the list request.

func (MarketplaceAgreementsClient) ListComplete Uses

func (client MarketplaceAgreementsClient) ListComplete(ctx context.Context) (result AgreementResourceListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MarketplaceAgreementsClient) ListPreparer Uses

func (client MarketplaceAgreementsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (MarketplaceAgreementsClient) ListResponder Uses

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 Uses

func (client MarketplaceAgreementsClient) 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 MarketplaceSubscriptionStatus Uses

type MarketplaceSubscriptionStatus string

MarketplaceSubscriptionStatus enumerates the values for marketplace subscription status.

const (
    // Active ...
    Active MarketplaceSubscriptionStatus = "Active"
    // Suspended ...
    Suspended MarketplaceSubscriptionStatus = "Suspended"
)

func PossibleMarketplaceSubscriptionStatusValues Uses

func PossibleMarketplaceSubscriptionStatusValues() []MarketplaceSubscriptionStatus

PossibleMarketplaceSubscriptionStatusValues returns an array of possible values for the MarketplaceSubscriptionStatus const type.

type MetricRules Uses

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 Uses

type MonitorProperties struct {
    // ProvisioningState - Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // MonitoringStatus - Possible values include: 'Enabled', 'Disabled'
    MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
    // MarketplaceSubscriptionStatus - Possible values include: 'Active', 'Suspended'
    MarketplaceSubscriptionStatus MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"`
    DatadogOrganizationProperties *OrganizationProperties       `json:"datadogOrganizationProperties,omitempty"`
    UserInfo                      *UserInfo                     `json:"userInfo,omitempty"`
    // LiftrResourceCategory - Possible values include: 'Unknown', 'MonitorLogs'
    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 Uses

func (mp MonitorProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitorProperties.

type MonitorResource Uses

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"`
}

MonitorResource ...

func (MonitorResource) MarshalJSON Uses

func (mr MonitorResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitorResource.

type MonitorResourceListResponse Uses

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 Uses

func (mrlr MonitorResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitorResourceListResponseIterator Uses

type MonitorResourceListResponseIterator struct {
    // contains filtered or unexported fields
}

MonitorResourceListResponseIterator provides access to a complete listing of MonitorResource values.

func NewMonitorResourceListResponseIterator Uses

func NewMonitorResourceListResponseIterator(page MonitorResourceListResponsePage) MonitorResourceListResponseIterator

Creates a new instance of the MonitorResourceListResponseIterator type.

func (*MonitorResourceListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter MonitorResourceListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MonitorResourceListResponseIterator) Response Uses

func (iter MonitorResourceListResponseIterator) Response() MonitorResourceListResponse

Response returns the raw server response from the last page request.

func (MonitorResourceListResponseIterator) Value Uses

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 Uses

type MonitorResourceListResponsePage struct {
    // contains filtered or unexported fields
}

MonitorResourceListResponsePage contains a page of MonitorResource values.

func NewMonitorResourceListResponsePage Uses

func NewMonitorResourceListResponsePage(cur MonitorResourceListResponse, getNextPage func(context.Context, MonitorResourceListResponse) (MonitorResourceListResponse, error)) MonitorResourceListResponsePage

Creates a new instance of the MonitorResourceListResponsePage type.

func (*MonitorResourceListResponsePage) Next Uses

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 Uses

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 Uses

func (page MonitorResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MonitorResourceListResponsePage) Response Uses

func (page MonitorResourceListResponsePage) Response() MonitorResourceListResponse

Response returns the raw server response from the last page request.

func (MonitorResourceListResponsePage) Values Uses

func (page MonitorResourceListResponsePage) Values() []MonitorResource

Values returns the slice of values for the current page or nil if there are no values.

type MonitorResourceUpdateParameters Uses

type MonitorResourceUpdateParameters struct {
    Properties *MonitorUpdateProperties `json:"properties,omitempty"`
    // Tags - The new tags of the monitor resource.
    Tags map[string]*string `json:"tags"`
}

MonitorResourceUpdateParameters the parameters for a PATCH request to a monitor resource.

func (MonitorResourceUpdateParameters) MarshalJSON Uses

func (mrup MonitorResourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitorResourceUpdateParameters.

type MonitorUpdateProperties Uses

type MonitorUpdateProperties struct {
    // MonitoringStatus - Possible values include: 'Enabled', 'Disabled'
    MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
}

MonitorUpdateProperties the set of properties that can be update in a PATCH request to a monitor resource.

type MonitoredResource Uses

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 Uses

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 Uses

func (mrlr MonitoredResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitoredResourceListResponseIterator Uses

type MonitoredResourceListResponseIterator struct {
    // contains filtered or unexported fields
}

MonitoredResourceListResponseIterator provides access to a complete listing of MonitoredResource values.

func NewMonitoredResourceListResponseIterator Uses

func NewMonitoredResourceListResponseIterator(page MonitoredResourceListResponsePage) MonitoredResourceListResponseIterator

Creates a new instance of the MonitoredResourceListResponseIterator type.

func (*MonitoredResourceListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter MonitoredResourceListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MonitoredResourceListResponseIterator) Response Uses

func (iter MonitoredResourceListResponseIterator) Response() MonitoredResourceListResponse

Response returns the raw server response from the last page request.

func (MonitoredResourceListResponseIterator) Value Uses

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 Uses

type MonitoredResourceListResponsePage struct {
    // contains filtered or unexported fields
}

MonitoredResourceListResponsePage contains a page of MonitoredResource values.

func NewMonitoredResourceListResponsePage Uses

func NewMonitoredResourceListResponsePage(cur MonitoredResourceListResponse, getNextPage func(context.Context, MonitoredResourceListResponse) (MonitoredResourceListResponse, error)) MonitoredResourceListResponsePage

Creates a new instance of the MonitoredResourceListResponsePage type.

func (*MonitoredResourceListResponsePage) Next Uses

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 Uses

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 Uses

func (page MonitoredResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MonitoredResourceListResponsePage) Response Uses

func (page MonitoredResourceListResponsePage) Response() MonitoredResourceListResponse

Response returns the raw server response from the last page request.

func (MonitoredResourceListResponsePage) Values Uses

func (page MonitoredResourceListResponsePage) Values() []MonitoredResource

Values returns the slice of values for the current page or nil if there are no values.

type MonitoredResourcesClient Uses

type MonitoredResourcesClient struct {
    BaseClient
}

MonitoredResourcesClient is the client for the MonitoredResources methods of the Datadog service.

func NewMonitoredResourcesClient Uses

func NewMonitoredResourcesClient(subscriptionID string) MonitoredResourcesClient

NewMonitoredResourcesClient creates an instance of the MonitoredResourcesClient client.

func NewMonitoredResourcesClientWithBaseURI Uses

func NewMonitoredResourcesClientWithBaseURI(baseURI string, subscriptionID string) MonitoredResourcesClient

NewMonitoredResourcesClientWithBaseURI creates an instance of the MonitoredResourcesClient 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 (MonitoredResourcesClient) List Uses

func (client MonitoredResourcesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponsePage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Datadog resource belongs. monitorName - monitor resource name

func (MonitoredResourcesClient) ListComplete Uses

func (client MonitoredResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MonitoredResourcesClient) ListPreparer Uses

func (client MonitoredResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (MonitoredResourcesClient) ListResponder Uses

func (client MonitoredResourcesClient) ListResponder(resp *http.Response) (result MonitoredResourceListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MonitoredResourcesClient) ListSender Uses

func (client MonitoredResourcesClient) 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 MonitoringStatus Uses

type MonitoringStatus string

MonitoringStatus enumerates the values for monitoring status.

const (
    // Disabled ...
    Disabled MonitoringStatus = "Disabled"
    // Enabled ...
    Enabled MonitoringStatus = "Enabled"
)

func PossibleMonitoringStatusValues Uses

func PossibleMonitoringStatusValues() []MonitoringStatus

PossibleMonitoringStatusValues returns an array of possible values for the MonitoringStatus const type.

type MonitoringTagRules Uses

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"`
}

MonitoringTagRules capture logs and metrics of Azure resources based on ARM tags.

func (MonitoringTagRules) MarshalJSON Uses

func (mtr MonitoringTagRules) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitoringTagRules.

type MonitoringTagRulesListResponse Uses

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 Uses

func (mtrlr MonitoringTagRulesListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitoringTagRulesListResponseIterator Uses

type MonitoringTagRulesListResponseIterator struct {
    // contains filtered or unexported fields
}

MonitoringTagRulesListResponseIterator provides access to a complete listing of MonitoringTagRules values.

func NewMonitoringTagRulesListResponseIterator Uses

func NewMonitoringTagRulesListResponseIterator(page MonitoringTagRulesListResponsePage) MonitoringTagRulesListResponseIterator

Creates a new instance of the MonitoringTagRulesListResponseIterator type.

func (*MonitoringTagRulesListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter MonitoringTagRulesListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MonitoringTagRulesListResponseIterator) Response Uses

func (iter MonitoringTagRulesListResponseIterator) Response() MonitoringTagRulesListResponse

Response returns the raw server response from the last page request.

func (MonitoringTagRulesListResponseIterator) Value Uses

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 Uses

type MonitoringTagRulesListResponsePage struct {
    // contains filtered or unexported fields
}

MonitoringTagRulesListResponsePage contains a page of MonitoringTagRules values.

func NewMonitoringTagRulesListResponsePage Uses

func NewMonitoringTagRulesListResponsePage(cur MonitoringTagRulesListResponse, getNextPage func(context.Context, MonitoringTagRulesListResponse) (MonitoringTagRulesListResponse, error)) MonitoringTagRulesListResponsePage

Creates a new instance of the MonitoringTagRulesListResponsePage type.

func (*MonitoringTagRulesListResponsePage) Next Uses

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 Uses

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 Uses

func (page MonitoringTagRulesListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MonitoringTagRulesListResponsePage) Response Uses

func (page MonitoringTagRulesListResponsePage) Response() MonitoringTagRulesListResponse

Response returns the raw server response from the last page request.

func (MonitoringTagRulesListResponsePage) Values Uses

func (page MonitoringTagRulesListResponsePage) Values() []MonitoringTagRules

Values returns the slice of values for the current page or nil if there are no values.

type MonitoringTagRulesProperties Uses

type MonitoringTagRulesProperties struct {
    LogRules    *LogRules    `json:"logRules,omitempty"`
    MetricRules *MetricRules `json:"metricRules,omitempty"`
}

MonitoringTagRulesProperties definition of the properties for a TagRules resource.

type MonitorsClient Uses

type MonitorsClient struct {
    BaseClient
}

MonitorsClient is the client for the Monitors methods of the Datadog service.

func NewMonitorsClient Uses

func NewMonitorsClient(subscriptionID string) MonitorsClient

NewMonitorsClient creates an instance of the MonitorsClient client.

func NewMonitorsClientWithBaseURI Uses

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 Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name

func (MonitorsClient) CreatePreparer Uses

func (client MonitorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MonitorsClient) CreateResponder Uses

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 Uses

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 Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name

func (MonitorsClient) DeletePreparer Uses

func (client MonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MonitorsClient) DeleteResponder Uses

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 Uses

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 Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name

func (MonitorsClient) GetPreparer Uses

func (client MonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MonitorsClient) GetResponder Uses

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 Uses

func (client MonitorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MonitorsClient) List Uses

func (client MonitorsClient) List(ctx context.Context) (result MonitorResourceListResponsePage, err error)

List sends the list request.

func (MonitorsClient) ListByResourceGroup Uses

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 to which the Datadog resource belongs.

func (MonitorsClient) ListByResourceGroupComplete Uses

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 Uses

func (client MonitorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (MonitorsClient) ListByResourceGroupResponder Uses

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 Uses

func (client MonitorsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (MonitorsClient) ListComplete Uses

func (client MonitorsClient) ListComplete(ctx context.Context) (result MonitorResourceListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MonitorsClient) ListPreparer Uses

func (client MonitorsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (MonitorsClient) ListResponder Uses

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 Uses

func (client MonitorsClient) 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.

func (MonitorsClient) Update Uses

func (client MonitorsClient) Update(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (result MonitorResource, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group to which the Datadog resource belongs. monitorName - monitor resource name

func (MonitorsClient) UpdatePreparer Uses

func (client MonitorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MonitorsClient) UpdateResponder Uses

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 Uses

func (client MonitorsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MonitorsCreateFuture Uses

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.

type MonitorsDeleteFuture Uses

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.

type OperationDisplay Uses

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 Uses

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 Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of OperationResult values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

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 Uses

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

OperationListResultPage contains a page of OperationResult values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []OperationResult

Values returns the slice of values for the current page or nil if there are no values.

type OperationResult Uses

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 Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the client for the Operations methods of the Datadog service.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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 Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List sends the list request.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

func (client OperationsClient) 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 OrganizationProperties Uses

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"`
    // EnterpriseAppID - The Id of the Enterprise App used for Single sign on.
    EnterpriseAppID *string `json:"enterpriseAppId,omitempty"`
}

OrganizationProperties datadog organization properties

func (OrganizationProperties) MarshalJSON Uses

func (op OrganizationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrganizationProperties.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Accepted ...
    Accepted ProvisioningState = "Accepted"
    // Canceled ...
    Canceled ProvisioningState = "Canceled"
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleted ...
    Deleted ProvisioningState = "Deleted"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // NotSpecified ...
    NotSpecified ProvisioningState = "NotSpecified"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type RefreshSetPasswordClient Uses

type RefreshSetPasswordClient struct {
    BaseClient
}

RefreshSetPasswordClient is the client for the RefreshSetPassword methods of the Datadog service.

func NewRefreshSetPasswordClient Uses

func NewRefreshSetPasswordClient(subscriptionID string) RefreshSetPasswordClient

NewRefreshSetPasswordClient creates an instance of the RefreshSetPasswordClient client.

func NewRefreshSetPasswordClientWithBaseURI Uses

func NewRefreshSetPasswordClientWithBaseURI(baseURI string, subscriptionID string) RefreshSetPasswordClient

NewRefreshSetPasswordClientWithBaseURI creates an instance of the RefreshSetPasswordClient 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 (RefreshSetPasswordClient) Get Uses

func (client RefreshSetPasswordClient) Get(ctx context.Context, resourceGroupName string, monitorName string) (result SetPasswordLink, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group to which the Datadog resource belongs. monitorName - monitor resource name

func (RefreshSetPasswordClient) GetPreparer Uses

func (client RefreshSetPasswordClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RefreshSetPasswordClient) GetResponder Uses

func (client RefreshSetPasswordClient) GetResponder(resp *http.Response) (result SetPasswordLink, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RefreshSetPasswordClient) GetSender Uses

func (client RefreshSetPasswordClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ResourceProviderDefaultErrorResponse Uses

type ResourceProviderDefaultErrorResponse struct {
    Error *ErrorResponseBody `json:"error,omitempty"`
}

ResourceProviderDefaultErrorResponse ...

type ResourceSku Uses

type ResourceSku struct {
    // Name - Name of the SKU.
    Name *string `json:"name,omitempty"`
}

ResourceSku ...

type SetPasswordLink struct {
    autorest.Response `json:"-"`
    SetPasswordLink   *string `json:"setPasswordLink,omitempty"`
}

SetPasswordLink ...

type SingleSignOnConfigurationsClient Uses

type SingleSignOnConfigurationsClient struct {
    BaseClient
}

SingleSignOnConfigurationsClient is the client for the SingleSignOnConfigurations methods of the Datadog service.

func NewSingleSignOnConfigurationsClient Uses

func NewSingleSignOnConfigurationsClient(subscriptionID string) SingleSignOnConfigurationsClient

NewSingleSignOnConfigurationsClient creates an instance of the SingleSignOnConfigurationsClient client.

func NewSingleSignOnConfigurationsClientWithBaseURI Uses

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 Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name configurationName - configuration name

func (SingleSignOnConfigurationsClient) CreateOrUpdatePreparer Uses

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 Uses

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 Uses

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 Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name configurationName - configuration name

func (SingleSignOnConfigurationsClient) GetPreparer Uses

func (client SingleSignOnConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, configurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SingleSignOnConfigurationsClient) GetResponder Uses

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 Uses

func (client SingleSignOnConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SingleSignOnConfigurationsClient) List Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name

func (SingleSignOnConfigurationsClient) ListComplete Uses

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 Uses

func (client SingleSignOnConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SingleSignOnConfigurationsClient) ListResponder Uses

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 Uses

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 Uses

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.

type SingleSignOnProperties Uses

type SingleSignOnProperties struct {
    // SingleSignOnState - Possible values include: 'Initial', 'Enable', 'Disable', 'Existing'
    SingleSignOnState SingleSignOnStates `json:"singleSignOnState,omitempty"`
    // EnterpriseAppID - The Id of the Enterprise App used for Single sign-on.
    EnterpriseAppID *string `json:"enterpriseAppId,omitempty"`
    // SingleSignOnURL - The login URL specific to this Datadog Organization.
    SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"`
}

SingleSignOnProperties ...

type SingleSignOnResource Uses

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"`
}

SingleSignOnResource ...

func (SingleSignOnResource) MarshalJSON Uses

func (ssor SingleSignOnResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SingleSignOnResource.

type SingleSignOnResourceListResponse Uses

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 Uses

func (ssorlr SingleSignOnResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SingleSignOnResourceListResponseIterator Uses

type SingleSignOnResourceListResponseIterator struct {
    // contains filtered or unexported fields
}

SingleSignOnResourceListResponseIterator provides access to a complete listing of SingleSignOnResource values.

func NewSingleSignOnResourceListResponseIterator Uses

func NewSingleSignOnResourceListResponseIterator(page SingleSignOnResourceListResponsePage) SingleSignOnResourceListResponseIterator

Creates a new instance of the SingleSignOnResourceListResponseIterator type.

func (*SingleSignOnResourceListResponseIterator) Next Uses

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 Uses

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 Uses

func (iter SingleSignOnResourceListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SingleSignOnResourceListResponseIterator) Response Uses

func (iter SingleSignOnResourceListResponseIterator) Response() SingleSignOnResourceListResponse

Response returns the raw server response from the last page request.

func (SingleSignOnResourceListResponseIterator) Value Uses

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 Uses

type SingleSignOnResourceListResponsePage struct {
    // contains filtered or unexported fields
}

SingleSignOnResourceListResponsePage contains a page of SingleSignOnResource values.

func NewSingleSignOnResourceListResponsePage Uses

func NewSingleSignOnResourceListResponsePage(cur SingleSignOnResourceListResponse, getNextPage func(context.Context, SingleSignOnResourceListResponse) (SingleSignOnResourceListResponse, error)) SingleSignOnResourceListResponsePage

Creates a new instance of the SingleSignOnResourceListResponsePage type.

func (*SingleSignOnResourceListResponsePage) Next Uses

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 Uses

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 Uses

func (page SingleSignOnResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SingleSignOnResourceListResponsePage) Response Uses

func (page SingleSignOnResourceListResponsePage) Response() SingleSignOnResourceListResponse

Response returns the raw server response from the last page request.

func (SingleSignOnResourceListResponsePage) Values Uses

func (page SingleSignOnResourceListResponsePage) Values() []SingleSignOnResource

Values returns the slice of values for the current page or nil if there are no values.

type SingleSignOnStates Uses

type SingleSignOnStates string

SingleSignOnStates enumerates the values for single sign on states.

const (
    // Disable ...
    Disable SingleSignOnStates = "Disable"
    // Enable ...
    Enable SingleSignOnStates = "Enable"
    // Existing ...
    Existing SingleSignOnStates = "Existing"
    // Initial ...
    Initial SingleSignOnStates = "Initial"
)

func PossibleSingleSignOnStatesValues Uses

func PossibleSingleSignOnStatesValues() []SingleSignOnStates

PossibleSingleSignOnStatesValues returns an array of possible values for the SingleSignOnStates const type.

type TagAction Uses

type TagAction string

TagAction enumerates the values for tag action.

const (
    // Exclude ...
    Exclude TagAction = "Exclude"
    // Include ...
    Include TagAction = "Include"
)

func PossibleTagActionValues Uses

func PossibleTagActionValues() []TagAction

PossibleTagActionValues returns an array of possible values for the TagAction const type.

type TagRulesClient Uses

type TagRulesClient struct {
    BaseClient
}

TagRulesClient is the client for the TagRules methods of the Datadog service.

func NewTagRulesClient Uses

func NewTagRulesClient(subscriptionID string) TagRulesClient

NewTagRulesClient creates an instance of the TagRulesClient client.

func NewTagRulesClientWithBaseURI Uses

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 Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name ruleSetName - rule set name

func (TagRulesClient) CreateOrUpdatePreparer Uses

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 Uses

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 Uses

func (client TagRulesClient) 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 (TagRulesClient) Get Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name ruleSetName - rule set name

func (TagRulesClient) GetPreparer Uses

func (client TagRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TagRulesClient) GetResponder Uses

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 Uses

func (client TagRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (TagRulesClient) List Uses

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 to which the Datadog resource belongs. monitorName - monitor resource name

func (TagRulesClient) ListComplete Uses

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 Uses

func (client TagRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (TagRulesClient) ListResponder Uses

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 Uses

func (client TagRulesClient) 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 UserInfo Uses

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

Directories

PathSynopsis
datadogapi

Package datadog imports 10 packages (graph) and is imported by 1 packages. Updated 2021-01-21. Refresh now. Tools for package owners.