v1api20250401

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: 14 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 v1api20250401 contains API Schema definitions for the compute v1api20250401 API group +groupName=compute.azure.com

Package v1api20250401 contains API Schema definitions for the compute v1api20250401 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=v1api20250401

Index

Constants

View Source
const (
	ReservationType_Block    = ReservationType("Block")
	ReservationType_Targeted = ReservationType("Targeted")
)
View Source
const (
	ReservationType_STATUS_Block    = ReservationType_STATUS("Block")
	ReservationType_STATUS_Targeted = ReservationType_STATUS("Targeted")
)
View Source
const (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
View Source
const (
	StatusLevelTypes_STATUS_Error   = StatusLevelTypes_STATUS("Error")
	StatusLevelTypes_STATUS_Info    = StatusLevelTypes_STATUS("Info")
	StatusLevelTypes_STATUS_Warning = StatusLevelTypes_STATUS("Warning")
)
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: "v1api20250401"}

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

+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: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" 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) AssignProperties_From_CapacityReservation

func (reservation *CapacityReservation) AssignProperties_From_CapacityReservation(source *storage.CapacityReservation) error

AssignProperties_From_CapacityReservation populates our CapacityReservation from the provided source CapacityReservation

func (*CapacityReservation) AssignProperties_To_CapacityReservation

func (reservation *CapacityReservation) AssignProperties_To_CapacityReservation(destination *storage.CapacityReservation) error

AssignProperties_To_CapacityReservation populates the provided destination CapacityReservation from our CapacityReservation

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) ConvertFrom

func (reservation *CapacityReservation) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our CapacityReservation from the provided hub CapacityReservation

func (*CapacityReservation) ConvertTo

func (reservation *CapacityReservation) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub CapacityReservation from our CapacityReservation

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) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

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: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" 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) AssignProperties_From_CapacityReservationGroup

func (group *CapacityReservationGroup) AssignProperties_From_CapacityReservationGroup(source *storage.CapacityReservationGroup) error

AssignProperties_From_CapacityReservationGroup populates our CapacityReservationGroup from the provided source CapacityReservationGroup

func (*CapacityReservationGroup) AssignProperties_To_CapacityReservationGroup

func (group *CapacityReservationGroup) AssignProperties_To_CapacityReservationGroup(destination *storage.CapacityReservationGroup) error

AssignProperties_To_CapacityReservationGroup populates the provided destination CapacityReservationGroup from our CapacityReservationGroup

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) ConvertFrom

func (group *CapacityReservationGroup) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our CapacityReservationGroup from the provided hub CapacityReservationGroup

func (*CapacityReservationGroup) ConvertTo

func (group *CapacityReservationGroup) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub CapacityReservationGroup from our CapacityReservationGroup

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) InitializeSpec

func (group *CapacityReservationGroup) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

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: List of instance view of the capacity reservations under the capacity reservation group.
	CapacityReservations []CapacityReservationInstanceViewWithName_STATUS `json:"capacityReservations,omitempty"`

	// SharedSubscriptionIds: List of the subscriptions that the capacity reservation group is shared with. Note: Minimum
	// api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.
	SharedSubscriptionIds []SubResourceReadOnly_STATUS `json:"sharedSubscriptionIds,omitempty"`
}

func (*CapacityReservationGroupInstanceView_STATUS) AssignProperties_From_CapacityReservationGroupInstanceView_STATUS

func (view *CapacityReservationGroupInstanceView_STATUS) AssignProperties_From_CapacityReservationGroupInstanceView_STATUS(source *storage.CapacityReservationGroupInstanceView_STATUS) error

AssignProperties_From_CapacityReservationGroupInstanceView_STATUS populates our CapacityReservationGroupInstanceView_STATUS from the provided source CapacityReservationGroupInstanceView_STATUS

func (*CapacityReservationGroupInstanceView_STATUS) AssignProperties_To_CapacityReservationGroupInstanceView_STATUS

func (view *CapacityReservationGroupInstanceView_STATUS) AssignProperties_To_CapacityReservationGroupInstanceView_STATUS(destination *storage.CapacityReservationGroupInstanceView_STATUS) error

AssignProperties_To_CapacityReservationGroupInstanceView_STATUS populates the provided destination CapacityReservationGroupInstanceView_STATUS from our 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.

func (*CapacityReservationGroupInstanceView_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservationGroupInstanceView_STATUS) PopulateFromARM

