resources

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const AppServicePlanResource = "AppServicePlan"
View Source
const ApplicationCertificateResource = "ApplicationCertificate"
View Source
const ApplicationFederatedCredentialResource = "ApplicationFederatedCredential"
View Source
const ApplicationResource = "Application"
View Source
const ApplicationSecretResource = "ApplicationSecret"
View Source
const AzureADUserResource = "AzureADUser"
View Source
const AzureAdGroupResource = "AzureADGroup"
View Source
const BudgetResource = "Budget"
View Source
const ComputeSnapshotResource = "ComputeSnapshot"
View Source
const ContainerRegistryResource = "ContainerRegistry"
View Source
const DNSZoneResource = "DNSZone"
View Source
const DiskResource = "Disk"
View Source
const IPAllocationResource = "IPAllocation"
View Source
const KeyVaultResource = "KeyVault"
View Source
const ManagementLockResource = "ManagementLock"
View Source
const NetworkInterfaceResource = "NetworkInterface"
View Source
const NetworkSecurityGroupResource = "NetworkSecurityGroup"
View Source
const PolicyAssignmentResource = "PolicyAssignment"
View Source
const PolicyDefinitionResource = "PolicyDefinition"
View Source
const PrivateDNSZoneResource = "PrivateDNSZone"
View Source
const PublicIPAddressesResource = "PublicIPAddress"
View Source
const RecoveryServicesBackupPolicyResource = "RecoveryServicesBackupPolicy"
View Source
const RecoveryServicesBackupProtectedItemResource = "RecoveryServicesBackupProtectedItem"
View Source
const RecoveryServicesBackupProtectionContainerResource = "RecoveryServicesBackupProtectionContainer"
View Source
const RecoveryServicesBackupProtectionIntentResource = "RecoveryServicesBackupProtectionIntent"
View Source
const RecoveryServicesVaultResource = "RecoveryServicesVault"
View Source
const ResourceGroupResource = "ResourceGroup"
View Source
const SSHPublicKeyResource = "SSHPublicKey"
View Source
const SecurityAlertLocation = "/Microsoft.Security/locations/(?P<region>.*)/alerts/"
View Source
const SecurityAlertResource = "SecurityAlert"
View Source
const SecurityAssessmentResource = "SecurityAssessment"
View Source
const SecurityPricingResource = "SecurityPricing"
View Source
const SecurityWorkspaceResource = "SecurityWorkspace"
View Source
const ServicePrincipalResource = "ServicePrincipal"
View Source
const StorageAccountResource = "StorageAccount"
View Source
const SubscriptionRoleAssignmentResource = "SubscriptionRoleAssignment"
View Source
const VirtualMachineResource = "VirtualMachine"
View Source
const VirtualNetworkResource = "VirtualNetwork"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServicePlan added in v0.8.0

type AppServicePlan struct {
	*BaseResource `property:",inline"`

	Name string
	// contains filtered or unexported fields
}

func (*AppServicePlan) Properties added in v0.8.0

func (r *AppServicePlan) Properties() types.Properties

func (*AppServicePlan) Remove added in v0.8.0

func (r *AppServicePlan) Remove(ctx context.Context) error

func (*AppServicePlan) String added in v0.8.0

func (r *AppServicePlan) String() string

type AppServicePlanLister added in v1.0.0

type AppServicePlanLister struct {
}

func (AppServicePlanLister) List added in v1.0.0

