kubernetesconfiguration

package
v67.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package kubernetesconfiguration implements the Azure ARM Kubernetesconfiguration service API version 2022-03-01.

KubernetesConfiguration Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Kubernetesconfiguration
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AKSIdentityType

type AKSIdentityType string

AKSIdentityType enumerates the values for aks identity type.

const (
	// AKSIdentityTypeSystemAssigned ...
	AKSIdentityTypeSystemAssigned AKSIdentityType = "SystemAssigned"
	// AKSIdentityTypeUserAssigned ...
	AKSIdentityTypeUserAssigned AKSIdentityType = "UserAssigned"
)

func PossibleAKSIdentityTypeValues

func PossibleAKSIdentityTypeValues() []AKSIdentityType

PossibleAKSIdentityTypeValues returns an array of possible values for the AKSIdentityType const type.

type AzureEntityResource

type AzureEntityResource struct {
	// Etag - READ-ONLY; Resource Etag.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Kubernetesconfiguration.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BucketDefinition

type BucketDefinition struct {
	// URL - The URL to sync for the flux configuration S3 bucket.
	URL *string `json:"url,omitempty"`
	// BucketName - The bucket name to sync from the url endpoint for the flux configuration.
	BucketName *string `json:"bucketName,omitempty"`
	// Insecure - Specify whether to use insecure communication when puling data from the S3 bucket.
	Insecure *bool `json:"insecure,omitempty"`
	// TimeoutInSeconds - The maximum time to attempt to reconcile the cluster git repository source with the remote.
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"`
	// SyncIntervalInSeconds - The interval at which to re-reconcile the cluster git repository source with the remote.
	SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"`
	// AccessKey - Plaintext access key used to securely access the S3 bucket
	AccessKey *string `json:"accessKey,omitempty"`
	// LocalAuthRef - Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
	LocalAuthRef *string `json:"localAuthRef,omitempty"`
}

BucketDefinition parameters to reconcile to the GitRepository source kind type.

type BucketPatchDefinition

type BucketPatchDefinition struct {
	// URL - The URL to sync for the flux configuration S3 bucket.
	URL *string `json:"url,omitempty"`
	// BucketName - The bucket name to sync from the url endpoint for the flux configuration.
	BucketName *string `json:"bucketName,omitempty"`
	// Insecure - Specify whether to use insecure communication when puling data from the S3 bucket.
	Insecure *bool `json:"insecure,omitempty"`
	// TimeoutInSeconds - The maximum time to attempt to reconcile the cluster git repository source with the remote.
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"`
	// SyncIntervalInSeconds - The interval at which to re-reconcile the cluster git repository source with the remote.
	SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"`
	// AccessKey - Plaintext access key used to securely access the S3 bucket
	AccessKey *string `json:"accessKey,omitempty"`
	// LocalAuthRef - Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
	LocalAuthRef *string `json:"localAuthRef,omitempty"`
}

BucketPatchDefinition parameters to reconcile to the GitRepository source kind type.

type ComplianceStateType

type ComplianceStateType string

ComplianceStateType enumerates the values for compliance state type.

const (
	// ComplianceStateTypeCompliant ...
	ComplianceStateTypeCompliant ComplianceStateType = "Compliant"
	// ComplianceStateTypeFailed ...
	ComplianceStateTypeFailed ComplianceStateType = "Failed"
	// ComplianceStateTypeInstalled ...
	ComplianceStateTypeInstalled ComplianceStateType = "Installed"
	// ComplianceStateTypeNoncompliant ...
	ComplianceStateTypeNoncompliant ComplianceStateType = "Noncompliant"
	// ComplianceStateTypePending ...
	ComplianceStateTypePending ComplianceStateType = "Pending"
)

func PossibleComplianceStateTypeValues

func PossibleComplianceStateTypeValues() []ComplianceStateType

PossibleComplianceStateTypeValues returns an array of possible values for the ComplianceStateType const type.

type ComplianceStatus

type ComplianceStatus struct {
	// ComplianceState - READ-ONLY; The compliance state of the configuration. Possible values include: 'ComplianceStateTypePending', 'ComplianceStateTypeCompliant', 'ComplianceStateTypeNoncompliant', 'ComplianceStateTypeInstalled', 'ComplianceStateTypeFailed'
	ComplianceState ComplianceStateType `json:"complianceState,omitempty"`
	// LastConfigApplied - Datetime the configuration was last applied.
	LastConfigApplied *date.Time `json:"lastConfigApplied,omitempty"`
	// Message - Message from when the configuration was applied.
	Message *string `json:"message,omitempty"`
	// MessageLevel - Level of the message. Possible values include: 'MessageLevelTypeError', 'MessageLevelTypeWarning', 'MessageLevelTypeInformation'
	MessageLevel MessageLevelType `json:"messageLevel,omitempty"`
}

ComplianceStatus compliance Status details

func (ComplianceStatus) MarshalJSON

func (cs ComplianceStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceStatus.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorDetail

type ErrorDetail struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]ErrorDetail `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorDetail the error detail.

func (ErrorDetail) MarshalJSON

func (ed ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponse

type ErrorResponse struct {
	// Error - The error object.
	Error *ErrorDetail `json:"error,omitempty"`
}

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type Extension

type Extension struct {
	autorest.Response `json:"-"`
	// ExtensionProperties - Properties of an Extension resource
	*ExtensionProperties `json:"properties,omitempty"`
	// Identity - Identity of the Extension resource
	Identity *Identity `json:"identity,omitempty"`
	// SystemData - Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Extension the Extension object.

func (Extension) MarshalJSON

func (e Extension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Extension.

func (*Extension) UnmarshalJSON

func (e *Extension) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Extension struct.

type ExtensionProperties

type ExtensionProperties struct {
	// ExtensionType - Type of the Extension, of which this resource is an instance of.  It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.
	ExtensionType *string `json:"extensionType,omitempty"`
	// AutoUpgradeMinorVersion - Flag to note if this extension participates in auto upgrade of minor version, or not.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// ReleaseTrain - ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.
	ReleaseTrain *string `json:"releaseTrain,omitempty"`
	// Version - User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'.
	Version *string `json:"version,omitempty"`
	// Scope - Scope at which the extension is installed.
	Scope *Scope `json:"scope,omitempty"`
	// ConfigurationSettings - Configuration settings, as name-value pairs for configuring this extension.
	ConfigurationSettings map[string]*string `json:"configurationSettings"`
	// ConfigurationProtectedSettings - Configuration settings that are sensitive, as name-value pairs for configuring this extension.
	ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings"`
	// InstalledVersion - READ-ONLY; Installed version of the extension.
	InstalledVersion *string `json:"installedVersion,omitempty"`
	// ProvisioningState - READ-ONLY; Status of installation of this extension. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Statuses - Status from this extension.
	Statuses *[]ExtensionStatus `json:"statuses,omitempty"`
	// ErrorInfo - READ-ONLY; Error information from the Agent - e.g. errors during installation.
	ErrorInfo *ErrorDetail `json:"errorInfo,omitempty"`
	// CustomLocationSettings - READ-ONLY; Custom Location settings properties.
	CustomLocationSettings map[string]*string `json:"customLocationSettings"`
	// PackageURI - READ-ONLY; Uri of the Helm package
	PackageURI *string `json:"packageUri,omitempty"`
	// AksAssignedIdentity - Identity of the Extension resource in an AKS cluster
	AksAssignedIdentity *ExtensionPropertiesAksAssignedIdentity `json:"aksAssignedIdentity,omitempty"`
}

ExtensionProperties properties of an Extension resource

func (ExtensionProperties) MarshalJSON

func (e ExtensionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionProperties.

type ExtensionPropertiesAksAssignedIdentity

type ExtensionPropertiesAksAssignedIdentity struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'AKSIdentityTypeSystemAssigned', 'AKSIdentityTypeUserAssigned'
	Type AKSIdentityType `json:"type,omitempty"`
}

