managedenvironments

package
v0.20240617.1095803 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/managedenvironments Documentation

The managedenvironments SDK allows for interaction with the Azure Resource Manager Service containerapps (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/containerapps/2024-03-01/managedenvironments"

Client Initialization

client := managedenvironments.NewManagedEnvironmentsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedEnvironmentsClient.CertificatesCreateOrUpdate

ctx := context.TODO()
id := managedenvironments.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "certificateValue")

payload := managedenvironments.Certificate{
	// ...
}


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

Example Usage: ManagedEnvironmentsClient.CertificatesDelete

ctx := context.TODO()
id := managedenvironments.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "certificateValue")

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

Example Usage: ManagedEnvironmentsClient.CertificatesGet

ctx := context.TODO()
id := managedenvironments.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "certificateValue")

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

Example Usage: ManagedEnvironmentsClient.CertificatesList

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

// alternatively `client.CertificatesList(ctx, id)` can be used to do batched pagination
items, err := client.CertificatesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedEnvironmentsClient.CertificatesUpdate

ctx := context.TODO()
id := managedenvironments.NewCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "certificateValue")

payload := managedenvironments.CertificatePatch{
	// ...
}


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

Example Usage: ManagedEnvironmentsClient.CreateOrUpdate

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

payload := managedenvironments.ManagedEnvironment{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ManagedEnvironmentsClient.Delete

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedEnvironmentsClient.DiagnosticsGetRoot

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

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

Example Usage: ManagedEnvironmentsClient.Get

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

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

Example Usage: ManagedEnvironmentsClient.GetAuthToken

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

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

Example Usage: ManagedEnvironmentsClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedEnvironmentsClient.ListBySubscription

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

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedEnvironmentsClient.ListWorkloadProfileStates

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

// alternatively `client.ListWorkloadProfileStates(ctx, id)` can be used to do batched pagination
items, err := client.ListWorkloadProfileStatesComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedEnvironmentsClient.ManagedCertificatesCreateOrUpdate

ctx := context.TODO()
id := managedenvironments.NewManagedCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "managedCertificateValue")

payload := managedenvironments.ManagedCertificate{
	// ...
}


if err := client.ManagedCertificatesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ManagedEnvironmentsClient.ManagedCertificatesDelete

ctx := context.TODO()
id := managedenvironments.NewManagedCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "managedCertificateValue")

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

Example Usage: ManagedEnvironmentsClient.ManagedCertificatesGet

ctx := context.TODO()
id := managedenvironments.NewManagedCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "managedCertificateValue")

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

Example Usage: ManagedEnvironmentsClient.ManagedCertificatesList

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

// alternatively `client.ManagedCertificatesList(ctx, id)` can be used to do batched pagination
items, err := client.ManagedCertificatesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedEnvironmentsClient.ManagedCertificatesUpdate

ctx := context.TODO()
id := managedenvironments.NewManagedCertificateID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "managedCertificateValue")

payload := managedenvironments.ManagedCertificatePatch{
	// ...
}


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

Example Usage: ManagedEnvironmentsClient.ManagedEnvironmentDiagnosticsGetDetector

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentDetectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "detectorValue")

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

Example Usage: ManagedEnvironmentsClient.ManagedEnvironmentDiagnosticsListDetectors

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

// alternatively `client.ManagedEnvironmentDiagnosticsListDetectors(ctx, id)` can be used to do batched pagination
items, err := client.ManagedEnvironmentDiagnosticsListDetectorsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagedEnvironmentsClient.NamespacesCheckNameAvailability

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

payload := managedenvironments.CheckNameAvailabilityRequest{
	// ...
}


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

Example Usage: ManagedEnvironmentsClient.Update

ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue")

payload := managedenvironments.ManagedEnvironment{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCertificateProvisioningState

func PossibleValuesForCertificateProvisioningState() []string

func PossibleValuesForCheckNameAvailabilityReason

func PossibleValuesForCheckNameAvailabilityReason() []string

func PossibleValuesForEnvironmentProvisioningState

func PossibleValuesForEnvironmentProvisioningState() []string

func PossibleValuesForManagedCertificateDomainControlValidation

func PossibleValuesForManagedCertificateDomainControlValidation() []string

func ValidateCertificateID

func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)

ValidateCertificateID checks that 'input' can be parsed as a Certificate ID

func ValidateManagedCertificateID