func (view *CapacityReservationGroupInstanceView_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CapacityReservationGroupList

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

+kubebuilder:object:root=true 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: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

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

func (*CapacityReservationGroupOperatorSpec) AssignProperties_From_CapacityReservationGroupOperatorSpec

func (operator *CapacityReservationGroupOperatorSpec) AssignProperties_From_CapacityReservationGroupOperatorSpec(source *storage.CapacityReservationGroupOperatorSpec) error

AssignProperties_From_CapacityReservationGroupOperatorSpec populates our CapacityReservationGroupOperatorSpec from the provided source CapacityReservationGroupOperatorSpec

func (*CapacityReservationGroupOperatorSpec) AssignProperties_To_CapacityReservationGroupOperatorSpec

func (operator *CapacityReservationGroupOperatorSpec) AssignProperties_To_CapacityReservationGroupOperatorSpec(destination *storage.CapacityReservationGroupOperatorSpec) error

AssignProperties_To_CapacityReservationGroupOperatorSpec populates the provided destination CapacityReservationGroupOperatorSpec from our CapacityReservationGroupOperatorSpec

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: A list of all capacity reservation resource ids that belong to capacity reservation group.
	CapacityReservations []SubResourceReadOnly_STATUS `json:"capacityReservations,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// InstanceView: The capacity reservation group instance view which has the list of instance views for all the capacity
	// reservations that belong to the capacity reservation group.
	InstanceView *CapacityReservationGroupInstanceView_STATUS `json:"instanceView,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// ReservationType: Indicates the type of capacity reservation. Allowed values are 'Block' for block capacity reservations
	// and 'Targeted' for reservations that enable a VM to consume a specific capacity reservation when a capacity reservation
	// group is provided. The reservation type is immutable and cannot be changed after it is assigned.
	ReservationType *ReservationType_STATUS `json:"reservationType,omitempty"`

	// SharingProfile: Specifies the settings to enable sharing across subscriptions for the capacity reservation group
	// resource. The capacity reservation group resource can generally be shared across subscriptions belonging to a single
	// Azure AAD tenant or across AAD tenants if there is a trust relationship established between the tenants.  Block capacity
	// reservation does not support sharing across subscriptions. Note: Minimum api-version: 2023-09-01. Please refer to
	// https://aka.ms/computereservationsharing for more details.
	SharingProfile *ResourceSharingProfile_STATUS `json:"sharingProfile,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`

	// VirtualMachinesAssociated: A list of references to all virtual machines associated to the capacity reservation group.
	VirtualMachinesAssociated []SubResourceReadOnly_STATUS `json:"virtualMachinesAssociated,omitempty"`

	// Zones: The availability zones.
	Zones []string `json:"zones,omitempty"`
}

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) AssignProperties_From_CapacityReservationGroup_STATUS

func (group *CapacityReservationGroup_STATUS) AssignProperties_From_CapacityReservationGroup_STATUS(source *storage.CapacityReservationGroup_STATUS) error

AssignProperties_From_CapacityReservationGroup_STATUS populates our CapacityReservationGroup_STATUS from the provided source CapacityReservationGroup_STATUS

func (*CapacityReservationGroup_STATUS) AssignProperties_To_CapacityReservationGroup_STATUS

func (group *CapacityReservationGroup_STATUS) AssignProperties_To_CapacityReservationGroup_STATUS(destination *storage.CapacityReservationGroup_STATUS) error

AssignProperties_To_CapacityReservationGroup_STATUS populates the provided destination CapacityReservationGroup_STATUS from our CapacityReservationGroup_STATUS

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.

func (*CapacityReservationGroup_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservationGroup_STATUS) PopulateFromARM