ExtensionPropertiesAksAssignedIdentity identity of the Extension resource in an AKS cluster

func (ExtensionPropertiesAksAssignedIdentity) MarshalJSON

func (eAi ExtensionPropertiesAksAssignedIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionPropertiesAksAssignedIdentity.

type ExtensionStatus

type ExtensionStatus struct {
	// Code - Status code provided by the Extension
	Code *string `json:"code,omitempty"`
	// DisplayStatus - Short description of status of the extension.
	DisplayStatus *string `json:"displayStatus,omitempty"`
	// Level - Level of the status. Possible values include: 'LevelTypeError', 'LevelTypeWarning', 'LevelTypeInformation'
	Level LevelType `json:"level,omitempty"`
	// Message - Detailed message of the status from the Extension.
	Message *string `json:"message,omitempty"`
	// Time - DateLiteral (per ISO8601) noting the time of installation status.
	Time *string `json:"time,omitempty"`
}

ExtensionStatus status from the extension.

type ExtensionsClient

type ExtensionsClient struct {
	BaseClient
}

ExtensionsClient is the kubernetesConfiguration Client

func NewExtensionsClient

func NewExtensionsClient(subscriptionID string) ExtensionsClient

NewExtensionsClient creates an instance of the ExtensionsClient client.

func NewExtensionsClientWithBaseURI

func NewExtensionsClientWithBaseURI(baseURI string, subscriptionID string) ExtensionsClient

NewExtensionsClientWithBaseURI creates an instance of the ExtensionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExtensionsClient) Create

func (client ExtensionsClient) Create(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, extension Extension) (result ExtensionsCreateFuture, err error)

Create create a new Kubernetes Cluster Extension. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. extensionName - name of the Extension. extension - properties necessary to Create an Extension.

func (ExtensionsClient) CreatePreparer

func (client ExtensionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, extension Extension) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ExtensionsClient) CreateResponder

func (client ExtensionsClient) CreateResponder(resp *http.Response) (result Extension, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ExtensionsClient) CreateSender

func (client ExtensionsClient) CreateSender(req *http.Request) (future ExtensionsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ExtensionsClient) Delete

func (client ExtensionsClient) Delete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, forceDelete *bool) (result ExtensionsDeleteFuture, err error)

Delete delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. extensionName - name of the Extension. forceDelete - delete the extension resource in Azure - not the normal asynchronous delete.

func (ExtensionsClient) DeletePreparer

func (client ExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, forceDelete *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExtensionsClient) DeleteResponder

func (client ExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExtensionsClient) DeleteSender

func (client ExtensionsClient) DeleteSender(req *http.Request) (future ExtensionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExtensionsClient) Get

func (client ExtensionsClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string) (result Extension, err error)

Get gets Kubernetes Cluster Extension. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. extensionName - name of the Extension.

func (ExtensionsClient) GetPreparer

func (client ExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExtensionsClient) GetResponder

func (client ExtensionsClient) GetResponder(resp *http.Response) (result Extension, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExtensionsClient) GetSender

func (client ExtensionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExtensionsClient) List

func (client ExtensionsClient) List(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result ExtensionsListPage, err error)

List list all Extensions in the cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster.

func (ExtensionsClient) ListComplete

func (client ExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result ExtensionsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExtensionsClient) ListPreparer

func (client ExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExtensionsClient) ListResponder

func (client ExtensionsClient) ListResponder(resp *http.Response) (result ExtensionsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExtensionsClient) ListSender

func (client ExtensionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ExtensionsClient) Update

func (client ExtensionsClient) Update(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, patchExtension PatchExtension) (result ExtensionsUpdateFuture, err error)

Update patch an existing Kubernetes Cluster Extension. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. extensionName - name of the Extension. patchExtension - properties to Patch in an existing Extension.

func (ExtensionsClient) UpdatePreparer

func (client ExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, patchExtension PatchExtension) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ExtensionsClient) UpdateResponder

func (client ExtensionsClient) UpdateResponder(resp *http.Response) (result Extension, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ExtensionsClient) UpdateSender

func (client ExtensionsClient) UpdateSender(req *http.Request) (future ExtensionsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ExtensionsCreateFuture

type ExtensionsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExtensionsClient) (Extension, error)
}

ExtensionsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExtensionsCreateFuture) UnmarshalJSON

func (future *ExtensionsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExtensionsDeleteFuture

type ExtensionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExtensionsClient) (autorest.Response, error)
}

ExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExtensionsDeleteFuture) UnmarshalJSON

