createresource

package
v0.20241017.1093842 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/datadog/2023-01-01/createresource Documentation

The createresource SDK allows for interaction with Azure Resource Manager datadog (API Version 2023-01-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/datadog/2023-01-01/createresource"

Client Initialization

client := createresource.NewCreateResourceClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CreateResourceClient.CreationSupportedGet

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.CreationSupportedGet(ctx, id, createresource.DefaultCreationSupportedGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: CreateResourceClient.CreationSupportedList

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.CreationSupportedList(ctx, id, createresource.DefaultCreationSupportedListOperationOptions())
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

This section is empty.

Types

type CreateResourceClient

type CreateResourceClient struct {
	Client *resourcemanager.Client
}

func NewCreateResourceClientWithBaseURI

func NewCreateResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*CreateResourceClient, error)

func (CreateResourceClient) CreationSupportedGet

CreationSupportedGet ...

func (CreateResourceClient) CreationSupportedList

CreationSupportedList ...

type CreateResourceSupportedProperties

type CreateResourceSupportedProperties struct {
	CreationSupported *bool   `json:"creationSupported,omitempty"`
	Name              *string `json:"name,omitempty"`
}

type CreateResourceSupportedResponse

type CreateResourceSupportedResponse struct {
	Properties *CreateResourceSupportedProperties `json:"properties,omitempty"`
}

type CreateResourceSupportedResponseList

type CreateResourceSupportedResponseList struct {
	Value *[]CreateResourceSupportedResponse `json:"value,omitempty"`
}

type CreationSupportedGetOperationOptions

type CreationSupportedGetOperationOptions struct {
	DatadogOrganizationId *string
}

func DefaultCreationSupportedGetOperationOptions

func DefaultCreationSupportedGetOperationOptions() CreationSupportedGetOperationOptions

func (CreationSupportedGetOperationOptions) ToHeaders

func (CreationSupportedGetOperationOptions) ToOData

func (CreationSupportedGetOperationOptions) ToQuery

type CreationSupportedGetOperationResponse

type CreationSupportedGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateResourceSupportedResponse
}

type CreationSupportedListOperationOptions

type CreationSupportedListOperationOptions struct {
	DatadogOrganizationId *string
}

func DefaultCreationSupportedListOperationOptions

func DefaultCreationSupportedListOperationOptions() CreationSupportedListOperationOptions

func (CreationSupportedListOperationOptions) ToHeaders

func (CreationSupportedListOperationOptions) ToOData

func (CreationSupportedListOperationOptions) ToQuery

type CreationSupportedListOperationResponse

type CreationSupportedListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateResourceSupportedResponseList
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL