README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2022-03-01/managedenvironments
Documentation
The managedenvironments
SDK allows for interaction with the Azure Resource Manager Service containerapps
(API Version 2022-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-sdk/resource-manager/containerapps/2022-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", "environmentValue", "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", "environmentValue", "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", "environmentValue", "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", "environmentValue")
// 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", "environmentValue", "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", "environmentValue")
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", "environmentValue")
if err := client.DeleteThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ManagedEnvironmentsClient.Get
ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "environmentValue")
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.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.NamespacesCheckNameAvailability
ctx := context.TODO()
id := managedenvironments.NewManagedEnvironmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "environmentValue")
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", "environmentValue")
payload := managedenvironments.ManagedEnvironment{
// ...
}
if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Documentation ¶
Index ¶
- func PossibleValuesForCertificateProvisioningState() []string
- func PossibleValuesForCheckNameAvailabilityReason() []string
- func PossibleValuesForEnvironmentProvisioningState() []string
- func ValidateCertificateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type AppLogsConfiguration
- type Certificate
- type CertificateId
- type CertificateOperationPredicate
- type CertificatePatch
- type CertificateProperties
- type CertificateProvisioningState
- type CertificatesCreateOrUpdateOperationResponse
- type CertificatesDeleteOperationResponse
- type CertificatesGetOperationResponse
- type CertificatesListCompleteResult
- type CertificatesListOperationResponse
- type CertificatesUpdateOperationResponse
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnvironmentProvisioningState
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type LogAnalyticsConfiguration
- type ManagedEnvironment
- type ManagedEnvironmentId
- type ManagedEnvironmentOperationPredicate
- type ManagedEnvironmentProperties
- type ManagedEnvironmentsClient
- func (c ManagedEnvironmentsClient) CertificatesCreateOrUpdate(ctx context.Context, id CertificateId, input Certificate) (result CertificatesCreateOrUpdateOperationResponse, err error)
- func (c ManagedEnvironmentsClient) CertificatesDelete(ctx context.Context, id CertificateId) (result CertificatesDeleteOperationResponse, err error)
- func (c ManagedEnvironmentsClient) CertificatesGet(ctx context.Context, id CertificateId) (result CertificatesGetOperationResponse, err error)
- func (c ManagedEnvironmentsClient) CertificatesList(ctx context.Context, id ManagedEnvironmentId) (resp CertificatesListOperationResponse, err error)
- func (c ManagedEnvironmentsClient) CertificatesListComplete(ctx context.Context, id ManagedEnvironmentId) (CertificatesListCompleteResult, error)
- func (c ManagedEnvironmentsClient) CertificatesListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, ...) (resp CertificatesListCompleteResult, err error)
- func (c ManagedEnvironmentsClient) CertificatesUpdate(ctx context.Context, id CertificateId, input CertificatePatch) (result CertificatesUpdateOperationResponse, err error)
- func (c ManagedEnvironmentsClient) CreateOrUpdate(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedEnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) error
- func (c ManagedEnvironmentsClient) Delete(ctx context.Context, id ManagedEnvironmentId) (result DeleteOperationResponse, err error)
- func (c ManagedEnvironmentsClient) DeleteThenPoll(ctx context.Context, id ManagedEnvironmentId) error
- func (c ManagedEnvironmentsClient) Get(ctx context.Context, id ManagedEnvironmentId) (result GetOperationResponse, err error)
- func (c ManagedEnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c ManagedEnvironmentsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ManagedEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c ManagedEnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c ManagedEnvironmentsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ManagedEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ManagedEnvironmentsClient) NamespacesCheckNameAvailability(ctx context.Context, id ManagedEnvironmentId, ...) (result NamespacesCheckNameAvailabilityOperationResponse, err error)
- func (c ManagedEnvironmentsClient) Update(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) (result UpdateOperationResponse, err error)
- func (c ManagedEnvironmentsClient) UpdateThenPoll(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) error
- type NamespacesCheckNameAvailabilityOperationResponse
- type UpdateOperationResponse
- type VnetConfiguration
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 ValidateCertificateID ¶
ValidateCertificateID checks that 'input' can be parsed as a Certificate 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 EnvironmentName string CertificateName string }
CertificateId is a struct representing the Resource ID for a Certificate
func NewCertificateID ¶
func NewCertificateID(subscriptionId string, resourceGroupName string, environmentName 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 ¶
func (CertificateOperationPredicate) Matches ¶
func (p CertificateOperationPredicate) Matches(input Certificate) bool
type CertificatePatch ¶
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"` 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 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 (r CertificatesListOperationResponse) HasMore() bool
func (CertificatesListOperationResponse) LoadMore ¶
func (r CertificatesListOperationResponse) LoadMore(ctx context.Context) (resp CertificatesListOperationResponse, err error)
type CertificatesUpdateOperationResponse ¶
type CertificatesUpdateOperationResponse struct { HttpResponse *http.Response Model *Certificate }
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
const ( CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists" CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid" )
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 DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ManagedEnvironment }
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 (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
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 (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type LogAnalyticsConfiguration ¶
type LogAnalyticsConfiguration struct { CustomerId *string `json:"customerId,omitempty"` }
type ManagedEnvironment ¶
type ManagedEnvironment struct { Id *string `json:"id,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 ManagedEnvironmentId ¶
type ManagedEnvironmentId struct { SubscriptionId string ResourceGroupName string EnvironmentName string }
ManagedEnvironmentId is a struct representing the Resource ID for a Managed Environment
func NewManagedEnvironmentID ¶
func NewManagedEnvironmentID(subscriptionId string, resourceGroupName string, environmentName 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 Location *string Name *string Type *string }
func (ManagedEnvironmentOperationPredicate) Matches ¶
func (p ManagedEnvironmentOperationPredicate) Matches(input ManagedEnvironment) bool
type ManagedEnvironmentProperties ¶
type ManagedEnvironmentProperties struct { AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"` DaprAIConnectionString *string `json:"daprAIConnectionString,omitempty"` DaprAIInstrumentationKey *string `json:"daprAIInstrumentationKey,omitempty"` DefaultDomain *string `json:"defaultDomain,omitempty"` DeploymentErrors *string `json:"deploymentErrors,omitempty"` ProvisioningState *EnvironmentProvisioningState `json:"provisioningState,omitempty"` StaticIP *string `json:"staticIp,omitempty"` VnetConfiguration *VnetConfiguration `json:"vnetConfiguration,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 ¶
func (c ManagedEnvironmentsClient) CertificatesDelete(ctx context.Context, id CertificateId) (result CertificatesDeleteOperationResponse, err error)
CertificatesDelete ...
func (ManagedEnvironmentsClient) CertificatesGet ¶
func (c ManagedEnvironmentsClient) CertificatesGet(ctx context.Context, id CertificateId) (result CertificatesGetOperationResponse, err error)
CertificatesGet ...
func (ManagedEnvironmentsClient) CertificatesList ¶
func (c ManagedEnvironmentsClient) CertificatesList(ctx context.Context, id ManagedEnvironmentId) (resp CertificatesListOperationResponse, err error)
CertificatesList ...
func (ManagedEnvironmentsClient) CertificatesListComplete ¶
func (c ManagedEnvironmentsClient) CertificatesListComplete(ctx context.Context, id ManagedEnvironmentId) (CertificatesListCompleteResult, error)
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 ¶
func (c ManagedEnvironmentsClient) CertificatesUpdate(ctx context.Context, id CertificateId, input CertificatePatch) (result CertificatesUpdateOperationResponse, err error)
CertificatesUpdate ...
func (ManagedEnvironmentsClient) CreateOrUpdate ¶
func (c ManagedEnvironmentsClient) CreateOrUpdate(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) (result CreateOrUpdateOperationResponse, err error)
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 ¶
func (c ManagedEnvironmentsClient) Delete(ctx context.Context, id ManagedEnvironmentId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedEnvironmentsClient) DeleteThenPoll ¶
func (c ManagedEnvironmentsClient) DeleteThenPoll(ctx context.Context, id ManagedEnvironmentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ManagedEnvironmentsClient) Get ¶
func (c ManagedEnvironmentsClient) Get(ctx context.Context, id ManagedEnvironmentId) (result GetOperationResponse, err error)
Get ...
func (ManagedEnvironmentsClient) ListByResourceGroup ¶
func (c ManagedEnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ManagedEnvironmentsClient) ListByResourceGroupComplete ¶
func (c ManagedEnvironmentsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
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 ¶
func (c ManagedEnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ManagedEnvironmentsClient) ListBySubscriptionComplete ¶
func (c ManagedEnvironmentsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
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) NamespacesCheckNameAvailability ¶
func (c ManagedEnvironmentsClient) NamespacesCheckNameAvailability(ctx context.Context, id ManagedEnvironmentId, input CheckNameAvailabilityRequest) (result NamespacesCheckNameAvailabilityOperationResponse, err error)
NamespacesCheckNameAvailability ...
func (ManagedEnvironmentsClient) Update ¶
func (c ManagedEnvironmentsClient) Update(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) (result UpdateOperationResponse, err error)
Update ...
func (ManagedEnvironmentsClient) UpdateThenPoll ¶
func (c ManagedEnvironmentsClient) UpdateThenPoll(ctx context.Context, id ManagedEnvironmentId, input ManagedEnvironment) error
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"` RuntimeSubnetId *string `json:"runtimeSubnetId,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_certificate.go
- id_managedenvironment.go
- method_certificatescreateorupdate_autorest.go
- method_certificatesdelete_autorest.go
- method_certificatesget_autorest.go
- method_certificateslist_autorest.go
- method_certificatesupdate_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_namespaceschecknameavailability_autorest.go
- method_update_autorest.go
- model_applogsconfiguration.go
- model_certificate.go
- model_certificatepatch.go
- model_certificateproperties.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresponse.go
- model_loganalyticsconfiguration.go
- model_managedenvironment.go
- model_managedenvironmentproperties.go
- model_vnetconfiguration.go
- predicates.go
- version.go