func (future *ExtensionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExtensionsList

type ExtensionsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of Extensions within a Kubernetes cluster.
	Value *[]Extension `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of extension objects, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

ExtensionsList result of the request to list Extensions. It contains a list of Extension objects and a URL link to get the next set of results.

func (ExtensionsList) IsEmpty

func (el ExtensionsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ExtensionsList) MarshalJSON

func (el ExtensionsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionsList.

type ExtensionsListIterator

type ExtensionsListIterator struct {
	// contains filtered or unexported fields
}

ExtensionsListIterator provides access to a complete listing of Extension values.

func NewExtensionsListIterator

func NewExtensionsListIterator(page ExtensionsListPage) ExtensionsListIterator

Creates a new instance of the ExtensionsListIterator type.

func (*ExtensionsListIterator) Next

func (iter *ExtensionsListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExtensionsListIterator) NextWithContext

func (iter *ExtensionsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExtensionsListIterator) NotDone

func (iter ExtensionsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExtensionsListIterator) Response

func (iter ExtensionsListIterator) Response() ExtensionsList

Response returns the raw server response from the last page request.

func (ExtensionsListIterator) Value

func (iter ExtensionsListIterator) Value() Extension

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExtensionsListPage

type ExtensionsListPage struct {
	// contains filtered or unexported fields
}

ExtensionsListPage contains a page of Extension values.

func NewExtensionsListPage

func NewExtensionsListPage(cur ExtensionsList, getNextPage func(context.Context, ExtensionsList) (ExtensionsList, error)) ExtensionsListPage

Creates a new instance of the ExtensionsListPage type.

func (*ExtensionsListPage) Next

func (page *ExtensionsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExtensionsListPage) NextWithContext

func (page *ExtensionsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExtensionsListPage) NotDone

func (page ExtensionsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExtensionsListPage) Response

func (page ExtensionsListPage) Response() ExtensionsList

Response returns the raw server response from the last page request.

func (ExtensionsListPage) Values

func (page ExtensionsListPage) Values() []Extension

Values returns the slice of values for the current page or nil if there are no values.

type ExtensionsUpdateFuture

type ExtensionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExtensionsClient) (Extension, error)
}

ExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExtensionsUpdateFuture) UnmarshalJSON

func (future *ExtensionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FluxComplianceState

type FluxComplianceState string

FluxComplianceState enumerates the values for flux compliance state.

const (
	// FluxComplianceStateCompliant ...
	FluxComplianceStateCompliant FluxComplianceState = "Compliant"
	// FluxComplianceStateNonCompliant ...
	FluxComplianceStateNonCompliant FluxComplianceState = "Non-Compliant"
	// FluxComplianceStatePending ...
	FluxComplianceStatePending FluxComplianceState = "Pending"
	// FluxComplianceStateSuspended ...
	FluxComplianceStateSuspended FluxComplianceState = "Suspended"
	// FluxComplianceStateUnknown ...
	FluxComplianceStateUnknown FluxComplianceState = "Unknown"
)

func PossibleFluxComplianceStateValues

func PossibleFluxComplianceStateValues() []FluxComplianceState

PossibleFluxComplianceStateValues returns an array of possible values for the FluxComplianceState const type.

type FluxConfigOperationStatusClient

type FluxConfigOperationStatusClient struct {
	BaseClient
}

FluxConfigOperationStatusClient is the kubernetesConfiguration Client

func NewFluxConfigOperationStatusClient

func NewFluxConfigOperationStatusClient(subscriptionID string) FluxConfigOperationStatusClient

NewFluxConfigOperationStatusClient creates an instance of the FluxConfigOperationStatusClient client.

func NewFluxConfigOperationStatusClientWithBaseURI

func NewFluxConfigOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) FluxConfigOperationStatusClient

NewFluxConfigOperationStatusClientWithBaseURI creates an instance of the FluxConfigOperationStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FluxConfigOperationStatusClient) Get

func (client FluxConfigOperationStatusClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, operationID string) (result OperationStatusResult, err error)

Get get Async Operation status Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. fluxConfigurationName - name of the Flux Configuration. operationID - operation Id

func (FluxConfigOperationStatusClient) GetPreparer

func (client FluxConfigOperationStatusClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FluxConfigOperationStatusClient) GetResponder

func (client FluxConfigOperationStatusClient) GetResponder(resp *http.Response) (result OperationStatusResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (FluxConfigOperationStatusClient) GetSender

func (client FluxConfigOperationStatusClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type FluxConfiguration

type FluxConfiguration struct {
	autorest.Response `json:"-"`
	// FluxConfigurationProperties - Properties to create a Flux Configuration resource
	*FluxConfigurationProperties `json:"properties,omitempty"`
	// SystemData - Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

FluxConfiguration the Flux Configuration object returned in Get & Put response.

func (FluxConfiguration) MarshalJSON

func (fc FluxConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FluxConfiguration.

func (*FluxConfiguration) UnmarshalJSON

func (fc *FluxConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FluxConfiguration struct.

type FluxConfigurationPatch

type FluxConfigurationPatch struct {
	// FluxConfigurationPatchProperties - Updatable properties of an Flux Configuration Patch Request
	*FluxConfigurationPatchProperties `json:"properties,omitempty"`
}

FluxConfigurationPatch the Flux Configuration Patch Request object.

func (FluxConfigurationPatch) MarshalJSON

func (fcp FluxConfigurationPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FluxConfigurationPatch.

func (*FluxConfigurationPatch) UnmarshalJSON

func (fcp *FluxConfigurationPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FluxConfigurationPatch struct.

type FluxConfigurationPatchProperties

type FluxConfigurationPatchProperties struct {
	// SourceKind - Source Kind to pull the configuration data from. Possible values include: 'SourceKindTypeGitRepository', 'SourceKindTypeBucket'
	SourceKind SourceKindType `json:"sourceKind,omitempty"`
	// Suspend - Whether this configuration should suspend its reconciliation of its kustomizations and sources.
	Suspend *bool `json:"suspend,omitempty"`
	// GitRepository - Parameters to reconcile to the GitRepository source kind type.
	GitRepository *GitRepositoryPatchDefinition `json:"gitRepository,omitempty"`
	// Bucket - Parameters to reconcile to the Bucket source kind type.
	Bucket *BucketPatchDefinition `json:"bucket,omitempty"`
	// Kustomizations - Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.
	Kustomizations map[string]*KustomizationPatchDefinition `json:"kustomizations"`
	// ConfigurationProtectedSettings - Key-value pairs of protected configuration settings for the configuration
	ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings"`
}

FluxConfigurationPatchProperties updatable properties of an Flux Configuration Patch Request

func (FluxConfigurationPatchProperties) MarshalJSON

func (fcp FluxConfigurationPatchProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FluxConfigurationPatchProperties.

type FluxConfigurationProperties

type FluxConfigurationProperties struct {
	// Scope - Scope at which the operator will be installed. Possible values include: 'ScopeTypeCluster', 'ScopeTypeNamespace'
	Scope ScopeType `json:"scope,omitempty"`
	// Namespace - The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
	Namespace *string `json:"namespace,omitempty"`
	// SourceKind - Source Kind to pull the configuration data from. Possible values include: 'SourceKindTypeGitRepository', 'SourceKindTypeBucket'
	SourceKind SourceKindType `json:"sourceKind,omitempty"`
	// Suspend - Whether this configuration should suspend its reconciliation of its kustomizations and sources.
	Suspend *bool `json:"suspend,omitempty"`
	// GitRepository - Parameters to reconcile to the GitRepository source kind type.
	GitRepository *GitRepositoryDefinition `json:"gitRepository,omitempty"`
	// Bucket - Parameters to reconcile to the Bucket source kind type.
	Bucket *BucketDefinition `json:"bucket,omitempty"`
	// Kustomizations - Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.
	Kustomizations map[string]*KustomizationDefinition `json:"kustomizations"`
	// ConfigurationProtectedSettings - Key-value pairs of protected configuration settings for the configuration
	ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings"`
	// Statuses - READ-ONLY; Statuses of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects provisioned by the fluxConfiguration.
	Statuses *[]ObjectStatusDefinition `json:"statuses,omitempty"`
	// RepositoryPublicKey - READ-ONLY; Public Key associated with this fluxConfiguration (either generated within the cluster or provided by the user).
	RepositoryPublicKey *string `json:"repositoryPublicKey,omitempty"`
	// SourceSyncedCommitID - READ-ONLY; Branch and/or SHA of the source commit synced with the cluster.
	SourceSyncedCommitID *string `json:"sourceSyncedCommitId,omitempty"`
	// SourceUpdatedAt - READ-ONLY; Datetime the fluxConfiguration synced its source on the cluster.
	SourceUpdatedAt *date.Time `json:"sourceUpdatedAt,omitempty"`
	// StatusUpdatedAt - READ-ONLY; Datetime the fluxConfiguration synced its status on the cluster with Azure.
	StatusUpdatedAt *date.Time `json:"statusUpdatedAt,omitempty"`
	// ComplianceState - READ-ONLY; Combined status of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects. Possible values include: 'FluxComplianceStateCompliant', 'FluxComplianceStateNonCompliant', 'FluxComplianceStatePending', 'FluxComplianceStateSuspended', 'FluxComplianceStateUnknown'
	ComplianceState FluxComplianceState `json:"complianceState,omitempty"`
	// ProvisioningState - READ-ONLY; Status of the creation of the fluxConfiguration. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ErrorMessage - READ-ONLY; Error message returned to the user in the case of provisioning failure.
	ErrorMessage *string `json:"errorMessage,omitempty"`
}

FluxConfigurationProperties properties to create a Flux Configuration resource

func (FluxConfigurationProperties) MarshalJSON

func (fc FluxConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FluxConfigurationProperties.

type FluxConfigurationsClient

type FluxConfigurationsClient struct {
	BaseClient
}

FluxConfigurationsClient is the kubernetesConfiguration Client

func NewFluxConfigurationsClient

func NewFluxConfigurationsClient(subscriptionID string) FluxConfigurationsClient

NewFluxConfigurationsClient creates an instance of the FluxConfigurationsClient client.

func NewFluxConfigurationsClientWithBaseURI

func NewFluxConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) FluxConfigurationsClient

NewFluxConfigurationsClientWithBaseURI creates an instance of the FluxConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FluxConfigurationsClient) CreateOrUpdate