func (group *CapacityReservationGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

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

	// +kubebuilder:validation:Required
	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *CapacityReservationGroupOperatorSpec `json:"operatorSpec,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"`

	// ReservationType: Indicates the type of capacity reservation. Allowed values are 'Block' for block capacity reservations
	// and 'Targeted' for reservations that enable a VM to consume a specific capacity reservation when a capacity reservation
	// group is provided. The reservation type is immutable and cannot be changed after it is assigned.
	ReservationType *ReservationType `json:"reservationType,omitempty"`

	// SharingProfile: Specifies the settings to enable sharing across subscriptions for the capacity reservation group
	// resource. The capacity reservation group resource can generally be shared across subscriptions belonging to a single
	// Azure AAD tenant or across AAD tenants if there is a trust relationship established between the tenants.  Block capacity
	// reservation does not support sharing across subscriptions. Note: Minimum api-version: 2023-09-01. Please refer to
	// https://aka.ms/computereservationsharing for more details.
	SharingProfile *ResourceSharingProfile `json:"sharingProfile,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Zones: The availability zones.
	Zones []string `json:"zones,omitempty"`
}

func (*CapacityReservationGroup_Spec) AssignProperties_From_CapacityReservationGroup_Spec

func (group *CapacityReservationGroup_Spec) AssignProperties_From_CapacityReservationGroup_Spec(source *storage.CapacityReservationGroup_Spec) error

AssignProperties_From_CapacityReservationGroup_Spec populates our CapacityReservationGroup_Spec from the provided source CapacityReservationGroup_Spec

func (*CapacityReservationGroup_Spec) AssignProperties_To_CapacityReservationGroup_Spec

func (group *CapacityReservationGroup_Spec) AssignProperties_To_CapacityReservationGroup_Spec(destination *storage.CapacityReservationGroup_Spec) error

AssignProperties_To_CapacityReservationGroup_Spec populates the provided destination CapacityReservationGroup_Spec from our 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) ConvertToARM

func (group *CapacityReservationGroup_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*CapacityReservationGroup_Spec) Initialize_From_CapacityReservationGroup_STATUS

func (group *CapacityReservationGroup_Spec) Initialize_From_CapacityReservationGroup_STATUS(source *CapacityReservationGroup_STATUS) error

Initialize_From_CapacityReservationGroup_STATUS populates our CapacityReservationGroup_Spec from the provided source CapacityReservationGroup_STATUS

func (*CapacityReservationGroup_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservationGroup_Spec) OriginalVersion

func (group *CapacityReservationGroup_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*CapacityReservationGroup_Spec) PopulateFromARM

func (group *CapacityReservationGroup_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*CapacityReservationGroup_Spec) SetAzureName

func (group *CapacityReservationGroup_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type CapacityReservationInstanceViewWithName_STATUS

type CapacityReservationInstanceViewWithName_STATUS struct {
	// Name: The name of the capacity reservation.
	Name *string `json:"name,omitempty"`

	// Statuses: The resource status information.
	Statuses []InstanceViewStatus_STATUS `json:"statuses,omitempty"`

	// UtilizationInfo: Unutilized capacity of the capacity reservation.
	UtilizationInfo *CapacityReservationUtilization_STATUS `json:"utilizationInfo,omitempty"`
}

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) AssignProperties_From_CapacityReservationInstanceViewWithName_STATUS

func (name *CapacityReservationInstanceViewWithName_STATUS) AssignProperties_From_CapacityReservationInstanceViewWithName_STATUS(source *storage.CapacityReservationInstanceViewWithName_STATUS) error

AssignProperties_From_CapacityReservationInstanceViewWithName_STATUS populates our CapacityReservationInstanceViewWithName_STATUS from the provided source CapacityReservationInstanceViewWithName_STATUS

func (*CapacityReservationInstanceViewWithName_STATUS) AssignProperties_To_CapacityReservationInstanceViewWithName_STATUS

func (name *CapacityReservationInstanceViewWithName_STATUS) AssignProperties_To_CapacityReservationInstanceViewWithName_STATUS(destination *storage.CapacityReservationInstanceViewWithName_STATUS) error

AssignProperties_To_CapacityReservationInstanceViewWithName_STATUS populates the provided destination CapacityReservationInstanceViewWithName_STATUS from our CapacityReservationInstanceViewWithName_STATUS

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.

func (*CapacityReservationInstanceViewWithName_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservationInstanceViewWithName_STATUS) PopulateFromARM

func (name *CapacityReservationInstanceViewWithName_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CapacityReservationInstanceView_STATUS

type CapacityReservationInstanceView_STATUS struct {
	// Statuses: The resource status information.
	Statuses []InstanceViewStatus_STATUS `json:"statuses,omitempty"`

	// UtilizationInfo: Unutilized capacity of the capacity reservation.
	UtilizationInfo *CapacityReservationUtilization_STATUS `json:"utilizationInfo,omitempty"`
}

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) AssignProperties_From_CapacityReservationInstanceView_STATUS

func (view *CapacityReservationInstanceView_STATUS) AssignProperties_From_CapacityReservationInstanceView_STATUS(source *storage.CapacityReservationInstanceView_STATUS) error

AssignProperties_From_CapacityReservationInstanceView_STATUS populates our CapacityReservationInstanceView_STATUS from the provided source CapacityReservationInstanceView_STATUS

func (*CapacityReservationInstanceView_STATUS) AssignProperties_To_CapacityReservationInstanceView_STATUS

func (view *CapacityReservationInstanceView_STATUS) AssignProperties_To_CapacityReservationInstanceView_STATUS(destination *storage.CapacityReservationInstanceView_STATUS) error

AssignProperties_To_CapacityReservationInstanceView_STATUS populates the provided destination CapacityReservationInstanceView_STATUS from our CapacityReservationInstanceView_STATUS

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.

func (*CapacityReservationInstanceView_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservationInstanceView_STATUS) PopulateFromARM

func (view *CapacityReservationInstanceView_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CapacityReservationList

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

+kubebuilder:object:root=true 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: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

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

func (*CapacityReservationOperatorSpec) AssignProperties_From_CapacityReservationOperatorSpec

func (operator *CapacityReservationOperatorSpec) AssignProperties_From_CapacityReservationOperatorSpec(source *storage.CapacityReservationOperatorSpec) error

AssignProperties_From_CapacityReservationOperatorSpec populates our CapacityReservationOperatorSpec from the provided source CapacityReservationOperatorSpec

func (*CapacityReservationOperatorSpec) AssignProperties_To_CapacityReservationOperatorSpec

func (operator *CapacityReservationOperatorSpec) AssignProperties_To_CapacityReservationOperatorSpec(destination *storage.CapacityReservationOperatorSpec) error

AssignProperties_To_CapacityReservationOperatorSpec populates the provided destination CapacityReservationOperatorSpec from our CapacityReservationOperatorSpec

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: The value provides the current capacity of the VM size which was reserved successfully and for which
	// the customer is getting billed. Minimum api-version: 2022-08-01.
	CurrentCapacity *int `json:"currentCapacity,omitempty"`

	// VirtualMachinesAllocated: A list of all virtual machines resource ids allocated against the capacity reservation.
	VirtualMachinesAllocated []SubResourceReadOnly_STATUS `json:"virtualMachinesAllocated,omitempty"`
}

Represents the capacity reservation utilization in terms of resources allocated.

func (*CapacityReservationUtilization_STATUS) AssignProperties_From_CapacityReservationUtilization_STATUS

func (utilization *CapacityReservationUtilization_STATUS) AssignProperties_From_CapacityReservationUtilization_STATUS(source *storage.CapacityReservationUtilization_STATUS) error

AssignProperties_From_CapacityReservationUtilization_STATUS populates our CapacityReservationUtilization_STATUS from the provided source CapacityReservationUtilization_STATUS

func (*CapacityReservationUtilization_STATUS) AssignProperties_To_CapacityReservationUtilization_STATUS

func (utilization *CapacityReservationUtilization_STATUS) AssignProperties_To_CapacityReservationUtilization_STATUS(destination *storage.CapacityReservationUtilization_STATUS) error

AssignProperties_To_CapacityReservationUtilization_STATUS populates the provided destination CapacityReservationUtilization_STATUS from our CapacityReservationUtilization_STATUS

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.

func (*CapacityReservationUtilization_STATUS) NewEmptyARMValue

func (utilization *CapacityReservationUtilization_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservationUtilization_STATUS) PopulateFromARM

func (utilization *CapacityReservationUtilization_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CapacityReservation_STATUS

type CapacityReservation_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// InstanceView: The Capacity reservation instance view.
	InstanceView *CapacityReservationInstanceView_STATUS `json:"instanceView,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// PlatformFaultDomainCount: Specifies the value of fault domain count that Capacity Reservation supports for requested VM
	// size. Note: The fault domain count specified for a resource (like virtual machines scale set) must be less than or equal
	// to this value if it deploys using capacity reservation. Minimum api-version: 2022-08-01.
	PlatformFaultDomainCount *int `json:"platformFaultDomainCount,omitempty"`

	// ProvisioningState: The provisioning state, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// ProvisioningTime: The date time when the capacity reservation was last updated.
	ProvisioningTime *string `json:"provisioningTime,omitempty"`

	// ReservationId: A unique id generated and assigned to the capacity reservation by the platform which does not change
	// throughout the lifetime of the resource.
	ReservationId *string `json:"reservationId,omitempty"`

	// 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.
	ScheduleProfile *ScheduleProfile_STATUS `json:"scheduleProfile,omitempty"`

	// Sku: SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set.  For
	// Block capacity reservations, sku.capacity can only accept values 1, 2, 4, 8, 16, 32, 64. Currently VM Skus with the
	// capability called 'CapacityReservationSupported' set to true are supported. When 'CapacityReservationSupported' is true,
	// the SKU capability also specifies the 'SupportedCapacityReservationTypes', which lists the types of capacity
	// reservations (such as Targeted or Block) that the SKU supports. Refer to List Microsoft.Compute SKUs in a region
	// (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.
	Sku *Sku_STATUS `json:"sku,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// TimeCreated: Specifies the time at which the Capacity Reservation resource was created. Minimum api-version: 2021-11-01.
	TimeCreated *string `json:"timeCreated,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`

	// VirtualMachinesAssociated: A list of all virtual machine resource ids that are associated with the capacity reservation.
	VirtualMachinesAssociated []SubResourceReadOnly_STATUS `json:"virtualMachinesAssociated,omitempty"`

	// Zones: The availability zones.
	Zones []string `json:"zones,omitempty"`
}

