azurerm_storage_account_sas

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataArgs

type DataArgs struct {
	// ConnectionString: string, required
	ConnectionString terra.StringValue `hcl:"connection_string,attr" validate:"required"`
	// Expiry: string, required
	Expiry terra.StringValue `hcl:"expiry,attr" validate:"required"`
	// HttpsOnly: bool, optional
	HttpsOnly terra.BoolValue `hcl:"https_only,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IpAddresses: string, optional
	IpAddresses terra.StringValue `hcl:"ip_addresses,attr"`
	// SignedVersion: string, optional
	SignedVersion terra.StringValue `hcl:"signed_version,attr"`
	// Start: string, required
	Start terra.StringValue `hcl:"start,attr" validate:"required"`
	// Permissions: required
	Permissions *DataPermissions `hcl:"permissions,block" validate:"required"`
	// ResourceTypes: required
	ResourceTypes *DataResourceTypes `hcl:"resource_types,block" validate:"required"`
	// Services: required
	Services *DataServices `hcl:"services,block" validate:"required"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for azurerm_storage_account_sas.

type DataPermissions

type DataPermissions struct {
	// Add: bool, required
	Add terra.BoolValue `hcl:"add,attr" validate:"required"`
	// Create: bool, required
	Create terra.BoolValue `hcl:"create,attr" validate:"required"`
	// Delete: bool, required
	Delete terra.BoolValue `hcl:"delete,attr" validate:"required"`
	// Filter: bool, required
	Filter terra.BoolValue `hcl:"filter,attr" validate:"required"`
	// List: bool, required
	List terra.BoolValue `hcl:"list,attr" validate:"required"`
	// Process: bool, required
	Process terra.BoolValue `hcl:"process,attr" validate:"required"`
	// Read: bool, required
	Read terra.BoolValue `hcl:"read,attr" validate:"required"`
	// Tag: bool, required
	Tag terra.BoolValue `hcl:"tag,attr" validate:"required"`
	// Update: bool, required
	Update terra.BoolValue `hcl:"update,attr" validate:"required"`
	// Write: bool, required
	Write terra.BoolValue `hcl:"write,attr" validate:"required"`
}

type DataPermissionsAttributes

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

func (DataPermissionsAttributes) Add

func (DataPermissionsAttributes) Create

func (DataPermissionsAttributes) Delete

func (DataPermissionsAttributes) Filter

func (DataPermissionsAttributes) InternalRef

func (p DataPermissionsAttributes) InternalRef() (terra.Reference, error)

func (DataPermissionsAttributes) InternalTokens

func (p DataPermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPermissionsAttributes) InternalWithRef

func (DataPermissionsAttributes) List

func (DataPermissionsAttributes) Process

func (DataPermissionsAttributes) Read

func (DataPermissionsAttributes) Tag

func (DataPermissionsAttributes) Update

func (DataPermissionsAttributes) Write

type DataPermissionsState

type DataPermissionsState struct {
	Add     bool `json:"add"`
	Create  bool `json:"create"`
	Delete  bool `json:"delete"`
	Filter  bool `json:"filter"`
	List    bool `json:"list"`
	Process bool `json:"process"`
	Read    bool `json:"read"`
	Tag     bool `json:"tag"`
	Update  bool `json:"update"`
	Write   bool `json:"write"`
}

type DataResourceTypes

type DataResourceTypes struct {
	// Container: bool, required
	Container terra.BoolValue `hcl:"container,attr" validate:"required"`
	// Object: bool, required
	Object terra.BoolValue `hcl:"object,attr" validate:"required"`
	// Service: bool, required
	Service terra.BoolValue `hcl:"service,attr" validate:"required"`
}

type DataResourceTypesAttributes

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

func (DataResourceTypesAttributes) Container

func (DataResourceTypesAttributes) InternalRef

func (rt DataResourceTypesAttributes) InternalRef() (terra.Reference, error)

func (DataResourceTypesAttributes) InternalTokens

func (rt DataResourceTypesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataResourceTypesAttributes) InternalWithRef

func (DataResourceTypesAttributes) Object

func (DataResourceTypesAttributes) Service

type DataResourceTypesState

type DataResourceTypesState struct {
	Container bool `json:"container"`
	Object    bool `json:"object"`
	Service   bool `json:"service"`
}

type DataServices

type DataServices struct {
	// Blob: bool, required
	Blob terra.BoolValue `hcl:"blob,attr" validate:"required"`
	// File: bool, required
	File terra.BoolValue `hcl:"file,attr" validate:"required"`
	// Queue: bool, required
	Queue terra.BoolValue `hcl:"queue,attr" validate:"required"`
	// Table: bool, required
	Table terra.BoolValue `hcl:"table,attr" validate:"required"`
}

type DataServicesAttributes

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

func (DataServicesAttributes) Blob

func (DataServicesAttributes) File

func (DataServicesAttributes) InternalRef

func (s DataServicesAttributes) InternalRef() (terra.Reference, error)

func (DataServicesAttributes) InternalTokens

func (s DataServicesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataServicesAttributes) InternalWithRef

func (DataServicesAttributes) Queue

func (DataServicesAttributes) Table

type DataServicesState

type DataServicesState struct {
	Blob  bool `json:"blob"`
	File  bool `json:"file"`
	Queue bool `json:"queue"`
	Table bool `json:"table"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_storage_account_sas.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (asas *DataSource) Attributes() dataAzurermStorageAccountSasAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (asas *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (asas *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (asas *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTimeouts

type DataTimeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type DataTimeoutsAttributes

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

func (DataTimeoutsAttributes) InternalRef

func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)

func (DataTimeoutsAttributes) InternalTokens

func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTimeoutsAttributes) InternalWithRef

func (DataTimeoutsAttributes) Read

type DataTimeoutsState

type DataTimeoutsState struct {
	Read string `json:"read"`
}

Jump to

Keyboard shortcuts

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