azure

package
v0.55.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ColumnDescriptionAkas             = "Array of globally unique identifier strings (also known as) for the resource."
	ColumnDescriptionCloudEnvironment = "The Azure Cloud Environment."
	ColumnDescriptionRegion           = "The Azure region/location in which the resource is located."
	ColumnDescriptionResourceGroup    = "The resource group which holds this resource."
	ColumnDescriptionSubscription     = "The Azure Subscription ID in which the resource is located."
	ColumnDescriptionTags             = "A map of tags for the resource."
	ColumnDescriptionTitle            = "Title of the resource."
)

Constants for Standard Column Descriptions

Variables

This section is empty.

Functions

func ConfigInstance added in v0.2.0

func ConfigInstance() interface{}

func GetConfig added in v0.2.0

func GetConfig(connection *plugin.Connection) azureConfig

GetConfig :: retrieve and cast connection config from query data

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Plugin creates this (azure) plugin

func WillExpireIn added in v0.17.0

func WillExpireIn(t time.Time, d time.Duration) bool

WillExpireIn returns true if the Token will expire after the passed time.Duration interval from now, false otherwise.

Types

type AppServicePlanApp added in v0.34.0

type AppServicePlanApp struct {
	SiteProperties *web.SiteProperties
	ID             *string
	Name           *string
	Kind           *string
	Location       *string
	Type           *string
	Tags           map[string]*string
}

type BackendWithServiceName added in v0.54.0

type BackendWithServiceName struct {
	apimanagement.BackendContract
	ServiceName string
}

type CacheNetworkSettingsInfo added in v0.19.0

type CacheNetworkSettingsInfo struct {
	Mtu              *int32
	UtilityAddresses *[]string
	DNSServers       *[]string
	DNSSearchDomain  *string
	NtpServer        *string
}

type CacheUpgradeStatusInfo added in v0.19.0

type CacheUpgradeStatusInfo struct {
	CurrentFirmwareVersion *string
	FirmwareUpdateStatus   interface{}
	FirmwareUpdateDeadline *date.Time
	LastFirmwareUpdate     *date.Time
	PendingFirmwareVersion *string
}

type CognitiveAccountPrivateEndpointConnections added in v0.19.0

type CognitiveAccountPrivateEndpointConnections struct {
	PrivateEndpointID                 interface{}
	PrivateLinkServiceConnectionState interface{}
	ProvisioningState                 interface{}
	GroupIds                          *[]string
	SystemData                        interface{}
	Location                          *string
	Etag                              *string
	ID                                *string
	Name                              *string
	Type                              *string
}

type CollectionThroughputSettings added in v0.39.0

type CollectionThroughputSettings = struct {
	ID                                   string
	Name                                 string
	Type                                 string
	Location                             string
	ResourceThroughput                   int32
	ResourceMinimumThroughput            string
	ResourceOfferReplacePending          string
	ResourceRid                          string
	ResourceTs                           float64
	ResourceEtag                         string
	AutoscaleSettingsMaxThroughput       int32
	AutoscaleSettingsTargetMaxThroughput int32
	AutoscaleSettingsThroughputPolicy    documentdb.ThroughputPolicyResource
}

type DatasetInfo added in v0.13.0

type DatasetInfo = struct {
	datafactory.DatasetResource
	FactoryName string
}

type FileShareInfo added in v0.25.0

type FileShareInfo struct {
	storage.FileShareProperties
	Name               string
	ID                 string
	Type               string
	StorageAccountName string
	ResourceGroup      string
}

type JobInfo added in v0.51.0

type JobInfo struct {
	VaultName  *string
	ETag       *string
	Location   *string
	Properties armrecoveryservicesbackup.JobClassification
	Tags       map[string]*string
	ID         *string
	Name       *string
	Type       *string
}

type LoadBalancerNatRulesInfo added in v0.18.0

type LoadBalancerNatRulesInfo = struct {
	network.InboundNatRule
	LoadBalancerName string
}

type LoadBalancerOutboundRulesInfo added in v0.18.0

type LoadBalancerOutboundRulesInfo = struct {
	network.OutboundRule
	LoadBalancerName string
}

type OrchestratorInfo added in v0.45.0

type OrchestratorInfo struct {
	// ID - READ-ONLY; Id of the orchestrator version profile list result.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the orchestrator version profile list result.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the orchestrator version profile list result.
	Type *string `json:"type,omitempty"`
	// OrchestratorType - Orchestrator type.
	OrchestratorType *string `json:"orchestratorType,omitempty"`
	// OrchestratorVersion - Orchestrator version (major, minor, patch).
	OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
	// Default - Installed by default if version is not specified.
	Default *bool `json:"default,omitempty"`
	// IsPreview - Whether Kubernetes version is currently in preview.
	IsPreview *bool `json:"isPreview,omitempty"`
	// Upgrades - The list of available upgrade versions.
	Upgrades *[]containerservice.OrchestratorProfile `json:"upgrades,omitempty"`
}

type PrivateConnection added in v0.19.0

type PrivateConnection struct {
	ProvisioningState                                *string
	PrivateEndpointConnectionId                      *string
	PrivateEndpointId                                *string
	PrivateLinkServiceConnectionStateStatus          *string
	PrivateLinkServiceConnectionStateDescription     *string
	PrivateLinkServiceConnectionStateActionsRequired *string
	PrivateEndpointConnectionName                    *string
	PrivateEndpointConnectionType                    *string
	Etag                                             *string
}