func ValidateManagedCertificateID(input interface{}, key string) (warnings []string, errors []error)

ValidateManagedCertificateID checks that 'input' can be parsed as a Managed Certificate ID

func ValidateManagedEnvironmentDetectorID

func ValidateManagedEnvironmentDetectorID(input interface{}, key string) (warnings []string, errors []error)

ValidateManagedEnvironmentDetectorID checks that 'input' can be parsed as a Managed Environment Detector ID

func ValidateManagedEnvironmentID

func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateManagedEnvironmentID checks that 'input' can be parsed as a Managed Environment ID

Types

type AppLogsConfiguration

type AppLogsConfiguration struct {
	Destination               *string                    `json:"destination,omitempty"`
	LogAnalyticsConfiguration *LogAnalyticsConfiguration `json:"logAnalyticsConfiguration,omitempty"`
}

type Certificate

type Certificate struct {
	Id         *string                `json:"id,omitempty"`
	Location   string                 `json:"location"`
	Name       *string                `json:"name,omitempty"`
	Properties *CertificateProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Tags       *map[string]string     `json:"tags,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type CertificateId

type CertificateId struct {
	SubscriptionId         string
	ResourceGroupName      string
	ManagedEnvironmentName string
	CertificateName        string
}

CertificateId is a struct representing the Resource ID for a Certificate

func NewCertificateID

func NewCertificateID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, certificateName string) CertificateId

NewCertificateID returns a new CertificateId struct

func ParseCertificateID

func ParseCertificateID(input string) (*CertificateId, error)

ParseCertificateID parses 'input' into a CertificateId

func ParseCertificateIDInsensitively

func ParseCertificateIDInsensitively(input string) (*CertificateId, error)

ParseCertificateIDInsensitively parses 'input' case-insensitively into a CertificateId note: this method should only be used for API response data and not user input

func (*CertificateId) FromParseResult

func (id *CertificateId) FromParseResult(input resourceids.ParseResult) error

func (CertificateId) ID

func (id CertificateId) ID() string

ID returns the formatted Certificate ID

func (CertificateId) Segments

func (id CertificateId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Certificate ID

func (CertificateId) String

func (id CertificateId) String() string

String returns a human-readable description of this Certificate ID

type CertificateOperationPredicate

type CertificateOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (CertificateOperationPredicate) Matches

type CertificatePatch

type CertificatePatch struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type CertificateProperties

type CertificateProperties struct {
	ExpirationDate          *string                       `json:"expirationDate,omitempty"`
	IssueDate               *string                       `json:"issueDate,omitempty"`
	Issuer                  *string                       `json:"issuer,omitempty"`
	Password                *string                       `json:"password,omitempty"`
	ProvisioningState       *CertificateProvisioningState `json:"provisioningState,omitempty"`
	PublicKeyHash           *string                       `json:"publicKeyHash,omitempty"`
	SubjectAlternativeNames *[]string                     `json:"subjectAlternativeNames,omitempty"`
	SubjectName             *string                       `json:"subjectName,omitempty"`
	Thumbprint              *string                       `json:"thumbprint,omitempty"`
	Valid                   *bool                         `json:"valid,omitempty"`
	Value                   *string                       `json:"value,omitempty"`
}

func (*CertificateProperties) GetExpirationDateAsTime

func (o *CertificateProperties) GetExpirationDateAsTime() (*time.Time, error)

func (*CertificateProperties) GetIssueDateAsTime

func (o *CertificateProperties) GetIssueDateAsTime() (*time.Time, error)

func (*CertificateProperties) SetExpirationDateAsTime

func (o *CertificateProperties) SetExpirationDateAsTime(input time.Time)

func (*CertificateProperties) SetIssueDateAsTime

func (o *CertificateProperties) SetIssueDateAsTime(input time.Time)

type CertificateProvisioningState

type CertificateProvisioningState string
const (
	CertificateProvisioningStateCanceled     CertificateProvisioningState = "Canceled"
	CertificateProvisioningStateDeleteFailed CertificateProvisioningState = "DeleteFailed"
	CertificateProvisioningStateFailed       CertificateProvisioningState = "Failed"
	CertificateProvisioningStatePending      CertificateProvisioningState = "Pending"
	CertificateProvisioningStateSucceeded    CertificateProvisioningState = "Succeeded"
)

func (*CertificateProvisioningState) UnmarshalJSON

func (s *CertificateProvisioningState) UnmarshalJSON(bytes []byte) error

type CertificatesCreateOrUpdateOperationResponse

type CertificatesCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Certificate
}

type CertificatesDeleteOperationResponse

type CertificatesDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CertificatesGetOperationResponse

type CertificatesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Certificate
}

type CertificatesListCompleteResult

type CertificatesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Certificate
}

type CertificatesListOperationResponse

type CertificatesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Certificate
}

type CertificatesUpdateOperationResponse

type CertificatesUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Certificate
}

type CheckNameAvailabilityReason

type CheckNameAvailabilityReason string
const (
	CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists"
	CheckNameAvailabilityReasonInvalid       CheckNameAvailabilityReason = "Invalid"
)

func (*CheckNameAvailabilityReason) UnmarshalJSON

func (s *CheckNameAvailabilityReason) UnmarshalJSON(bytes []byte) error

type CheckNameAvailabilityRequest

type CheckNameAvailabilityRequest struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type CheckNameAvailabilityResponse

type CheckNameAvailabilityResponse struct {
	Message       *string                      `json:"message,omitempty"`
	NameAvailable *bool                        `json:"nameAvailable,omitempty"`
	Reason        *CheckNameAvailabilityReason `json:"reason,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedEnvironment
}