func (*CapacityReservation_STATUS) AssignProperties_From_CapacityReservation_STATUS

func (reservation *CapacityReservation_STATUS) AssignProperties_From_CapacityReservation_STATUS(source *storage.CapacityReservation_STATUS) error

AssignProperties_From_CapacityReservation_STATUS populates our CapacityReservation_STATUS from the provided source CapacityReservation_STATUS

func (*CapacityReservation_STATUS) AssignProperties_To_CapacityReservation_STATUS

func (reservation *CapacityReservation_STATUS) AssignProperties_To_CapacityReservation_STATUS(destination *storage.CapacityReservation_STATUS) error

AssignProperties_To_CapacityReservation_STATUS populates the provided destination CapacityReservation_STATUS from our 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.

func (*CapacityReservation_STATUS) NewEmptyARMValue

func (reservation *CapacityReservation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservation_STATUS) PopulateFromARM

func (reservation *CapacityReservation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

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

	// +kubebuilder:validation:Required
	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *CapacityReservationOperatorSpec `json:"operatorSpec,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"`

	// 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.
	ScheduleProfile *ScheduleProfile `json:"scheduleProfile,omitempty"`

	// +kubebuilder:validation:Required
	// Sku: SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set.  For
	// Block capacity reservations, sku.capacity can only accept values 1, 2, 4, 8, 16, 32, 64. Currently VM Skus with the
	// capability called 'CapacityReservationSupported' set to true are supported. When 'CapacityReservationSupported' is true,
	// the SKU capability also specifies the 'SupportedCapacityReservationTypes', which lists the types of capacity
	// reservations (such as Targeted or Block) that the SKU supports. Refer to List Microsoft.Compute SKUs in a region
	// (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.
	Sku *Sku `json:"sku,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Zones: The availability zones.
	Zones []string `json:"zones,omitempty"`
}

func (*CapacityReservation_Spec) AssignProperties_From_CapacityReservation_Spec

func (reservation *CapacityReservation_Spec) AssignProperties_From_CapacityReservation_Spec(source *storage.CapacityReservation_Spec) error

AssignProperties_From_CapacityReservation_Spec populates our CapacityReservation_Spec from the provided source CapacityReservation_Spec

func (*CapacityReservation_Spec) AssignProperties_To_CapacityReservation_Spec

func (reservation *CapacityReservation_Spec) AssignProperties_To_CapacityReservation_Spec(destination *storage.CapacityReservation_Spec) error

AssignProperties_To_CapacityReservation_Spec populates the provided destination CapacityReservation_Spec from our 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) ConvertToARM

func (reservation *CapacityReservation_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*CapacityReservation_Spec) Initialize_From_CapacityReservation_STATUS

func (reservation *CapacityReservation_Spec) Initialize_From_CapacityReservation_STATUS(source *CapacityReservation_STATUS) error

Initialize_From_CapacityReservation_STATUS populates our CapacityReservation_Spec from the provided source CapacityReservation_STATUS

func (*CapacityReservation_Spec) NewEmptyARMValue

func (reservation *CapacityReservation_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CapacityReservation_Spec) OriginalVersion

func (reservation *CapacityReservation_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*CapacityReservation_Spec) PopulateFromARM

func (reservation *CapacityReservation_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*CapacityReservation_Spec) SetAzureName

func (reservation *CapacityReservation_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type InstanceViewStatus_STATUS

type InstanceViewStatus_STATUS struct {
	// Code: The status code.
	Code *string `json:"code,omitempty"`

	// DisplayStatus: The short localizable label for the status.
	DisplayStatus *string `json:"displayStatus,omitempty"`

	// Level: The level code.
	Level *StatusLevelTypes_STATUS `json:"level,omitempty"`

	// Message: The detailed status message, including for alerts and error messages.
	Message *string `json:"message,omitempty"`

	// Time: The time of the status.
	Time *string `json:"time,omitempty"`
}

Instance view status.

func (*InstanceViewStatus_STATUS) AssignProperties_From_InstanceViewStatus_STATUS

func (status *InstanceViewStatus_STATUS) AssignProperties_From_InstanceViewStatus_STATUS(source *storage.InstanceViewStatus_STATUS) error

AssignProperties_From_InstanceViewStatus_STATUS populates our InstanceViewStatus_STATUS from the provided source InstanceViewStatus_STATUS

func (*InstanceViewStatus_STATUS) AssignProperties_To_InstanceViewStatus_STATUS

func (status *InstanceViewStatus_STATUS) AssignProperties_To_InstanceViewStatus_STATUS(destination *storage.InstanceViewStatus_STATUS) error

AssignProperties_To_InstanceViewStatus_STATUS populates the provided destination InstanceViewStatus_STATUS from our InstanceViewStatus_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.

func (*InstanceViewStatus_STATUS) NewEmptyARMValue

func (status *InstanceViewStatus_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*InstanceViewStatus_STATUS) PopulateFromARM

func (status *InstanceViewStatus_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ReservationType

type ReservationType string

Indicates the type of capacity reservation. Allowed values are 'Block' for block capacity reservations and 'Targeted' for reservations that enable a VM to consume a specific capacity reservation when a capacity reservation group is provided. The reservation type is immutable and cannot be changed after it is assigned. +kubebuilder:validation:Enum={"Block","Targeted"}

type ReservationType_STATUS

type ReservationType_STATUS string

Indicates the type of capacity reservation. Allowed values are 'Block' for block capacity reservations and 'Targeted' for reservations that enable a VM to consume a specific capacity reservation when a capacity reservation group is provided. The reservation type is immutable and cannot be changed after it is assigned.

type ResourceSharingProfile

type ResourceSharingProfile struct {
	// SubscriptionIds: Specifies an array of subscription resource IDs that capacity reservation group is shared with. Block
	// Capacity Reservations does not support sharing across subscriptions. Note: Minimum api-version: 2023-09-01. Please refer
	// to https://aka.ms/computereservationsharing for more details.
	SubscriptionIds []SubResource `json:"subscriptionIds,omitempty"`
}

func (*ResourceSharingProfile) AssignProperties_From_ResourceSharingProfile

func (profile *ResourceSharingProfile) AssignProperties_From_ResourceSharingProfile(source *storage.ResourceSharingProfile) error

AssignProperties_From_ResourceSharingProfile populates our ResourceSharingProfile from the provided source ResourceSharingProfile

func (*ResourceSharingProfile) AssignProperties_To_ResourceSharingProfile

func (profile *ResourceSharingProfile) AssignProperties_To_ResourceSharingProfile(destination *storage.ResourceSharingProfile) error

AssignProperties_To_ResourceSharingProfile populates the provided destination ResourceSharingProfile from our ResourceSharingProfile

func (*ResourceSharingProfile) ConvertToARM

func (profile *ResourceSharingProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*ResourceSharingProfile) Initialize_From_ResourceSharingProfile_STATUS

func (profile *ResourceSharingProfile) Initialize_From_ResourceSharingProfile_STATUS(source *ResourceSharingProfile_STATUS) error

Initialize_From_ResourceSharingProfile_STATUS populates our ResourceSharingProfile from the provided source ResourceSharingProfile_STATUS

func (*ResourceSharingProfile) NewEmptyARMValue

func (profile *ResourceSharingProfile) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ResourceSharingProfile) PopulateFromARM

func (profile *ResourceSharingProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ResourceSharingProfile_STATUS

type ResourceSharingProfile_STATUS struct {
	// SubscriptionIds: Specifies an array of subscription resource IDs that capacity reservation group is shared with. Block
	// Capacity Reservations does not support sharing across subscriptions. Note: Minimum api-version: 2023-09-01. Please refer
	// to https://aka.ms/computereservationsharing for more details.
	SubscriptionIds []SubResource_STATUS `json:"subscriptionIds,omitempty"`
}

func (*ResourceSharingProfile_STATUS) AssignProperties_From_ResourceSharingProfile_STATUS

func (profile *ResourceSharingProfile_STATUS) AssignProperties_From_ResourceSharingProfile_STATUS(source *storage.ResourceSharingProfile_STATUS) error

AssignProperties_From_ResourceSharingProfile_STATUS populates our ResourceSharingProfile_STATUS from the provided source ResourceSharingProfile_STATUS

func (*ResourceSharingProfile_STATUS) AssignProperties_To_ResourceSharingProfile_STATUS

func (profile *ResourceSharingProfile_STATUS) AssignProperties_To_ResourceSharingProfile_STATUS(destination *storage.ResourceSharingProfile_STATUS) error

AssignProperties_To_ResourceSharingProfile_STATUS populates the provided destination ResourceSharingProfile_STATUS from our 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.

func (*ResourceSharingProfile_STATUS) NewEmptyARMValue

func (profile *ResourceSharingProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ResourceSharingProfile_STATUS) PopulateFromARM

func (profile *ResourceSharingProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScheduleProfile

type ScheduleProfile struct {
	// End: The required end date for block capacity reservations. Must be after the start date, with a duration of either
	// 1–14 whole days or 3–26 whole weeks. Example: 2025-06-28.
	End *string `json:"end,omitempty"`

	// Start: The required start date for block capacity reservations. Must be today or within 56 days in the future. For
	// same-day scheduling, requests must be submitted before 11:30 AM UTC. Example: 2025-06-27.
	Start *string `json:"start,omitempty"`
}

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) AssignProperties_From_ScheduleProfile

func (profile *ScheduleProfile) AssignProperties_From_ScheduleProfile(source *storage.ScheduleProfile) error

AssignProperties_From_ScheduleProfile populates our ScheduleProfile from the provided source ScheduleProfile

func (*ScheduleProfile) AssignProperties_To_ScheduleProfile

func (profile *ScheduleProfile) AssignProperties_To_ScheduleProfile(destination *storage.ScheduleProfile) error

AssignProperties_To_ScheduleProfile populates the provided destination ScheduleProfile from our ScheduleProfile

func (*ScheduleProfile) ConvertToARM

func (profile *ScheduleProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*ScheduleProfile) Initialize_From_ScheduleProfile_STATUS

func (profile *ScheduleProfile) Initialize_From_ScheduleProfile_STATUS(source *ScheduleProfile_STATUS) error

Initialize_From_ScheduleProfile_STATUS populates our ScheduleProfile from the provided source ScheduleProfile_STATUS

func (*ScheduleProfile) NewEmptyARMValue

func (profile *ScheduleProfile) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduleProfile) PopulateFromARM

func (profile *ScheduleProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScheduleProfile_STATUS

type ScheduleProfile_STATUS struct {
	// End: The required end date for block capacity reservations. Must be after the start date, with a duration of either
	// 1–14 whole days or 3–26 whole weeks. Example: 2025-06-28.
	End *string `json:"end,omitempty"`

	// Start: The required start date for block capacity reservations. Must be today or within 56 days in the future. For
	// same-day scheduling, requests must be submitted before 11:30 AM UTC. Example: 2025-06-27.
	Start *string `json:"start,omitempty"`
}

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) AssignProperties_From_ScheduleProfile_STATUS

func (profile *ScheduleProfile_STATUS) AssignProperties_From_ScheduleProfile_STATUS(source *storage.ScheduleProfile_STATUS) error

AssignProperties_From_ScheduleProfile_STATUS populates our ScheduleProfile_STATUS from the provided source ScheduleProfile_STATUS

func (*ScheduleProfile_STATUS) AssignProperties_To_ScheduleProfile_STATUS

func (profile *ScheduleProfile_STATUS) AssignProperties_To_ScheduleProfile_STATUS(destination *storage.ScheduleProfile_STATUS) error

AssignProperties_To_ScheduleProfile_STATUS populates the provided destination ScheduleProfile_STATUS from our ScheduleProfile_STATUS

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.

func (*ScheduleProfile_STATUS) NewEmptyARMValue

func (profile *ScheduleProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduleProfile_STATUS) PopulateFromARM

func (profile *ScheduleProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku

type Sku struct {
	// Capacity: Specifies the number of virtual machines in the scale set.
	Capacity *int `json:"capacity,omitempty"`

	// Name: The sku name.
	Name *string `json:"name,omitempty"`

	// Tier: Specifies the tier of virtual machines in a scale set.
	// Possible Values:
	// Standard
	// Basic
	Tier *string `json:"tier,omitempty"`
}

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) AssignProperties_From_Sku

func (sku *Sku) AssignProperties_From_Sku(source *storage.Sku) error

AssignProperties_From_Sku populates our Sku from the provided source Sku

func (*Sku) AssignProperties_To_Sku

func (sku *Sku) AssignProperties_To_Sku(destination *storage.Sku) error

AssignProperties_To_Sku populates the provided destination Sku from our Sku

func (*Sku) ConvertToARM

func (sku *Sku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*Sku) Initialize_From_Sku_STATUS

func (sku *Sku) Initialize_From_Sku_STATUS(source *Sku_STATUS) error

Initialize_From_Sku_STATUS populates our Sku from the provided source Sku_STATUS

func (*Sku) NewEmptyARMValue

func (sku *Sku) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku) PopulateFromARM

func (sku *Sku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku_STATUS

type Sku_STATUS struct {
	// Capacity: Specifies the number of virtual machines in the scale set.
	Capacity *int `json:"capacity,omitempty"`

	// Name: The sku name.
	Name *string `json:"name,omitempty"`

	// Tier: Specifies the tier of virtual machines in a scale set.
	// Possible Values:
	// Standard
	// Basic
	Tier *string `json:"tier,omitempty"`
}

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) AssignProperties_From_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *storage.Sku_STATUS) error

AssignProperties_From_Sku_STATUS populates our Sku_STATUS from the provided source Sku_STATUS

func (*Sku_STATUS) AssignProperties_To_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_To_Sku_STATUS(destination *storage.Sku_STATUS) error

AssignProperties_To_Sku_STATUS populates the provided destination Sku_STATUS from our Sku_STATUS

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.

func (*Sku_STATUS) NewEmptyARMValue

func (sku *Sku_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku_STATUS) PopulateFromARM

func (sku *Sku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type StatusLevelTypes_STATUS

type StatusLevelTypes_STATUS string

The level code.

type SubResource

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

func (*SubResource) AssignProperties_From_SubResource

func (resource *SubResource) AssignProperties_From_SubResource(source *storage.SubResource) error

AssignProperties_From_SubResource populates our SubResource from the provided source SubResource

func (*SubResource) AssignProperties_To_SubResource

func (resource *SubResource) AssignProperties_To_SubResource(destination *storage.SubResource) error

AssignProperties_To_SubResource populates the provided destination SubResource from our SubResource

func (*SubResource) ConvertToARM

func (resource *SubResource) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*SubResource) Initialize_From_SubResource_STATUS

func (resource *SubResource) Initialize_From_SubResource_STATUS(source *SubResource_STATUS) error

Initialize_From_SubResource_STATUS populates our SubResource from the provided source SubResource_STATUS

func (*SubResource) NewEmptyARMValue

func (resource *SubResource) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SubResource) PopulateFromARM

func (resource *SubResource) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SubResourceReadOnly_STATUS

type SubResourceReadOnly_STATUS struct {
	// Id: Resource Id
	Id *string `json:"id,omitempty"`
}

func (*SubResourceReadOnly_STATUS) AssignProperties_From_SubResourceReadOnly_STATUS

func (only *SubResourceReadOnly_STATUS) AssignProperties_From_SubResourceReadOnly_STATUS(source *storage.SubResourceReadOnly_STATUS) error

AssignProperties_From_SubResourceReadOnly_STATUS populates our SubResourceReadOnly_STATUS from the provided source SubResourceReadOnly_STATUS

func (*SubResourceReadOnly_STATUS) AssignProperties_To_SubResourceReadOnly_STATUS

func (only *SubResourceReadOnly_STATUS) AssignProperties_To_SubResourceReadOnly_STATUS(destination *storage.SubResourceReadOnly_STATUS) error

AssignProperties_To_SubResourceReadOnly_STATUS populates the provided destination SubResourceReadOnly_STATUS from our 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.

func (*SubResourceReadOnly_STATUS) NewEmptyARMValue

func (only *SubResourceReadOnly_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SubResourceReadOnly_STATUS) PopulateFromARM

func (only *SubResourceReadOnly_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SubResource_STATUS

type SubResource_STATUS struct {
	// Id: Resource Id
	Id *string `json:"id,omitempty"`
}

func (*SubResource_STATUS) AssignProperties_From_SubResource_STATUS

func (resource *SubResource_STATUS) AssignProperties_From_SubResource_STATUS(source *storage.SubResource_STATUS) error

AssignProperties_From_SubResource_STATUS populates our SubResource_STATUS from the provided source SubResource_STATUS

func (*SubResource_STATUS) AssignProperties_To_SubResource_STATUS

func (resource *SubResource_STATUS) AssignProperties_To_SubResource_STATUS(destination *storage.SubResource_STATUS) error

AssignProperties_To_SubResource_STATUS populates the provided destination SubResource_STATUS from our 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.

func (*SubResource_STATUS) NewEmptyARMValue

func (resource *SubResource_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SubResource_STATUS) PopulateFromARM

func (resource *SubResource_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS string

type SystemData_STATUS

type SystemData_STATUS struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

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.

func (*SystemData_STATUS) NewEmptyARMValue

func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.

Jump to

Keyboard shortcuts

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