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 ¶
- type ElasticOrganizationToAzureSubscriptionMappingResponse
- type ElasticOrganizationToAzureSubscriptionMappingResponseProperties
- type MarketplaceSaaSInfo
- type MarketplaceSaaSInfoMarketplaceSubscription
- type OrganizationsGetElasticToAzureSubscriptionMappingOperationResponse
- type UserOrganizationClient
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 ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.