managedenvironments

package
v0.20230922.1083125 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2022-11-01-preview/managedenvironments Documentation

The managedenvironments SDK allows for interaction with the Azure Resource Manager Service containerapps (API Version 2022-11-01-preview).

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/containerapps/2022-11-01-preview/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 := managedenvironments.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 := managedenvironments.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")

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

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) 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"
)

type CertificatesCreateOrUpdateOperationResponse

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

type CertificatesDeleteOperationResponse

type CertificatesDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type CertificatesGetOperationResponse

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

type CertificatesListCompleteResult

type CertificatesListCompleteResult struct {
	Items []Certificate
}

type CertificatesListOperationResponse

type CertificatesListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Certificate
	// contains filtered or unexported fields
}

func (CertificatesListOperationResponse) HasMore

func (CertificatesListOperationResponse) LoadMore

type CertificatesUpdateOperationResponse

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

type CheckNameAvailabilityReason

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

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       polling.LongRunningPoller
	HttpResponse *http.Response
}

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       polling.LongRunningPoller
	HttpResponse *http.Response
}

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 DiagnosticsCollection

type DiagnosticsCollection struct {
	NextLink *string       `json:"nextLink,omitempty"`
	Value    []Diagnostics `json:"value"`
}

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
	Model        *ManagedEnvironment
}

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"
)

type GetAuthTokenOperationResponse

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

type GetOperationResponse

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

type KedaConfiguration

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

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []ManagedEnvironment
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ManagedEnvironment
	// contains filtered or unexported fields
}

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []ManagedEnvironment
}

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ManagedEnvironment
	// contains filtered or unexported fields
}

func (ListBySubscriptionOperationResponse) HasMore

func (ListBySubscriptionOperationResponse) LoadMore

type ListWorkloadProfileStatesCompleteResult

type ListWorkloadProfileStatesCompleteResult struct {
	Items []WorkloadProfileStates
}

type ListWorkloadProfileStatesOperationResponse

type ListWorkloadProfileStatesOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]WorkloadProfileStates
	// contains filtered or unexported fields
}

func (ListWorkloadProfileStatesOperationResponse) HasMore

func (ListWorkloadProfileStatesOperationResponse) LoadMore

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"
)

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) 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       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ManagedCertificatesDeleteOperationResponse

type ManagedCertificatesDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type ManagedCertificatesGetOperationResponse

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

type ManagedCertificatesListCompleteResult

type ManagedCertificatesListCompleteResult struct {
	Items []ManagedCertificate
}

type ManagedCertificatesListOperationResponse

type ManagedCertificatesListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ManagedCertificate
	// contains filtered or unexported fields
}

func (ManagedCertificatesListOperationResponse) HasMore

func (ManagedCertificatesListOperationResponse) LoadMore

type ManagedCertificatesUpdateOperationResponse

type ManagedCertificatesUpdateOperationResponse struct {
	HttpResponse *http.Response
	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) 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
	Model        *Diagnostics
}

type ManagedEnvironmentDiagnosticsListDetectorsOperationResponse

type ManagedEnvironmentDiagnosticsListDetectorsOperationResponse struct {
	HttpResponse *http.Response
	Model        *DiagnosticsCollection
}

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) 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"`
	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 ManagedEnvironmentsClient

type ManagedEnvironmentsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewManagedEnvironmentsClientWithBaseURI

func NewManagedEnvironmentsClientWithBaseURI(endpoint string) ManagedEnvironmentsClient

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 of the results into a single object

func (ManagedEnvironmentsClient) CertificatesListCompleteMatchingPredicate

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

CertificatesListCompleteMatchingPredicate retrieves all of the results and then applied 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 of the results into a single object

func (ManagedEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate

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

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedEnvironmentsClient) ListBySubscription

ListBySubscription ...

func (ManagedEnvironmentsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all of the results into a single object

func (ManagedEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate

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

ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedEnvironmentsClient) ListWorkloadProfileStates

ListWorkloadProfileStates ...

func (ManagedEnvironmentsClient) ListWorkloadProfileStatesComplete

ListWorkloadProfileStatesComplete retrieves all of the results into a single object

func (ManagedEnvironmentsClient) ListWorkloadProfileStatesCompleteMatchingPredicate

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

ListWorkloadProfileStatesCompleteMatchingPredicate retrieves all of the results and then applied 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 of the results into a single object

func (ManagedEnvironmentsClient) ManagedCertificatesListCompleteMatchingPredicate

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

ManagedCertificatesListCompleteMatchingPredicate retrieves all of the results and then applied 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) NamespacesCheckNameAvailability

NamespacesCheckNameAvailability ...

func (ManagedEnvironmentsClient) Update

Update ...

func (ManagedEnvironmentsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type NamespacesCheckNameAvailabilityOperationResponse

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

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

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