type CustomDomainConfiguration

type CustomDomainConfiguration struct {
	CertificatePassword        *string `json:"certificatePassword,omitempty"`
	CertificateValue           *string `json:"certificateValue,omitempty"`
	CustomDomainVerificationId *string `json:"customDomainVerificationId,omitempty"`
	DnsSuffix                  *string `json:"dnsSuffix,omitempty"`
	ExpirationDate             *string `json:"expirationDate,omitempty"`
	SubjectName                *string `json:"subjectName,omitempty"`
	Thumbprint                 *string `json:"thumbprint,omitempty"`
}

func (*CustomDomainConfiguration) GetExpirationDateAsTime

func (o *CustomDomainConfiguration) GetExpirationDateAsTime() (*time.Time, error)

func (*CustomDomainConfiguration) SetExpirationDateAsTime

func (o *CustomDomainConfiguration) SetExpirationDateAsTime(input time.Time)

type DaprConfiguration

type DaprConfiguration struct {
	Version *string `json:"version,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DiagnosticDataProviderMetadata

type DiagnosticDataProviderMetadata struct {
	PropertyBag  *[]DiagnosticDataProviderMetadataPropertyBagInlined `json:"propertyBag,omitempty"`
	ProviderName *string                                             `json:"providerName,omitempty"`
}

type DiagnosticDataProviderMetadataPropertyBagInlined

type DiagnosticDataProviderMetadataPropertyBagInlined struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type DiagnosticDataTableResponseColumn

type DiagnosticDataTableResponseColumn struct {
	ColumnName *string `json:"columnName,omitempty"`
	ColumnType *string `json:"columnType,omitempty"`
	DataType   *string `json:"dataType,omitempty"`
}

type DiagnosticDataTableResponseObject

type DiagnosticDataTableResponseObject struct {
	Columns   *[]DiagnosticDataTableResponseColumn `json:"columns,omitempty"`
	Rows      *[]interface{}                       `json:"rows,omitempty"`
	TableName *string                              `json:"tableName,omitempty"`
}

type DiagnosticRendering

type DiagnosticRendering struct {
	Description *string `json:"description,omitempty"`
	IsVisible   *bool   `json:"isVisible,omitempty"`
	Title       *string `json:"title,omitempty"`
	Type        *int64  `json:"type,omitempty"`
}

type DiagnosticSupportTopic

type DiagnosticSupportTopic struct {
	Id    *string `json:"id,omitempty"`
	PesId *string `json:"pesId,omitempty"`
}

type Diagnostics

type Diagnostics struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *DiagnosticsProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type DiagnosticsDataApiResponse

type DiagnosticsDataApiResponse struct {
	RenderingProperties *DiagnosticRendering               `json:"renderingProperties,omitempty"`
	Table               *DiagnosticDataTableResponseObject `json:"table,omitempty"`
}

type DiagnosticsDefinition

type DiagnosticsDefinition struct {
	AnalysisTypes    *[]string                 `json:"analysisTypes,omitempty"`
	Author           *string                   `json:"author,omitempty"`
	Category         *string                   `json:"category,omitempty"`
	Description      *string                   `json:"description,omitempty"`
	Id               *string                   `json:"id,omitempty"`
	Name             *string                   `json:"name,omitempty"`
	Score            *float64                  `json:"score,omitempty"`
	SupportTopicList *[]DiagnosticSupportTopic `json:"supportTopicList,omitempty"`
	Type             *string                   `json:"type,omitempty"`
}

type DiagnosticsGetRootOperationResponse

type DiagnosticsGetRootOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedEnvironment
}

type DiagnosticsOperationPredicate

type DiagnosticsOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DiagnosticsOperationPredicate) Matches

type DiagnosticsProperties

type DiagnosticsProperties struct {
	DataProviderMetadata *DiagnosticDataProviderMetadata `json:"dataProviderMetadata,omitempty"`
	Dataset              *[]DiagnosticsDataApiResponse   `json:"dataset,omitempty"`
	Metadata             *DiagnosticsDefinition          `json:"metadata,omitempty"`
	Status               *DiagnosticsStatus              `json:"status,omitempty"`
}

type DiagnosticsStatus

type DiagnosticsStatus struct {
	Message  *string `json:"message,omitempty"`
	StatusId *int64  `json:"statusId,omitempty"`
}

type EnvironmentAuthToken

type EnvironmentAuthToken struct {
	Id         *string                         `json:"id,omitempty"`
	Location   string                          `json:"location"`
	Name       *string                         `json:"name,omitempty"`
	Properties *EnvironmentAuthTokenProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData          `json:"systemData,omitempty"`
	Tags       *map[string]string              `json:"tags,omitempty"`
	Type       *string                         `json:"type,omitempty"`
}

type EnvironmentAuthTokenProperties

type EnvironmentAuthTokenProperties struct {
	Expires *string `json:"expires,omitempty"`
	Token   *string `json:"token,omitempty"`
}

func (*EnvironmentAuthTokenProperties) GetExpiresAsTime

func (o *EnvironmentAuthTokenProperties) GetExpiresAsTime() (*time.Time, error)

func (*EnvironmentAuthTokenProperties) SetExpiresAsTime

func (o *EnvironmentAuthTokenProperties) SetExpiresAsTime(input time.Time)

type EnvironmentProvisioningState

type EnvironmentProvisioningState string
const (
	EnvironmentProvisioningStateCanceled                      EnvironmentProvisioningState = "Canceled"
	EnvironmentProvisioningStateFailed                        EnvironmentProvisioningState = "Failed"
	EnvironmentProvisioningStateInfrastructureSetupComplete   EnvironmentProvisioningState = "InfrastructureSetupComplete"
	EnvironmentProvisioningStateInfrastructureSetupInProgress EnvironmentProvisioningState = "InfrastructureSetupInProgress"
	EnvironmentProvisioningStateInitializationInProgress      EnvironmentProvisioningState = "InitializationInProgress"
	EnvironmentProvisioningStateScheduledForDelete            EnvironmentProvisioningState = "ScheduledForDelete"
	EnvironmentProvisioningStateSucceeded                     EnvironmentProvisioningState = "Succeeded"
	EnvironmentProvisioningStateUpgradeFailed                 EnvironmentProvisioningState = "UpgradeFailed"
	EnvironmentProvisioningStateUpgradeRequested              EnvironmentProvisioningState = "UpgradeRequested"
	EnvironmentProvisioningStateWaiting                       EnvironmentProvisioningState = "Waiting"
)

func (*EnvironmentProvisioningState) UnmarshalJSON

func (s *EnvironmentProvisioningState) UnmarshalJSON(bytes []byte) error

type GetAuthTokenOperationResponse

type GetAuthTokenOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *EnvironmentAuthToken
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedEnvironment
}

type KedaConfiguration

type KedaConfiguration struct {
	Version *string `json:"version,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ManagedEnvironment
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ManagedEnvironment
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ManagedEnvironment
}

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ManagedEnvironment
}

