storage

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

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

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

Index

Constants

View Source
const APIVersion_Value = APIVersion("2025-04-01")

Variables

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

	// 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 v1api20250401.APIVersion +kubebuilder:validation:Enum={"2025-04-01"}

type CapacityReservation

type CapacityReservation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CapacityReservation_Spec   `json:"spec,omitempty"`
	Status            CapacityReservation_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,compute} +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 v1api20250401.CapacityReservation Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}

func (*CapacityReservation) AzureName

func (reservation *CapacityReservation) AzureName() string

AzureName returns the Azure name of the resource

func (*CapacityReservation) ConfigMapDestinationExpressions

func (reservation *CapacityReservation) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*CapacityReservation) DeepCopy

func (in *CapacityReservation) DeepCopy() *CapacityReservation

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

func (*CapacityReservation) DeepCopyInto

func (in *CapacityReservation) DeepCopyInto(out *CapacityReservation)

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

func (*CapacityReservation) DeepCopyObject

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

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

func (CapacityReservation) GetAPIVersion

func (reservation CapacityReservation) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2025-04-01"

func (*CapacityReservation) GetConditions

func (reservation *CapacityReservation) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*CapacityReservation) GetResourceScope

func (reservation *CapacityReservation) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*CapacityReservation) GetSpec

func (reservation *CapacityReservation) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*CapacityReservation) GetStatus

func (reservation *CapacityReservation) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*CapacityReservation) GetSupportedOperations

func (reservation *CapacityReservation) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*CapacityReservation) GetType

func (reservation *CapacityReservation) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/capacityReservationGroups/capacityReservations"

func (*CapacityReservation) Hub

func (reservation *CapacityReservation) Hub()

Hub marks that this CapacityReservation is the hub type for conversion

func (*CapacityReservation) NewEmptyStatus

func (reservation *CapacityReservation) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*CapacityReservation) OriginalGVK

func (reservation *CapacityReservation) OriginalGVK() *schema.GroupVersionKind

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

func (*CapacityReservation) Owner

func (reservation *CapacityReservation) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*CapacityReservation) SecretDestinationExpressions

func (reservation *CapacityReservation) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*CapacityReservation) SetConditions

func (reservation *CapacityReservation) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*CapacityReservation) SetStatus

func (reservation *CapacityReservation) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type CapacityReservationGroup

type CapacityReservationGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CapacityReservationGroup_Spec   `json:"spec,omitempty"`
	Status            CapacityReservationGroup_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,compute} +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 v1api20250401.CapacityReservationGroup Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}

func (*CapacityReservationGroup) AzureName

func (group *CapacityReservationGroup) AzureName() string

AzureName returns the Azure name of the resource

func (*CapacityReservationGroup) ConfigMapDestinationExpressions

func (group *CapacityReservationGroup) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*CapacityReservationGroup) DeepCopy

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

func (*CapacityReservationGroup) DeepCopyInto

func (in *CapacityReservationGroup) DeepCopyInto(out *CapacityReservationGroup)

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

func (*CapacityReservationGroup) DeepCopyObject

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

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

func (CapacityReservationGroup) GetAPIVersion

func (group CapacityReservationGroup) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2025-04-01"

func (*CapacityReservationGroup) GetConditions

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

GetConditions returns the conditions of the resource

func (*CapacityReservationGroup) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*CapacityReservationGroup) GetSpec

GetSpec returns the specification of this resource

func (*CapacityReservationGroup) GetStatus

GetStatus returns the status of this resource

func (*CapacityReservationGroup) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*CapacityReservationGroup) GetType

func (group *CapacityReservationGroup) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/capacityReservationGroups"

func (*CapacityReservationGroup) Hub

func (group *CapacityReservationGroup) Hub()

Hub marks that this CapacityReservationGroup is the hub type for conversion

func (*CapacityReservationGroup) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*CapacityReservationGroup) OriginalGVK

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

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

func (*CapacityReservationGroup) Owner

Owner returns the ResourceReference of the owner

func (*CapacityReservationGroup) SecretDestinationExpressions