func (client FluxConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, fluxConfiguration FluxConfiguration) (result FluxConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdate create a new Kubernetes Flux Configuration. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. fluxConfigurationName - name of the Flux Configuration. fluxConfiguration - properties necessary to Create a FluxConfiguration.

func (FluxConfigurationsClient) CreateOrUpdatePreparer

func (client FluxConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, fluxConfiguration FluxConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FluxConfigurationsClient) CreateOrUpdateResponder

func (client FluxConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result FluxConfiguration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (FluxConfigurationsClient) CreateOrUpdateSender

func (client FluxConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future FluxConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (FluxConfigurationsClient) Delete

func (client FluxConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, forceDelete *bool) (result FluxConfigurationsDeleteFuture, err error)

Delete this will delete the YAML file used to set up the Flux Configuration, thus stopping future sync from the source repo. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. fluxConfigurationName - name of the Flux Configuration. forceDelete - delete the extension resource in Azure - not the normal asynchronous delete.

func (FluxConfigurationsClient) DeletePreparer

func (client FluxConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, forceDelete *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FluxConfigurationsClient) DeleteResponder

func (client FluxConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (FluxConfigurationsClient) DeleteSender

func (client FluxConfigurationsClient) DeleteSender(req *http.Request) (future FluxConfigurationsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (FluxConfigurationsClient) Get

func (client FluxConfigurationsClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string) (result FluxConfiguration, err error)

Get gets details of the Flux Configuration. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. fluxConfigurationName - name of the Flux Configuration.

func (FluxConfigurationsClient) GetPreparer

func (client FluxConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FluxConfigurationsClient) GetResponder

func (client FluxConfigurationsClient) GetResponder(resp *http.Response) (result FluxConfiguration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (FluxConfigurationsClient) GetSender

func (client FluxConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (FluxConfigurationsClient) List

func (client FluxConfigurationsClient) List(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result FluxConfigurationsListPage, err error)

List list all Flux Configurations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster.

func (FluxConfigurationsClient) ListComplete

func (client FluxConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result FluxConfigurationsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (FluxConfigurationsClient) ListPreparer

func (client FluxConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (*http.Request, error)

ListPreparer prepares the List request.

func (FluxConfigurationsClient) ListResponder

func (client FluxConfigurationsClient) ListResponder(resp *http.Response) (result FluxConfigurationsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (FluxConfigurationsClient) ListSender

func (client FluxConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (FluxConfigurationsClient) Update

func (client FluxConfigurationsClient) Update(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, fluxConfigurationPatch FluxConfigurationPatch) (result FluxConfigurationsUpdateFuture, err error)

Update update an existing Kubernetes Flux Configuration. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. fluxConfigurationName - name of the Flux Configuration. fluxConfigurationPatch - properties to Patch in an existing Flux Configuration.

func (FluxConfigurationsClient) UpdatePreparer

func (client FluxConfigurationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, fluxConfigurationName string, fluxConfigurationPatch FluxConfigurationPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (FluxConfigurationsClient) UpdateResponder

func (client FluxConfigurationsClient) UpdateResponder(resp *http.Response) (result FluxConfiguration, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (FluxConfigurationsClient) UpdateSender

func (client FluxConfigurationsClient) UpdateSender(req *http.Request) (future FluxConfigurationsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type FluxConfigurationsCreateOrUpdateFuture

type FluxConfigurationsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(FluxConfigurationsClient) (FluxConfiguration, error)
}

FluxConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FluxConfigurationsCreateOrUpdateFuture) UnmarshalJSON

func (future *FluxConfigurationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FluxConfigurationsDeleteFuture

type FluxConfigurationsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(FluxConfigurationsClient) (autorest.Response, error)
}

FluxConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FluxConfigurationsDeleteFuture) UnmarshalJSON

func (future *FluxConfigurationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FluxConfigurationsList

type FluxConfigurationsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of Flux Configurations within a Kubernetes cluster.
	Value *[]FluxConfiguration `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of configuration objects, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

FluxConfigurationsList result of the request to list Flux Configurations. It contains a list of FluxConfiguration objects and a URL link to get the next set of results.

func (FluxConfigurationsList) IsEmpty

func (fcl FluxConfigurationsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (FluxConfigurationsList) MarshalJSON

func (fcl FluxConfigurationsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FluxConfigurationsList.

type FluxConfigurationsListIterator

type FluxConfigurationsListIterator struct {
	// contains filtered or unexported fields
}

FluxConfigurationsListIterator provides access to a complete listing of FluxConfiguration values.

func NewFluxConfigurationsListIterator

func NewFluxConfigurationsListIterator(page FluxConfigurationsListPage) FluxConfigurationsListIterator

Creates a new instance of the FluxConfigurationsListIterator type.

func (*FluxConfigurationsListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FluxConfigurationsListIterator) NextWithContext

func (iter *FluxConfigurationsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (FluxConfigurationsListIterator) NotDone

func (iter FluxConfigurationsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (FluxConfigurationsListIterator) Response

Response returns the raw server response from the last page request.

func (FluxConfigurationsListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type FluxConfigurationsListPage

type FluxConfigurationsListPage struct {
	// contains filtered or unexported fields
}

FluxConfigurationsListPage contains a page of FluxConfiguration values.

func NewFluxConfigurationsListPage

Creates a new instance of the FluxConfigurationsListPage type.

func (*FluxConfigurationsListPage) Next

func (page *FluxConfigurationsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FluxConfigurationsListPage) NextWithContext

func (page *FluxConfigurationsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (FluxConfigurationsListPage) NotDone

func (page FluxConfigurationsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (FluxConfigurationsListPage) Response

Response returns the raw server response from the last page request.

func (FluxConfigurationsListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type FluxConfigurationsUpdateFuture

type FluxConfigurationsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(FluxConfigurationsClient) (FluxConfiguration, error)
}

FluxConfigurationsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FluxConfigurationsUpdateFuture) UnmarshalJSON

func (future *FluxConfigurationsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GitRepositoryDefinition

type GitRepositoryDefinition struct {
	// URL - The URL to sync for the flux configuration git repository.
	URL *string `json:"url,omitempty"`
	// TimeoutInSeconds - The maximum time to attempt to reconcile the cluster git repository source with the remote.
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"`
	// SyncIntervalInSeconds - The interval at which to re-reconcile the cluster git repository source with the remote.
	SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"`
	// RepositoryRef - The source reference for the GitRepository object.
	RepositoryRef *RepositoryRefDefinition `json:"repositoryRef,omitempty"`
	// SSHKnownHosts - Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH
	SSHKnownHosts *string `json:"sshKnownHosts,omitempty"`
	// HTTPSUser - Plaintext HTTPS username used to access private git repositories over HTTPS
	HTTPSUser *string `json:"httpsUser,omitempty"`
	// HTTPSCACert - Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS
	HTTPSCACert *string `json:"httpsCACert,omitempty"`
	// LocalAuthRef - Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
	LocalAuthRef *string `json:"localAuthRef,omitempty"`
}

GitRepositoryDefinition parameters to reconcile to the GitRepository source kind type.

type GitRepositoryPatchDefinition

type GitRepositoryPatchDefinition struct {
	// URL - The URL to sync for the flux configuration git repository.
	URL *string `json:"url,omitempty"`
	// TimeoutInSeconds - The maximum time to attempt to reconcile the cluster git repository source with the remote.
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"`
	// SyncIntervalInSeconds - The interval at which to re-reconcile the cluster git repository source with the remote.
	SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"`
	// RepositoryRef - The source reference for the GitRepository object.
	RepositoryRef *RepositoryRefDefinition `json:"repositoryRef,omitempty"`
	// SSHKnownHosts - Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH
	SSHKnownHosts *string `json:"sshKnownHosts,omitempty"`
	// HTTPSUser - Plaintext HTTPS username used to access private git repositories over HTTPS
	HTTPSUser *string `json:"httpsUser,omitempty"`
	// HTTPSCACert - Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS
	HTTPSCACert *string `json:"httpsCACert,omitempty"`
	// LocalAuthRef - Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
	LocalAuthRef *string `json:"localAuthRef,omitempty"`
}

GitRepositoryPatchDefinition parameters to reconcile to the GitRepository source kind type.

type HelmOperatorProperties

type HelmOperatorProperties struct {
	// ChartVersion - Version of the operator Helm chart.
	ChartVersion *string `json:"chartVersion,omitempty"`
	// ChartValues - Values override for the operator Helm chart.
	ChartValues *string `json:"chartValues,omitempty"`
}

HelmOperatorProperties properties for Helm operator.

type HelmReleasePropertiesDefinition

type HelmReleasePropertiesDefinition struct {
	// LastRevisionApplied - The revision number of the last released object change
	LastRevisionApplied *int64 `json:"lastRevisionApplied,omitempty"`
	// HelmChartRef - The reference to the HelmChart object used as the source to this HelmRelease
	HelmChartRef *ObjectReferenceDefinition `json:"helmChartRef,omitempty"`
	// FailureCount - Total number of times that the HelmRelease failed to install or upgrade
	FailureCount *int64 `json:"failureCount,omitempty"`
	// InstallFailureCount - Number of times that the HelmRelease failed to install
	InstallFailureCount *int64 `json:"installFailureCount,omitempty"`
	// UpgradeFailureCount - Number of times that the HelmRelease failed to upgrade
	UpgradeFailureCount *int64 `json:"upgradeFailureCount,omitempty"`
}

HelmReleasePropertiesDefinition properties for HelmRelease objects

type Identity

type Identity struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'ResourceIdentityTypeSystemAssigned'
	Type ResourceIdentityType `json:"type,omitempty"`
}

Identity identity for the resource.

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type KustomizationDefinition

type KustomizationDefinition struct {
	// Name - READ-ONLY; Name of the Kustomization, matching the key in the Kustomizations object map.
	Name *string `json:"name,omitempty"`
	// Path - The path in the source reference to reconcile on the cluster.
	Path *string `json:"path,omitempty"`
	// DependsOn - Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies have completed their reconciliation.
	DependsOn *[]string `json:"dependsOn,omitempty"`
	// TimeoutInSeconds - The maximum time to attempt to reconcile the Kustomization on the cluster.
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"`
	// SyncIntervalInSeconds - The interval at which to re-reconcile the Kustomization on the cluster.
	SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"`
	// RetryIntervalInSeconds - The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation.
	RetryIntervalInSeconds *int64 `json:"retryIntervalInSeconds,omitempty"`
	// Prune - Enable/disable garbage collections of Kubernetes objects created by this Kustomization.
	Prune *bool `json:"prune,omitempty"`
	// Force - Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change.
	Force *bool `json:"force,omitempty"`
}

KustomizationDefinition the Kustomization defining how to reconcile the artifact pulled by the source type on the cluster.

func (KustomizationDefinition) MarshalJSON

func (kd KustomizationDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KustomizationDefinition.

type KustomizationPatchDefinition

type KustomizationPatchDefinition struct {
	// Path - The path in the source reference to reconcile on the cluster.
	Path *string `json:"path,omitempty"`
	// DependsOn - Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies have completed their reconciliation.
	DependsOn *[]string `json:"dependsOn,omitempty"`
	// TimeoutInSeconds - The maximum time to attempt to reconcile the Kustomization on the cluster.
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"`
	// SyncIntervalInSeconds - The interval at which to re-reconcile the Kustomization on the cluster.
	SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"`
	// RetryIntervalInSeconds - The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation.
	RetryIntervalInSeconds *int64 `json:"retryIntervalInSeconds,omitempty"`
	// Prune - Enable/disable garbage collections of Kubernetes objects created by this Kustomization.
	Prune *bool `json:"prune,omitempty"`
	// Force - Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change.
	Force *bool `json:"force,omitempty"`
}

KustomizationPatchDefinition the Kustomization defining how to reconcile the artifact pulled by the source type on the cluster.

type KustomizationValidationType

type KustomizationValidationType string

KustomizationValidationType enumerates the values for kustomization validation type.

const (
	// KustomizationValidationTypeClient ...
	KustomizationValidationTypeClient KustomizationValidationType = "client"
	// KustomizationValidationTypeNone ...
	KustomizationValidationTypeNone KustomizationValidationType = "none"
	// KustomizationValidationTypeServer ...
	KustomizationValidationTypeServer KustomizationValidationType = "server"
)

func PossibleKustomizationValidationTypeValues

func PossibleKustomizationValidationTypeValues() []KustomizationValidationType

PossibleKustomizationValidationTypeValues returns an array of possible values for the KustomizationValidationType const type.

type LevelType

type LevelType string

LevelType enumerates the values for level type.

const (
	// LevelTypeError ...
	LevelTypeError LevelType = "Error"
	// LevelTypeInformation ...
	LevelTypeInformation LevelType = "Information"
	// LevelTypeWarning ...
	LevelTypeWarning LevelType = "Warning"
)

func PossibleLevelTypeValues

func PossibleLevelTypeValues() []LevelType

PossibleLevelTypeValues returns an array of possible values for the LevelType const type.

type MessageLevelType

type MessageLevelType string

MessageLevelType enumerates the values for message level type.

const (
	// MessageLevelTypeError ...
	MessageLevelTypeError MessageLevelType = "Error"
	// MessageLevelTypeInformation ...
	MessageLevelTypeInformation MessageLevelType = "Information"
	// MessageLevelTypeWarning ...
	MessageLevelTypeWarning MessageLevelType = "Warning"
)

func PossibleMessageLevelTypeValues

func PossibleMessageLevelTypeValues() []MessageLevelType

PossibleMessageLevelTypeValues returns an array of possible values for the MessageLevelType const type.

type ObjectReferenceDefinition

type ObjectReferenceDefinition struct {
	// Name - Name of the object
	Name *string `json:"name,omitempty"`
	// Namespace - Namespace of the object
	Namespace *string `json:"namespace,omitempty"`
}

ObjectReferenceDefinition object reference to a Kubernetes object on a cluster

type ObjectStatusConditionDefinition

type ObjectStatusConditionDefinition struct {
	// LastTransitionTime - Last time this status condition has changed
	LastTransitionTime *date.Time `json:"lastTransitionTime,omitempty"`
	// Message - A more verbose description of the object status condition
	Message *string `json:"message,omitempty"`
	// Reason - Reason for the specified status condition type status
	Reason *string `json:"reason,omitempty"`
	// Status - Status of the Kubernetes object condition type
	Status *string `json:"status,omitempty"`
	// Type - Object status condition type for this object
	Type *string `json:"type,omitempty"`
}

ObjectStatusConditionDefinition status condition of Kubernetes object

type ObjectStatusDefinition

type ObjectStatusDefinition struct {
	// Name - Name of the applied object
	Name *string `json:"name,omitempty"`
	// Namespace - Namespace of the applied object
	Namespace *string `json:"namespace,omitempty"`
	// Kind - Kind of the applied object
	Kind *string `json:"kind,omitempty"`
	// ComplianceState - Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster. Possible values include: 'FluxComplianceStateCompliant', 'FluxComplianceStateNonCompliant', 'FluxComplianceStatePending', 'FluxComplianceStateSuspended', 'FluxComplianceStateUnknown'
	ComplianceState FluxComplianceState `json:"complianceState,omitempty"`
	// AppliedBy - Object reference to the Kustomization that applied this object
	AppliedBy *ObjectReferenceDefinition `json:"appliedBy,omitempty"`
	// StatusConditions - List of Kubernetes object status conditions present on the cluster
	StatusConditions *[]ObjectStatusConditionDefinition `json:"statusConditions,omitempty"`
	// HelmReleaseProperties - Additional properties that are provided from objects of the HelmRelease kind
	HelmReleaseProperties *HelmReleasePropertiesDefinition `json:"helmReleaseProperties,omitempty"`
}

ObjectStatusDefinition statuses of objects deployed by the user-specified kustomizations from the git repository.

type OperationStatusClient

type OperationStatusClient struct {
	BaseClient
}

OperationStatusClient is the kubernetesConfiguration Client

func NewOperationStatusClient

func NewOperationStatusClient(subscriptionID string) OperationStatusClient

NewOperationStatusClient creates an instance of the OperationStatusClient client.

func NewOperationStatusClientWithBaseURI

func NewOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusClient

NewOperationStatusClientWithBaseURI creates an instance of the OperationStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationStatusClient) Get

func (client OperationStatusClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, operationID string) (result OperationStatusResult, err error)

Get get Async Operation status Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. extensionName - name of the Extension. operationID - operation Id

func (OperationStatusClient) GetPreparer

func (client OperationStatusClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationStatusClient) GetResponder

func (client OperationStatusClient) GetResponder(resp *http.Response) (result OperationStatusResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationStatusClient) GetSender

func (client OperationStatusClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (OperationStatusClient) List

func (client OperationStatusClient) List(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result OperationStatusListPage, err error)

List list Async Operations, currently in progress, in a cluster Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster.

func (OperationStatusClient) ListComplete

func (client OperationStatusClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result OperationStatusListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationStatusClient) ListPreparer

func (client OperationStatusClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationStatusClient) ListResponder

func (client OperationStatusClient) ListResponder(resp *http.Response) (result OperationStatusList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationStatusClient) ListSender

func (client OperationStatusClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OperationStatusList

type OperationStatusList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of async operations in progress, in the cluster.
	Value *[]OperationStatusResult `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of Operation Result objects, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationStatusList the async operations in progress, in the cluster.

func (OperationStatusList) IsEmpty

func (osl OperationStatusList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationStatusList) MarshalJSON

func (osl OperationStatusList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatusList.

type OperationStatusListIterator

type OperationStatusListIterator struct {
	// contains filtered or unexported fields
}

OperationStatusListIterator provides access to a complete listing of OperationStatusResult values.

func NewOperationStatusListIterator

func NewOperationStatusListIterator(page OperationStatusListPage) OperationStatusListIterator

Creates a new instance of the OperationStatusListIterator type.

func (*OperationStatusListIterator) Next

func (iter *OperationStatusListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationStatusListIterator) NextWithContext

func (iter *OperationStatusListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationStatusListIterator) NotDone

func (iter OperationStatusListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationStatusListIterator) Response

Response returns the raw server response from the last page request.

func (OperationStatusListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationStatusListPage

type OperationStatusListPage struct {
	// contains filtered or unexported fields
}

OperationStatusListPage contains a page of OperationStatusResult values.

func NewOperationStatusListPage

func NewOperationStatusListPage(cur OperationStatusList, getNextPage func(context.Context, OperationStatusList) (OperationStatusList, error)) OperationStatusListPage

Creates a new instance of the OperationStatusListPage type.

func (*OperationStatusListPage) Next

func (page *OperationStatusListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationStatusListPage) NextWithContext

func (page *OperationStatusListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationStatusListPage) NotDone

func (page OperationStatusListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationStatusListPage) Response

Response returns the raw server response from the last page request.

func (OperationStatusListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type OperationStatusResult

type OperationStatusResult struct {
	autorest.Response `json:"-"`
	// ID - Fully qualified ID for the async operation.
	ID *string `json:"id,omitempty"`
	// Name - Name of the async operation.
	Name *string `json:"name,omitempty"`
	// Status - Operation status.
	Status *string `json:"status,omitempty"`
	// Properties - Additional information, if available.
	Properties map[string]*string `json:"properties"`
	// Error - READ-ONLY; If present, details of the operation error.
	Error *ErrorDetail `json:"error,omitempty"`
}

OperationStatusResult the current status of an async operation.

func (OperationStatusResult) MarshalJSON

func (osr OperationStatusResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatusResult.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the kubernetesConfiguration Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

List list all the available operations the KubernetesConfiguration resource provider supports.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result ResourceProviderOperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result ResourceProviderOperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OperatorScopeType

type OperatorScopeType string

OperatorScopeType enumerates the values for operator scope type.

const (
	// OperatorScopeTypeCluster ...
	OperatorScopeTypeCluster OperatorScopeType = "cluster"
	// OperatorScopeTypeNamespace ...
	OperatorScopeTypeNamespace OperatorScopeType = "namespace"
)

func PossibleOperatorScopeTypeValues

func PossibleOperatorScopeTypeValues() []OperatorScopeType

PossibleOperatorScopeTypeValues returns an array of possible values for the OperatorScopeType const type.

type OperatorType

type OperatorType string

OperatorType enumerates the values for operator type.

const (
	// OperatorTypeFlux ...
	OperatorTypeFlux OperatorType = "Flux"
)

func PossibleOperatorTypeValues

func PossibleOperatorTypeValues() []OperatorType

PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.

type PatchExtension

type PatchExtension struct {
	// PatchExtensionProperties - Updatable properties of an Extension Patch Request
	*PatchExtensionProperties `json:"properties,omitempty"`
}

PatchExtension the Extension Patch Request object.

func (PatchExtension) MarshalJSON

func (peVar PatchExtension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchExtension.

func (*PatchExtension) UnmarshalJSON

func (peVar *PatchExtension) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PatchExtension struct.

type PatchExtensionProperties

type PatchExtensionProperties struct {
	// AutoUpgradeMinorVersion - Flag to note if this extension participates in auto upgrade of minor version, or not.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// ReleaseTrain - ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.
	ReleaseTrain *string `json:"releaseTrain,omitempty"`
	// Version - Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.
	Version *string `json:"version,omitempty"`
	// ConfigurationSettings - Configuration settings, as name-value pairs for configuring this extension.
	ConfigurationSettings map[string]*string `json:"configurationSettings"`
	// ConfigurationProtectedSettings - Configuration settings that are sensitive, as name-value pairs for configuring this extension.
	ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings"`
}

PatchExtensionProperties updatable properties of an Extension Patch Request

func (PatchExtensionProperties) MarshalJSON

func (peVar PatchExtensionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchExtensionProperties.

type Plan

type Plan struct {
	// Name - A user defined name of the 3rd Party Artifact that is being procured.
	Name *string `json:"name,omitempty"`
	// Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
	Publisher *string `json:"publisher,omitempty"`
	// Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
	Product *string `json:"product,omitempty"`
	// PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Version - The version of the desired product/artifact.
	Version *string `json:"version,omitempty"`
}

Plan plan for the resource.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateCanceled ...
	ProvisioningStateCanceled ProvisioningState = "Canceled"
	// ProvisioningStateCreating ...
	ProvisioningStateCreating ProvisioningState = "Creating"
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUpdating ...
	ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProvisioningStateType

type ProvisioningStateType string

ProvisioningStateType enumerates the values for provisioning state type.

const (
	// ProvisioningStateTypeAccepted ...
	ProvisioningStateTypeAccepted ProvisioningStateType = "Accepted"
	// ProvisioningStateTypeDeleting ...
	ProvisioningStateTypeDeleting ProvisioningStateType = "Deleting"
	// ProvisioningStateTypeFailed ...
	ProvisioningStateTypeFailed ProvisioningStateType = "Failed"
	// ProvisioningStateTypeRunning ...
	ProvisioningStateTypeRunning ProvisioningStateType = "Running"
	// ProvisioningStateTypeSucceeded ...
	ProvisioningStateTypeSucceeded ProvisioningStateType = "Succeeded"
)

func PossibleProvisioningStateTypeValues

func PossibleProvisioningStateTypeValues() []ProvisioningStateType

PossibleProvisioningStateTypeValues returns an array of possible values for the ProvisioningStateType const type.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type RepositoryRefDefinition

type RepositoryRefDefinition struct {
	// Branch - The git repository branch name to checkout.
	Branch *string `json:"branch,omitempty"`
	// Tag - The git repository tag name to checkout. This takes precedence over branch.
	Tag *string `json:"tag,omitempty"`
	// Semver - The semver range used to match against git repository tags. This takes precedence over tag.
	Semver *string `json:"semver,omitempty"`
	// Commit - The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver.
	Commit *string `json:"commit,omitempty"`
}

RepositoryRefDefinition the source reference for the GitRepository object.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// ResourceIdentityTypeSystemAssigned ...
	ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceModelWithAllowedPropertySet

type ResourceModelWithAllowedPropertySet struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ManagedBy - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
	ManagedBy *string `json:"managedBy,omitempty"`
	// Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind *string `json:"kind,omitempty"`
	// Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags     map[string]*string                           `json:"tags"`
	Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
	Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
	Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

ResourceModelWithAllowedPropertySet the resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.

func (ResourceModelWithAllowedPropertySet) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySet.

type ResourceModelWithAllowedPropertySetIdentity

type ResourceModelWithAllowedPropertySetIdentity struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'ResourceIdentityTypeSystemAssigned'
	Type ResourceIdentityType `json:"type,omitempty"`
}

ResourceModelWithAllowedPropertySetIdentity ...

func (ResourceModelWithAllowedPropertySetIdentity) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySetIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySetIdentity.

type ResourceModelWithAllowedPropertySetPlan

type ResourceModelWithAllowedPropertySetPlan struct {
	// Name - A user defined name of the 3rd Party Artifact that is being procured.
	Name *string `json:"name,omitempty"`
	// Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
	Publisher *string `json:"publisher,omitempty"`
	// Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
	Product *string `json:"product,omitempty"`
	// PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Version - The version of the desired product/artifact.
	Version *string `json:"version,omitempty"`
}

ResourceModelWithAllowedPropertySetPlan ...

type ResourceModelWithAllowedPropertySetSku

type ResourceModelWithAllowedPropertySetSku struct {
	// Name - The name of the SKU. Ex - P3. It is typically a letter+number code
	Name *string `json:"name,omitempty"`
	// Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'SkuTierFree', 'SkuTierBasic', 'SkuTierStandard', 'SkuTierPremium'
	Tier SkuTier `json:"tier,omitempty"`
	// Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
	Size *string `json:"size,omitempty"`
	// Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`
	// Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
	Capacity *int32 `json:"capacity,omitempty"`
}

ResourceModelWithAllowedPropertySetSku ...

type ResourceProviderOperation

type ResourceProviderOperation struct {
	// Name - Operation name, in format of {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - Display metadata associated with the operation.
	Display *ResourceProviderOperationDisplay `json:"display,omitempty"`
	// IsDataAction - READ-ONLY; The flag that indicates whether the operation applies to data plane.
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Origin - READ-ONLY; Origin of the operation
	Origin *string `json:"origin,omitempty"`
}

ResourceProviderOperation supported operation of this resource provider.

func (ResourceProviderOperation) MarshalJSON

func (rpo ResourceProviderOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceProviderOperation.

type ResourceProviderOperationDisplay

type ResourceProviderOperationDisplay struct {
	// Provider - Resource provider: Microsoft KubernetesConfiguration.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - Type of operation: get, read, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of this operation.
	Description *string `json:"description,omitempty"`
}

ResourceProviderOperationDisplay display metadata associated with the operation.

type ResourceProviderOperationList

type ResourceProviderOperationList struct {
	autorest.Response `json:"-"`
	// Value - List of operations supported by this resource provider.
	Value *[]ResourceProviderOperation `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to the next set of results, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

ResourceProviderOperationList result of the request to list operations.

func (ResourceProviderOperationList) IsEmpty

func (rpol ResourceProviderOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ResourceProviderOperationList) MarshalJSON

func (rpol ResourceProviderOperationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceProviderOperationList.

type ResourceProviderOperationListIterator

type ResourceProviderOperationListIterator struct {
	// contains filtered or unexported fields
}

ResourceProviderOperationListIterator provides access to a complete listing of ResourceProviderOperation values.

func NewResourceProviderOperationListIterator

func NewResourceProviderOperationListIterator(page ResourceProviderOperationListPage) ResourceProviderOperationListIterator

Creates a new instance of the ResourceProviderOperationListIterator type.

func (*ResourceProviderOperationListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListIterator) NextWithContext

func (iter *ResourceProviderOperationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResourceProviderOperationListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceProviderOperationListIterator) Response

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceProviderOperationListPage

type ResourceProviderOperationListPage struct {
	// contains filtered or unexported fields
}

ResourceProviderOperationListPage contains a page of ResourceProviderOperation values.

func NewResourceProviderOperationListPage

Creates a new instance of the ResourceProviderOperationListPage type.

func (*ResourceProviderOperationListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListPage) NextWithContext

func (page *ResourceProviderOperationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResourceProviderOperationListPage) NotDone

func (page ResourceProviderOperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceProviderOperationListPage) Response

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type Scope

type Scope struct {
	// Cluster - Specifies that the scope of the extension is Cluster
	Cluster *ScopeCluster `json:"cluster,omitempty"`
	// Namespace - Specifies that the scope of the extension is Namespace
	Namespace *ScopeNamespace `json:"namespace,omitempty"`
}

Scope scope of the extension. It can be either Cluster or Namespace; but not both.

type ScopeCluster

type ScopeCluster struct {
	// ReleaseNamespace - Namespace where the extension Release must be placed, for a Cluster scoped extension.  If this namespace does not exist, it will be created
	ReleaseNamespace *string `json:"releaseNamespace,omitempty"`
}

ScopeCluster specifies that the scope of the extension is Cluster

type ScopeNamespace

type ScopeNamespace struct {
	// TargetNamespace - Namespace where the extension will be created for an Namespace scoped extension.  If this namespace does not exist, it will be created
	TargetNamespace *string `json:"targetNamespace,omitempty"`
}

ScopeNamespace specifies that the scope of the extension is Namespace

type ScopeType

type ScopeType string

ScopeType enumerates the values for scope type.

const (
	// ScopeTypeCluster ...
	ScopeTypeCluster ScopeType = "cluster"
	// ScopeTypeNamespace ...
	ScopeTypeNamespace ScopeType = "namespace"
)

func PossibleScopeTypeValues

func PossibleScopeTypeValues() []ScopeType

PossibleScopeTypeValues returns an array of possible values for the ScopeType const type.

type Sku

type Sku struct {
	// Name - The name of the SKU. Ex - P3. It is typically a letter+number code
	Name *string `json:"name,omitempty"`
	// Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'SkuTierFree', 'SkuTierBasic', 'SkuTierStandard', 'SkuTierPremium'
	Tier SkuTier `json:"tier,omitempty"`
	// Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
	Size *string `json:"size,omitempty"`
	// Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`
	// Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
	Capacity *int32 `json:"capacity,omitempty"`
}

Sku the resource model definition representing SKU

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// SkuTierBasic ...
	SkuTierBasic SkuTier = "Basic"
	// SkuTierFree ...
	SkuTierFree SkuTier = "Free"
	// SkuTierPremium ...
	SkuTierPremium SkuTier = "Premium"
	// SkuTierStandard ...
	SkuTierStandard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type SourceControlConfiguration

type SourceControlConfiguration struct {
	autorest.Response `json:"-"`
	// SourceControlConfigurationProperties - Properties to create a Source Control Configuration resource
	*SourceControlConfigurationProperties `json:"properties,omitempty"`
	// SystemData - Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
	SystemData *SystemData `json:"systemData,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

SourceControlConfiguration the SourceControl Configuration object returned in Get & Put response.

func (SourceControlConfiguration) MarshalJSON

func (scc SourceControlConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlConfiguration.

func (*SourceControlConfiguration) UnmarshalJSON

func (scc *SourceControlConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlConfiguration struct.

type SourceControlConfigurationList

type SourceControlConfigurationList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of Source Control Configurations within a Kubernetes cluster.
	Value *[]SourceControlConfiguration `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of configuration objects, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

SourceControlConfigurationList result of the request to list Source Control Configurations. It contains a list of SourceControlConfiguration objects and a URL link to get the next set of results.

func (SourceControlConfigurationList) IsEmpty

func (sccl SourceControlConfigurationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SourceControlConfigurationList) MarshalJSON

func (sccl SourceControlConfigurationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlConfigurationList.

type SourceControlConfigurationListIterator

type SourceControlConfigurationListIterator struct {
	// contains filtered or unexported fields
}

SourceControlConfigurationListIterator provides access to a complete listing of SourceControlConfiguration values.

func NewSourceControlConfigurationListIterator

func NewSourceControlConfigurationListIterator(page SourceControlConfigurationListPage) SourceControlConfigurationListIterator

Creates a new instance of the SourceControlConfigurationListIterator type.

func (*SourceControlConfigurationListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SourceControlConfigurationListIterator) NextWithContext

func (iter *SourceControlConfigurationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SourceControlConfigurationListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SourceControlConfigurationListIterator) Response

Response returns the raw server response from the last page request.

func (SourceControlConfigurationListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SourceControlConfigurationListPage

type SourceControlConfigurationListPage struct {
	// contains filtered or unexported fields
}

SourceControlConfigurationListPage contains a page of SourceControlConfiguration values.

func NewSourceControlConfigurationListPage

Creates a new instance of the SourceControlConfigurationListPage type.

func (*SourceControlConfigurationListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SourceControlConfigurationListPage) NextWithContext

func (page *SourceControlConfigurationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SourceControlConfigurationListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SourceControlConfigurationListPage) Response

Response returns the raw server response from the last page request.

func (SourceControlConfigurationListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SourceControlConfigurationProperties

type SourceControlConfigurationProperties struct {
	// RepositoryURL - Url of the SourceControl Repository.
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// OperatorNamespace - The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
	OperatorNamespace *string `json:"operatorNamespace,omitempty"`
	// OperatorInstanceName - Instance name of the operator - identifying the specific configuration.
	OperatorInstanceName *string `json:"operatorInstanceName,omitempty"`
	// OperatorType - Type of the operator. Possible values include: 'OperatorTypeFlux'
	OperatorType OperatorType `json:"operatorType,omitempty"`
	// OperatorParams - Any Parameters for the Operator instance in string format.
	OperatorParams *string `json:"operatorParams,omitempty"`
	// ConfigurationProtectedSettings - Name-value pairs of protected configuration settings for the configuration
	ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings"`
	// OperatorScope - Scope at which the operator will be installed. Possible values include: 'OperatorScopeTypeCluster', 'OperatorScopeTypeNamespace'
	OperatorScope OperatorScopeType `json:"operatorScope,omitempty"`
	// RepositoryPublicKey - READ-ONLY; Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
	RepositoryPublicKey *string `json:"repositoryPublicKey,omitempty"`
	// SSHKnownHostsContents - Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
	SSHKnownHostsContents *string `json:"sshKnownHostsContents,omitempty"`
	// EnableHelmOperator - Option to enable Helm Operator for this git configuration.
	EnableHelmOperator *bool `json:"enableHelmOperator,omitempty"`
	// HelmOperatorProperties - Properties for Helm operator.
	HelmOperatorProperties *HelmOperatorProperties `json:"helmOperatorProperties,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the resource provider. Possible values include: 'ProvisioningStateTypeAccepted', 'ProvisioningStateTypeDeleting', 'ProvisioningStateTypeRunning', 'ProvisioningStateTypeSucceeded', 'ProvisioningStateTypeFailed'
	ProvisioningState ProvisioningStateType `json:"provisioningState,omitempty"`
	// ComplianceStatus - READ-ONLY; Compliance Status of the Configuration
	ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty"`
}

SourceControlConfigurationProperties properties to create a Source Control Configuration resource

func (SourceControlConfigurationProperties) MarshalJSON

func (scc SourceControlConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlConfigurationProperties.

type SourceControlConfigurationsClient

type SourceControlConfigurationsClient struct {
	BaseClient
}

SourceControlConfigurationsClient is the kubernetesConfiguration Client

func NewSourceControlConfigurationsClient

func NewSourceControlConfigurationsClient(subscriptionID string) SourceControlConfigurationsClient

NewSourceControlConfigurationsClient creates an instance of the SourceControlConfigurationsClient client.

func NewSourceControlConfigurationsClientWithBaseURI

func NewSourceControlConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) SourceControlConfigurationsClient

NewSourceControlConfigurationsClientWithBaseURI creates an instance of the SourceControlConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SourceControlConfigurationsClient) CreateOrUpdate

func (client SourceControlConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string, sourceControlConfiguration SourceControlConfiguration) (result SourceControlConfiguration, err error)

CreateOrUpdate create a new Kubernetes Source Control Configuration. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. sourceControlConfigurationName - name of the Source Control Configuration. sourceControlConfiguration - properties necessary to Create KubernetesConfiguration.

func (SourceControlConfigurationsClient) CreateOrUpdatePreparer

func (client SourceControlConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string, sourceControlConfiguration SourceControlConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SourceControlConfigurationsClient) CreateOrUpdateResponder

func (client SourceControlConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result SourceControlConfiguration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) CreateOrUpdateSender

func (client SourceControlConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SourceControlConfigurationsClient) Delete

func (client SourceControlConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (result SourceControlConfigurationsDeleteFuture, err error)

Delete this will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. sourceControlConfigurationName - name of the Source Control Configuration.

func (SourceControlConfigurationsClient) DeletePreparer

func (client SourceControlConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SourceControlConfigurationsClient) DeleteResponder

func (client SourceControlConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SourceControlConfigurationsClient) Get

func (client SourceControlConfigurationsClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (result SourceControlConfiguration, err error)

Get gets details of the Source Control Configuration. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster. sourceControlConfigurationName - name of the Source Control Configuration.

func (SourceControlConfigurationsClient) GetPreparer

func (client SourceControlConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, sourceControlConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SourceControlConfigurationsClient) GetResponder

func (client SourceControlConfigurationsClient) GetResponder(resp *http.Response) (result SourceControlConfiguration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) GetSender

func (client SourceControlConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SourceControlConfigurationsClient) List

func (client SourceControlConfigurationsClient) List(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result SourceControlConfigurationListPage, err error)

List list all Source Control Configurations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. clusterRp - the Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. clusterResourceName - the Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. clusterName - the name of the kubernetes cluster.

func (SourceControlConfigurationsClient) ListComplete

func (client SourceControlConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (result SourceControlConfigurationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SourceControlConfigurationsClient) ListPreparer

func (client SourceControlConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SourceControlConfigurationsClient) ListResponder

func (client SourceControlConfigurationsClient) ListResponder(resp *http.Response) (result SourceControlConfigurationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SourceControlConfigurationsClient) ListSender

func (client SourceControlConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SourceControlConfigurationsDeleteFuture

type SourceControlConfigurationsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SourceControlConfigurationsClient) (autorest.Response, error)
}

SourceControlConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SourceControlConfigurationsDeleteFuture) UnmarshalJSON

func (future *SourceControlConfigurationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SourceKindType

type SourceKindType string

SourceKindType enumerates the values for source kind type.

const (
	// SourceKindTypeBucket ...
	SourceKindTypeBucket SourceKindType = "Bucket"
	// SourceKindTypeGitRepository ...
	SourceKindTypeGitRepository SourceKindType = "GitRepository"
)

func PossibleSourceKindTypeValues

func PossibleSourceKindTypeValues() []SourceKindType

PossibleSourceKindTypeValues returns an array of possible values for the SourceKindType const type.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

Path Synopsis
Deprecated: Please note, this package has been deprecated.
Deprecated: Please note, this package has been deprecated.

Jump to

Keyboard shortcuts

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