func (l AppServicePlanLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type Application added in v0.5.0

type Application struct {
	*BaseResource `property:",inline"`

	ID   *string
	Name *string
	// contains filtered or unexported fields
}

func (*Application) Filter added in v0.5.0

func (r *Application) Filter() error

func (*Application) Properties added in v0.5.0

func (r *Application) Properties() types.Properties

func (*Application) Remove added in v0.5.0

func (r *Application) Remove(ctx context.Context) error

func (*Application) String added in v0.5.0

func (r *Application) String() string

type ApplicationCertificate added in v0.5.0

type ApplicationCertificate struct {
	*BaseResource `property:",inline"`

	ID    *string
	Name  *string
	AppID *string
	// contains filtered or unexported fields
}

func (*ApplicationCertificate) Filter added in v0.5.0

func (r *ApplicationCertificate) Filter() error

func (*ApplicationCertificate) Properties added in v0.5.0

func (r *ApplicationCertificate) Properties() types.Properties

func (*ApplicationCertificate) Remove added in v0.5.0

func (*ApplicationCertificate) String added in v0.5.0

func (r *ApplicationCertificate) String() string

type ApplicationCertificateLister added in v1.0.0

type ApplicationCertificateLister struct {
}

func (ApplicationCertificateLister) List added in v1.0.0

func (l ApplicationCertificateLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ApplicationFederatedCredential added in v0.5.0

type ApplicationFederatedCredential struct {
	*BaseResource `property:",inline"`

	ID          *string
	Name        *string
	AppID       *string
	DisplayName *string
	// contains filtered or unexported fields
}

func (*ApplicationFederatedCredential) Filter added in v0.5.0

func (*ApplicationFederatedCredential) Properties added in v0.5.0

func (*ApplicationFederatedCredential) Remove added in v0.5.0

func (*ApplicationFederatedCredential) String added in v0.5.0

type ApplicationFederatedCredentialLister added in v1.0.0

type ApplicationFederatedCredentialLister struct {
}

func (ApplicationFederatedCredentialLister) List added in v1.0.0

type ApplicationLister added in v1.0.0

type ApplicationLister struct {
}

func (ApplicationLister) List added in v1.0.0

func (l ApplicationLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ApplicationSecret added in v0.5.0

type ApplicationSecret struct {
	*BaseResource `property:",inline"`

	KeyID   *string `description:"The unique ID of the Application Secret Key"`
	Name    *string `description:"The display name of the Application Secret"`
	AppID   *string `description:"The unique ID of the Application to which the secret belongs"`
	AppName *string `description:"The display name of the Application to which the secret belongs"`
	// contains filtered or unexported fields
}

func (*ApplicationSecret) Filter added in v0.5.0

func (r *ApplicationSecret) Filter() error

func (*ApplicationSecret) Properties added in v0.5.0

func (r *ApplicationSecret) Properties() types.Properties

func (*ApplicationSecret) Remove added in v0.5.0

func (r *ApplicationSecret) Remove(ctx context.Context) error

func (*ApplicationSecret) String added in v0.5.0

func (r *ApplicationSecret) String() string

type ApplicationSecretLister added in v1.0.0

type ApplicationSecretLister struct {
}

func (ApplicationSecretLister) List added in v1.0.0

func (l ApplicationSecretLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type AzureADUser

type AzureADUser struct {
	*BaseResource `property:",inline"`

	ID   *string `description:"The ID of the Entra ID User"`
	Name *string `description:"The DisplayName of the Entra ID User"`
	UPN  *string `description:"This is the user principal name of the Entra ID user, usually in the format of email"`
	// contains filtered or unexported fields
}

func (*AzureADUser) Properties

func (r *AzureADUser) Properties() types.Properties

func (*AzureADUser) Remove

func (r *AzureADUser) Remove(ctx context.Context) error

func (*AzureADUser) String

func (r *AzureADUser) String() string

type AzureADUserLister added in v1.0.0

type AzureADUserLister struct {
}

func (AzureADUserLister) List added in v1.0.0

func (l AzureADUserLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type AzureAdGroup

type AzureAdGroup struct {
	*BaseResource `property:",inline"`

	ID   *string `description:"The ID of the Entra ID Group"`
	Name *string `description:"The name of the Entra ID Group"`
	// contains filtered or unexported fields
}

func (*AzureAdGroup) Properties

func (r *AzureAdGroup) Properties() types.Properties

func (*AzureAdGroup) Remove

func (r *AzureAdGroup) Remove(ctx context.Context) error

func (*AzureAdGroup) String

func (r *AzureAdGroup) String() string

type AzureAdGroupLister added in v1.0.0

type AzureAdGroupLister struct {
}

func (AzureAdGroupLister) List added in v1.0.0

func (l AzureAdGroupLister) List(_ context.Context, o interface{}) ([]resource.Resource, error)

type BaseResource added in v1.0.0

type BaseResource struct {
	Region         *string `description:"The region that the resource group belongs to."`
	SubscriptionID *string `description:"The subscription ID that the resource group belongs to."`
	ResourceGroup  *string `description:"The resource group that the resource belongs to."`
}

BaseResource is a base struct that all Azure resources should embed to provide common fields and methods.

func (*BaseResource) BeforeEnqueue added in v1.0.0

func (r *BaseResource) BeforeEnqueue(item interface{})

BeforeEnqueue is a special hook that is called from github.com/ekristen/libnuke that allows the resource to modify the queue item before it is put on the queue, in this case it allows us to modify the owner field to set it as the region so the behavior of this tool is consistent with the other tools based on libnuke and regions

func (*BaseResource) GetRegion added in v1.0.0

func (r *BaseResource) GetRegion() string

GetRegion returns the region that the resource belongs to.

func (*BaseResource) GetResourceGroup added in v1.0.0

func (r *BaseResource) GetResourceGroup() string

GetResourceGroup returns the resource group that the resource belongs to.

func (*BaseResource) GetSubscriptionID added in v1.0.0

func (r *BaseResource) GetSubscriptionID() string

GetSubscriptionID returns the subscription ID that the resource belongs to.

type Budget added in v1.0.0

type Budget struct {
	*BaseResource `property:",inline"`

	ID   *string
	Name *string
	// contains filtered or unexported fields
}

func (*Budget) Properties added in v1.0.0

func (r *Budget) Properties() types.Properties

func (*Budget) Remove added in v1.0.0

func (r *Budget) Remove(ctx context.Context) error

func (*Budget) String added in v1.0.0

func (r *Budget) String() string

type BudgetLister added in v1.0.0

type BudgetLister struct{}

func (BudgetLister) List added in v1.0.0

func (l BudgetLister) List(pctx context.Context, o interface{}) ([]resource.Resource, error)

type ComputeSnapshot added in v1.1.0

type ComputeSnapshot struct {
	*BaseResource `property:",inline"`

	Name         *string
	Tags         map[string]*string
	CreationDate *time.Time
	// contains filtered or unexported fields
}

func (*ComputeSnapshot) Properties added in v1.1.0

func (r *ComputeSnapshot) Properties() types.Properties

func (*ComputeSnapshot) Remove added in v1.1.0

func (r *ComputeSnapshot) Remove(ctx context.Context) error

func (*ComputeSnapshot) String added in v1.1.0

func (r *ComputeSnapshot) String() string

type ComputeSnapshotLister added in v1.1.0

type ComputeSnapshotLister struct {
}

func (ComputeSnapshotLister) List added in v1.1.0

func (l ComputeSnapshotLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ContainerRegistry added in v0.6.0

type ContainerRegistry struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*ContainerRegistry) Properties added in v0.6.0

func (r *ContainerRegistry) Properties() types.Properties

func (*ContainerRegistry) Remove added in v0.6.0

func (r *ContainerRegistry) Remove(ctx context.Context) error

func (*ContainerRegistry) String added in v0.6.0

func (r *ContainerRegistry) String() string

type ContainerRegistryLister added in v1.0.0

type ContainerRegistryLister struct {
}

func (ContainerRegistryLister) List added in v1.0.0

func (l ContainerRegistryLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type DNSZone added in v0.8.0

type DNSZone struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*DNSZone) Properties added in v0.8.0

func (r *DNSZone) Properties() types.Properties

func (*DNSZone) Remove added in v0.8.0

func (r *DNSZone) Remove(ctx context.Context) error

func (*DNSZone) String added in v0.8.0

func (r *DNSZone) String() string

type DNSZoneLister added in v1.0.0

type DNSZoneLister struct {
}

func (DNSZoneLister) List added in v1.0.0

func (l DNSZoneLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type Disk

type Disk struct {
	*BaseResource `property:",inline"`

	Name         *string
	Tags         map[string]*string
	CreationDate *time.Time
	// contains filtered or unexported fields
}

func (*Disk) Properties

func (r *Disk) Properties() types.Properties

func (*Disk) Remove

func (r *Disk) Remove(ctx context.Context) error

func (*Disk) String

func (r *Disk) String() string

type DiskLister added in v1.0.0

type DiskLister struct {
}

func (DiskLister) List added in v1.0.0

func (l DiskLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type IPAllocation

type IPAllocation struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*IPAllocation) Properties

func (r *IPAllocation) Properties() types.Properties

func (*IPAllocation) Remove

func (r *IPAllocation) Remove(ctx context.Context) error

func (*IPAllocation) String

func (r *IPAllocation) String() string

type IPAllocationLister added in v1.0.0

type IPAllocationLister struct {
}

func (IPAllocationLister) List added in v1.0.0

func (l IPAllocationLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type KeyVault added in v0.8.0

type KeyVault struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*KeyVault) Properties added in v0.8.0

func (r *KeyVault) Properties() types.Properties

func (*KeyVault) Remove added in v0.8.0

func (r *KeyVault) Remove(ctx context.Context) error

func (*KeyVault) String added in v0.8.0

func (r *KeyVault) String() string

type KeyVaultLister added in v1.0.0

type KeyVaultLister struct {
}

func (KeyVaultLister) List added in v1.0.0

func (l KeyVaultLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ManagementLock added in v1.0.0

type ManagementLock struct {
	*BaseResource `property:",inline"`

	ID        *string `property:"-"`
	Scope     string  `property:"-"`
	Name      *string
	LockLevel string
	// contains filtered or unexported fields
}

func (*ManagementLock) Properties added in v1.0.0

func (r *ManagementLock) Properties() types.Properties

func (*ManagementLock) Remove added in v1.0.0

func (r *ManagementLock) Remove(ctx context.Context) error

func (*ManagementLock) String added in v1.0.0

func (r *ManagementLock) String() string

type ManagementLockLister added in v1.0.0

type ManagementLockLister struct{}

func (ManagementLockLister) List added in v1.0.0

func (l ManagementLockLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type NetworkInterface

type NetworkInterface struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags *map[string]string
	// contains filtered or unexported fields
}

func (*NetworkInterface) Properties

func (r *NetworkInterface) Properties() types.Properties

func (*NetworkInterface) Remove

func (r *NetworkInterface) Remove(ctx context.Context) error

func (*NetworkInterface) String

func (r *NetworkInterface) String() string

type NetworkInterfaceLister added in v1.0.0

type NetworkInterfaceLister struct {
}

func (NetworkInterfaceLister) List added in v1.0.0

func (l NetworkInterfaceLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type NetworkSecurityGroup

type NetworkSecurityGroup struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*NetworkSecurityGroup) Properties

func (r *NetworkSecurityGroup) Properties() types.Properties

func (*NetworkSecurityGroup) Remove

func (r *NetworkSecurityGroup) Remove(ctx context.Context) error

func (*NetworkSecurityGroup) String

func (r *NetworkSecurityGroup) String() string

type NetworkSecurityGroupLister added in v1.0.0

type NetworkSecurityGroupLister struct {
}

func (NetworkSecurityGroupLister) List added in v1.0.0

func (l NetworkSecurityGroupLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type PolicyAssignment added in v0.13.0

type PolicyAssignment struct {
	*BaseResource `property:",inline"`

	Name            string
	Scope           string
	EnforcementMode string
	// contains filtered or unexported fields
}

func (*PolicyAssignment) Properties added in v0.13.0

func (r *PolicyAssignment) Properties() types.Properties

func (*PolicyAssignment) Remove added in v0.13.0

func (r *PolicyAssignment) Remove(ctx context.Context) error

func (*PolicyAssignment) String added in v0.13.0

func (r *PolicyAssignment) String() string

type PolicyAssignmentLister added in v1.0.0

type PolicyAssignmentLister struct {
}

func (PolicyAssignmentLister) List added in v1.0.0

func (l PolicyAssignmentLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type PolicyDefinition added in v0.13.0

type PolicyDefinition struct {
	*BaseResource `property:",inline"`

	Name        *string
	DisplayName string
	PolicyType  string `property:"name=Type"`
	// contains filtered or unexported fields
}

func (*PolicyDefinition) Properties added in v0.13.0

func (r *PolicyDefinition) Properties() types.Properties

func (*PolicyDefinition) Remove added in v0.13.0

func (r *PolicyDefinition) Remove(ctx context.Context) error

func (*PolicyDefinition) String added in v0.13.0

func (r *PolicyDefinition) String() string

type PolicyDefinitionLister added in v1.0.0

type PolicyDefinitionLister struct {
}

func (PolicyDefinitionLister) List added in v1.0.0

func (l PolicyDefinitionLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type PrivateDNSZone added in v0.8.0

type PrivateDNSZone struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*PrivateDNSZone) Properties added in v0.8.0

func (r *PrivateDNSZone) Properties() types.Properties

func (*PrivateDNSZone) Remove added in v0.8.0

func (r *PrivateDNSZone) Remove(ctx context.Context) error

func (*PrivateDNSZone) String added in v0.8.0

func (r *PrivateDNSZone) String() string

type PrivateDNSZoneLister added in v1.0.0

type PrivateDNSZoneLister struct {
}

func (PrivateDNSZoneLister) List added in v1.0.0

func (l PrivateDNSZoneLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type PublicIPAddresses

type PublicIPAddresses struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*PublicIPAddresses) Properties

func (r *PublicIPAddresses) Properties() types.Properties

func (*PublicIPAddresses) Remove

func (r *PublicIPAddresses) Remove(ctx context.Context) error

func (*PublicIPAddresses) String

func (r *PublicIPAddresses) String() string

type PublicIPAddressesLister added in v1.0.0

type PublicIPAddressesLister struct {
}

func (PublicIPAddressesLister) List added in v1.0.0

func (l PublicIPAddressesLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type RecoveryServicesBackupPolicy added in v0.15.0

type RecoveryServicesBackupPolicy struct {
	*BaseResource `property:",inline"`

	ID   *string
	Name *string
	// contains filtered or unexported fields
}

func (*RecoveryServicesBackupPolicy) Filter added in v0.15.0

func (r *RecoveryServicesBackupPolicy) Filter() error

func (*RecoveryServicesBackupPolicy) Properties added in v0.15.0

func (*RecoveryServicesBackupPolicy) Remove added in v0.15.0

func (*RecoveryServicesBackupPolicy) String added in v0.15.0

type RecoveryServicesBackupPolicyLister added in v1.0.0

type RecoveryServicesBackupPolicyLister struct {
}

func (RecoveryServicesBackupPolicyLister) List added in v1.0.0

func (l RecoveryServicesBackupPolicyLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type RecoveryServicesBackupProtectedItem added in v0.15.0

type RecoveryServicesBackupProtectedItem struct {
	*BaseResource `property:",inline"`

	ID            *string
	Name          *string
	VaultName     *string
	ContainerName *string
	// contains filtered or unexported fields
}

func (*RecoveryServicesBackupProtectedItem) Filter added in v0.15.0

func (*RecoveryServicesBackupProtectedItem) Properties added in v0.15.0

func (*RecoveryServicesBackupProtectedItem) Remove added in v0.15.0

func (*RecoveryServicesBackupProtectedItem) String added in v0.15.0

type RecoveryServicesBackupProtectedItemLister added in v1.0.0

type RecoveryServicesBackupProtectedItemLister struct {
}

func (RecoveryServicesBackupProtectedItemLister) List added in v1.0.0

type RecoveryServicesBackupProtectionContainers added in v0.15.0

type RecoveryServicesBackupProtectionContainers struct {
	*BaseResource `property:",inline"`

	ID        *string
	Name      *string
	VaultName *string
	// contains filtered or unexported fields
}

func (*RecoveryServicesBackupProtectionContainers) Filter added in v0.15.0

func (*RecoveryServicesBackupProtectionContainers) Properties added in v0.15.0

func (*RecoveryServicesBackupProtectionContainers) Remove added in v0.15.0

func (*RecoveryServicesBackupProtectionContainers) String added in v0.15.0

type RecoveryServicesBackupProtectionContainersLister added in v1.0.0

type RecoveryServicesBackupProtectionContainersLister struct {
}

func (RecoveryServicesBackupProtectionContainersLister) List added in v1.0.0

type RecoveryServicesBackupProtectionIntent added in v0.15.0

type RecoveryServicesBackupProtectionIntent struct {
	*BaseResource `property:",inline"`

	ID        *string
	Name      *string
	VaultName *string
	// contains filtered or unexported fields
}

func (*RecoveryServicesBackupProtectionIntent) Filter added in v0.15.0

func (*RecoveryServicesBackupProtectionIntent) Properties added in v0.15.0

func (*RecoveryServicesBackupProtectionIntent) Remove added in v0.15.0

func (*RecoveryServicesBackupProtectionIntent) String added in v0.15.0

type RecoveryServicesBackupProtectionIntentLister added in v1.0.0

type RecoveryServicesBackupProtectionIntentLister struct {
}

func (RecoveryServicesBackupProtectionIntentLister) List added in v1.0.0

type RecoveryServicesVault added in v0.15.0

type RecoveryServicesVault struct {
	*BaseResource `property:",inline"`

	ID   *string
	Name *string
	// contains filtered or unexported fields
}

func (*RecoveryServicesVault) Filter added in v0.15.0

func (r *RecoveryServicesVault) Filter() error

func (*RecoveryServicesVault) Properties added in v0.15.0

func (r *RecoveryServicesVault) Properties() types.Properties

func (*RecoveryServicesVault) Remove added in v0.15.0

func (r *RecoveryServicesVault) Remove(ctx context.Context) error

func (*RecoveryServicesVault) String added in v0.15.0

func (r *RecoveryServicesVault) String() string

type RecoveryServicesVaultLister added in v1.0.0

type RecoveryServicesVaultLister struct {
}

func (RecoveryServicesVaultLister) List added in v1.0.0

func (l RecoveryServicesVaultLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ResourceGroup

type ResourceGroup struct {
	*BaseResource `property:",inline"`

	Name *string            `description:"The Name of the resource group."`
	Tags *map[string]string `description:"The tags assigned to the resource group."`
	// contains filtered or unexported fields
}

ResourceGroup represents an Azure Resource Group.

func (*ResourceGroup) Properties

func (r *ResourceGroup) Properties() types.Properties

func (*ResourceGroup) Remove

func (r *ResourceGroup) Remove(ctx context.Context) error

func (*ResourceGroup) String

func (r *ResourceGroup) String() string

type ResourceGroupLister added in v1.0.0

type ResourceGroupLister struct {
}

func (ResourceGroupLister) List added in v1.0.0

func (l ResourceGroupLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type SSHPublicKey

type SSHPublicKey struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*SSHPublicKey) Properties

func (r *SSHPublicKey) Properties() types.Properties

func (*SSHPublicKey) Remove

func (r *SSHPublicKey) Remove(ctx context.Context) error

func (*SSHPublicKey) String

func (r *SSHPublicKey) String() string

type SSHPublicKeyLister added in v1.0.0

type SSHPublicKeyLister struct {
}

func (SSHPublicKeyLister) List added in v1.0.0

func (l SSHPublicKeyLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type SecurityAlert added in v0.14.0

type SecurityAlert struct {
	*BaseResource `property:",inline"`

	ID          string
	Name        string
	DisplayName string
	Status      string
	// contains filtered or unexported fields
}

func (*SecurityAlert) Filter added in v0.14.0

func (r *SecurityAlert) Filter() error

func (*SecurityAlert) Properties added in v0.14.0

func (r *SecurityAlert) Properties() types.Properties

func (*SecurityAlert) Remove added in v0.14.0

func (r *SecurityAlert) Remove(ctx context.Context) error

func (*SecurityAlert) String added in v0.14.0

func (r *SecurityAlert) String() string

type SecurityAlertsLister added in v1.0.0

type SecurityAlertsLister struct {
}

func (SecurityAlertsLister) List added in v1.0.0

func (l SecurityAlertsLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type SecurityAssessment added in v0.14.0

type SecurityAssessment struct {
	*BaseResource `property:",inline"`

	ID         *string
	ResourceID *string
	Name       *string
	Status     *string
	// contains filtered or unexported fields
}

func (*SecurityAssessment) Filter added in v0.15.0

func (r *SecurityAssessment) Filter() error

func (*SecurityAssessment) Properties added in v0.14.0

func (r *SecurityAssessment) Properties() types.Properties

func (*SecurityAssessment) Remove added in v0.14.0

func (r *SecurityAssessment) Remove(ctx context.Context) error

func (*SecurityAssessment) String added in v0.14.0

func (r *SecurityAssessment) String() string

type SecurityAssessmentLister added in v1.0.0

type SecurityAssessmentLister struct {
}

func (SecurityAssessmentLister) List added in v1.0.0

func (l SecurityAssessmentLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type SecurityPricing added in v0.14.0

type SecurityPricing struct {
	*BaseResource `property:",inline"`

	Name        *string
	PricingTier string
	// contains filtered or unexported fields
}

func (*SecurityPricing) Filter added in v0.14.0

func (r *SecurityPricing) Filter() error

func (*SecurityPricing) Properties added in v0.14.0

func (r *SecurityPricing) Properties() types.Properties

func (*SecurityPricing) Remove added in v0.14.0

func (r *SecurityPricing) Remove(ctx context.Context) error

func (*SecurityPricing) String added in v0.14.0

func (r *SecurityPricing) String() string

type SecurityPricingLister added in v1.0.0

type SecurityPricingLister struct {
}

func (SecurityPricingLister) List added in v1.0.0

func (l SecurityPricingLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type SecurityWorkspace added in v0.14.0

type SecurityWorkspace struct {
	*BaseResource `property:",inline"`

	Name  *string `description:"The name of the workspace"`
	Scope *string `description:"The scope of the workspace"`
	// contains filtered or unexported fields
}

func (*SecurityWorkspace) Properties added in v0.14.0

func (r *SecurityWorkspace) Properties() types.Properties

func (*SecurityWorkspace) Remove added in v0.14.0

func (r *SecurityWorkspace) Remove(ctx context.Context) error

func (*SecurityWorkspace) String added in v0.14.0

func (r *SecurityWorkspace) String() string

type SecurityWorkspaceLister added in v1.0.0

type SecurityWorkspaceLister struct {
}

func (SecurityWorkspaceLister) List added in v1.0.0

func (l SecurityWorkspaceLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ServicePrincipal added in v0.4.0

type ServicePrincipal struct {
	*BaseResource `property:",inline"`

	ID       *string
	Name     *string
	AppOwner *string `property:"name=AppOwnerId"`
	SPType   *string `property:"name=ServicePrincipalType"`
	// contains filtered or unexported fields
}

func (*ServicePrincipal) Filter added in v0.4.0

func (r *ServicePrincipal) Filter() error

func (*ServicePrincipal) Properties added in v0.4.0

func (r *ServicePrincipal) Properties() types.Properties

func (*ServicePrincipal) Remove added in v0.4.0

func (r *ServicePrincipal) Remove(ctx context.Context) error

func (*ServicePrincipal) String added in v0.4.0

func (r *ServicePrincipal) String() string

type ServicePrincipalsLister added in v1.0.0

type ServicePrincipalsLister struct {
}

func (ServicePrincipalsLister) List added in v1.0.0

func (l ServicePrincipalsLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type StorageAccount added in v0.8.0

type StorageAccount struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*StorageAccount) Properties added in v0.8.0

func (r *StorageAccount) Properties() types.Properties

func (*StorageAccount) Remove added in v0.8.0

func (r *StorageAccount) Remove(ctx context.Context) error

func (*StorageAccount) String added in v0.8.0

func (r *StorageAccount) String() string

type StorageAccountLister added in v1.0.0

type StorageAccountLister struct {
}

func (StorageAccountLister) List added in v1.0.0

func (l StorageAccountLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type SubscriptionRoleAssignment added in v1.0.0

type SubscriptionRoleAssignment struct {
	*BaseResource `property:",inline"`

	ID               *string `property:"-"`
	Name             *string
	Type             *string `property:"-"`
	RoleName         *string
	RoleDefinitionID *string
	PrincipalID      *string
	PrincipalName    *string
	PrincipalType    *string
	// contains filtered or unexported fields
}

func (*SubscriptionRoleAssignment) Filter added in v1.0.0

func (r *SubscriptionRoleAssignment) Filter() error

func (*SubscriptionRoleAssignment) Properties added in v1.0.0

func (*SubscriptionRoleAssignment) Remove added in v1.0.0

func (*SubscriptionRoleAssignment) String added in v1.0.0

func (r *SubscriptionRoleAssignment) String() string

type SubscriptionRoleAssignmentLister added in v1.0.0

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

func (*SubscriptionRoleAssignmentLister) List added in v1.0.0

func (l *SubscriptionRoleAssignmentLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VirtualMachine

type VirtualMachine struct {
	*BaseResource `property:",inline"`

	Name         *string
	Tags         map[string]*string
	CreationDate *time.Time
	// contains filtered or unexported fields
}

func (*VirtualMachine) Properties

func (r *VirtualMachine) Properties() types.Properties

func (*VirtualMachine) Remove

func (r *VirtualMachine) Remove(ctx context.Context) error

func (*VirtualMachine) String

func (r *VirtualMachine) String() string

type VirtualMachineLister added in v1.0.0

type VirtualMachineLister struct {
}

func (VirtualMachineLister) List added in v1.0.0

func (l VirtualMachineLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VirtualNetwork

type VirtualNetwork struct {
	*BaseResource `property:",inline"`

	Name *string
	Tags map[string]*string
	// contains filtered or unexported fields
}

func (*VirtualNetwork) Properties

func (r *VirtualNetwork) Properties() types.Properties

func (*VirtualNetwork) Remove

func (r *VirtualNetwork) Remove(ctx context.Context) error

func (*VirtualNetwork) String

func (r *VirtualNetwork) String() string

type VirtualNetworkLister added in v1.0.0

type VirtualNetworkLister struct {
}

func (VirtualNetworkLister) List added in v1.0.0

func (l VirtualNetworkLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

Jump to

Keyboard shortcuts

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