type ListWorkloadProfileStatesCompleteResult

type ListWorkloadProfileStatesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []WorkloadProfileStates
}

type ListWorkloadProfileStatesOperationResponse

type ListWorkloadProfileStatesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]WorkloadProfileStates
}

type LogAnalyticsConfiguration

type LogAnalyticsConfiguration struct {
	CustomerId *string `json:"customerId,omitempty"`
	SharedKey  *string `json:"sharedKey,omitempty"`
}

type ManagedCertificate

type ManagedCertificate struct {
	Id         *string                       `json:"id,omitempty"`
	Location   string                        `json:"location"`
	Name       *string                       `json:"name,omitempty"`
	Properties *ManagedCertificateProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData        `json:"systemData,omitempty"`
	Tags       *map[string]string            `json:"tags,omitempty"`
	Type       *string                       `json:"type,omitempty"`
}

type ManagedCertificateDomainControlValidation

type ManagedCertificateDomainControlValidation string
const (
	ManagedCertificateDomainControlValidationCNAME ManagedCertificateDomainControlValidation = "CNAME"
	ManagedCertificateDomainControlValidationHTTP  ManagedCertificateDomainControlValidation = "HTTP"
	ManagedCertificateDomainControlValidationTXT   ManagedCertificateDomainControlValidation = "TXT"
)

