storage

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package storage contains API Schema definitions for the resources storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=resources.azure.com +versionName=v1api20200601storage

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

View Source
const APIVersion_Value = APIVersion("2020-06-01")

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "resources.azure.com", Version: "v1api20200601storage"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

Storage version of v1api20200601.APIVersion +kubebuilder:validation:Enum={"2020-06-01"}

type ResourceGroup

type ResourceGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceGroup_Spec   `json:"spec,omitempty"`
	Status            ResourceGroup_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Storage version of v1api20200601.ResourceGroup Generator information: - Generated from: /resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}

func (*ResourceGroup) AzureName

func (group *ResourceGroup) AzureName() string

AzureName returns the Azure name of the resource

func (*ResourceGroup) DeepCopy

func (in *ResourceGroup) DeepCopy() *ResourceGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroup.

func (*ResourceGroup) DeepCopyInto

func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceGroup) DeepCopyObject

func (in *ResourceGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ResourceGroup) GetAPIVersion

func (group ResourceGroup) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2020-06-01"

func (*ResourceGroup) GetConditions

func (group *ResourceGroup) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ResourceGroup) GetResourceScope

func (group *ResourceGroup) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ResourceGroup) GetSpec

func (group *ResourceGroup) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*ResourceGroup) GetStatus

func (group *ResourceGroup) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*ResourceGroup) GetSupportedOperations

func (group *ResourceGroup) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ResourceGroup) GetType

func (group *ResourceGroup) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Resources/resourceGroups"

func (*ResourceGroup) Hub

func (group *ResourceGroup) Hub()

Hub marks that this ResourceGroup is the hub type for conversion

func (*ResourceGroup) Location

func (group *ResourceGroup) Location() string

Location returns the location of the resource

func (*ResourceGroup) NewEmptyStatus

func (group *ResourceGroup) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ResourceGroup) OriginalGVK

func (group *ResourceGroup) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*ResourceGroup) Owner

func (group *ResourceGroup) Owner() *genruntime.ResourceReference

Owner returns nil as Location scoped resources never have an owner

func (*ResourceGroup) SetConditions

func (group *ResourceGroup) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ResourceGroup) SetStatus

func (group *ResourceGroup) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ResourceGroupList

type ResourceGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ResourceGroup `json:"items"`
}

+kubebuilder:object:root=true Storage version of v1api20200601.ResourceGroup Generator information: - Generated from: /resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}

func (*ResourceGroupList) DeepCopy

func (in *ResourceGroupList) DeepCopy() *ResourceGroupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupList.

func (*ResourceGroupList) DeepCopyInto

func (in *ResourceGroupList) DeepCopyInto(out *ResourceGroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceGroupList) DeepCopyObject

func (in *ResourceGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ResourceGroupProperties_STATUS

type ResourceGroupProperties_STATUS struct {
	PropertyBag       genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	ProvisioningState *string                `json:"provisioningState,omitempty"`
}

Storage version of v1api20200601.ResourceGroupProperties_STATUS The resource group properties.

func (*ResourceGroupProperties_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupProperties_STATUS.

func (*ResourceGroupProperties_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceGroup_STATUS

type ResourceGroup_STATUS struct {
	Conditions  []conditions.Condition          `json:"conditions,omitempty"`
	Id          *string                         `json:"id,omitempty"`
	Location    *string                         `json:"location,omitempty"`
	ManagedBy   *string                         `json:"managedBy,omitempty"`
	Name        *string                         `json:"name,omitempty"`
	Properties  *ResourceGroupProperties_STATUS `json:"properties,omitempty"`
	PropertyBag genruntime.PropertyBag          `json:"$propertyBag,omitempty"`
	Tags        map[string]string               `json:"tags,omitempty"`
	Type        *string                         `json:"type,omitempty"`
}

Storage version of v1api20200601.ResourceGroup_STATUS Resource group information.

func (*ResourceGroup_STATUS) ConvertStatusFrom

func (group *ResourceGroup_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ResourceGroup_STATUS from the provided source

func (*ResourceGroup_STATUS) ConvertStatusTo

func (group *ResourceGroup_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ResourceGroup_STATUS

func (*ResourceGroup_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroup_STATUS.

func (*ResourceGroup_STATUS) DeepCopyInto

func (in *ResourceGroup_STATUS) DeepCopyInto(out *ResourceGroup_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceGroup_Spec

type ResourceGroup_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName       string                 `json:"azureName,omitempty"`
	Location        *string                `json:"location,omitempty"`
	ManagedBy       *string                `json:"managedBy,omitempty"`
	OriginalVersion string                 `json:"originalVersion,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Tags            map[string]string      `json:"tags,omitempty"`
}

Storage version of v1api20200601.ResourceGroup_Spec

func (*ResourceGroup_Spec) ConvertSpecFrom

func (group *ResourceGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ResourceGroup_Spec from the provided source

func (*ResourceGroup_Spec) ConvertSpecTo

func (group *ResourceGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ResourceGroup_Spec

func (*ResourceGroup_Spec) DeepCopy

func (in *ResourceGroup_Spec) DeepCopy() *ResourceGroup_Spec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroup_Spec.

func (*ResourceGroup_Spec) DeepCopyInto

func (in *ResourceGroup_Spec) DeepCopyInto(out *ResourceGroup_Spec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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