v1alpha1api20200801previewstorage

package
v2.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const APIVersionValue = APIVersion("2020-08-01-preview")

Variables

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

	// 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 v1alpha1api20200801preview.APIVersion Deprecated version of APIVersion. Use v1beta20200801preview.APIVersion instead +kubebuilder:validation:Enum={"2020-08-01-preview"}

type RoleAssignment

type RoleAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RoleAssignments_Spec  `json:"spec,omitempty"`
	Status            RoleAssignment_Status `json:"status,omitempty"`
}

+kubebuilder:object:root=true +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" Storage version of v1alpha1api20200801preview.RoleAssignment Deprecated version of RoleAssignment. Use v1beta20200801preview.RoleAssignment instead

func (*RoleAssignment) AssignPropertiesFromRoleAssignment

func (assignment *RoleAssignment) AssignPropertiesFromRoleAssignment(source *v20200801ps.RoleAssignment) error

AssignPropertiesFromRoleAssignment populates our RoleAssignment from the provided source RoleAssignment

func (*RoleAssignment) AssignPropertiesToRoleAssignment

func (assignment *RoleAssignment) AssignPropertiesToRoleAssignment(destination *v20200801ps.RoleAssignment) error

AssignPropertiesToRoleAssignment populates the provided destination RoleAssignment from our RoleAssignment

func (*RoleAssignment) AzureName

func (assignment *RoleAssignment) AzureName() string

AzureName returns the Azure name of the resource

func (*RoleAssignment) ConvertFrom

func (assignment *RoleAssignment) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RoleAssignment from the provided hub RoleAssignment

func (*RoleAssignment) ConvertTo

func (assignment *RoleAssignment) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RoleAssignment from our RoleAssignment

func (*RoleAssignment) DeepCopy

func (in *RoleAssignment) DeepCopy() *RoleAssignment

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

func (*RoleAssignment) DeepCopyInto

func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)

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

func (*RoleAssignment) DeepCopyObject

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

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

func (RoleAssignment) GetAPIVersion

func (assignment RoleAssignment) GetAPIVersion() string

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

func (*RoleAssignment) GetConditions

func (assignment *RoleAssignment) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RoleAssignment) GetResourceScope

func (assignment *RoleAssignment) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*RoleAssignment) GetSpec

func (assignment *RoleAssignment) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*RoleAssignment) GetStatus

func (assignment *RoleAssignment) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*RoleAssignment) GetType

func (assignment *RoleAssignment) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleAssignments"

func (*RoleAssignment) NewEmptyStatus

func (assignment *RoleAssignment) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RoleAssignment) OriginalGVK

func (assignment *RoleAssignment) OriginalGVK() *schema.GroupVersionKind

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

func (*RoleAssignment) Owner

func (assignment *RoleAssignment) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*RoleAssignment) SetConditions

func (assignment *RoleAssignment) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RoleAssignment) SetStatus

func (assignment *RoleAssignment) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type RoleAssignmentList

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

+kubebuilder:object:root=true Storage version of v1alpha1api20200801preview.RoleAssignment Deprecated version of RoleAssignment. Use v1beta20200801preview.RoleAssignment instead

func (*RoleAssignmentList) DeepCopy

func (in *RoleAssignmentList) DeepCopy() *RoleAssignmentList

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

func (*RoleAssignmentList) DeepCopyInto

func (in *RoleAssignmentList) DeepCopyInto(out *RoleAssignmentList)

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

func (*RoleAssignmentList) DeepCopyObject

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

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

type RoleAssignment_Status

type RoleAssignment_Status struct {
	Condition                          *string                `json:"condition,omitempty"`
	ConditionVersion                   *string                `json:"conditionVersion,omitempty"`
	Conditions                         []conditions.Condition `json:"conditions,omitempty"`
	CreatedBy                          *string                `json:"createdBy,omitempty"`
	CreatedOn                          *string                `json:"createdOn,omitempty"`
	DelegatedManagedIdentityResourceId *string                `json:"delegatedManagedIdentityResourceId,omitempty"`
	Description                        *string                `json:"description,omitempty"`
	Id                                 *string                `json:"id,omitempty"`
	Name                               *string                `json:"name,omitempty"`
	PrincipalId                        *string                `json:"principalId,omitempty"`
	PrincipalType                      *string                `json:"principalType,omitempty"`
	PropertyBag                        genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	RoleDefinitionId                   *string                `json:"roleDefinitionId,omitempty"`
	Scope                              *string                `json:"scope,omitempty"`
	Type                               *string                `json:"type,omitempty"`
	UpdatedBy                          *string                `json:"updatedBy,omitempty"`
	UpdatedOn                          *string                `json:"updatedOn,omitempty"`
}