func (*ManagedCertificateDomainControlValidation) UnmarshalJSON

func (s *ManagedCertificateDomainControlValidation) UnmarshalJSON(bytes []byte) error

type ManagedCertificateId

type ManagedCertificateId struct {
	SubscriptionId         string
	ResourceGroupName      string
	ManagedEnvironmentName string
	ManagedCertificateName string
}

ManagedCertificateId is a struct representing the Resource ID for a Managed Certificate

func NewManagedCertificateID

func NewManagedCertificateID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, managedCertificateName string) ManagedCertificateId

NewManagedCertificateID returns a new ManagedCertificateId struct

func ParseManagedCertificateID

func ParseManagedCertificateID(input string) (*ManagedCertificateId, error)

ParseManagedCertificateID parses 'input' into a ManagedCertificateId

func ParseManagedCertificateIDInsensitively

func ParseManagedCertificateIDInsensitively(input string) (*ManagedCertificateId, error)

ParseManagedCertificateIDInsensitively parses 'input' case-insensitively into a ManagedCertificateId note: this method should only be used for API response data and not user input

func (*ManagedCertificateId) FromParseResult

func (id *ManagedCertificateId) FromParseResult(input resourceids.ParseResult) error

func (ManagedCertificateId) ID

func (id ManagedCertificateId) ID() string

ID returns the formatted Managed Certificate ID

func (ManagedCertificateId) Segments

func (id ManagedCertificateId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Managed Certificate ID

func (ManagedCertificateId) String

func (id ManagedCertificateId) String() string

String returns a human-readable description of this Managed Certificate ID

type ManagedCertificateOperationPredicate

type ManagedCertificateOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ManagedCertificateOperationPredicate) Matches

type ManagedCertificatePatch

type ManagedCertificatePatch struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type ManagedCertificateProperties

type ManagedCertificateProperties struct {
	DomainControlValidation *ManagedCertificateDomainControlValidation `json:"domainControlValidation,omitempty"`
	Error                   *string                                    `json:"error,omitempty"`
	ProvisioningState       *CertificateProvisioningState              `json:"provisioningState,omitempty"`
	SubjectName             *string                                    `json:"subjectName,omitempty"`
	ValidationToken         *string                                    `json:"validationToken,omitempty"`
}

type ManagedCertificatesCreateOrUpdateOperationResponse

type ManagedCertificatesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedCertificate
}

type ManagedCertificatesDeleteOperationResponse

type ManagedCertificatesDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ManagedCertificatesGetOperationResponse

type ManagedCertificatesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedCertificate
}

type ManagedCertificatesListCompleteResult

type ManagedCertificatesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ManagedCertificate
}

type ManagedCertificatesListOperationResponse

type ManagedCertificatesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ManagedCertificate
}

type ManagedCertificatesUpdateOperationResponse

type ManagedCertificatesUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedCertificate
}

type ManagedEnvironment

type ManagedEnvironment struct {
	Id         *string                       `json:"id,omitempty"`
	Kind       *string                       `json:"kind,omitempty"`
	Location   string                        `json:"location"`
	Name       *string                       `json:"name,omitempty"`
	Properties *ManagedEnvironmentProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData        `json:"systemData,omitempty"`
	Tags       *map[string]string            `json:"tags,omitempty"`
	Type       *string                       `json:"type,omitempty"`
}

type ManagedEnvironmentDetectorId

type ManagedEnvironmentDetectorId struct {
	SubscriptionId         string
	ResourceGroupName      string
	ManagedEnvironmentName string
	DetectorName           string
}