func (group *CapacityReservationGroup) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*CapacityReservationGroup) SetConditions

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

SetConditions sets the conditions on the resource status

func (*CapacityReservationGroup) SetStatus

SetStatus sets the status of this resource

type CapacityReservationGroupInstanceView_STATUS

type CapacityReservationGroupInstanceView_STATUS struct {
	CapacityReservations  []CapacityReservationInstanceViewWithName_STATUS `json:"capacityReservations,omitempty"`
	PropertyBag           genruntime.PropertyBag                           `json:"$propertyBag,omitempty"`
	SharedSubscriptionIds []SubResourceReadOnly_STATUS                     `json:"sharedSubscriptionIds,omitempty"`
}

Storage version of v1api20250401.CapacityReservationGroupInstanceView_STATUS

func (*CapacityReservationGroupInstanceView_STATUS) DeepCopy

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

func (*CapacityReservationGroupInstanceView_STATUS) DeepCopyInto

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

type CapacityReservationGroupList

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

+kubebuilder:object:root=true Storage version of v1api20250401.CapacityReservationGroup Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}

func (*CapacityReservationGroupList) DeepCopy

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

func (*CapacityReservationGroupList) DeepCopyInto

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

func (*CapacityReservationGroupList) DeepCopyObject

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

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

type CapacityReservationGroupOperatorSpec

type CapacityReservationGroupOperatorSpec struct {
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`
	PropertyBag          genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
	SecretExpressions    []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Storage version of v1api20250401.CapacityReservationGroupOperatorSpec Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*CapacityReservationGroupOperatorSpec) DeepCopy

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

func (*CapacityReservationGroupOperatorSpec) DeepCopyInto

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

type CapacityReservationGroup_STATUS

type CapacityReservationGroup_STATUS struct {
	CapacityReservations      []SubResourceReadOnly_STATUS                 `json:"capacityReservations,omitempty"`
	Conditions                []conditions.Condition                       `json:"conditions,omitempty"`
	Id                        *string                                      `json:"id,omitempty"`
	InstanceView              *CapacityReservationGroupInstanceView_STATUS `json:"instanceView,omitempty"`
	Location                  *string                                      `json:"location,omitempty"`
	Name                      *string                                      `json:"name,omitempty"`
	PropertyBag               genruntime.PropertyBag                       `json:"$propertyBag,omitempty"`
	ReservationType           *string                                      `json:"reservationType,omitempty"`
	SharingProfile            *ResourceSharingProfile_STATUS               `json:"sharingProfile,omitempty"`
	SystemData                *SystemData_STATUS                           `json:"systemData,omitempty"`
	Tags                      map[string]string                            `json:"tags,omitempty"`
	Type                      *string                                      `json:"type,omitempty"`
	VirtualMachinesAssociated []SubResourceReadOnly_STATUS                 `json:"virtualMachinesAssociated,omitempty"`
	Zones                     []string                                     `json:"zones,omitempty"`
}

Storage version of v1api20250401.CapacityReservationGroup_STATUS Specifies information about the capacity reservation group that the capacity reservations should be assigned to. Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group.

func (*CapacityReservationGroup_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our CapacityReservationGroup_STATUS from the provided source

func (*CapacityReservationGroup_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our CapacityReservationGroup_STATUS

func (*CapacityReservationGroup_STATUS) DeepCopy

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

func (*CapacityReservationGroup_STATUS) DeepCopyInto

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

type CapacityReservationGroup_Spec

type CapacityReservationGroup_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"`
	OperatorSpec    *CapacityReservationGroupOperatorSpec `json:"operatorSpec,omitempty"`
	OriginalVersion string                                `json:"originalVersion,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner           *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`
	PropertyBag     genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	ReservationType *string                            `json:"reservationType,omitempty"`
	SharingProfile  *ResourceSharingProfile            `json:"sharingProfile,omitempty"`
	Tags            map[string]string                  `json:"tags,omitempty"`
	Zones           []string                           `json:"zones,omitempty"`
}

Storage version of v1api20250401.CapacityReservationGroup_Spec

