Documentation ¶
Overview ¶
Package kubernetesconfiguration implements the Azure ARM Kubernetesconfiguration service API version .
KubernetesConfiguration Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AKSIdentityType
- type AzureEntityResource
- type BaseClient
- type BucketDefinition
- type BucketPatchDefinition
- type ComplianceStateType
- type ComplianceStatus
- type CreatedByType
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type Extension
- type ExtensionProperties
- type ExtensionPropertiesAksAssignedIdentity
- type ExtensionStatus
- type ExtensionsClient
- func (client ExtensionsClient) Create(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result ExtensionsCreateFuture, err error)
- func (client ExtensionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client ExtensionsClient) CreateResponder(resp *http.Response) (result Extension, err error)
- func (client ExtensionsClient) CreateSender(req *http.Request) (future ExtensionsCreateFuture, err error)
- func (client ExtensionsClient) Delete(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result ExtensionsDeleteFuture, err error)
- func (client ExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client ExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ExtensionsClient) DeleteSender(req *http.Request) (future ExtensionsDeleteFuture, err error)
- func (client ExtensionsClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result Extension, err error)
- func (client ExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client ExtensionsClient) GetResponder(resp *http.Response) (result Extension, err error)
- func (client ExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ExtensionsClient) List(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result ExtensionsListPage, err error)
- func (client ExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result ExtensionsListIterator, err error)
- func (client ExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client ExtensionsClient) ListResponder(resp *http.Response) (result ExtensionsList, err error)
- func (client ExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ExtensionsClient) Update(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result ExtensionsUpdateFuture, err error)
- func (client ExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client ExtensionsClient) UpdateResponder(resp *http.Response) (result Extension, err error)
- func (client ExtensionsClient) UpdateSender(req *http.Request) (future ExtensionsUpdateFuture, err error)
- type ExtensionsCreateFuture
- type ExtensionsDeleteFuture
- type ExtensionsList
- type ExtensionsListIterator
- type ExtensionsListPage
- type ExtensionsUpdateFuture
- type FluxComplianceState
- type FluxConfigOperationStatusClient
- func (client FluxConfigOperationStatusClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result OperationStatusResult, err error)
- func (client FluxConfigOperationStatusClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client FluxConfigOperationStatusClient) GetResponder(resp *http.Response) (result OperationStatusResult, err error)
- func (client FluxConfigOperationStatusClient) GetSender(req *http.Request) (*http.Response, error)
- type FluxConfiguration
- type FluxConfigurationPatch
- type FluxConfigurationPatchProperties
- type FluxConfigurationProperties
- type FluxConfigurationsClient
- func (client FluxConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result FluxConfigurationsCreateOrUpdateFuture, err error)
- func (client FluxConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client FluxConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result FluxConfiguration, err error)
- func (client FluxConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future FluxConfigurationsCreateOrUpdateFuture, err error)
- func (client FluxConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result FluxConfigurationsDeleteFuture, err error)
- func (client FluxConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client FluxConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FluxConfigurationsClient) DeleteSender(req *http.Request) (future FluxConfigurationsDeleteFuture, err error)
- func (client FluxConfigurationsClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result FluxConfiguration, err error)
- func (client FluxConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client FluxConfigurationsClient) GetResponder(resp *http.Response) (result FluxConfiguration, err error)
- func (client FluxConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FluxConfigurationsClient) List(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result FluxConfigurationsListPage, err error)
- func (client FluxConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result FluxConfigurationsListIterator, err error)
- func (client FluxConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client FluxConfigurationsClient) ListResponder(resp *http.Response) (result FluxConfigurationsList, err error)
- func (client FluxConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client FluxConfigurationsClient) Update(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result FluxConfigurationsUpdateFuture, err error)
- func (client FluxConfigurationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client FluxConfigurationsClient) UpdateResponder(resp *http.Response) (result FluxConfiguration, err error)
- func (client FluxConfigurationsClient) UpdateSender(req *http.Request) (future FluxConfigurationsUpdateFuture, err error)
- type FluxConfigurationsCreateOrUpdateFuture
- type FluxConfigurationsDeleteFuture
- type FluxConfigurationsList
- type FluxConfigurationsListIterator
- func (iter *FluxConfigurationsListIterator) Next() error
- func (iter *FluxConfigurationsListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter FluxConfigurationsListIterator) NotDone() bool
- func (iter FluxConfigurationsListIterator) Response() FluxConfigurationsList
- func (iter FluxConfigurationsListIterator) Value() FluxConfiguration
- type FluxConfigurationsListPage
- func (page *FluxConfigurationsListPage) Next() error
- func (page *FluxConfigurationsListPage) NextWithContext(ctx context.Context) (err error)
- func (page FluxConfigurationsListPage) NotDone() bool
- func (page FluxConfigurationsListPage) Response() FluxConfigurationsList
- func (page FluxConfigurationsListPage) Values() []FluxConfiguration
- type FluxConfigurationsUpdateFuture
- type GitRepositoryDefinition
- type GitRepositoryPatchDefinition
- type HelmOperatorProperties
- type HelmReleasePropertiesDefinition
- type Identity
- type KustomizationDefinition
- type KustomizationPatchDefinition
- type KustomizationValidationType
- type LevelType
- type MessageLevelType
- type ObjectReferenceDefinition
- type ObjectStatusConditionDefinition
- type ObjectStatusDefinition
- type OperationStatusClient
- func (client OperationStatusClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result OperationStatusResult, err error)
- func (client OperationStatusClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client OperationStatusClient) GetResponder(resp *http.Response) (result OperationStatusResult, err error)
- func (client OperationStatusClient) GetSender(req *http.Request) (*http.Response, error)
- func (client OperationStatusClient) List(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result OperationStatusListPage, err error)
- func (client OperationStatusClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result OperationStatusListIterator, err error)
- func (client OperationStatusClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client OperationStatusClient) ListResponder(resp *http.Response) (result OperationStatusList, err error)
- func (client OperationStatusClient) ListSender(req *http.Request) (*http.Response, error)
- type OperationStatusList
- type OperationStatusListIterator
- func (iter *OperationStatusListIterator) Next() error
- func (iter *OperationStatusListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationStatusListIterator) NotDone() bool
- func (iter OperationStatusListIterator) Response() OperationStatusList
- func (iter OperationStatusListIterator) Value() OperationStatusResult
- type OperationStatusListPage
- func (page *OperationStatusListPage) Next() error
- func (page *OperationStatusListPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationStatusListPage) NotDone() bool
- func (page OperationStatusListPage) Response() OperationStatusList
- func (page OperationStatusListPage) Values() []OperationStatusResult
- type OperationStatusResult
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result ResourceProviderOperationListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result ResourceProviderOperationListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result ResourceProviderOperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OperatorScopeType
- type OperatorType
- type PatchExtension
- type PatchExtensionProperties
- type Plan
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionListResult
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointConnectionsClient
- func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, ...) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, scopeName string, ...) (result PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, scopeName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)
- type PrivateEndpointConnectionsCreateOrUpdateFuture
- type PrivateEndpointConnectionsDeleteFuture
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkResource
- type PrivateLinkResourceListResult
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesClient
- func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, scopeName string, ...) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, ...) (*http.Request, error)
- func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkResourcesClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkResourceListResult, err error)
- func (client PrivateLinkResourcesClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
- func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
- func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)
- type PrivateLinkScope
- type PrivateLinkScopeListResult
- type PrivateLinkScopeListResultIterator
- func (iter *PrivateLinkScopeListResultIterator) Next() error
- func (iter *PrivateLinkScopeListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateLinkScopeListResultIterator) NotDone() bool
- func (iter PrivateLinkScopeListResultIterator) Response() PrivateLinkScopeListResult
- func (iter PrivateLinkScopeListResultIterator) Value() PrivateLinkScope
- type PrivateLinkScopeListResultPage
- func (page *PrivateLinkScopeListResultPage) Next() error
- func (page *PrivateLinkScopeListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PrivateLinkScopeListResultPage) NotDone() bool
- func (page PrivateLinkScopeListResultPage) Response() PrivateLinkScopeListResult
- func (page PrivateLinkScopeListResultPage) Values() []PrivateLinkScope
- type PrivateLinkScopeProperties
- type PrivateLinkScopesClient
- func (client PrivateLinkScopesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, ...) (result PrivateLinkScope, err error)
- func (client PrivateLinkScopesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, ...) (*http.Request, error)
- func (client PrivateLinkScopesClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateLinkScope, err error)
- func (client PrivateLinkScopesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkScopesClient) Delete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkScopesDeleteFuture, err error)
- func (client PrivateLinkScopesClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
- func (client PrivateLinkScopesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateLinkScopesClient) DeleteSender(req *http.Request) (future PrivateLinkScopesDeleteFuture, err error)
- func (client PrivateLinkScopesClient) Get(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkScope, err error)
- func (client PrivateLinkScopesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
- func (client PrivateLinkScopesClient) GetResponder(resp *http.Response) (result PrivateLinkScope, err error)
- func (client PrivateLinkScopesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkScopesClient) List(ctx context.Context) (result PrivateLinkScopeListResultPage, err error)
- func (client PrivateLinkScopesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PrivateLinkScopeListResultPage, err error)
- func (client PrivateLinkScopesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PrivateLinkScopeListResultIterator, err error)
- func (client PrivateLinkScopesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client PrivateLinkScopesClient) ListByResourceGroupResponder(resp *http.Response) (result PrivateLinkScopeListResult, err error)
- func (client PrivateLinkScopesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkScopesClient) ListComplete(ctx context.Context) (result PrivateLinkScopeListResultIterator, err error)
- func (client PrivateLinkScopesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client PrivateLinkScopesClient) ListResponder(resp *http.Response) (result PrivateLinkScopeListResult, err error)
- func (client PrivateLinkScopesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkScopesClient) UpdateTags(ctx context.Context, resourceGroupName string, scopeName string, ...) (result PrivateLinkScope, err error)
- func (client PrivateLinkScopesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, scopeName string, ...) (*http.Request, error)
- func (client PrivateLinkScopesClient) UpdateTagsResponder(resp *http.Response) (result PrivateLinkScope, err error)
- func (client PrivateLinkScopesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
- type PrivateLinkScopesDeleteFuture
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type ProvisioningStateType
- type ProxyResource
- type PublicNetworkAccessType
- type RepositoryRefDefinition
- type Resource
- type ResourceIdentityType
- type ResourceModelWithAllowedPropertySet
- type ResourceModelWithAllowedPropertySetIdentity
- type ResourceModelWithAllowedPropertySetPlan
- type ResourceModelWithAllowedPropertySetSku
- type ResourceProviderOperation
- type ResourceProviderOperationDisplay
- type ResourceProviderOperationList
- type ResourceProviderOperationListIterator
- func (iter *ResourceProviderOperationListIterator) Next() error
- func (iter *ResourceProviderOperationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ResourceProviderOperationListIterator) NotDone() bool
- func (iter ResourceProviderOperationListIterator) Response() ResourceProviderOperationList
- func (iter ResourceProviderOperationListIterator) Value() ResourceProviderOperation
- type ResourceProviderOperationListPage
- func (page *ResourceProviderOperationListPage) Next() error
- func (page *ResourceProviderOperationListPage) NextWithContext(ctx context.Context) (err error)
- func (page ResourceProviderOperationListPage) NotDone() bool
- func (page ResourceProviderOperationListPage) Response() ResourceProviderOperationList
- func (page ResourceProviderOperationListPage) Values() []ResourceProviderOperation
- type Scope
- type ScopeCluster
- type ScopeNamespace
- type ScopeType
- type Sku
- type SkuTier
- type SourceControlConfiguration
- type SourceControlConfigurationList
- type SourceControlConfigurationListIterator
- func (iter *SourceControlConfigurationListIterator) Next() error
- func (iter *SourceControlConfigurationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SourceControlConfigurationListIterator) NotDone() bool
- func (iter SourceControlConfigurationListIterator) Response() SourceControlConfigurationList
- func (iter SourceControlConfigurationListIterator) Value() SourceControlConfiguration
- type SourceControlConfigurationListPage
- func (page *SourceControlConfigurationListPage) Next() error
- func (page *SourceControlConfigurationListPage) NextWithContext(ctx context.Context) (err error)
- func (page SourceControlConfigurationListPage) NotDone() bool
- func (page SourceControlConfigurationListPage) Response() SourceControlConfigurationList
- func (page SourceControlConfigurationListPage) Values() []SourceControlConfiguration
- type SourceControlConfigurationProperties
- type SourceControlConfigurationsClient
- func (client SourceControlConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result SourceControlConfiguration, err error)
- func (client SourceControlConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client SourceControlConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result SourceControlConfiguration, err error)
- func (client SourceControlConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SourceControlConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result SourceControlConfigurationsDeleteFuture, err error)
- func (client SourceControlConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client SourceControlConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SourceControlConfigurationsClient) DeleteSender(req *http.Request) (future SourceControlConfigurationsDeleteFuture, err error)
- func (client SourceControlConfigurationsClient) Get(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result SourceControlConfiguration, err error)
- func (client SourceControlConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client SourceControlConfigurationsClient) GetResponder(resp *http.Response) (result SourceControlConfiguration, err error)
- func (client SourceControlConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SourceControlConfigurationsClient) List(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result SourceControlConfigurationListPage, err error)
- func (client SourceControlConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, clusterRp string, ...) (result SourceControlConfigurationListIterator, err error)
- func (client SourceControlConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterRp string, ...) (*http.Request, error)
- func (client SourceControlConfigurationsClient) ListResponder(resp *http.Response) (result SourceControlConfigurationList, err error)
- func (client SourceControlConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)
- type SourceControlConfigurationsDeleteFuture
- type SourceKindType
- type SystemData
- type TagsResource
- type TrackedResource
Constants ¶
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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,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 ¶
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"` // Plan - The plan information. Plan *Plan `json:"plan,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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
Extension the Extension object.
func (Extension) MarshalJSON ¶
MarshalJSON is the custom marshaler for Extension.
func (*Extension) UnmarshalJSON ¶
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 ¶
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 ¶
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.
type FluxConfiguration ¶
type FluxConfiguration struct { autorest.Response `json:"-"` // FluxConfigurationProperties - Properties to create a Flux Configuration resource *FluxConfigurationProperties `json:"properties,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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,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 ¶
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 ¶
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 ¶
func (iter *FluxConfigurationsListIterator) 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 (*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 ¶
func (iter FluxConfigurationsListIterator) Response() FluxConfigurationsList
Response returns the raw server response from the last page request.
func (FluxConfigurationsListIterator) Value ¶
func (iter FluxConfigurationsListIterator) Value() FluxConfiguration
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 ¶
func NewFluxConfigurationsListPage(cur FluxConfigurationsList, getNextPage func(context.Context, FluxConfigurationsList) (FluxConfigurationsList, error)) FluxConfigurationsListPage
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 ¶
func (page FluxConfigurationsListPage) Response() FluxConfigurationsList
Response returns the raw server response from the last page request.
func (FluxConfigurationsListPage) Values ¶
func (page FluxConfigurationsListPage) Values() []FluxConfiguration
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 ¶
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.
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 ¶
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 ¶
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 ¶
func (iter OperationStatusListIterator) Response() OperationStatusList
Response returns the raw server response from the last page request.
func (OperationStatusListIterator) Value ¶
func (iter OperationStatusListIterator) Value() OperationStatusResult
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 ¶
func (page OperationStatusListPage) Response() OperationStatusList
Response returns the raw server response from the last page request.
func (OperationStatusListPage) Values ¶
func (page OperationStatusListPage) Values() []OperationStatusResult
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 ¶
func (client OperationsClient) List(ctx context.Context) (result ResourceProviderOperationListPage, err error)
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 ¶
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 ¶
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 PrivateEndpoint ¶
type PrivateEndpoint struct { // ID - READ-ONLY; The ARM identifier for Private Endpoint ID *string `json:"id,omitempty"` }
PrivateEndpoint the Private Endpoint resource.
func (PrivateEndpoint) MarshalJSON ¶
func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpoint.
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { autorest.Response `json:"-"` // PrivateEndpointConnectionProperties - Resource properties. *PrivateEndpointConnectionProperties `json:"properties,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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
PrivateEndpointConnection the Private Endpoint Connection resource.
func (PrivateEndpointConnection) MarshalJSON ¶
func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnection.
func (*PrivateEndpointConnection) UnmarshalJSON ¶
func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
type PrivateEndpointConnectionListResult ¶
type PrivateEndpointConnectionListResult struct { autorest.Response `json:"-"` // Value - Array of private endpoint connections Value *[]PrivateEndpointConnection `json:"value,omitempty"` }
PrivateEndpointConnectionListResult list of private endpoint connection associated with the specified storage account
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { // PrivateEndpoint - The resource of private end point. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed' ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.
const ( // PrivateEndpointConnectionProvisioningStateCreating ... PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" // PrivateEndpointConnectionProvisioningStateDeleting ... PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" // PrivateEndpointConnectionProvisioningStateFailed ... PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" // PrivateEndpointConnectionProvisioningStateSucceeded ... PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
func PossiblePrivateEndpointConnectionProvisioningStateValues ¶
func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState
PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.
type PrivateEndpointConnectionsClient ¶
type PrivateEndpointConnectionsClient struct {
BaseClient
}
PrivateEndpointConnectionsClient is the kubernetesConfiguration Client
func NewPrivateEndpointConnectionsClient ¶
func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
func NewPrivateEndpointConnectionsClientWithBaseURI ¶
func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient 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 (PrivateEndpointConnectionsClient) CreateOrUpdate ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate approve or reject a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource properties - the private endpoint connection properties.
func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) CreateOrUpdateSender ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Delete ¶
func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)
Delete deletes a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource
func (PrivateEndpointConnectionsClient) DeletePreparer ¶
func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrivateEndpointConnectionsClient) DeleteResponder ¶
func (client PrivateEndpointConnectionsClient) 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 (PrivateEndpointConnectionsClient) DeleteSender ¶
func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Get ¶
func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)
Get gets a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource
func (PrivateEndpointConnectionsClient) GetPreparer ¶
func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateEndpointConnectionsClient) GetResponder ¶
func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) ListByPrivateLinkScope ¶
func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateEndpointConnectionListResult, err error)
ListByPrivateLinkScope gets all private endpoint connections on a private link scope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource.
func (PrivateEndpointConnectionsClient) ListByPrivateLinkScopePreparer ¶
func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
ListByPrivateLinkScopePreparer prepares the ListByPrivateLinkScope request.
func (PrivateEndpointConnectionsClient) ListByPrivateLinkScopeResponder ¶
func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
ListByPrivateLinkScopeResponder handles the response to the ListByPrivateLinkScope request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) ListByPrivateLinkScopeSender ¶
func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)
ListByPrivateLinkScopeSender sends the ListByPrivateLinkScope request. The method will close the http.Response Body if it receives an error.
type PrivateEndpointConnectionsCreateOrUpdateFuture ¶
type PrivateEndpointConnectionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error) }
PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type PrivateEndpointConnectionsDeleteFuture ¶
type PrivateEndpointConnectionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateEndpointConnectionsClient) (autorest.Response, error) }
PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON ¶
func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.
const ( // PrivateEndpointServiceConnectionStatusApproved ... PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" // PrivateEndpointServiceConnectionStatusPending ... PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" // PrivateEndpointServiceConnectionStatusRejected ... PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func PossiblePrivateEndpointServiceConnectionStatusValues ¶
func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus
PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.
type PrivateLinkResource ¶
type PrivateLinkResource struct { autorest.Response `json:"-"` // PrivateLinkResourceProperties - Resource properties. *PrivateLinkResourceProperties `json:"properties,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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
PrivateLinkResource a private link resource
func (PrivateLinkResource) MarshalJSON ¶
func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResource.
func (*PrivateLinkResource) UnmarshalJSON ¶
func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.
type PrivateLinkResourceListResult ¶
type PrivateLinkResourceListResult struct { autorest.Response `json:"-"` // Value - Array of private link resources Value *[]PrivateLinkResource `json:"value,omitempty"` }
PrivateLinkResourceListResult a list of private link resources
type PrivateLinkResourceProperties ¶
type PrivateLinkResourceProperties struct { // GroupID - READ-ONLY; The private link resource group id. GroupID *string `json:"groupId,omitempty"` // RequiredMembers - READ-ONLY; The private link resource required member names. RequiredMembers *[]string `json:"requiredMembers,omitempty"` // RequiredZoneNames - The private link resource Private link DNS zone name. RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"` }
PrivateLinkResourceProperties properties of a private link resource.
func (PrivateLinkResourceProperties) MarshalJSON ¶
func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct {
BaseClient
}
PrivateLinkResourcesClient is the kubernetesConfiguration Client
func NewPrivateLinkResourcesClient ¶
func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient 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 (PrivateLinkResourcesClient) Get ¶
func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, scopeName string, groupName string) (result PrivateLinkResource, err error)
Get gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource. groupName - the name of the private link resource.
func (PrivateLinkResourcesClient) GetPreparer ¶
func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, groupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateLinkResourcesClient) GetResponder ¶
func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateLinkResourcesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateLinkResourcesClient) ListByPrivateLinkScope ¶
func (client PrivateLinkResourcesClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkResourceListResult, err error)
ListByPrivateLinkScope gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource.
func (PrivateLinkResourcesClient) ListByPrivateLinkScopePreparer ¶
func (client PrivateLinkResourcesClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
ListByPrivateLinkScopePreparer prepares the ListByPrivateLinkScope request.
func (PrivateLinkResourcesClient) ListByPrivateLinkScopeResponder ¶
func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
ListByPrivateLinkScopeResponder handles the response to the ListByPrivateLinkScope request. The method always closes the http.Response Body.
func (PrivateLinkResourcesClient) ListByPrivateLinkScopeSender ¶
func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)
ListByPrivateLinkScopeSender sends the ListByPrivateLinkScope request. The method will close the http.Response Body if it receives an error.
type PrivateLinkScope ¶
type PrivateLinkScope struct { autorest.Response `json:"-"` // Properties - Properties that define a Azure Arc PrivateLinkScope resource. Properties *PrivateLinkScopeProperties `json:"properties,omitempty"` // 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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
PrivateLinkScope an Azure Arc PrivateLinkScope definition.
func (PrivateLinkScope) MarshalJSON ¶
func (pls PrivateLinkScope) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkScope.
type PrivateLinkScopeListResult ¶
type PrivateLinkScopeListResult struct { autorest.Response `json:"-"` // Value - List of Azure Arc PrivateLinkScope definitions. Value *[]PrivateLinkScope `json:"value,omitempty"` // NextLink - The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set. NextLink *string `json:"nextLink,omitempty"` }
PrivateLinkScopeListResult describes the list of Azure Arc PrivateLinkScope resources.
func (PrivateLinkScopeListResult) IsEmpty ¶
func (plslr PrivateLinkScopeListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PrivateLinkScopeListResultIterator ¶
type PrivateLinkScopeListResultIterator struct {
// contains filtered or unexported fields
}
PrivateLinkScopeListResultIterator provides access to a complete listing of PrivateLinkScope values.
func NewPrivateLinkScopeListResultIterator ¶
func NewPrivateLinkScopeListResultIterator(page PrivateLinkScopeListResultPage) PrivateLinkScopeListResultIterator
Creates a new instance of the PrivateLinkScopeListResultIterator type.
func (*PrivateLinkScopeListResultIterator) Next ¶
func (iter *PrivateLinkScopeListResultIterator) 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 (*PrivateLinkScopeListResultIterator) NextWithContext ¶
func (iter *PrivateLinkScopeListResultIterator) 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 (PrivateLinkScopeListResultIterator) NotDone ¶
func (iter PrivateLinkScopeListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PrivateLinkScopeListResultIterator) Response ¶
func (iter PrivateLinkScopeListResultIterator) Response() PrivateLinkScopeListResult
Response returns the raw server response from the last page request.
func (PrivateLinkScopeListResultIterator) Value ¶
func (iter PrivateLinkScopeListResultIterator) Value() PrivateLinkScope
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PrivateLinkScopeListResultPage ¶
type PrivateLinkScopeListResultPage struct {
// contains filtered or unexported fields
}
PrivateLinkScopeListResultPage contains a page of PrivateLinkScope values.
func NewPrivateLinkScopeListResultPage ¶
func NewPrivateLinkScopeListResultPage(cur PrivateLinkScopeListResult, getNextPage func(context.Context, PrivateLinkScopeListResult) (PrivateLinkScopeListResult, error)) PrivateLinkScopeListResultPage
Creates a new instance of the PrivateLinkScopeListResultPage type.
func (*PrivateLinkScopeListResultPage) Next ¶
func (page *PrivateLinkScopeListResultPage) 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 (*PrivateLinkScopeListResultPage) NextWithContext ¶
func (page *PrivateLinkScopeListResultPage) 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 (PrivateLinkScopeListResultPage) NotDone ¶
func (page PrivateLinkScopeListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PrivateLinkScopeListResultPage) Response ¶
func (page PrivateLinkScopeListResultPage) Response() PrivateLinkScopeListResult
Response returns the raw server response from the last page request.
func (PrivateLinkScopeListResultPage) Values ¶
func (page PrivateLinkScopeListResultPage) Values() []PrivateLinkScope
Values returns the slice of values for the current page or nil if there are no values.
type PrivateLinkScopeProperties ¶
type PrivateLinkScopeProperties struct { // PublicNetworkAccess - Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. Possible values include: 'PublicNetworkAccessTypeEnabled', 'PublicNetworkAccessTypeDisabled' PublicNetworkAccess PublicNetworkAccessType `json:"publicNetworkAccess,omitempty"` // ProvisioningState - READ-ONLY; Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ClusterResourceID - Managed Cluster ARM ID for the private link scope (Required) ClusterResourceID *string `json:"clusterResourceId,omitempty"` // PrivateLinkScopeID - READ-ONLY; The Guid id of the private link scope. PrivateLinkScopeID *string `json:"privateLinkScopeId,omitempty"` // PrivateEndpointConnections - READ-ONLY; The collection of associated Private Endpoint Connections. PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` }
PrivateLinkScopeProperties properties that define a Azure Arc PrivateLinkScope resource.
func (PrivateLinkScopeProperties) MarshalJSON ¶
func (plsp PrivateLinkScopeProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkScopeProperties.
type PrivateLinkScopesClient ¶
type PrivateLinkScopesClient struct {
BaseClient
}
PrivateLinkScopesClient is the kubernetesConfiguration Client
func NewPrivateLinkScopesClient ¶
func NewPrivateLinkScopesClient(subscriptionID string) PrivateLinkScopesClient
NewPrivateLinkScopesClient creates an instance of the PrivateLinkScopesClient client.
func NewPrivateLinkScopesClientWithBaseURI ¶
func NewPrivateLinkScopesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkScopesClient
NewPrivateLinkScopesClientWithBaseURI creates an instance of the PrivateLinkScopesClient 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 (PrivateLinkScopesClient) CreateOrUpdate ¶
func (client PrivateLinkScopesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, parameters PrivateLinkScope) (result PrivateLinkScope, err error)
CreateOrUpdate creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource. parameters - properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.
func (PrivateLinkScopesClient) CreateOrUpdatePreparer ¶
func (client PrivateLinkScopesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, parameters PrivateLinkScope) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PrivateLinkScopesClient) CreateOrUpdateResponder ¶
func (client PrivateLinkScopesClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateLinkScope, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PrivateLinkScopesClient) CreateOrUpdateSender ¶
func (client PrivateLinkScopesClient) 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 (PrivateLinkScopesClient) Delete ¶
func (client PrivateLinkScopesClient) Delete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkScopesDeleteFuture, err error)
Delete deletes a Azure Arc PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource.
func (PrivateLinkScopesClient) DeletePreparer ¶
func (client PrivateLinkScopesClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrivateLinkScopesClient) DeleteResponder ¶
func (client PrivateLinkScopesClient) 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 (PrivateLinkScopesClient) DeleteSender ¶
func (client PrivateLinkScopesClient) DeleteSender(req *http.Request) (future PrivateLinkScopesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PrivateLinkScopesClient) Get ¶
func (client PrivateLinkScopesClient) Get(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkScope, err error)
Get returns a Azure Arc PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource.
func (PrivateLinkScopesClient) GetPreparer ¶
func (client PrivateLinkScopesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateLinkScopesClient) GetResponder ¶
func (client PrivateLinkScopesClient) GetResponder(resp *http.Response) (result PrivateLinkScope, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateLinkScopesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateLinkScopesClient) List ¶
func (client PrivateLinkScopesClient) List(ctx context.Context) (result PrivateLinkScopeListResultPage, err error)
List gets a list of all Azure Arc PrivateLinkScopes within a subscription.
func (PrivateLinkScopesClient) ListByResourceGroup ¶
func (client PrivateLinkScopesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PrivateLinkScopeListResultPage, err error)
ListByResourceGroup gets a list of Azure Arc PrivateLinkScopes within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (PrivateLinkScopesClient) ListByResourceGroupComplete ¶
func (client PrivateLinkScopesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PrivateLinkScopeListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (PrivateLinkScopesClient) ListByResourceGroupPreparer ¶
func (client PrivateLinkScopesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (PrivateLinkScopesClient) ListByResourceGroupResponder ¶
func (client PrivateLinkScopesClient) ListByResourceGroupResponder(resp *http.Response) (result PrivateLinkScopeListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (PrivateLinkScopesClient) ListByResourceGroupSender ¶
func (client PrivateLinkScopesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (PrivateLinkScopesClient) ListComplete ¶
func (client PrivateLinkScopesClient) ListComplete(ctx context.Context) (result PrivateLinkScopeListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (PrivateLinkScopesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (PrivateLinkScopesClient) ListResponder ¶
func (client PrivateLinkScopesClient) ListResponder(resp *http.Response) (result PrivateLinkScopeListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PrivateLinkScopesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (PrivateLinkScopesClient) UpdateTags ¶
func (client PrivateLinkScopesClient) UpdateTags(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags TagsResource) (result PrivateLinkScope, err error)
UpdateTags updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Arc PrivateLinkScope resource. privateLinkScopeTags - updated tag information to set into the PrivateLinkScope instance.
func (PrivateLinkScopesClient) UpdateTagsPreparer ¶
func (client PrivateLinkScopesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags TagsResource) (*http.Request, error)
UpdateTagsPreparer prepares the UpdateTags request.
func (PrivateLinkScopesClient) UpdateTagsResponder ¶
func (client PrivateLinkScopesClient) UpdateTagsResponder(resp *http.Response) (result PrivateLinkScope, err error)
UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.
func (PrivateLinkScopesClient) UpdateTagsSender ¶
UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.
type PrivateLinkScopesDeleteFuture ¶
type PrivateLinkScopesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(PrivateLinkScopesClient) (autorest.Response, error) }
PrivateLinkScopesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateLinkScopesDeleteFuture) UnmarshalJSON ¶
func (future *PrivateLinkScopesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected' Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` // Description - The reason for approval/rejection of the connection. Description *string `json:"description,omitempty"` // ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer. ActionsRequired *string `json:"actionsRequired,omitempty"` }
PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.
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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,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 PublicNetworkAccessType ¶
type PublicNetworkAccessType string
PublicNetworkAccessType enumerates the values for public network access type.
const ( // PublicNetworkAccessTypeDisabled Does not allow Azure Arc agents to communicate with Azure Arc services // over public (internet) endpoints. The agents must use the private link. PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled" // PublicNetworkAccessTypeEnabled Allows Azure Arc agents to communicate with Azure Arc services over both // public (internet) and private endpoints. PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled" )
func PossiblePublicNetworkAccessTypeValues ¶
func PossiblePublicNetworkAccessTypeValues() []PublicNetworkAccessType
PossiblePublicNetworkAccessTypeValues returns an array of possible values for the PublicNetworkAccessType const type.
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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
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 - 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 ¶
func (iter *ResourceProviderOperationListIterator) 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 (*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 ¶
func (iter ResourceProviderOperationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ResourceProviderOperationListIterator) Response ¶
func (iter ResourceProviderOperationListIterator) Response() ResourceProviderOperationList
Response returns the raw server response from the last page request.
func (ResourceProviderOperationListIterator) Value ¶
func (iter ResourceProviderOperationListIterator) Value() ResourceProviderOperation
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 ¶
func NewResourceProviderOperationListPage(cur ResourceProviderOperationList, getNextPage func(context.Context, ResourceProviderOperationList) (ResourceProviderOperationList, error)) ResourceProviderOperationListPage
Creates a new instance of the ResourceProviderOperationListPage type.
func (*ResourceProviderOperationListPage) Next ¶
func (page *ResourceProviderOperationListPage) 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 (*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 ¶
func (page ResourceProviderOperationListPage) Response() ResourceProviderOperationList
Response returns the raw server response from the last page request.
func (ResourceProviderOperationListPage) Values ¶
func (page ResourceProviderOperationListPage) Values() []ResourceProviderOperation
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.
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 - 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.
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"` // 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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. 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 ¶
func (iter *SourceControlConfigurationListIterator) 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 (*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 ¶
func (iter SourceControlConfigurationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SourceControlConfigurationListIterator) Response ¶
func (iter SourceControlConfigurationListIterator) Response() SourceControlConfigurationList
Response returns the raw server response from the last page request.
func (SourceControlConfigurationListIterator) Value ¶
func (iter SourceControlConfigurationListIterator) Value() SourceControlConfiguration
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 ¶
func NewSourceControlConfigurationListPage(cur SourceControlConfigurationList, getNextPage func(context.Context, SourceControlConfigurationList) (SourceControlConfigurationList, error)) SourceControlConfigurationListPage
Creates a new instance of the SourceControlConfigurationListPage type.
func (*SourceControlConfigurationListPage) Next ¶
func (page *SourceControlConfigurationListPage) 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 (*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 ¶
func (page SourceControlConfigurationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SourceControlConfigurationListPage) Response ¶
func (page SourceControlConfigurationListPage) Response() SourceControlConfigurationList
Response returns the raw server response from the last page request.
func (SourceControlConfigurationListPage) Values ¶
func (page SourceControlConfigurationListPage) Values() []SourceControlConfiguration
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 ¶
func (client SourceControlConfigurationsClient) DeleteSender(req *http.Request) (future SourceControlConfigurationsDeleteFuture, err error)
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 TagsResource ¶
TagsResource a container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance.
func (TagsResource) MarshalJSON ¶
func (tr TagsResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsResource.
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"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,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.