ManagedEnvironmentDetectorId is a struct representing the Resource ID for a Managed Environment Detector

func NewManagedEnvironmentDetectorID

func NewManagedEnvironmentDetectorID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, detectorName string) ManagedEnvironmentDetectorId

NewManagedEnvironmentDetectorID returns a new ManagedEnvironmentDetectorId struct

func ParseManagedEnvironmentDetectorID

func ParseManagedEnvironmentDetectorID(input string) (*ManagedEnvironmentDetectorId, error)

ParseManagedEnvironmentDetectorID parses 'input' into a ManagedEnvironmentDetectorId

func ParseManagedEnvironmentDetectorIDInsensitively

func ParseManagedEnvironmentDetectorIDInsensitively(input string) (*ManagedEnvironmentDetectorId, error)

ParseManagedEnvironmentDetectorIDInsensitively parses 'input' case-insensitively into a ManagedEnvironmentDetectorId note: this method should only be used for API response data and not user input

func (*ManagedEnvironmentDetectorId) FromParseResult

func (id *ManagedEnvironmentDetectorId) FromParseResult(input resourceids.ParseResult) error

func (ManagedEnvironmentDetectorId) ID

ID returns the formatted Managed Environment Detector ID

func (ManagedEnvironmentDetectorId) Segments

Segments returns a slice of Resource ID Segments which comprise this Managed Environment Detector ID

func (ManagedEnvironmentDetectorId) String

String returns a human-readable description of this Managed Environment Detector ID

type ManagedEnvironmentDiagnosticsGetDetectorOperationResponse

type ManagedEnvironmentDiagnosticsGetDetectorOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Diagnostics
}

type ManagedEnvironmentDiagnosticsListDetectorsCompleteResult

type ManagedEnvironmentDiagnosticsListDetectorsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Diagnostics
}

type ManagedEnvironmentDiagnosticsListDetectorsOperationResponse

type ManagedEnvironmentDiagnosticsListDetectorsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Diagnostics
}

type ManagedEnvironmentId

type ManagedEnvironmentId struct {
	SubscriptionId         string
	ResourceGroupName      string
	ManagedEnvironmentName string
}

ManagedEnvironmentId is a struct representing the Resource ID for a Managed Environment

func NewManagedEnvironmentID

func NewManagedEnvironmentID(subscriptionId string, resourceGroupName string, managedEnvironmentName string) ManagedEnvironmentId

NewManagedEnvironmentID returns a new ManagedEnvironmentId struct

func ParseManagedEnvironmentID

func ParseManagedEnvironmentID(input string) (*ManagedEnvironmentId, error)

ParseManagedEnvironmentID parses 'input' into a ManagedEnvironmentId

func ParseManagedEnvironmentIDInsensitively

func ParseManagedEnvironmentIDInsensitively(input string) (*ManagedEnvironmentId, error)

ParseManagedEnvironmentIDInsensitively parses 'input' case-insensitively into a ManagedEnvironmentId note: this method should only be used for API response data and not user input

func (*ManagedEnvironmentId) FromParseResult

func (id *ManagedEnvironmentId) FromParseResult(input resourceids.ParseResult) error

func (ManagedEnvironmentId) ID

func (id ManagedEnvironmentId) ID() string

ID returns the formatted Managed Environment ID

func (ManagedEnvironmentId) Segments

