kubernetesconfiguration

package
v60.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package kubernetesconfiguration implements the Azure ARM Kubernetesconfiguration service API version 2020-07-01-preview.

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 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 ComplianceStateType

type ComplianceStateType string

ComplianceStateType enumerates the values for compliance state type.

const (
	// Compliant ...
	Compliant ComplianceStateType = "Compliant"
	// Failed ...
	Failed ComplianceStateType = "Failed"
	// Installed ...
	Installed ComplianceStateType = "Installed"
	// Noncompliant ...
	Noncompliant ComplianceStateType = "Noncompliant"
	// Pending ...
	Pending 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: 'Pending', 'Compliant', 'Noncompliant', 'Installed', 'Failed'
	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 ConfigurationIdentity

type ConfigurationIdentity struct {
	// PrincipalID - READ-ONLY; The principal id of the system assigned identity which is used by the configuration.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant id of the system assigned identity which is used by the configuration.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The type of identity used for the configuration. Type 'SystemAssigned' will use an implicitly created identity. Type 'None' will not use Managed Identity for the configuration. Possible values include: 'SystemAssigned', 'None'
	Type ResourceIdentityType `json:"type,omitempty"`
}

ConfigurationIdentity identity for the managed cluster.

func (ConfigurationIdentity) MarshalJSON

func (ci ConfigurationIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationIdentity.

type ErrorDefinition

type ErrorDefinition struct {
	// Code - Service specific error code which serves as the substatus for the HTTP error code.
	Code *string `json:"code,omitempty"`
	// Message - Description of the error.
	Message *string `json:"message,omitempty"`
}

ErrorDefinition error definition.

type ErrorResponse

type ErrorResponse struct {
	// Error - Error definition.
	Error *ErrorDefinition `json:"error,omitempty"`
}

ErrorResponse error response.

type ExtensionInstance

type ExtensionInstance struct {
	autorest.Response `json:"-"`
	// ExtensionInstanceProperties - Properties of an Extension Instance resource
	*ExtensionInstanceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,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"`
}

ExtensionInstance the Extension Instance object.

func (ExtensionInstance) MarshalJSON

func (ei ExtensionInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionInstance.

func (*ExtensionInstance) UnmarshalJSON

func (ei *ExtensionInstance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExtensionInstance struct.

type ExtensionInstanceProperties

type ExtensionInstanceProperties 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 instance participates in auto upgrade of minor version, or not.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// ReleaseTrain - ReleaseTrain this extension instance 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 instance, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.
	Version *string `json:"version,omitempty"`
	// Scope - Scope at which the extension instance is installed.
	Scope *Scope `json:"scope,omitempty"`
	// ConfigurationSettings - Configuration settings, as name-value pairs for configuring this instance of the extension.
	ConfigurationSettings map[string]*string `json:"configurationSettings"`
	// ConfigurationProtectedSettings - Configuration settings that are sensitive, as name-value pairs for configuring this instance of the extension.
	ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings"`
	// InstallState - Status of installation of this instance of the extension. Possible values include: 'InstallStateTypePending', 'InstallStateTypeInstalled', 'InstallStateTypeFailed'
	InstallState InstallStateType `json:"installState,omitempty"`
	// Statuses - Status from this instance of the extension.
	Statuses *[]ExtensionStatus `json:"statuses,omitempty"`
	// CreationTime - READ-ONLY; DateLiteral (per ISO8601) noting the time the resource was created by the client (user).
	CreationTime *string `json:"creationTime,omitempty"`
	// LastModifiedTime - READ-ONLY; DateLiteral (per ISO8601) noting the time the resource was modified by the client (user).
	LastModifiedTime *string `json:"lastModifiedTime,omitempty"`
	// LastStatusTime - READ-ONLY; DateLiteral (per ISO8601) noting the time of last status from the agent.
	LastStatusTime *string `json:"lastStatusTime,omitempty"`
	// ErrorInfo - READ-ONLY; Error information from the Agent - e.g. errors during installation.
	ErrorInfo *ErrorDefinition `json:"errorInfo,omitempty"`
	// Identity - The identity of the configuration.
	Identity *ConfigurationIdentity `json:"identity,omitempty"`
}

ExtensionInstanceProperties properties of an Extension Instance resource

func (ExtensionInstanceProperties) MarshalJSON

func (ei ExtensionInstanceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionInstanceProperties.

type ExtensionInstanceUpdate

type ExtensionInstanceUpdate struct {
	// ExtensionInstanceUpdateProperties - Properties to update an Extension Instance resource
	*ExtensionInstanceUpdateProperties `json:"properties,omitempty"`
}

ExtensionInstanceUpdate update Extension Instance request object.

func (ExtensionInstanceUpdate) MarshalJSON

func (eiu ExtensionInstanceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionInstanceUpdate.

func (*ExtensionInstanceUpdate) UnmarshalJSON

func (eiu *ExtensionInstanceUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExtensionInstanceUpdate struct.

type ExtensionInstanceUpdateProperties

type ExtensionInstanceUpdateProperties struct {
	// AutoUpgradeMinorVersion - Flag to note if this instance participates in Extension Lifecycle Management or not.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// ReleaseTrain - ReleaseTrain this extension instance participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.
	ReleaseTrain *string `json:"releaseTrain,omitempty"`
	// Version - Version number of extension, to 'pin' to a specific version.  autoUpgradeMinorVersion must be 'false'.
	Version *string `json:"version,omitempty"`
}

ExtensionInstanceUpdateProperties properties to update an Extension Instance resource

type ExtensionInstancesList

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

ExtensionInstancesList result of the request to list Extension Instances. It contains a list of ExtensionInstance objects and a URL link to get the next set of results.

func (ExtensionInstancesList) IsEmpty

func (eil ExtensionInstancesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ExtensionInstancesList) MarshalJSON

func (eil ExtensionInstancesList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExtensionInstancesList.

type ExtensionInstancesListIterator

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

ExtensionInstancesListIterator provides access to a complete listing of ExtensionInstance values.

func NewExtensionInstancesListIterator

func NewExtensionInstancesListIterator(page ExtensionInstancesListPage) ExtensionInstancesListIterator

Creates a new instance of the ExtensionInstancesListIterator type.

func (*ExtensionInstancesListIterator) 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 (*ExtensionInstancesListIterator) NextWithContext

func (iter *ExtensionInstancesListIterator) 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 (ExtensionInstancesListIterator) NotDone

func (iter ExtensionInstancesListIterator) NotDone() bool

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

func (ExtensionInstancesListIterator) Response

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

func (ExtensionInstancesListIterator) Value

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

type ExtensionInstancesListPage

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

ExtensionInstancesListPage contains a page of ExtensionInstance values.

func NewExtensionInstancesListPage

Creates a new instance of the ExtensionInstancesListPage type.

func (*ExtensionInstancesListPage) Next

func (page *ExtensionInstancesListPage) 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 (*ExtensionInstancesListPage) NextWithContext

func (page *ExtensionInstancesListPage) 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 (ExtensionInstancesListPage) NotDone

func (page ExtensionInstancesListPage) NotDone() bool

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

func (ExtensionInstancesListPage) Response

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

func (ExtensionInstancesListPage) Values

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

type ExtensionStatus

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

ExtensionStatus status from this instance of 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, extensionInstanceName string, extensionInstance ExtensionInstance) (result ExtensionInstance, err error)

Create create a new Kubernetes Cluster Extension Instance. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster. extensionInstanceName - name of an instance of the Extension. extensionInstance - properties necessary to Create an Extension Instance.

func (ExtensionsClient) CreatePreparer

func (client ExtensionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionInstanceName string, extensionInstance ExtensionInstance) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ExtensionsClient) CreateResponder

func (client ExtensionsClient) CreateResponder(resp *http.Response) (result ExtensionInstance, 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) (*http.Response, 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, extensionInstanceName string) (result autorest.Response, err error)

Delete delete a Kubernetes Cluster Extension Instance. This will cause the Agent to Uninstall the extension instance from the cluster. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster. extensionInstanceName - name of an instance of the Extension.

func (ExtensionsClient) DeletePreparer

func (client ExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionInstanceName string) (*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) (*http.Response, 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, extensionInstanceName string) (result ExtensionInstance, err error)

Get gets details of the Kubernetes Cluster Extension Instance. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster. extensionInstanceName - name of an instance of the Extension.

func (ExtensionsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ExtensionsClient) GetResponder

func (client ExtensionsClient) GetResponder(resp *http.Response) (result ExtensionInstance, 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 ExtensionInstancesListPage, err error)

List list all Source Control Configurations. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). 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 ExtensionInstancesListIterator, 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 ExtensionInstancesList, 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, extensionInstanceName string, extensionInstance ExtensionInstanceUpdate) (result ExtensionInstance, err error)

Update update an existing Kubernetes Cluster Extension Instance. Parameters: resourceGroupName - the name of the resource group. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). clusterName - the name of the kubernetes cluster. extensionInstanceName - name of an instance of the Extension. extensionInstance - properties to Update in the Extension Instance.

func (ExtensionsClient) UpdatePreparer

func (client ExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, clusterResourceName string, clusterName string, extensionInstanceName string, extensionInstance ExtensionInstanceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ExtensionsClient) UpdateResponder

func (client ExtensionsClient) UpdateResponder(resp *http.Response) (result ExtensionInstance, 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) (*http.Response, error)

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

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 InstallStateType

type InstallStateType string

InstallStateType enumerates the values for install state type.

const (
	// InstallStateTypeFailed ...
	InstallStateTypeFailed InstallStateType = "Failed"
	// InstallStateTypeInstalled ...
	InstallStateTypeInstalled InstallStateType = "Installed"
	// InstallStateTypePending ...
	InstallStateTypePending InstallStateType = "Pending"
)

func PossibleInstallStateTypeValues

func PossibleInstallStateTypeValues() []InstallStateType

PossibleInstallStateTypeValues returns an array of possible values for the InstallStateType const type.

type LevelType

type LevelType string

LevelType enumerates the values for level type.

const (
	// Error ...
	Error LevelType = "Error"
	// Information ...
	Information LevelType = "Information"
	// Warning ...
	Warning 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 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 (
	// Cluster ...
	Cluster OperatorScopeType = "cluster"
	// Namespace ...
	Namespace 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 (
	// Flux ...
	Flux OperatorType = "Flux"
)

func PossibleOperatorTypeValues

func PossibleOperatorTypeValues() []OperatorType

PossibleOperatorTypeValues returns an array of possible values for the OperatorType 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; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,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"`
}

ProxyResource ARM proxy resource.

func (ProxyResource) MarshalJSON

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

MarshalJSON is the custom marshaler for ProxyResource.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,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"`
}

Resource the Resource model definition.

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 (
	// None ...
	None ResourceIdentityType = "None"
	// SystemAssigned ...
	SystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

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

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"`
}

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 Result

type Result struct {
	// SampleProperty - Sample property of type string
	SampleProperty *string `json:"sampleProperty,omitempty"`
}

Result sample result definition

type Scope

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

Scope scope of the extensionInstance. 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 extensionInstance.  If this namespace does not exist, it will be created
	ReleaseNamespace *string `json:"releaseNamespace,omitempty"`
}

ScopeCluster specifies that the scope of the extensionInstance is Cluster

type ScopeNamespace

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

ScopeNamespace specifies that the scope of the extensionInstance is Namespace

type SourceControlConfiguration

type SourceControlConfiguration struct {
	autorest.Response `json:"-"`
	// SourceControlConfigurationProperties - Properties to create a Source Control Configuration resource
	*SourceControlConfigurationProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,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"`
}

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: 'Flux'
	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: 'Cluster', 'Namespace'
	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. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). 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. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). 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. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). 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. clusterRp - the Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). clusterResourceName - the Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). 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 SystemData

type SystemData struct {
	// CreatedBy - READ-ONLY; A string identifier for the identity that created the resource
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - READ-ONLY; The type of identity that created the resource: user, application, managedIdentity, key
	CreatedByType *string `json:"createdByType,omitempty"`
	// CreatedAt - READ-ONLY; The timestamp of resource creation (UTC)
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - READ-ONLY; A string identifier for the identity that last modified the resource
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - READ-ONLY; The type of identity that last modified the resource: user, application, managedIdentity, key
	LastModifiedByType *string `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - READ-ONLY; The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,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

func (SystemData) MarshalJSON

func (sd SystemData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SystemData.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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