Storage version of v1alpha1api20200801preview.RoleAssignment_Status Deprecated version of RoleAssignment_Status. Use v1beta20200801preview.RoleAssignment_Status instead

func (*RoleAssignment_Status) AssignPropertiesFromRoleAssignmentStatus

func (assignment *RoleAssignment_Status) AssignPropertiesFromRoleAssignmentStatus(source *v20200801ps.RoleAssignment_Status) error

AssignPropertiesFromRoleAssignmentStatus populates our RoleAssignment_Status from the provided source RoleAssignment_Status

func (*RoleAssignment_Status) AssignPropertiesToRoleAssignmentStatus

func (assignment *RoleAssignment_Status) AssignPropertiesToRoleAssignmentStatus(destination *v20200801ps.RoleAssignment_Status) error

AssignPropertiesToRoleAssignmentStatus populates the provided destination RoleAssignment_Status from our RoleAssignment_Status

func (*RoleAssignment_Status) ConvertStatusFrom

func (assignment *RoleAssignment_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our RoleAssignment_Status from the provided source

func (*RoleAssignment_Status) ConvertStatusTo

func (assignment *RoleAssignment_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our RoleAssignment_Status

func (*RoleAssignment_Status) DeepCopy

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

func (*RoleAssignment_Status) DeepCopyInto

func (in *RoleAssignment_Status) DeepCopyInto(out *RoleAssignment_Status)

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

type RoleAssignments_Spec

type RoleAssignments_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"`
	Condition                          *string `json:"condition,omitempty"`
	ConditionVersion                   *string `json:"conditionVersion,omitempty"`
	DelegatedManagedIdentityResourceId *string `json:"delegatedManagedIdentityResourceId,omitempty"`
	Description                        *string `json:"description,omitempty"`
	Location                           *string `json:"location,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. This resource is an
	// extension resource, which means that any other Azure resource can be its owner.
	Owner         *genruntime.ArbitraryOwnerReference `json:"owner,omitempty"`
	PrincipalId   *string                             `json:"principalId,omitempty"`
	PrincipalType *string                             `json:"principalType,omitempty"`
	PropertyBag   genruntime.PropertyBag              `json:"$propertyBag,omitempty"`

	// +kubebuilder:validation:Required
	RoleDefinitionReference *genruntime.ResourceReference `armReference:"RoleDefinitionId" json:"roleDefinitionReference,omitempty"`
	Tags                    map[string]string             `json:"tags,omitempty"`
}

Storage version of v1alpha1api20200801preview.RoleAssignments_Spec

func (*RoleAssignments_Spec) AssignPropertiesFromRoleAssignmentsSpec

func (assignments *RoleAssignments_Spec) AssignPropertiesFromRoleAssignmentsSpec(source *v20200801ps.RoleAssignments_Spec) error

AssignPropertiesFromRoleAssignmentsSpec populates our RoleAssignments_Spec from the provided source RoleAssignments_Spec

func (*RoleAssignments_Spec) AssignPropertiesToRoleAssignmentsSpec

func (assignments *RoleAssignments_Spec) AssignPropertiesToRoleAssignmentsSpec(destination *v20200801ps.RoleAssignments_Spec) error

AssignPropertiesToRoleAssignmentsSpec populates the provided destination RoleAssignments_Spec from our RoleAssignments_Spec

func (*RoleAssignments_Spec) ConvertSpecFrom

func (assignments *RoleAssignments_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RoleAssignments_Spec from the provided source

func (*RoleAssignments_Spec) ConvertSpecTo

func (assignments *RoleAssignments_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RoleAssignments_Spec

func (*RoleAssignments_Spec) DeepCopy

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

func (*RoleAssignments_Spec) DeepCopyInto

func (in *RoleAssignments_Spec) DeepCopyInto(out *RoleAssignments_Spec)

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

Jump to

Keyboard shortcuts

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