v20231001preview

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AwsCredentialType represents the ucp azure crendetial type value.
	AWSCredentialType = "System.AWS/credentials"
)
View Source
const (
	// AzureCredentialType represents the ucp azure crendetial type value.
	AzureCredentialType = "System.Azure/credentials"
)
View Source
const (
	ResourceGroupType = "System.Resources/resourceGroups"
)
View Source
const (
	ResourceType = "System.Resources/resources"
)
View Source
const Version = "2023-10-01-preview"

Version represents the api version in this package.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCredentialKind

type AWSCredentialKind string

AWSCredentialKind - AWS credential kind

const (
	// AWSCredentialKindAccessKey - The AWS Access Key credential
	AWSCredentialKindAccessKey AWSCredentialKind = "AccessKey"
	// AWSCredentialKindIRSA - AWS IAM roles for service accounts. For more information, please see: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
	AWSCredentialKindIRSA AWSCredentialKind = "IRSA"
)

func PossibleAWSCredentialKindValues

func PossibleAWSCredentialKindValues() []AWSCredentialKind

PossibleAWSCredentialKindValues returns the possible values for the AWSCredentialKind const type.

type AwsAccessKeyCredentialProperties

type AwsAccessKeyCredentialProperties struct {
	// REQUIRED; Access key ID for AWS identity
	AccessKeyID *string

	// REQUIRED; The AWS credential kind
	Kind *AWSCredentialKind

	// REQUIRED; Secret Access Key for AWS identity
	SecretAccessKey *string

	// REQUIRED; The storage properties
	Storage CredentialStoragePropertiesClassification

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AwsAccessKeyCredentialProperties - AWS credential properties for Access Key

func (*AwsAccessKeyCredentialProperties) GetAwsCredentialProperties

func (a *AwsAccessKeyCredentialProperties) GetAwsCredentialProperties() *AwsCredentialProperties

GetAwsCredentialProperties implements the AwsCredentialPropertiesClassification interface for type AwsAccessKeyCredentialProperties.

func (AwsAccessKeyCredentialProperties) MarshalJSON

func (a AwsAccessKeyCredentialProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsAccessKeyCredentialProperties.

func (*AwsAccessKeyCredentialProperties) UnmarshalJSON

func (a *AwsAccessKeyCredentialProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsAccessKeyCredentialProperties.

type AwsCredentialProperties

type AwsCredentialProperties struct {
	// REQUIRED; The AWS credential kind
	Kind *AWSCredentialKind

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AwsCredentialProperties - AWS Credential properties

func (*AwsCredentialProperties) GetAwsCredentialProperties

func (a *AwsCredentialProperties) GetAwsCredentialProperties() *AwsCredentialProperties

GetAwsCredentialProperties implements the AwsCredentialPropertiesClassification interface for type AwsCredentialProperties.

func (AwsCredentialProperties) MarshalJSON

func (a AwsCredentialProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsCredentialProperties.

func (*AwsCredentialProperties) UnmarshalJSON

func (a *AwsCredentialProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsCredentialProperties.

type AwsCredentialPropertiesClassification

type AwsCredentialPropertiesClassification interface {
	// GetAwsCredentialProperties returns the AwsCredentialProperties content of the underlying type.
	GetAwsCredentialProperties() *AwsCredentialProperties
}

AwsCredentialPropertiesClassification provides polymorphic access to related types. Call the interface's GetAwsCredentialProperties() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *AwsAccessKeyCredentialProperties, *AwsCredentialProperties, *AwsIRSACredentialProperties

type AwsCredentialResource

type AwsCredentialResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// REQUIRED; The resource-specific properties for this resource.
	Properties AwsCredentialPropertiesClassification

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AwsCredentialResource - Concrete tracked resource types can be created by aliasing this type using a specific property type.

func (*AwsCredentialResource) ConvertFrom

func (dst *AwsCredentialResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned Credential resource.

func (*AwsCredentialResource) ConvertTo

func (cr *AwsCredentialResource) ConvertTo() (v1.DataModelInterface, error)

ConvertTo converts from the versioned Credential resource to version-agnostic datamodel.

func (AwsCredentialResource) MarshalJSON

func (a AwsCredentialResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsCredentialResource.

func (*AwsCredentialResource) UnmarshalJSON

func (a *AwsCredentialResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsCredentialResource.

type AwsCredentialResourceListResult

type AwsCredentialResourceListResult struct {
	// REQUIRED; The AwsCredentialResource items on this page
	Value []*AwsCredentialResource

	// The link to the next page of items
	NextLink *string
}

AwsCredentialResourceListResult - The response of a AwsCredentialResource list operation.

func (AwsCredentialResourceListResult) MarshalJSON

func (a AwsCredentialResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsCredentialResourceListResult.

func (*AwsCredentialResourceListResult) UnmarshalJSON

func (a *AwsCredentialResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsCredentialResourceListResult.

type AwsCredentialResourceTagsUpdate

type AwsCredentialResourceTagsUpdate struct {
	// Resource tags.
	Tags map[string]*string
}

AwsCredentialResourceTagsUpdate - The type used for updating tags in AwsCredentialResource resources.

func (AwsCredentialResourceTagsUpdate) MarshalJSON

func (a AwsCredentialResourceTagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsCredentialResourceTagsUpdate.

func (*AwsCredentialResourceTagsUpdate) UnmarshalJSON

func (a *AwsCredentialResourceTagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsCredentialResourceTagsUpdate.

type AwsCredentialsClient

type AwsCredentialsClient struct {
	// contains filtered or unexported fields
}

AwsCredentialsClient contains the methods for the AwsCredentials group. Don't use this type directly, use NewAwsCredentialsClient() instead.

func NewAwsCredentialsClient

func NewAwsCredentialsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*AwsCredentialsClient, error)

NewAwsCredentialsClient creates a new instance of AwsCredentialsClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AwsCredentialsClient) CreateOrUpdate

CreateOrUpdate - Create or update an AWS credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of AWS plane
  • credentialName - The AWS credential name.
  • resource - Resource create parameters.
  • options - AwsCredentialsClientCreateOrUpdateOptions contains the optional parameters for the AwsCredentialsClient.CreateOrUpdate method.

func (*AwsCredentialsClient) Delete

Delete - Delete an AWS credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of AWS plane
  • credentialName - The AWS credential name.
  • options - AwsCredentialsClientDeleteOptions contains the optional parameters for the AwsCredentialsClient.Delete method.

func (*AwsCredentialsClient) Get

Get - Get an AWS credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of AWS plane
  • credentialName - The AWS credential name.
  • options - AwsCredentialsClientGetOptions contains the optional parameters for the AwsCredentialsClient.Get method.

func (*AwsCredentialsClient) NewListPager

NewListPager - List AWS credentials

Generated from API version 2023-10-01-preview

  • planeName - The name of AWS plane
  • options - AwsCredentialsClientListOptions contains the optional parameters for the AwsCredentialsClient.NewListPager method.

func (*AwsCredentialsClient) Update

Update - Update an AWS credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of AWS plane
  • credentialName - The AWS credential name.
  • properties - The resource properties to be updated.
  • options - AwsCredentialsClientUpdateOptions contains the optional parameters for the AwsCredentialsClient.Update method.

type AwsCredentialsClientCreateOrUpdateOptions

type AwsCredentialsClientCreateOrUpdateOptions struct {
}

AwsCredentialsClientCreateOrUpdateOptions contains the optional parameters for the AwsCredentialsClient.CreateOrUpdate method.

type AwsCredentialsClientCreateOrUpdateResponse

type AwsCredentialsClientCreateOrUpdateResponse struct {
	// Concrete tracked resource types can be created by aliasing this type using a specific property type.
	AwsCredentialResource
}

AwsCredentialsClientCreateOrUpdateResponse contains the response from method AwsCredentialsClient.CreateOrUpdate.

type AwsCredentialsClientDeleteOptions

type AwsCredentialsClientDeleteOptions struct {
}

AwsCredentialsClientDeleteOptions contains the optional parameters for the AwsCredentialsClient.Delete method.

type AwsCredentialsClientDeleteResponse

type AwsCredentialsClientDeleteResponse struct {
}

AwsCredentialsClientDeleteResponse contains the response from method AwsCredentialsClient.Delete.

type AwsCredentialsClientGetOptions

type AwsCredentialsClientGetOptions struct {
}

AwsCredentialsClientGetOptions contains the optional parameters for the AwsCredentialsClient.Get method.

type AwsCredentialsClientGetResponse

type AwsCredentialsClientGetResponse struct {
	// Concrete tracked resource types can be created by aliasing this type using a specific property type.
	AwsCredentialResource
}

AwsCredentialsClientGetResponse contains the response from method AwsCredentialsClient.Get.

type AwsCredentialsClientListOptions

type AwsCredentialsClientListOptions struct {
}

AwsCredentialsClientListOptions contains the optional parameters for the AwsCredentialsClient.NewListPager method.

type AwsCredentialsClientListResponse

type AwsCredentialsClientListResponse struct {
	// The response of a AwsCredentialResource list operation.
	AwsCredentialResourceListResult
}

AwsCredentialsClientListResponse contains the response from method AwsCredentialsClient.NewListPager.

type AwsCredentialsClientUpdateOptions

type AwsCredentialsClientUpdateOptions struct {
}

AwsCredentialsClientUpdateOptions contains the optional parameters for the AwsCredentialsClient.Update method.

type AwsCredentialsClientUpdateResponse

type AwsCredentialsClientUpdateResponse struct {
	// Concrete tracked resource types can be created by aliasing this type using a specific property type.
	AwsCredentialResource
}

AwsCredentialsClientUpdateResponse contains the response from method AwsCredentialsClient.Update.

type AwsIRSACredentialProperties added in v0.36.0

type AwsIRSACredentialProperties struct {
	// REQUIRED; The AWS credential kind
	Kind *AWSCredentialKind

	// REQUIRED; RoleARN for AWS IRSA identity
	RoleARN *string

	// REQUIRED; The storage properties
	Storage CredentialStoragePropertiesClassification

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AwsIRSACredentialProperties - AWS credential properties for IAM Roles for Service Accounts (IRSA)

func (*AwsIRSACredentialProperties) GetAwsCredentialProperties added in v0.36.0

func (a *AwsIRSACredentialProperties) GetAwsCredentialProperties() *AwsCredentialProperties

GetAwsCredentialProperties implements the AwsCredentialPropertiesClassification interface for type AwsIRSACredentialProperties.

func (AwsIRSACredentialProperties) MarshalJSON added in v0.36.0

func (a AwsIRSACredentialProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsIRSACredentialProperties.

func (*AwsIRSACredentialProperties) UnmarshalJSON added in v0.36.0

func (a *AwsIRSACredentialProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsIRSACredentialProperties.

type AwsPlaneResource added in v0.34.0

type AwsPlaneResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// REQUIRED; The resource-specific properties for this resource.
	Properties *AwsPlaneResourceProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AwsPlaneResource - The AWS plane resource

func (*AwsPlaneResource) ConvertFrom added in v0.34.0

func (dst *AwsPlaneResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned AWS Plane resource.

func (*AwsPlaneResource) ConvertTo added in v0.34.0

func (src *AwsPlaneResource) ConvertTo() (v1.DataModelInterface, error)

ConvertTo converts from the versioned AWS Plane resource to version-agnostic datamodel.

func (AwsPlaneResource) MarshalJSON added in v0.34.0

func (a AwsPlaneResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsPlaneResource.

func (*AwsPlaneResource) UnmarshalJSON added in v0.34.0

func (a *AwsPlaneResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsPlaneResource.

type AwsPlaneResourceListResult added in v0.34.0

type AwsPlaneResourceListResult struct {
	// REQUIRED; The AwsPlaneResource items on this page
	Value []*AwsPlaneResource

	// The link to the next page of items
	NextLink *string
}

AwsPlaneResourceListResult - The response of a AwsPlaneResource list operation.

func (AwsPlaneResourceListResult) MarshalJSON added in v0.34.0

func (a AwsPlaneResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsPlaneResourceListResult.

func (*AwsPlaneResourceListResult) UnmarshalJSON added in v0.34.0

func (a *AwsPlaneResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsPlaneResourceListResult.

type AwsPlaneResourceProperties added in v0.34.0

type AwsPlaneResourceProperties struct {
	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AwsPlaneResourceProperties - The Plane properties.

func (AwsPlaneResourceProperties) MarshalJSON added in v0.34.0

func (a AwsPlaneResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsPlaneResourceProperties.

func (*AwsPlaneResourceProperties) UnmarshalJSON added in v0.34.0

func (a *AwsPlaneResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsPlaneResourceProperties.

type AwsPlaneResourceTagsUpdate added in v0.34.0

type AwsPlaneResourceTagsUpdate struct {
	// Resource tags.
	Tags map[string]*string
}

AwsPlaneResourceTagsUpdate - The type used for updating tags in AwsPlaneResource resources.

func (AwsPlaneResourceTagsUpdate) MarshalJSON added in v0.34.0

func (a AwsPlaneResourceTagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AwsPlaneResourceTagsUpdate.

func (*AwsPlaneResourceTagsUpdate) UnmarshalJSON added in v0.34.0

func (a *AwsPlaneResourceTagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AwsPlaneResourceTagsUpdate.

type AwsPlanesClient added in v0.34.0

type AwsPlanesClient struct {
	// contains filtered or unexported fields
}

AwsPlanesClient contains the methods for the AwsPlanes group. Don't use this type directly, use NewAwsPlanesClient() instead.

func NewAwsPlanesClient added in v0.34.0

func NewAwsPlanesClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*AwsPlanesClient, error)

NewAwsPlanesClient creates a new instance of AwsPlanesClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AwsPlanesClient) BeginCreateOrUpdate added in v0.34.0

BeginCreateOrUpdate - Create or update a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resource - Resource create parameters.
  • options - AwsPlanesClientBeginCreateOrUpdateOptions contains the optional parameters for the AwsPlanesClient.BeginCreateOrUpdate method.

func (*AwsPlanesClient) BeginDelete added in v0.34.0

BeginDelete - Delete a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • options - AwsPlanesClientBeginDeleteOptions contains the optional parameters for the AwsPlanesClient.BeginDelete method.

func (*AwsPlanesClient) BeginUpdate added in v0.34.0

BeginUpdate - Update a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • properties - The resource properties to be updated.
  • options - AwsPlanesClientBeginUpdateOptions contains the optional parameters for the AwsPlanesClient.BeginUpdate method.

func (*AwsPlanesClient) Get added in v0.34.0

Get - Get a plane by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • options - AwsPlanesClientGetOptions contains the optional parameters for the AwsPlanesClient.Get method.

func (*AwsPlanesClient) NewListPager added in v0.34.0

NewListPager - List AWS planes

Generated from API version 2023-10-01-preview

  • options - AwsPlanesClientListOptions contains the optional parameters for the AwsPlanesClient.NewListPager method.

type AwsPlanesClientBeginCreateOrUpdateOptions added in v0.34.0

type AwsPlanesClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

AwsPlanesClientBeginCreateOrUpdateOptions contains the optional parameters for the AwsPlanesClient.BeginCreateOrUpdate method.

type AwsPlanesClientBeginDeleteOptions added in v0.34.0

type AwsPlanesClientBeginDeleteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

AwsPlanesClientBeginDeleteOptions contains the optional parameters for the AwsPlanesClient.BeginDelete method.

type AwsPlanesClientBeginUpdateOptions added in v0.34.0

type AwsPlanesClientBeginUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

AwsPlanesClientBeginUpdateOptions contains the optional parameters for the AwsPlanesClient.BeginUpdate method.

type AwsPlanesClientCreateOrUpdateResponse added in v0.34.0

type AwsPlanesClientCreateOrUpdateResponse struct {
	// The AWS plane resource
	AwsPlaneResource
}

AwsPlanesClientCreateOrUpdateResponse contains the response from method AwsPlanesClient.BeginCreateOrUpdate.

type AwsPlanesClientDeleteResponse added in v0.34.0

type AwsPlanesClientDeleteResponse struct {
}

AwsPlanesClientDeleteResponse contains the response from method AwsPlanesClient.BeginDelete.

type AwsPlanesClientGetOptions added in v0.34.0

type AwsPlanesClientGetOptions struct {
}

AwsPlanesClientGetOptions contains the optional parameters for the AwsPlanesClient.Get method.

type AwsPlanesClientGetResponse added in v0.34.0

type AwsPlanesClientGetResponse struct {
	// The AWS plane resource
	AwsPlaneResource
}

AwsPlanesClientGetResponse contains the response from method AwsPlanesClient.Get.

type AwsPlanesClientListOptions added in v0.34.0

type AwsPlanesClientListOptions struct {
}

AwsPlanesClientListOptions contains the optional parameters for the AwsPlanesClient.NewListPager method.

type AwsPlanesClientListResponse added in v0.34.0

type AwsPlanesClientListResponse struct {
	// The response of a AwsPlaneResource list operation.
	AwsPlaneResourceListResult
}

AwsPlanesClientListResponse contains the response from method AwsPlanesClient.NewListPager.

type AwsPlanesClientUpdateResponse added in v0.34.0

type AwsPlanesClientUpdateResponse struct {
	// The AWS plane resource
	AwsPlaneResource
}

AwsPlanesClientUpdateResponse contains the response from method AwsPlanesClient.BeginUpdate.

type AzureCredentialKind

type AzureCredentialKind string

AzureCredentialKind - Azure credential kinds supported.

const (
	// AzureCredentialKindServicePrincipal - The Service Principal Credential
	AzureCredentialKindServicePrincipal AzureCredentialKind = "ServicePrincipal"
	// AzureCredentialKindWorkloadIdentity - The Workload Identity Credential
	AzureCredentialKindWorkloadIdentity AzureCredentialKind = "WorkloadIdentity"
)

func PossibleAzureCredentialKindValues

func PossibleAzureCredentialKindValues() []AzureCredentialKind

PossibleAzureCredentialKindValues returns the possible values for the AzureCredentialKind const type.

type AzureCredentialProperties

type AzureCredentialProperties struct {
	// REQUIRED; The kind of Azure credential
	Kind *AzureCredentialKind

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AzureCredentialProperties - The base properties of Azure Credential

func (*AzureCredentialProperties) GetAzureCredentialProperties

func (a *AzureCredentialProperties) GetAzureCredentialProperties() *AzureCredentialProperties

GetAzureCredentialProperties implements the AzureCredentialPropertiesClassification interface for type AzureCredentialProperties.

func (AzureCredentialProperties) MarshalJSON

func (a AzureCredentialProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureCredentialProperties.

func (*AzureCredentialProperties) UnmarshalJSON

func (a *AzureCredentialProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureCredentialProperties.

type AzureCredentialPropertiesClassification

type AzureCredentialPropertiesClassification interface {
	// GetAzureCredentialProperties returns the AzureCredentialProperties content of the underlying type.
	GetAzureCredentialProperties() *AzureCredentialProperties
}

AzureCredentialPropertiesClassification provides polymorphic access to related types. Call the interface's GetAzureCredentialProperties() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *AzureCredentialProperties, *AzureServicePrincipalProperties, *AzureWorkloadIdentityProperties

type AzureCredentialResource

type AzureCredentialResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// REQUIRED; The resource-specific properties for this resource.
	Properties AzureCredentialPropertiesClassification

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AzureCredentialResource - Represents Azure Credential Resource

func (*AzureCredentialResource) ConvertFrom

func (dst *AzureCredentialResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned Credential resource.

func (*AzureCredentialResource) ConvertTo

ConvertTo converts from the versioned Credential resource to version-agnostic datamodel.

func (AzureCredentialResource) MarshalJSON

func (a AzureCredentialResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureCredentialResource.

func (*AzureCredentialResource) UnmarshalJSON

func (a *AzureCredentialResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureCredentialResource.

type AzureCredentialResourceListResult

type AzureCredentialResourceListResult struct {
	// REQUIRED; The AzureCredentialResource items on this page
	Value []*AzureCredentialResource

	// The link to the next page of items
	NextLink *string
}

AzureCredentialResourceListResult - The response of a AzureCredentialResource list operation.

func (AzureCredentialResourceListResult) MarshalJSON

func (a AzureCredentialResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureCredentialResourceListResult.

func (*AzureCredentialResourceListResult) UnmarshalJSON

func (a *AzureCredentialResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureCredentialResourceListResult.

type AzureCredentialResourceTagsUpdate

type AzureCredentialResourceTagsUpdate struct {
	// Resource tags.
	Tags map[string]*string
}

AzureCredentialResourceTagsUpdate - The type used for updating tags in AzureCredentialResource resources.

func (AzureCredentialResourceTagsUpdate) MarshalJSON

func (a AzureCredentialResourceTagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureCredentialResourceTagsUpdate.

func (*AzureCredentialResourceTagsUpdate) UnmarshalJSON

func (a *AzureCredentialResourceTagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureCredentialResourceTagsUpdate.

type AzureCredentialsClient

type AzureCredentialsClient struct {
	// contains filtered or unexported fields
}

AzureCredentialsClient contains the methods for the AzureCredentials group. Don't use this type directly, use NewAzureCredentialsClient() instead.

func NewAzureCredentialsClient

func NewAzureCredentialsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*AzureCredentialsClient, error)

NewAzureCredentialsClient creates a new instance of AzureCredentialsClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AzureCredentialsClient) CreateOrUpdate

CreateOrUpdate - Create or update an Azure credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of the plane
  • credentialName - The Azure credential name.
  • resource - Resource create parameters.
  • options - AzureCredentialsClientCreateOrUpdateOptions contains the optional parameters for the AzureCredentialsClient.CreateOrUpdate method.

func (*AzureCredentialsClient) Delete

Delete - Delete an Azure credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of the plane
  • credentialName - The Azure credential name.
  • options - AzureCredentialsClientDeleteOptions contains the optional parameters for the AzureCredentialsClient.Delete method.

func (*AzureCredentialsClient) Get

Get - Get an Azure credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of the plane
  • credentialName - The Azure credential name.
  • options - AzureCredentialsClientGetOptions contains the optional parameters for the AzureCredentialsClient.Get method.

func (*AzureCredentialsClient) NewListPager

NewListPager - List Azure credentials

Generated from API version 2023-10-01-preview

  • planeName - The name of the plane
  • options - AzureCredentialsClientListOptions contains the optional parameters for the AzureCredentialsClient.NewListPager method.

func (*AzureCredentialsClient) Update

Update - Update an Azure credential If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The name of the plane
  • credentialName - The Azure credential name.
  • properties - The resource properties to be updated.
  • options - AzureCredentialsClientUpdateOptions contains the optional parameters for the AzureCredentialsClient.Update method.

type AzureCredentialsClientCreateOrUpdateOptions

type AzureCredentialsClientCreateOrUpdateOptions struct {
}

AzureCredentialsClientCreateOrUpdateOptions contains the optional parameters for the AzureCredentialsClient.CreateOrUpdate method.

type AzureCredentialsClientCreateOrUpdateResponse

type AzureCredentialsClientCreateOrUpdateResponse struct {
	// Represents Azure Credential Resource
	AzureCredentialResource
}

AzureCredentialsClientCreateOrUpdateResponse contains the response from method AzureCredentialsClient.CreateOrUpdate.

type AzureCredentialsClientDeleteOptions

type AzureCredentialsClientDeleteOptions struct {
}

AzureCredentialsClientDeleteOptions contains the optional parameters for the AzureCredentialsClient.Delete method.

type AzureCredentialsClientDeleteResponse

type AzureCredentialsClientDeleteResponse struct {
}

AzureCredentialsClientDeleteResponse contains the response from method AzureCredentialsClient.Delete.

type AzureCredentialsClientGetOptions

type AzureCredentialsClientGetOptions struct {
}

AzureCredentialsClientGetOptions contains the optional parameters for the AzureCredentialsClient.Get method.

type AzureCredentialsClientGetResponse

type AzureCredentialsClientGetResponse struct {
	// Represents Azure Credential Resource
	AzureCredentialResource
}

AzureCredentialsClientGetResponse contains the response from method AzureCredentialsClient.Get.

type AzureCredentialsClientListOptions

type AzureCredentialsClientListOptions struct {
}

AzureCredentialsClientListOptions contains the optional parameters for the AzureCredentialsClient.NewListPager method.

type AzureCredentialsClientListResponse

type AzureCredentialsClientListResponse struct {
	// The response of a AzureCredentialResource list operation.
	AzureCredentialResourceListResult
}

AzureCredentialsClientListResponse contains the response from method AzureCredentialsClient.NewListPager.

type AzureCredentialsClientUpdateOptions

type AzureCredentialsClientUpdateOptions struct {
}

AzureCredentialsClientUpdateOptions contains the optional parameters for the AzureCredentialsClient.Update method.

type AzureCredentialsClientUpdateResponse

type AzureCredentialsClientUpdateResponse struct {
	// Represents Azure Credential Resource
	AzureCredentialResource
}

AzureCredentialsClientUpdateResponse contains the response from method AzureCredentialsClient.Update.

type AzurePlaneResource added in v0.34.0

type AzurePlaneResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// REQUIRED; The resource-specific properties for this resource.
	Properties *AzurePlaneResourceProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AzurePlaneResource - The Azure plane resource.

func (*AzurePlaneResource) ConvertFrom added in v0.34.0

func (dst *AzurePlaneResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned Azure Plane resource.

func (*AzurePlaneResource) ConvertTo added in v0.34.0

func (src *AzurePlaneResource) ConvertTo() (v1.DataModelInterface, error)

ConvertTo converts from the versioned Azure Plane resource to version-agnostic datamodel.

func (AzurePlaneResource) MarshalJSON added in v0.34.0

func (a AzurePlaneResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzurePlaneResource.

func (*AzurePlaneResource) UnmarshalJSON added in v0.34.0

func (a *AzurePlaneResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzurePlaneResource.

type AzurePlaneResourceListResult added in v0.34.0

type AzurePlaneResourceListResult struct {
	// REQUIRED; The AzurePlaneResource items on this page
	Value []*AzurePlaneResource

	// The link to the next page of items
	NextLink *string
}

AzurePlaneResourceListResult - The response of a AzurePlaneResource list operation.

func (AzurePlaneResourceListResult) MarshalJSON added in v0.34.0

func (a AzurePlaneResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzurePlaneResourceListResult.

func (*AzurePlaneResourceListResult) UnmarshalJSON added in v0.34.0

func (a *AzurePlaneResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzurePlaneResourceListResult.

type AzurePlaneResourceProperties added in v0.34.0

type AzurePlaneResourceProperties struct {
	// REQUIRED; The URL used to proxy requests.
	URL *string

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AzurePlaneResourceProperties - The Plane properties.

func (AzurePlaneResourceProperties) MarshalJSON added in v0.34.0

func (a AzurePlaneResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzurePlaneResourceProperties.

func (*AzurePlaneResourceProperties) UnmarshalJSON added in v0.34.0

func (a *AzurePlaneResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzurePlaneResourceProperties.

type AzurePlaneResourceTagsUpdate added in v0.34.0

type AzurePlaneResourceTagsUpdate struct {
	// Resource tags.
	Tags map[string]*string
}

AzurePlaneResourceTagsUpdate - The type used for updating tags in AzurePlaneResource resources.

func (AzurePlaneResourceTagsUpdate) MarshalJSON added in v0.34.0

func (a AzurePlaneResourceTagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzurePlaneResourceTagsUpdate.

func (*AzurePlaneResourceTagsUpdate) UnmarshalJSON added in v0.34.0

func (a *AzurePlaneResourceTagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzurePlaneResourceTagsUpdate.

type AzurePlanesClient added in v0.34.0

type AzurePlanesClient struct {
	// contains filtered or unexported fields
}

AzurePlanesClient contains the methods for the AzurePlanes group. Don't use this type directly, use NewAzurePlanesClient() instead.

func NewAzurePlanesClient added in v0.34.0

func NewAzurePlanesClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*AzurePlanesClient, error)

NewAzurePlanesClient creates a new instance of AzurePlanesClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AzurePlanesClient) BeginCreateOrUpdate added in v0.34.0

BeginCreateOrUpdate - Create or update a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resource - Resource create parameters.
  • options - AzurePlanesClientBeginCreateOrUpdateOptions contains the optional parameters for the AzurePlanesClient.BeginCreateOrUpdate method.

func (*AzurePlanesClient) BeginDelete added in v0.34.0

BeginDelete - Delete a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • options - AzurePlanesClientBeginDeleteOptions contains the optional parameters for the AzurePlanesClient.BeginDelete method.

func (*AzurePlanesClient) BeginUpdate added in v0.34.0

BeginUpdate - Update a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • properties - The resource properties to be updated.
  • options - AzurePlanesClientBeginUpdateOptions contains the optional parameters for the AzurePlanesClient.BeginUpdate method.

func (*AzurePlanesClient) Get added in v0.34.0

Get - Get a plane by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • options - AzurePlanesClientGetOptions contains the optional parameters for the AzurePlanesClient.Get method.

func (*AzurePlanesClient) NewListPager added in v0.34.0

NewListPager - List azure planes

Generated from API version 2023-10-01-preview

  • options - AzurePlanesClientListOptions contains the optional parameters for the AzurePlanesClient.NewListPager method.

type AzurePlanesClientBeginCreateOrUpdateOptions added in v0.34.0

type AzurePlanesClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

AzurePlanesClientBeginCreateOrUpdateOptions contains the optional parameters for the AzurePlanesClient.BeginCreateOrUpdate method.

type AzurePlanesClientBeginDeleteOptions added in v0.34.0

type AzurePlanesClientBeginDeleteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

AzurePlanesClientBeginDeleteOptions contains the optional parameters for the AzurePlanesClient.BeginDelete method.

type AzurePlanesClientBeginUpdateOptions added in v0.34.0

type AzurePlanesClientBeginUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

AzurePlanesClientBeginUpdateOptions contains the optional parameters for the AzurePlanesClient.BeginUpdate method.

type AzurePlanesClientCreateOrUpdateResponse added in v0.34.0

type AzurePlanesClientCreateOrUpdateResponse struct {
	// The Azure plane resource.
	AzurePlaneResource
}

AzurePlanesClientCreateOrUpdateResponse contains the response from method AzurePlanesClient.BeginCreateOrUpdate.

type AzurePlanesClientDeleteResponse added in v0.34.0

type AzurePlanesClientDeleteResponse struct {
}

AzurePlanesClientDeleteResponse contains the response from method AzurePlanesClient.BeginDelete.

type AzurePlanesClientGetOptions added in v0.34.0

type AzurePlanesClientGetOptions struct {
}

AzurePlanesClientGetOptions contains the optional parameters for the AzurePlanesClient.Get method.

type AzurePlanesClientGetResponse added in v0.34.0

type AzurePlanesClientGetResponse struct {
	// The Azure plane resource.
	AzurePlaneResource
}

AzurePlanesClientGetResponse contains the response from method AzurePlanesClient.Get.

type AzurePlanesClientListOptions added in v0.34.0

type AzurePlanesClientListOptions struct {
}

AzurePlanesClientListOptions contains the optional parameters for the AzurePlanesClient.NewListPager method.

type AzurePlanesClientListResponse added in v0.34.0

type AzurePlanesClientListResponse struct {
	// The response of a AzurePlaneResource list operation.
	AzurePlaneResourceListResult
}

AzurePlanesClientListResponse contains the response from method AzurePlanesClient.NewListPager.

type AzurePlanesClientUpdateResponse added in v0.34.0

type AzurePlanesClientUpdateResponse struct {
	// The Azure plane resource.
	AzurePlaneResource
}

AzurePlanesClientUpdateResponse contains the response from method AzurePlanesClient.BeginUpdate.

type AzureServicePrincipalProperties

type AzureServicePrincipalProperties struct {
	// REQUIRED; clientId for ServicePrincipal
	ClientID *string

	// REQUIRED; secret for ServicePrincipal
	ClientSecret *string

	// REQUIRED; The kind of Azure credential
	Kind *AzureCredentialKind

	// REQUIRED; The storage properties
	Storage CredentialStoragePropertiesClassification

	// REQUIRED; tenantId for ServicePrincipal
	TenantID *string

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AzureServicePrincipalProperties - The properties of Azure Service Principal credential storage

func (*AzureServicePrincipalProperties) GetAzureCredentialProperties

func (a *AzureServicePrincipalProperties) GetAzureCredentialProperties() *AzureCredentialProperties

GetAzureCredentialProperties implements the AzureCredentialPropertiesClassification interface for type AzureServicePrincipalProperties.

func (AzureServicePrincipalProperties) MarshalJSON

func (a AzureServicePrincipalProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureServicePrincipalProperties.

func (*AzureServicePrincipalProperties) UnmarshalJSON

func (a *AzureServicePrincipalProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureServicePrincipalProperties.

type AzureWorkloadIdentityProperties added in v0.35.0

type AzureWorkloadIdentityProperties struct {
	// REQUIRED; clientId for WorkloadIdentity
	ClientID *string

	// REQUIRED; The kind of Azure credential
	Kind *AzureCredentialKind

	// REQUIRED; The storage properties
	Storage CredentialStoragePropertiesClassification

	// REQUIRED; tenantId for WorkloadIdentity
	TenantID *string

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

AzureWorkloadIdentityProperties - The properties of Azure Workload Identity credential storage

func (*AzureWorkloadIdentityProperties) GetAzureCredentialProperties added in v0.35.0

func (a *AzureWorkloadIdentityProperties) GetAzureCredentialProperties() *AzureCredentialProperties

GetAzureCredentialProperties implements the AzureCredentialPropertiesClassification interface for type AzureWorkloadIdentityProperties.

func (AzureWorkloadIdentityProperties) MarshalJSON added in v0.35.0

func (a AzureWorkloadIdentityProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureWorkloadIdentityProperties.

func (*AzureWorkloadIdentityProperties) UnmarshalJSON added in v0.35.0

func (a *AzureWorkloadIdentityProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureWorkloadIdentityProperties.

type ClientFactory

type ClientFactory struct {
	// contains filtered or unexported fields
}

ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.

func NewClientFactory

func NewClientFactory(credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)

NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*ClientFactory) NewAwsCredentialsClient

func (c *ClientFactory) NewAwsCredentialsClient() *AwsCredentialsClient

func (*ClientFactory) NewAwsPlanesClient added in v0.34.0

func (c *ClientFactory) NewAwsPlanesClient() *AwsPlanesClient

func (*ClientFactory) NewAzureCredentialsClient

func (c *ClientFactory) NewAzureCredentialsClient() *AzureCredentialsClient

func (*ClientFactory) NewAzurePlanesClient added in v0.34.0

func (c *ClientFactory) NewAzurePlanesClient() *AzurePlanesClient

func (*ClientFactory) NewPlanesClient

func (c *ClientFactory) NewPlanesClient() *PlanesClient

func (*ClientFactory) NewRadiusPlanesClient added in v0.34.0

func (c *ClientFactory) NewRadiusPlanesClient() *RadiusPlanesClient

func (*ClientFactory) NewResourceGroupsClient

func (c *ClientFactory) NewResourceGroupsClient() *ResourceGroupsClient

func (*ClientFactory) NewResourcesClient

func (c *ClientFactory) NewResourcesClient() *ResourcesClient

type ComponentsKhmx01SchemasGenericresourceAllof0

type ComponentsKhmx01SchemasGenericresourceAllof0 struct {
	// The resource-specific properties for this resource.
	Properties map[string]any

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

ComponentsKhmx01SchemasGenericresourceAllof0 - Concrete proxy resource types can be created by aliasing this type using a specific property type.

func (ComponentsKhmx01SchemasGenericresourceAllof0) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ComponentsKhmx01SchemasGenericresourceAllof0.

func (*ComponentsKhmx01SchemasGenericresourceAllof0) UnmarshalJSON

func (c *ComponentsKhmx01SchemasGenericresourceAllof0) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ComponentsKhmx01SchemasGenericresourceAllof0.

type CreatedByType

type CreatedByType string

CreatedByType - The type of identity that created the resource.

const (
	CreatedByTypeApplication     CreatedByType = "Application"
	CreatedByTypeKey             CreatedByType = "Key"
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	CreatedByTypeUser            CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.

type CredentialStorageKind

type CredentialStorageKind string

CredentialStorageKind - Credential store kinds supported.

const (
	// CredentialStorageKindInternal - Internal credential storage
	CredentialStorageKindInternal CredentialStorageKind = "Internal"
)

func PossibleCredentialStorageKindValues

func PossibleCredentialStorageKindValues() []CredentialStorageKind

PossibleCredentialStorageKindValues returns the possible values for the CredentialStorageKind const type.

type CredentialStorageProperties

type CredentialStorageProperties struct {
	// REQUIRED; The kind of credential storage
	Kind *CredentialStorageKind
}

CredentialStorageProperties - The base credential storage properties

func (*CredentialStorageProperties) GetCredentialStorageProperties

func (c *CredentialStorageProperties) GetCredentialStorageProperties() *CredentialStorageProperties

GetCredentialStorageProperties implements the CredentialStoragePropertiesClassification interface for type CredentialStorageProperties.

func (CredentialStorageProperties) MarshalJSON

func (c CredentialStorageProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CredentialStorageProperties.

func (*CredentialStorageProperties) UnmarshalJSON

func (c *CredentialStorageProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CredentialStorageProperties.

type CredentialStoragePropertiesClassification

type CredentialStoragePropertiesClassification interface {
	// GetCredentialStorageProperties returns the CredentialStorageProperties content of the underlying type.
	GetCredentialStorageProperties() *CredentialStorageProperties
}

CredentialStoragePropertiesClassification provides polymorphic access to related types. Call the interface's GetCredentialStorageProperties() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *CredentialStorageProperties, *InternalCredentialStorageProperties

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// READ-ONLY; The additional info.
	Info map[string]any

	// READ-ONLY; The additional info type.
	Type *string
}

ErrorAdditionalInfo - The resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo.

func (*ErrorAdditionalInfo) UnmarshalJSON

func (e *ErrorAdditionalInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorAdditionalInfo.

type ErrorDetail

type ErrorDetail struct {
	// READ-ONLY; The error additional info.
	AdditionalInfo []*ErrorAdditionalInfo

	// READ-ONLY; The error code.
	Code *string

	// READ-ONLY; The error details.
	Details []*ErrorDetail

	// READ-ONLY; The error message.
	Message *string

	// READ-ONLY; The error target.
	Target *string
}

ErrorDetail - The error detail.

func (ErrorDetail) MarshalJSON

func (e ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorDetail.

func (*ErrorDetail) UnmarshalJSON

func (e *ErrorDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorDetail.

type ErrorResponse

type ErrorResponse struct {
	// The error object.
	Error *ErrorDetail
}

ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

func (ErrorResponse) MarshalJSON

func (e ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorResponse.

func (*ErrorResponse) UnmarshalJSON

func (e *ErrorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.

type GenericPlaneResource added in v0.34.0

type GenericPlaneResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// REQUIRED; The resource-specific properties for this resource.
	Properties *GenericPlaneResourceProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

GenericPlaneResource - The generic representation of a plane resource

func (*GenericPlaneResource) ConvertFrom added in v0.34.0

func (dst *GenericPlaneResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned generic Plane resource.

func (*GenericPlaneResource) ConvertTo added in v0.34.0

func (src *GenericPlaneResource) ConvertTo() (v1.DataModelInterface, error)

ConvertTo converts from the versioned generic Plane resource to version-agnostic datamodel.

func (GenericPlaneResource) MarshalJSON added in v0.34.0

func (g GenericPlaneResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GenericPlaneResource.

func (*GenericPlaneResource) UnmarshalJSON added in v0.34.0

func (g *GenericPlaneResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GenericPlaneResource.

type GenericPlaneResourceListResult added in v0.34.0

type GenericPlaneResourceListResult struct {
	// REQUIRED; The GenericPlaneResource items on this page
	Value []*GenericPlaneResource

	// The link to the next page of items
	NextLink *string
}

GenericPlaneResourceListResult - The response of a GenericPlaneResource list operation.

func (GenericPlaneResourceListResult) MarshalJSON added in v0.34.0

func (g GenericPlaneResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GenericPlaneResourceListResult.

func (*GenericPlaneResourceListResult) UnmarshalJSON added in v0.34.0

func (g *GenericPlaneResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GenericPlaneResourceListResult.

type GenericPlaneResourceProperties added in v0.34.0

type GenericPlaneResourceProperties struct {
	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

GenericPlaneResourceProperties - The properties of the generic representation of a plane resource.

func (GenericPlaneResourceProperties) MarshalJSON added in v0.34.0

func (g GenericPlaneResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GenericPlaneResourceProperties.

func (*GenericPlaneResourceProperties) UnmarshalJSON added in v0.34.0

func (g *GenericPlaneResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GenericPlaneResourceProperties.

type GenericResource

type GenericResource struct {
	// The resource-specific properties for this resource.
	Properties map[string]any

	// READ-ONLY; The name of resource
	Name *string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

GenericResource - Represents resource data.

func (*GenericResource) ConvertFrom

func (dst *GenericResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned GenericResource resource.

func (*GenericResource) ConvertTo

func (src *GenericResource) ConvertTo() (v1.DataModelInterface, error)

ConvertTo converts from the versioned GenericResource resource to version-agnostic datamodel.

func (GenericResource) MarshalJSON

func (g GenericResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GenericResource.

func (*GenericResource) UnmarshalJSON

func (g *GenericResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GenericResource.

type GenericResourceListResult

type GenericResourceListResult struct {
	// REQUIRED; The GenericResource items on this page
	Value []*GenericResource

	// The link to the next page of items
	NextLink *string
}

GenericResourceListResult - The response of a GenericResource list operation.

func (GenericResourceListResult) MarshalJSON

func (g GenericResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GenericResourceListResult.

func (*GenericResourceListResult) UnmarshalJSON

func (g *GenericResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GenericResourceListResult.

type InternalCredentialStorageProperties

type InternalCredentialStorageProperties struct {
	// REQUIRED; The kind of credential storage
	Kind *CredentialStorageKind

	// READ-ONLY; The name of secret stored.
	SecretName *string
}

InternalCredentialStorageProperties - Internal credential storage properties

func (*InternalCredentialStorageProperties) GetCredentialStorageProperties

func (i *InternalCredentialStorageProperties) GetCredentialStorageProperties() *CredentialStorageProperties

GetCredentialStorageProperties implements the CredentialStoragePropertiesClassification interface for type InternalCredentialStorageProperties.

func (InternalCredentialStorageProperties) MarshalJSON

func (i InternalCredentialStorageProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type InternalCredentialStorageProperties.

func (*InternalCredentialStorageProperties) UnmarshalJSON

func (i *InternalCredentialStorageProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type InternalCredentialStorageProperties.

type PlaneNameParameter added in v0.34.0

type PlaneNameParameter struct {
	// REQUIRED; The name of the plane
	PlaneName *string
}

PlaneNameParameter - The Plane Name parameter.

func (PlaneNameParameter) MarshalJSON added in v0.34.0

func (p PlaneNameParameter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PlaneNameParameter.

func (*PlaneNameParameter) UnmarshalJSON added in v0.34.0

func (p *PlaneNameParameter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PlaneNameParameter.

type PlanesClient

type PlanesClient struct {
	// contains filtered or unexported fields
}

PlanesClient contains the methods for the Planes group. Don't use this type directly, use NewPlanesClient() instead.

func NewPlanesClient

func NewPlanesClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*PlanesClient, error)

NewPlanesClient creates a new instance of PlanesClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*PlanesClient) NewListPlanesPager

NewListPlanesPager - List all planes

Generated from API version 2023-10-01-preview

  • options - PlanesClientListPlanesOptions contains the optional parameters for the PlanesClient.NewListPlanesPager method.

type PlanesClientListPlanesOptions

type PlanesClientListPlanesOptions struct {
}

PlanesClientListPlanesOptions contains the optional parameters for the PlanesClient.NewListPlanesPager method.

type PlanesClientListPlanesResponse

type PlanesClientListPlanesResponse struct {
	// The response of a GenericPlaneResource list operation.
	GenericPlaneResourceListResult
}

PlanesClientListPlanesResponse contains the response from method PlanesClient.NewListPlanesPager.

type ProvisioningState

type ProvisioningState string

ProvisioningState - Provisioning state of the resource at the time the operation was called

const (
	// ProvisioningStateAccepted - The resource create request has been accepted
	ProvisioningStateAccepted ProvisioningState = "Accepted"
	// ProvisioningStateCanceled - Resource creation was canceled.
	ProvisioningStateCanceled ProvisioningState = "Canceled"
	// ProvisioningStateDeleting - The resource is being deleted
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed - Resource creation failed.
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateProvisioning - The resource is being provisioned
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	// ProvisioningStateSucceeded - Resource has been created.
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUpdating - The resource is updating
	ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.

type ProxyResource

type ProxyResource struct {
	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

func (ProxyResource) MarshalJSON

func (p ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProxyResource.

func (*ProxyResource) UnmarshalJSON

func (p *ProxyResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProxyResource.

type RadiusPlaneResource added in v0.34.0

type RadiusPlaneResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// REQUIRED; The resource-specific properties for this resource.
	Properties *RadiusPlaneResourceProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

RadiusPlaneResource - The Radius plane resource.

func (*RadiusPlaneResource) ConvertFrom added in v0.34.0

func (dst *RadiusPlaneResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned Radius Plane resource.

func (*RadiusPlaneResource) ConvertTo added in v0.34.0

func (src *RadiusPlaneResource) ConvertTo() (v1.DataModelInterface, error)

ConvertTo converts from the versioned Radius Plane resource to version-agnostic datamodel.

func (RadiusPlaneResource) MarshalJSON added in v0.34.0

func (r RadiusPlaneResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RadiusPlaneResource.

func (*RadiusPlaneResource) UnmarshalJSON added in v0.34.0

func (r *RadiusPlaneResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RadiusPlaneResource.

type RadiusPlaneResourceListResult added in v0.34.0

type RadiusPlaneResourceListResult struct {
	// REQUIRED; The RadiusPlaneResource items on this page
	Value []*RadiusPlaneResource

	// The link to the next page of items
	NextLink *string
}

RadiusPlaneResourceListResult - The response of a RadiusPlaneResource list operation.

func (RadiusPlaneResourceListResult) MarshalJSON added in v0.34.0

func (r RadiusPlaneResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RadiusPlaneResourceListResult.

func (*RadiusPlaneResourceListResult) UnmarshalJSON added in v0.34.0

func (r *RadiusPlaneResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RadiusPlaneResourceListResult.

type RadiusPlaneResourceProperties added in v0.34.0

type RadiusPlaneResourceProperties struct {
	// REQUIRED; Resource Providers for UCP Native Plane
	ResourceProviders map[string]*string

	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

RadiusPlaneResourceProperties - The Plane properties.

func (RadiusPlaneResourceProperties) MarshalJSON added in v0.34.0

func (r RadiusPlaneResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RadiusPlaneResourceProperties.

func (*RadiusPlaneResourceProperties) UnmarshalJSON added in v0.34.0

func (r *RadiusPlaneResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RadiusPlaneResourceProperties.

type RadiusPlaneResourceTagsUpdate added in v0.34.0

type RadiusPlaneResourceTagsUpdate struct {
	// Resource tags.
	Tags map[string]*string
}

RadiusPlaneResourceTagsUpdate - The type used for updating tags in RadiusPlaneResource resources.

func (RadiusPlaneResourceTagsUpdate) MarshalJSON added in v0.34.0

func (r RadiusPlaneResourceTagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RadiusPlaneResourceTagsUpdate.

func (*RadiusPlaneResourceTagsUpdate) UnmarshalJSON added in v0.34.0

func (r *RadiusPlaneResourceTagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RadiusPlaneResourceTagsUpdate.

type RadiusPlanesClient added in v0.34.0

type RadiusPlanesClient struct {
	// contains filtered or unexported fields
}

RadiusPlanesClient contains the methods for the RadiusPlanes group. Don't use this type directly, use NewRadiusPlanesClient() instead.

func NewRadiusPlanesClient added in v0.34.0

func NewRadiusPlanesClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*RadiusPlanesClient, error)

NewRadiusPlanesClient creates a new instance of RadiusPlanesClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*RadiusPlanesClient) BeginCreateOrUpdate added in v0.34.0

BeginCreateOrUpdate - Create or update a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resource - Resource create parameters.
  • options - RadiusPlanesClientBeginCreateOrUpdateOptions contains the optional parameters for the RadiusPlanesClient.BeginCreateOrUpdate method.

func (*RadiusPlanesClient) BeginDelete added in v0.34.0

BeginDelete - Delete a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • options - RadiusPlanesClientBeginDeleteOptions contains the optional parameters for the RadiusPlanesClient.BeginDelete method.

func (*RadiusPlanesClient) BeginUpdate added in v0.34.0

BeginUpdate - Update a plane If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • properties - The resource properties to be updated.
  • options - RadiusPlanesClientBeginUpdateOptions contains the optional parameters for the RadiusPlanesClient.BeginUpdate method.

func (*RadiusPlanesClient) Get added in v0.34.0

Get - Get a plane by name If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • options - RadiusPlanesClientGetOptions contains the optional parameters for the RadiusPlanesClient.Get method.

func (*RadiusPlanesClient) NewListPager added in v0.34.0

NewListPager - List Radius planes

Generated from API version 2023-10-01-preview

  • options - RadiusPlanesClientListOptions contains the optional parameters for the RadiusPlanesClient.NewListPager method.

type RadiusPlanesClientBeginCreateOrUpdateOptions added in v0.34.0

type RadiusPlanesClientBeginCreateOrUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

RadiusPlanesClientBeginCreateOrUpdateOptions contains the optional parameters for the RadiusPlanesClient.BeginCreateOrUpdate method.

type RadiusPlanesClientBeginDeleteOptions added in v0.34.0

type RadiusPlanesClientBeginDeleteOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

RadiusPlanesClientBeginDeleteOptions contains the optional parameters for the RadiusPlanesClient.BeginDelete method.

type RadiusPlanesClientBeginUpdateOptions added in v0.34.0

type RadiusPlanesClientBeginUpdateOptions struct {
	// Resumes the LRO from the provided token.
	ResumeToken string
}

RadiusPlanesClientBeginUpdateOptions contains the optional parameters for the RadiusPlanesClient.BeginUpdate method.

type RadiusPlanesClientCreateOrUpdateResponse added in v0.34.0

type RadiusPlanesClientCreateOrUpdateResponse struct {
	// The Radius plane resource.
	RadiusPlaneResource
}

RadiusPlanesClientCreateOrUpdateResponse contains the response from method RadiusPlanesClient.BeginCreateOrUpdate.

type RadiusPlanesClientDeleteResponse added in v0.34.0

type RadiusPlanesClientDeleteResponse struct {
}

RadiusPlanesClientDeleteResponse contains the response from method RadiusPlanesClient.BeginDelete.

type RadiusPlanesClientGetOptions added in v0.34.0

type RadiusPlanesClientGetOptions struct {
}

RadiusPlanesClientGetOptions contains the optional parameters for the RadiusPlanesClient.Get method.

type RadiusPlanesClientGetResponse added in v0.34.0

type RadiusPlanesClientGetResponse struct {
	// The Radius plane resource.
	RadiusPlaneResource
}

RadiusPlanesClientGetResponse contains the response from method RadiusPlanesClient.Get.

type RadiusPlanesClientListOptions added in v0.34.0

type RadiusPlanesClientListOptions struct {
}

RadiusPlanesClientListOptions contains the optional parameters for the RadiusPlanesClient.NewListPager method.

type RadiusPlanesClientListResponse added in v0.34.0

type RadiusPlanesClientListResponse struct {
	// The response of a RadiusPlaneResource list operation.
	RadiusPlaneResourceListResult
}

RadiusPlanesClientListResponse contains the response from method RadiusPlanesClient.NewListPager.

type RadiusPlanesClientUpdateResponse added in v0.34.0

type RadiusPlanesClientUpdateResponse struct {
	// The Radius plane resource.
	RadiusPlaneResource
}

RadiusPlanesClientUpdateResponse contains the response from method RadiusPlanesClient.BeginUpdate.

type Resource

type Resource struct {
	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

Resource - Common fields that are returned in the response for all Azure Resource Manager resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Resource.

func (*Resource) UnmarshalJSON

func (r *Resource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Resource.

type ResourceGroupProperties

type ResourceGroupProperties struct {
	// READ-ONLY; The status of the asynchronous operation.
	ProvisioningState *ProvisioningState
}

ResourceGroupProperties - The resource group resource properties

func (ResourceGroupProperties) MarshalJSON

func (r ResourceGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceGroupProperties.

func (*ResourceGroupProperties) UnmarshalJSON

func (r *ResourceGroupProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupProperties.

type ResourceGroupResource

type ResourceGroupResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// The resource-specific properties for this resource.
	Properties *ResourceGroupProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

ResourceGroupResource - The resource group resource

func (*ResourceGroupResource) ConvertFrom

func (dst *ResourceGroupResource) ConvertFrom(src v1.DataModelInterface) error

ConvertFrom converts from version-agnostic datamodel to the versioned ResourceGroup resource.

func (*ResourceGroupResource) ConvertTo

func (src *ResourceGroupResource) ConvertTo() (v1.DataModelInterface, error)

ConvertTo converts from the versioned ResourceGroup resource to version-agnostic datamodel.

func (ResourceGroupResource) MarshalJSON

func (r ResourceGroupResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceGroupResource.

func (*ResourceGroupResource) UnmarshalJSON

func (r *ResourceGroupResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupResource.

type ResourceGroupResourceListResult

type ResourceGroupResourceListResult struct {
	// REQUIRED; The ResourceGroupResource items on this page
	Value []*ResourceGroupResource

	// The link to the next page of items
	NextLink *string
}

ResourceGroupResourceListResult - The response of a ResourceGroupResource list operation.

func (ResourceGroupResourceListResult) MarshalJSON

func (r ResourceGroupResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceGroupResourceListResult.

func (*ResourceGroupResourceListResult) UnmarshalJSON

func (r *ResourceGroupResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupResourceListResult.

type ResourceGroupResourceTagsUpdate

type ResourceGroupResourceTagsUpdate struct {
	// Resource tags.
	Tags map[string]*string
}

ResourceGroupResourceTagsUpdate - The type used for updating tags in ResourceGroupResource resources.

func (ResourceGroupResourceTagsUpdate) MarshalJSON

func (r ResourceGroupResourceTagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceGroupResourceTagsUpdate.

func (*ResourceGroupResourceTagsUpdate) UnmarshalJSON

func (r *ResourceGroupResourceTagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupResourceTagsUpdate.

type ResourceGroupsClient

type ResourceGroupsClient struct {
	// contains filtered or unexported fields
}

ResourceGroupsClient contains the methods for the ResourceGroups group. Don't use this type directly, use NewResourceGroupsClient() instead.

func NewResourceGroupsClient

func NewResourceGroupsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*ResourceGroupsClient, error)

NewResourceGroupsClient creates a new instance of ResourceGroupsClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*ResourceGroupsClient) CreateOrUpdate

CreateOrUpdate - Create or update a resource group If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resourceGroupName - The name of resource group
  • resource - Resource create parameters.
  • options - ResourceGroupsClientCreateOrUpdateOptions contains the optional parameters for the ResourceGroupsClient.CreateOrUpdate method.

func (*ResourceGroupsClient) Delete

func (client *ResourceGroupsClient) Delete(ctx context.Context, planeName string, resourceGroupName string, options *ResourceGroupsClientDeleteOptions) (ResourceGroupsClientDeleteResponse, error)

Delete - Delete a resource group If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resourceGroupName - The name of resource group
  • options - ResourceGroupsClientDeleteOptions contains the optional parameters for the ResourceGroupsClient.Delete method.

func (*ResourceGroupsClient) Get

func (client *ResourceGroupsClient) Get(ctx context.Context, planeName string, resourceGroupName string, options *ResourceGroupsClientGetOptions) (ResourceGroupsClientGetResponse, error)

Get - Get a resource group If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resourceGroupName - The name of resource group
  • options - ResourceGroupsClientGetOptions contains the optional parameters for the ResourceGroupsClient.Get method.

func (*ResourceGroupsClient) NewListPager

NewListPager - List resource groups

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • options - ResourceGroupsClientListOptions contains the optional parameters for the ResourceGroupsClient.NewListPager method.

func (*ResourceGroupsClient) Update

Update - Update a resource group If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resourceGroupName - The name of resource group
  • properties - The resource properties to be updated.
  • options - ResourceGroupsClientUpdateOptions contains the optional parameters for the ResourceGroupsClient.Update method.

type ResourceGroupsClientCreateOrUpdateOptions

type ResourceGroupsClientCreateOrUpdateOptions struct {
}

ResourceGroupsClientCreateOrUpdateOptions contains the optional parameters for the ResourceGroupsClient.CreateOrUpdate method.

type ResourceGroupsClientCreateOrUpdateResponse

type ResourceGroupsClientCreateOrUpdateResponse struct {
	// The resource group resource
	ResourceGroupResource
}

ResourceGroupsClientCreateOrUpdateResponse contains the response from method ResourceGroupsClient.CreateOrUpdate.

type ResourceGroupsClientDeleteOptions

type ResourceGroupsClientDeleteOptions struct {
}

ResourceGroupsClientDeleteOptions contains the optional parameters for the ResourceGroupsClient.Delete method.

type ResourceGroupsClientDeleteResponse

type ResourceGroupsClientDeleteResponse struct {
}

ResourceGroupsClientDeleteResponse contains the response from method ResourceGroupsClient.Delete.

type ResourceGroupsClientGetOptions

type ResourceGroupsClientGetOptions struct {
}

ResourceGroupsClientGetOptions contains the optional parameters for the ResourceGroupsClient.Get method.

type ResourceGroupsClientGetResponse

type ResourceGroupsClientGetResponse struct {
	// The resource group resource
	ResourceGroupResource
}

ResourceGroupsClientGetResponse contains the response from method ResourceGroupsClient.Get.

type ResourceGroupsClientListOptions

type ResourceGroupsClientListOptions struct {
}

ResourceGroupsClientListOptions contains the optional parameters for the ResourceGroupsClient.NewListPager method.

type ResourceGroupsClientListResponse

type ResourceGroupsClientListResponse struct {
	// The response of a ResourceGroupResource list operation.
	ResourceGroupResourceListResult
}

ResourceGroupsClientListResponse contains the response from method ResourceGroupsClient.NewListPager.

type ResourceGroupsClientUpdateOptions

type ResourceGroupsClientUpdateOptions struct {
}

ResourceGroupsClientUpdateOptions contains the optional parameters for the ResourceGroupsClient.Update method.

type ResourceGroupsClientUpdateResponse

type ResourceGroupsClientUpdateResponse struct {
	// The resource group resource
	ResourceGroupResource
}

ResourceGroupsClientUpdateResponse contains the response from method ResourceGroupsClient.Update.

type ResourcesClient

type ResourcesClient struct {
	// contains filtered or unexported fields
}

ResourcesClient contains the methods for the Resources group. Don't use this type directly, use NewResourcesClient() instead.

func NewResourcesClient

func NewResourcesClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*ResourcesClient, error)

NewResourcesClient creates a new instance of ResourcesClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*ResourcesClient) NewListPager

func (client *ResourcesClient) NewListPager(planeName string, resourceGroupName string, options *ResourcesClientListOptions) *runtime.Pager[ResourcesClientListResponse]

NewListPager - List resources in a resource group

Generated from API version 2023-10-01-preview

  • planeName - The plane name.
  • resourceGroupName - The name of resource group
  • options - ResourcesClientListOptions contains the optional parameters for the ResourcesClient.NewListPager method.

type ResourcesClientListOptions

type ResourcesClientListOptions struct {
}

ResourcesClientListOptions contains the optional parameters for the ResourcesClient.NewListPager method.

type ResourcesClientListResponse

type ResourcesClientListResponse struct {
	// The response of a GenericResource list operation.
	GenericResourceListResult
}

ResourcesClientListResponse contains the response from method ResourcesClient.NewListPager.

type SystemData

type SystemData struct {
	// The timestamp of resource creation (UTC).
	CreatedAt *time.Time

	// The identity that created the resource.
	CreatedBy *string

	// The type of identity that created the resource.
	CreatedByType *CreatedByType

	// The timestamp of resource last modification (UTC)
	LastModifiedAt *time.Time

	// The identity that last modified the resource.
	LastModifiedBy *string

	// The type of identity that last modified the resource.
	LastModifiedByType *CreatedByType
}

SystemData - Metadata pertaining to creation and last modification of the resource.

func (SystemData) MarshalJSON

func (s SystemData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SystemData.

func (*SystemData) UnmarshalJSON

func (s *SystemData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.

type TrackedResource

type TrackedResource struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON

func (t TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TrackedResource.

func (*TrackedResource) UnmarshalJSON

func (t *TrackedResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TrackedResource.

type Versions

type Versions string

Versions - Supported API versions for Universal Control Plane resource provider.

const (
	// VersionsV20231001Preview - 2023-10-01-preview
	VersionsV20231001Preview Versions = "2023-10-01-preview"
)

func PossibleVersionsValues

func PossibleVersionsValues() []Versions

PossibleVersionsValues returns the possible values for the Versions const type.

Jump to

Keyboard shortcuts

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