func (id ManagedEnvironmentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Managed Environment ID

func (ManagedEnvironmentId) String

func (id ManagedEnvironmentId) String() string

String returns a human-readable description of this Managed Environment ID

type ManagedEnvironmentOperationPredicate

type ManagedEnvironmentOperationPredicate struct {
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (ManagedEnvironmentOperationPredicate) Matches

type ManagedEnvironmentProperties

type ManagedEnvironmentProperties struct {
	AppLogsConfiguration        *AppLogsConfiguration                                 `json:"appLogsConfiguration,omitempty"`
	CustomDomainConfiguration   *CustomDomainConfiguration                            `json:"customDomainConfiguration,omitempty"`
	DaprAIConnectionString      *string                                               `json:"daprAIConnectionString,omitempty"`
	DaprAIInstrumentationKey    *string                                               `json:"daprAIInstrumentationKey,omitempty"`
	DaprConfiguration           *DaprConfiguration                                    `json:"daprConfiguration,omitempty"`
	DefaultDomain               *string                                               `json:"defaultDomain,omitempty"`
	DeploymentErrors            *string                                               `json:"deploymentErrors,omitempty"`
	EventStreamEndpoint         *string                                               `json:"eventStreamEndpoint,omitempty"`
	InfrastructureResourceGroup *string                                               `json:"infrastructureResourceGroup,omitempty"`
	KedaConfiguration           *KedaConfiguration                                    `json:"kedaConfiguration,omitempty"`
	PeerAuthentication          *ManagedEnvironmentPropertiesPeerAuthentication       `json:"peerAuthentication,omitempty"`
	PeerTrafficConfiguration    *ManagedEnvironmentPropertiesPeerTrafficConfiguration `json:"peerTrafficConfiguration,omitempty"`
	ProvisioningState           *EnvironmentProvisioningState                         `json:"provisioningState,omitempty"`
	StaticIP                    *string                                               `json:"staticIp,omitempty"`
	VnetConfiguration           *VnetConfiguration                                    `json:"vnetConfiguration,omitempty"`
	WorkloadProfiles            *[]WorkloadProfile                                    `json:"workloadProfiles,omitempty"`
	ZoneRedundant               *bool                                                 `json:"zoneRedundant,omitempty"`
}

type ManagedEnvironmentPropertiesPeerAuthentication

type ManagedEnvironmentPropertiesPeerAuthentication struct {
	Mtls *Mtls `json:"mtls,omitempty"`
}

type ManagedEnvironmentPropertiesPeerTrafficConfiguration

type ManagedEnvironmentPropertiesPeerTrafficConfiguration struct {
	Encryption *ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption `json:"encryption,omitempty"`
}

type ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption

type ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type ManagedEnvironmentsClient

type ManagedEnvironmentsClient struct {
	Client *resourcemanager.Client
}

func NewManagedEnvironmentsClientWithBaseURI

func NewManagedEnvironmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedEnvironmentsClient, error)

func (ManagedEnvironmentsClient) CertificatesCreateOrUpdate

func (c ManagedEnvironmentsClient) CertificatesCreateOrUpdate(ctx context.Context, id CertificateId, input Certificate) (result CertificatesCreateOrUpdateOperationResponse, err error)

CertificatesCreateOrUpdate ...

func (ManagedEnvironmentsClient) CertificatesDelete

CertificatesDelete ...

func (ManagedEnvironmentsClient) CertificatesGet

CertificatesGet ...

func (ManagedEnvironmentsClient) CertificatesList

CertificatesList ...

func (ManagedEnvironmentsClient) CertificatesListComplete

CertificatesListComplete retrieves all the results into a single object

func (ManagedEnvironmentsClient) CertificatesListCompleteMatchingPredicate

func (c ManagedEnvironmentsClient) CertificatesListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, predicate CertificateOperationPredicate) (result CertificatesListCompleteResult, err error)

CertificatesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedEnvironmentsClient) CertificatesUpdate

CertificatesUpdate ...

func (ManagedEnvironmentsClient) CreateOrUpdate

CreateOrUpdate ...

func (ManagedEnvironmentsClient) CreateOrUpdateThenPoll

func (c ManagedEnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ManagedEnvironmentsClient) Delete

Delete ...

func (ManagedEnvironmentsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ManagedEnvironmentsClient) DiagnosticsGetRoot

DiagnosticsGetRoot ...

func (ManagedEnvironmentsClient) Get

Get ...

func (ManagedEnvironmentsClient) GetAuthToken

GetAuthToken ...

func (ManagedEnvironmentsClient) ListByResourceGroup

ListByResourceGroup ...