type PrivateConnectionInfo added in v0.19.0

type PrivateConnectionInfo struct {
	PrivateEndpointConnectionId                      string
	PrivateEndpointId                                string
	PrivateEndpointConnectionName                    string
	PrivateEndpointConnectionType                    string
	PrivateLinkServiceConnectionStateStatus          string
	PrivateLinkServiceConnectionStateDescription     string
	PrivateLinkServiceConnectionStateActionsRequired string
	ProvisioningState                                string
}

type PrivateEndpointConnection added in v0.19.0

type PrivateEndpointConnection struct {
	// ID - READ-ONLY; private endpoint connection Id
	ID string
	// Name - READ-ONLY; private endpoint connection name
	Name string
	// Type - READ-ONLY; private endpoint connection type
	Type string
	// PrivateEndpointID - The Id of private end point.
	PrivateEndpointID string
	// ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed'
	ProvisioningState                                string
	PrivateLinkServiceConnectionStateStatus          string
	PrivateLinkServiceConnectionStateDescription     string
	PrivateLinkServiceConnectionStateActionsRequired string
}

type PrivateEndpointConnectionInfo added in v0.19.0

type PrivateEndpointConnectionInfo struct {
	PrivateEndpointId                               string
	PrivateLinkServiceConnectionStateStatus         string
	PrivateLinkServiceConnectionStateDescription    string
	PrivateLinkServiceConnectionStateActionRequired string
	ProvisioningState                               string
}

type RestorableLocationResource added in v0.40.0

type RestorableLocationResource struct {
	LocationName                      string
	RegionalDatabaseAccountInstanceID string
	CreationTime                      date.Time
	DeletionTime                      date.Time
}

type ScaleSetVMInfo added in v0.23.0

type ScaleSetVMInfo struct {
	ScaleSetName string
	compute.VirtualMachineScaleSetVM
}

type ServerKeyInfo added in v0.19.0

type ServerKeyInfo struct {
	ServerKeyId           *string
	ServerKeyName         *string
	ServerKeyType         *string
	ServerKeyKind         *string
	Type                  *string
	ServerKeyUri          *string
	ServerKeyCreationDate *date.Time
}

type Session

type Session struct {
	Authorizer              autorest.Authorizer
	CloudEnvironment        string
	Expires                 *time.Time
	GraphEndpoint           string
	ResourceManagerEndpoint string
	StorageEndpointSuffix   string
	SubscriptionID          string
	TenantID                string
}

Session info

func GetNewSession

func GetNewSession(ctx context.Context, d *plugin.QueryData, tokenAudience string) (session *Session, err error)
GetNewSession creates an session configured from (~/.steampipe/config, environment variables and CLI) in the order:

1. Client secret 2. Client certificate 3. Username and password 4. MSI 5. CLI

type SignalRServicePrivateEndpointConnections added in v0.19.0

type SignalRServicePrivateEndpointConnections struct {
	PrivateEndpointPropertyID         interface{}
	PrivateLinkServiceConnectionState interface{}
	ProvisioningState                 interface{}
	ID                                *string
	Name                              *string
	Type                              *string
}

type SlotInfo added in v0.40.0

type SlotInfo struct {
	SiteProperties *web.SiteProperties
	Identity       *web.ManagedServiceIdentity
	ID             *string
	Name           *string
	AppName        *string
	Kind           *string
	Location       *string
	Type           *string
	Tags           map[string]*string
}

type SpringCloudServiceNetworkProfile added in v0.19.0

type SpringCloudServiceNetworkProfile struct {
	ServiceRuntimeSubnetID             *string
	AppSubnetID                        *string
	ServiceCidr                        *string
	ServiceRuntimeNetworkResourceGroup *string
	AppNetworkResourceGroup            *string
	OutboundPublicIPs                  *[]string
}

type StorageSyncPrivateEndpointConnections added in v0.19.0

type StorageSyncPrivateEndpointConnections struct {
	PrivateEndpointPropertyID         interface{}
	PrivateLinkServiceConnectionState interface{}
	ProvisioningState                 interface{}
	ID                                *string
	Name                              *string
	Type                              *string
}

type SynapseWorkspaceEncryption added in v0.19.0

type SynapseWorkspaceEncryption struct {
	DoubleEncryptionEnabled *bool
	CmkStatus               *string
	CmkKey                  interface{}
}

type ThroughputSettings added in v0.39.0

type ThroughputSettings = struct {
	ID                                   string
	Name                                 string
	Type                                 string
	Location                             string
	ResourceThroughput                   int32
	ResourceMinimumThroughput            string
	ResourceOfferReplacePending          string
	ResourceRid                          string
	ResourceTs                           float64
	ResourceEtag                         string
	AutoscaleSettingsMaxThroughput       int32
	AutoscaleSettingsTargetMaxThroughput int32
	AutoscaleSettingsThroughputPolicy    documentdb.ThroughputPolicyResource
}

type UsageDetails added in v0.54.0

type UsageDetails struct {
	Scope             *string
	Kind              consumption.Kind
	ID                *string
	Name              *string
	Type              *string
	Etag              *string
	Tags              map[string]*string
	ModernUsageDetail map[string]interface{}
	LegacyUsageDetail map[string]interface{}
}

type VariableDetails added in v0.37.0

type VariableDetails struct {
	AccountName string
	automation.Variable
}

Source Files

Jump to

Keyboard shortcuts

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