func (*CapacityReservationGroup_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our CapacityReservationGroup_Spec from the provided source

func (*CapacityReservationGroup_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our CapacityReservationGroup_Spec

func (*CapacityReservationGroup_Spec) DeepCopy

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

func (*CapacityReservationGroup_Spec) DeepCopyInto

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

type CapacityReservationInstanceViewWithName_STATUS

type CapacityReservationInstanceViewWithName_STATUS struct {
	Name            *string                                `json:"name,omitempty"`
	PropertyBag     genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
	Statuses        []InstanceViewStatus_STATUS            `json:"statuses,omitempty"`
	UtilizationInfo *CapacityReservationUtilization_STATUS `json:"utilizationInfo,omitempty"`
}

Storage version of v1api20250401.CapacityReservationInstanceViewWithName_STATUS The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group.

func (*CapacityReservationInstanceViewWithName_STATUS) DeepCopy

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

func (*CapacityReservationInstanceViewWithName_STATUS) DeepCopyInto

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

type CapacityReservationInstanceView_STATUS

type CapacityReservationInstanceView_STATUS struct {
	PropertyBag     genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
	Statuses        []InstanceViewStatus_STATUS            `json:"statuses,omitempty"`
	UtilizationInfo *CapacityReservationUtilization_STATUS `json:"utilizationInfo,omitempty"`
}

Storage version of v1api20250401.CapacityReservationInstanceView_STATUS The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations.

func (*CapacityReservationInstanceView_STATUS) DeepCopy

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

func (*CapacityReservationInstanceView_STATUS) DeepCopyInto

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

type CapacityReservationList

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

+kubebuilder:object:root=true Storage version of v1api20250401.CapacityReservation Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}

func (*CapacityReservationList) DeepCopy

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

func (*CapacityReservationList) DeepCopyInto

func (in *CapacityReservationList) DeepCopyInto(out *CapacityReservationList)

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

func (*CapacityReservationList) DeepCopyObject

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

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

type CapacityReservationOperatorSpec

type CapacityReservationOperatorSpec struct {
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`
	PropertyBag          genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
	SecretExpressions    []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Storage version of v1api20250401.CapacityReservationOperatorSpec Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*CapacityReservationOperatorSpec) DeepCopy

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

func (*CapacityReservationOperatorSpec) DeepCopyInto

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

type CapacityReservationUtilization_STATUS

type CapacityReservationUtilization_STATUS struct {
	CurrentCapacity          *int                         `json:"currentCapacity,omitempty"`
	PropertyBag              genruntime.PropertyBag       `json:"$propertyBag,omitempty"`
	VirtualMachinesAllocated []SubResourceReadOnly_STATUS `json:"virtualMachinesAllocated,omitempty"`
}

Storage version of v1api20250401.CapacityReservationUtilization_STATUS Represents the capacity reservation utilization in terms of resources allocated.

func (*CapacityReservationUtilization_STATUS) DeepCopy

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

func (*CapacityReservationUtilization_STATUS) DeepCopyInto

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

type CapacityReservation_STATUS

type CapacityReservation_STATUS struct {
	Conditions                []conditions.Condition                  `json:"conditions,omitempty"`
	Id                        *string                                 `json:"id,omitempty"`
	InstanceView              *CapacityReservationInstanceView_STATUS `json:"instanceView,omitempty"`
	Location                  *string                                 `json:"location,omitempty"`
	Name                      *string                                 `json:"name,omitempty"`
	PlatformFaultDomainCount  *int                                    `json:"platformFaultDomainCount,omitempty"`
	PropertyBag               genruntime.PropertyBag                  `json:"$propertyBag,omitempty"`
	ProvisioningState         *string                                 `json:"provisioningState,omitempty"`
	ProvisioningTime          *string                                 `json:"provisioningTime,omitempty"`
	ReservationId             *string                                 `json:"reservationId,omitempty"`
	ScheduleProfile           *ScheduleProfile_STATUS                 `json:"scheduleProfile,omitempty"`
	Sku                       *Sku_STATUS                             `json:"sku,omitempty"`
	SystemData                *SystemData_STATUS                      `json:"systemData,omitempty"`
	Tags                      map[string]string                       `json:"tags,omitempty"`
	TimeCreated               *string                                 `json:"timeCreated,omitempty"`
	Type                      *string                                 `json:"type,omitempty"`
	VirtualMachinesAssociated []SubResourceReadOnly_STATUS            `json:"virtualMachinesAssociated,omitempty"`
	Zones                     []string                                `json:"zones,omitempty"`
}

Storage version of v1api20250401.CapacityReservation_STATUS

func (*CapacityReservation_STATUS) ConvertStatusFrom

func (reservation *CapacityReservation_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our CapacityReservation_STATUS from the provided source

func (*CapacityReservation_STATUS) ConvertStatusTo

func (reservation *CapacityReservation_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our CapacityReservation_STATUS

func (*CapacityReservation_STATUS) DeepCopy

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

func (*CapacityReservation_STATUS) DeepCopyInto

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

type CapacityReservation_Spec

type CapacityReservation_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"`
	OperatorSpec    *CapacityReservationOperatorSpec `json:"operatorSpec,omitempty"`
	OriginalVersion string                           `json:"originalVersion,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a compute.azure.com/CapacityReservationGroup resource
	Owner           *genruntime.KnownResourceReference `group:"compute.azure.com" json:"owner,omitempty" kind:"CapacityReservationGroup"`
	PropertyBag     genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	ScheduleProfile *ScheduleProfile                   `json:"scheduleProfile,omitempty"`
	Sku             *Sku                               `json:"sku,omitempty"`
	Tags            map[string]string                  `json:"tags,omitempty"`
	Zones           []string                           `json:"zones,omitempty"`
}

Storage version of v1api20250401.CapacityReservation_Spec

func (*CapacityReservation_Spec) ConvertSpecFrom

func (reservation *CapacityReservation_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our CapacityReservation_Spec from the provided source

func (*CapacityReservation_Spec) ConvertSpecTo

func (reservation *CapacityReservation_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our CapacityReservation_Spec

func (*CapacityReservation_Spec) DeepCopy

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

func (*CapacityReservation_Spec) DeepCopyInto

func (in *CapacityReservation_Spec) DeepCopyInto(out *CapacityReservation_Spec)

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

type InstanceViewStatus_STATUS

type InstanceViewStatus_STATUS struct {
	Code          *string                `json:"code,omitempty"`
	DisplayStatus *string                `json:"displayStatus,omitempty"`
	Level         *string                `json:"level,omitempty"`
	Message       *string                `json:"message,omitempty"`
	PropertyBag   genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Time          *string                `json:"time,omitempty"`
}

Storage version of v1api20250401.InstanceViewStatus_STATUS Instance view status.

func (*InstanceViewStatus_STATUS) DeepCopy

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

func (*InstanceViewStatus_STATUS) DeepCopyInto

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

type ResourceSharingProfile

type ResourceSharingProfile struct {
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	SubscriptionIds []SubResource          `json:"subscriptionIds,omitempty"`
}

Storage version of v1api20250401.ResourceSharingProfile

func (*ResourceSharingProfile) DeepCopy

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

func (*ResourceSharingProfile) DeepCopyInto

func (in *ResourceSharingProfile) DeepCopyInto(out *ResourceSharingProfile)

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

type ResourceSharingProfile_STATUS

type ResourceSharingProfile_STATUS struct {
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	SubscriptionIds []SubResource_STATUS   `json:"subscriptionIds,omitempty"`
}

Storage version of v1api20250401.ResourceSharingProfile_STATUS

func (*ResourceSharingProfile_STATUS) DeepCopy

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

func (*ResourceSharingProfile_STATUS) DeepCopyInto

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

type ScheduleProfile

type ScheduleProfile struct {
	End         *string                `json:"end,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Start       *string                `json:"start,omitempty"`
}

Storage version of v1api20250401.ScheduleProfile Defines the schedule for Block-type capacity reservations. Specifies the schedule during which capacity reservation is active and VM or VMSS resource can be allocated using reservation. This property is required and only supported when the capacity reservation group type is 'Block'. The scheduleProfile, start, and end fields are immutable after creation. Minimum API version: 2025-04-01. Please refer to https://aka.ms/blockcapacityreservation for more details.

func (*ScheduleProfile) DeepCopy

func (in *ScheduleProfile) DeepCopy() *ScheduleProfile

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

func (*ScheduleProfile) DeepCopyInto

func (in *ScheduleProfile) DeepCopyInto(out *ScheduleProfile)

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

type ScheduleProfile_STATUS

type ScheduleProfile_STATUS struct {
	End         *string                `json:"end,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Start       *string                `json:"start,omitempty"`
}

Storage version of v1api20250401.ScheduleProfile_STATUS Defines the schedule for Block-type capacity reservations. Specifies the schedule during which capacity reservation is active and VM or VMSS resource can be allocated using reservation. This property is required and only supported when the capacity reservation group type is 'Block'. The scheduleProfile, start, and end fields are immutable after creation. Minimum API version: 2025-04-01. Please refer to https://aka.ms/blockcapacityreservation for more details.

func (*ScheduleProfile_STATUS) DeepCopy

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

func (*ScheduleProfile_STATUS) DeepCopyInto

func (in *ScheduleProfile_STATUS) DeepCopyInto(out *ScheduleProfile_STATUS)

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

type Sku

type Sku struct {
	Capacity    *int                   `json:"capacity,omitempty"`
	Name        *string                `json:"name,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Tier        *string                `json:"tier,omitempty"`
}

Storage version of v1api20250401.Sku Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

func (*Sku) DeepCopy

func (in *Sku) DeepCopy() *Sku

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

func (*Sku) DeepCopyInto

func (in *Sku) DeepCopyInto(out *Sku)

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

type Sku_STATUS

type Sku_STATUS struct {
	Capacity    *int                   `json:"capacity,omitempty"`
	Name        *string                `json:"name,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Tier        *string                `json:"tier,omitempty"`
}

Storage version of v1api20250401.Sku_STATUS Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

func (*Sku_STATUS) DeepCopy

func (in *Sku_STATUS) DeepCopy() *Sku_STATUS

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

func (*Sku_STATUS) DeepCopyInto

func (in *Sku_STATUS) DeepCopyInto(out *Sku_STATUS)

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

type SubResource

type SubResource struct {
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`

	// Reference: Resource Id
	Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
}

Storage version of v1api20250401.SubResource

func (*SubResource) DeepCopy

func (in *SubResource) DeepCopy() *SubResource

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

func (*SubResource) DeepCopyInto

func (in *SubResource) DeepCopyInto(out *SubResource)

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

type SubResourceReadOnly_STATUS

type SubResourceReadOnly_STATUS struct {
	Id          *string                `json:"id,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20250401.SubResourceReadOnly_STATUS

func (*SubResourceReadOnly_STATUS) DeepCopy

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

func (*SubResourceReadOnly_STATUS) DeepCopyInto

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

type SubResource_STATUS

type SubResource_STATUS struct {
	Id          *string                `json:"id,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20250401.SubResource_STATUS

func (*SubResource_STATUS) DeepCopy

func (in *SubResource_STATUS) DeepCopy() *SubResource_STATUS

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

func (*SubResource_STATUS) DeepCopyInto

func (in *SubResource_STATUS) DeepCopyInto(out *SubResource_STATUS)

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

type SystemData_STATUS

type SystemData_STATUS struct {
	CreatedAt          *string                `json:"createdAt,omitempty"`
	CreatedBy          *string                `json:"createdBy,omitempty"`
	CreatedByType      *string                `json:"createdByType,omitempty"`
	LastModifiedAt     *string                `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string                `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *string                `json:"lastModifiedByType,omitempty"`
	PropertyBag        genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20250401.SystemData_STATUS Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) DeepCopy

func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS

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

func (*SystemData_STATUS) DeepCopyInto

func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)

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