func (ManagedEnvironmentsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (ManagedEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate

func (c ManagedEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ManagedEnvironmentOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedEnvironmentsClient) ListBySubscription

ListBySubscription ...

func (ManagedEnvironmentsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (ManagedEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate

func (c ManagedEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ManagedEnvironmentOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedEnvironmentsClient) ListWorkloadProfileStates

ListWorkloadProfileStates ...

func (ManagedEnvironmentsClient) ListWorkloadProfileStatesComplete

ListWorkloadProfileStatesComplete retrieves all the results into a single object

func (ManagedEnvironmentsClient) ListWorkloadProfileStatesCompleteMatchingPredicate

func (c ManagedEnvironmentsClient) ListWorkloadProfileStatesCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, predicate WorkloadProfileStatesOperationPredicate) (result ListWorkloadProfileStatesCompleteResult, err error)

ListWorkloadProfileStatesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedEnvironmentsClient) ManagedCertificatesCreateOrUpdate

ManagedCertificatesCreateOrUpdate ...

func (ManagedEnvironmentsClient) ManagedCertificatesCreateOrUpdateThenPoll

func (c ManagedEnvironmentsClient) ManagedCertificatesCreateOrUpdateThenPoll(ctx context.Context, id ManagedCertificateId, input ManagedCertificate) error

ManagedCertificatesCreateOrUpdateThenPoll performs ManagedCertificatesCreateOrUpdate then polls until it's completed

func (ManagedEnvironmentsClient) ManagedCertificatesDelete

ManagedCertificatesDelete ...

func (ManagedEnvironmentsClient) ManagedCertificatesGet

ManagedCertificatesGet ...

func (ManagedEnvironmentsClient) ManagedCertificatesList

ManagedCertificatesList ...

func (ManagedEnvironmentsClient) ManagedCertificatesListComplete

ManagedCertificatesListComplete retrieves all the results into a single object

func (ManagedEnvironmentsClient) ManagedCertificatesListCompleteMatchingPredicate

func (c ManagedEnvironmentsClient) ManagedCertificatesListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, predicate ManagedCertificateOperationPredicate) (result ManagedCertificatesListCompleteResult, err error)

ManagedCertificatesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedEnvironmentsClient) ManagedCertificatesUpdate

ManagedCertificatesUpdate ...

func (ManagedEnvironmentsClient) ManagedEnvironmentDiagnosticsGetDetector

ManagedEnvironmentDiagnosticsGetDetector ...

func (ManagedEnvironmentsClient) ManagedEnvironmentDiagnosticsListDetectors

func (c ManagedEnvironmentsClient) ManagedEnvironmentDiagnosticsListDetectors(ctx context.Context, id ManagedEnvironmentId) (result ManagedEnvironmentDiagnosticsListDetectorsOperationResponse, err error)

ManagedEnvironmentDiagnosticsListDetectors ...

func (ManagedEnvironmentsClient) ManagedEnvironmentDiagnosticsListDetectorsComplete

ManagedEnvironmentDiagnosticsListDetectorsComplete retrieves all the results into a single object

func (ManagedEnvironmentsClient) ManagedEnvironmentDiagnosticsListDetectorsCompleteMatchingPredicate

func (c ManagedEnvironmentsClient) ManagedEnvironmentDiagnosticsListDetectorsCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, predicate DiagnosticsOperationPredicate) (result ManagedEnvironmentDiagnosticsListDetectorsCompleteResult, err error)

ManagedEnvironmentDiagnosticsListDetectorsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedEnvironmentsClient) NamespacesCheckNameAvailability

NamespacesCheckNameAvailability ...

func (ManagedEnvironmentsClient) Update

Update ...

func (ManagedEnvironmentsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type Mtls

type Mtls struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type NamespacesCheckNameAvailabilityOperationResponse

type NamespacesCheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CheckNameAvailabilityResponse
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedEnvironment
}

type VnetConfiguration

type VnetConfiguration struct {
	DockerBridgeCidr       *string `json:"dockerBridgeCidr,omitempty"`
	InfrastructureSubnetId *string `json:"infrastructureSubnetId,omitempty"`
	Internal               *bool   `json:"internal,omitempty"`
	PlatformReservedCidr   *string `json:"platformReservedCidr,omitempty"`
	PlatformReservedDnsIP  *string `json:"platformReservedDnsIP,omitempty"`
}

type WorkloadProfile

type WorkloadProfile struct {
	MaximumCount        *int64 `json:"maximumCount,omitempty"`
	MinimumCount        *int64 `json:"minimumCount,omitempty"`
	Name                string `json:"name"`
	WorkloadProfileType string `json:"workloadProfileType"`
}

type WorkloadProfileStates

type WorkloadProfileStates struct {
	Id         *string                          `json:"id,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *WorkloadProfileStatesProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData           `json:"systemData,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type WorkloadProfileStatesOperationPredicate

type WorkloadProfileStatesOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (WorkloadProfileStatesOperationPredicate) Matches

type WorkloadProfileStatesProperties

type WorkloadProfileStatesProperties struct {
	CurrentCount *int64 `json:"currentCount,omitempty"`
	MaximumCount *int64 `json:"maximumCount,omitempty"`
	MinimumCount *int64 `json:"minimumCount,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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