README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/datadog/2021-03-01/refreshsetpasswordlink
Documentation
The refreshsetpasswordlink
SDK allows for interaction with the Azure Resource Manager Service datadog
(API Version 2021-03-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/datadog/2021-03-01/refreshsetpasswordlink"
Client Initialization
client := refreshsetpasswordlink.NewRefreshSetPasswordLinkClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: RefreshSetPasswordLinkClient.MonitorsRefreshSetPasswordLink
ctx := context.TODO()
id := refreshsetpasswordlink.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")
read, err := client.MonitorsRefreshSetPasswordLink(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type DatadogSetPasswordLink ¶
type DatadogSetPasswordLink struct {
SetPasswordLink *string `json:"setPasswordLink,omitempty"`
}
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type MonitorsRefreshSetPasswordLinkOperationResponse ¶
type MonitorsRefreshSetPasswordLinkOperationResponse struct { HttpResponse *http.Response Model *DatadogSetPasswordLink }
type RefreshSetPasswordLinkClient ¶
type RefreshSetPasswordLinkClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRefreshSetPasswordLinkClientWithBaseURI ¶
func NewRefreshSetPasswordLinkClientWithBaseURI(endpoint string) RefreshSetPasswordLinkClient
func (RefreshSetPasswordLinkClient) MonitorsRefreshSetPasswordLink ¶
func (c RefreshSetPasswordLinkClient) MonitorsRefreshSetPasswordLink(ctx context.Context, id MonitorId) (result MonitorsRefreshSetPasswordLinkOperationResponse, err error)
MonitorsRefreshSetPasswordLink ...