userorganization

package
v0.20241126.2320 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/elastic/2024-03-01/userorganization Documentation

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

Client Initialization

client := userorganization.NewUserOrganizationClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: UserOrganizationClient.OrganizationsGetElasticToAzureSubscriptionMapping

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

read, err := client.OrganizationsGetElasticToAzureSubscriptionMapping(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

This section is empty.

Types

type ElasticOrganizationToAzureSubscriptionMappingResponse

type ElasticOrganizationToAzureSubscriptionMappingResponse struct {
	Properties *ElasticOrganizationToAzureSubscriptionMappingResponseProperties `json:"properties,omitempty"`
}

type ElasticOrganizationToAzureSubscriptionMappingResponseProperties

type ElasticOrganizationToAzureSubscriptionMappingResponseProperties struct {
	BilledAzureSubscriptionId *string              `json:"billedAzureSubscriptionId,omitempty"`
	ElasticOrganizationId     *string              `json:"elasticOrganizationId,omitempty"`
	ElasticOrganizationName   *string              `json:"elasticOrganizationName,omitempty"`
	MarketplaceSaasInfo       *MarketplaceSaaSInfo `json:"marketplaceSaasInfo,omitempty"`
}

type MarketplaceSaaSInfo

type MarketplaceSaaSInfo struct {
	BilledAzureSubscriptionId *string                                     `json:"billedAzureSubscriptionId,omitempty"`
	MarketplaceName           *string                                     `json:"marketplaceName,omitempty"`
	MarketplaceResourceId     *string                                     `json:"marketplaceResourceId,omitempty"`
	MarketplaceStatus         *string                                     `json:"marketplaceStatus,omitempty"`
	MarketplaceSubscription   *MarketplaceSaaSInfoMarketplaceSubscription `json:"marketplaceSubscription,omitempty"`
	Subscribed                *bool                                       `json:"subscribed,omitempty"`
}

type MarketplaceSaaSInfoMarketplaceSubscription

type MarketplaceSaaSInfoMarketplaceSubscription struct {
	Id *string `json:"id,omitempty"`
}

type OrganizationsGetElasticToAzureSubscriptionMappingOperationResponse

type OrganizationsGetElasticToAzureSubscriptionMappingOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ElasticOrganizationToAzureSubscriptionMappingResponse
}

type UserOrganizationClient

type UserOrganizationClient struct {
	Client *resourcemanager.Client
}

func NewUserOrganizationClientWithBaseURI

func NewUserOrganizationClientWithBaseURI(sdkApi sdkEnv.Api) (*UserOrganizationClient, error)

func (UserOrganizationClient) OrganizationsGetElasticToAzureSubscriptionMapping

func (c UserOrganizationClient) OrganizationsGetElasticToAzureSubscriptionMapping(ctx context.Context, id commonids.SubscriptionId) (result OrganizationsGetElasticToAzureSubscriptionMappingOperationResponse, err error)

OrganizationsGetElasticToAzureSubscriptionMapping ...

Jump to

Keyboard shortcuts

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