Documentation ¶
Overview ¶
A Pulumi package for creating and managing Fly.io resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type App
- type AppArgs
- type AppArray
- type AppArrayInput
- type AppArrayOutput
- type AppInput
- type AppMap
- type AppMapInput
- type AppMapOutput
- type AppOutput
- func (o AppOutput) Appurl() pulumi.StringOutput
- func (AppOutput) ElementType() reflect.Type
- func (o AppOutput) Name() pulumi.StringOutput
- func (o AppOutput) Org() pulumi.StringOutput
- func (o AppOutput) Orgid() pulumi.StringOutput
- func (o AppOutput) ToAppOutput() AppOutput
- func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput
- type AppState
- type Cert
- type CertArgs
- type CertArray
- type CertArrayInput
- type CertArrayOutput
- type CertInput
- type CertMap
- type CertMapInput
- type CertMapOutput
- type CertOutput
- func (o CertOutput) App() pulumi.StringOutput
- func (o CertOutput) Check() pulumi.BoolOutput
- func (o CertOutput) Dnsvalidationhostname() pulumi.StringOutput
- func (o CertOutput) Dnsvalidationinstructions() pulumi.StringOutput
- func (o CertOutput) Dnsvalidationtarget() pulumi.StringOutput
- func (CertOutput) ElementType() reflect.Type
- func (o CertOutput) Hostname() pulumi.StringOutput
- func (o CertOutput) ToCertOutput() CertOutput
- func (o CertOutput) ToCertOutputWithContext(ctx context.Context) CertOutput
- type CertState
- type Ip
- type IpArgs
- type IpArray
- type IpArrayInput
- type IpArrayOutput
- type IpInput
- type IpMap
- type IpMapInput
- type IpMapOutput
- type IpOutput
- func (o IpOutput) Address() pulumi.StringOutput
- func (o IpOutput) App() pulumi.StringOutput
- func (IpOutput) ElementType() reflect.Type
- func (o IpOutput) Region() pulumi.StringOutput
- func (o IpOutput) ToIpOutput() IpOutput
- func (o IpOutput) ToIpOutputWithContext(ctx context.Context) IpOutput
- func (o IpOutput) Type() pulumi.StringOutput
- type IpState
- type LookupAppArgs
- type LookupAppOutputArgs
- type LookupAppResult
- type LookupAppResultOutput
- func (o LookupAppResultOutput) Appurl() pulumi.StringOutput
- func (o LookupAppResultOutput) Currentrelease() pulumi.StringOutput
- func (o LookupAppResultOutput) Deployed() pulumi.BoolOutput
- func (LookupAppResultOutput) ElementType() reflect.Type
- func (o LookupAppResultOutput) Healthchecks() pulumi.StringArrayOutput
- func (o LookupAppResultOutput) Hostname() pulumi.StringOutput
- func (o LookupAppResultOutput) Id() pulumi.StringOutput
- func (o LookupAppResultOutput) Ipaddresses() pulumi.StringArrayOutput
- func (o LookupAppResultOutput) Name() pulumi.StringOutput
- func (o LookupAppResultOutput) Status() pulumi.StringOutput
- func (o LookupAppResultOutput) ToLookupAppResultOutput() LookupAppResultOutput
- func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Context) LookupAppResultOutput
- type LookupCertArgs
- type LookupCertOutputArgs
- type LookupCertResult
- type LookupCertResultOutput
- func (o LookupCertResultOutput) App() pulumi.StringOutput
- func (o LookupCertResultOutput) Check() pulumi.BoolOutput
- func (o LookupCertResultOutput) Dnsvalidationhostname() pulumi.StringOutput
- func (o LookupCertResultOutput) Dnsvalidationinstructions() pulumi.StringOutput
- func (o LookupCertResultOutput) Dnsvalidationtarget() pulumi.StringOutput
- func (LookupCertResultOutput) ElementType() reflect.Type
- func (o LookupCertResultOutput) Hostname() pulumi.StringOutput
- func (o LookupCertResultOutput) Id() pulumi.StringOutput
- func (o LookupCertResultOutput) ToLookupCertResultOutput() LookupCertResultOutput
- func (o LookupCertResultOutput) ToLookupCertResultOutputWithContext(ctx context.Context) LookupCertResultOutput
- type LookupIpArgs
- type LookupIpOutputArgs
- type LookupIpResult
- type LookupIpResultOutput
- func (o LookupIpResultOutput) Address() pulumi.StringOutput
- func (o LookupIpResultOutput) App() pulumi.StringOutput
- func (LookupIpResultOutput) ElementType() reflect.Type
- func (o LookupIpResultOutput) Id() pulumi.StringOutput
- func (o LookupIpResultOutput) Region() pulumi.StringOutput
- func (o LookupIpResultOutput) ToLookupIpResultOutput() LookupIpResultOutput
- func (o LookupIpResultOutput) ToLookupIpResultOutputWithContext(ctx context.Context) LookupIpResultOutput
- func (o LookupIpResultOutput) Type() pulumi.StringOutput
- type LookupVolumeArgs
- type LookupVolumeOutputArgs
- type LookupVolumeResult
- type LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) App() pulumi.StringOutput
- func (LookupVolumeResultOutput) ElementType() reflect.Type
- func (o LookupVolumeResultOutput) Id() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Name() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Region() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Size() pulumi.IntOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
- type Machine
- type MachineArgs
- type MachineArray
- type MachineArrayInput
- type MachineArrayOutput
- type MachineInput
- type MachineMap
- type MachineMapInput
- type MachineMapOutput
- type MachineMount
- type MachineMountArgs
- type MachineMountArray
- type MachineMountArrayInput
- type MachineMountArrayOutput
- func (MachineMountArrayOutput) ElementType() reflect.Type
- func (o MachineMountArrayOutput) Index(i pulumi.IntInput) MachineMountOutput
- func (o MachineMountArrayOutput) ToMachineMountArrayOutput() MachineMountArrayOutput
- func (o MachineMountArrayOutput) ToMachineMountArrayOutputWithContext(ctx context.Context) MachineMountArrayOutput
- type MachineMountInput
- type MachineMountOutput
- func (MachineMountOutput) ElementType() reflect.Type
- func (o MachineMountOutput) Encrypted() pulumi.BoolPtrOutput
- func (o MachineMountOutput) Path() pulumi.StringOutput
- func (o MachineMountOutput) SizeGb() pulumi.IntPtrOutput
- func (o MachineMountOutput) ToMachineMountOutput() MachineMountOutput
- func (o MachineMountOutput) ToMachineMountOutputWithContext(ctx context.Context) MachineMountOutput
- func (o MachineMountOutput) Volume() pulumi.StringOutput
- type MachineOutput
- func (o MachineOutput) App() pulumi.StringOutput
- func (o MachineOutput) Cmds() pulumi.StringArrayOutput
- func (o MachineOutput) Cpus() pulumi.IntOutput
- func (o MachineOutput) Cputype() pulumi.StringOutput
- func (MachineOutput) ElementType() reflect.Type
- func (o MachineOutput) Entrypoints() pulumi.StringArrayOutput
- func (o MachineOutput) Env() pulumi.StringMapOutput
- func (o MachineOutput) Execs() pulumi.StringArrayOutput
- func (o MachineOutput) Image() pulumi.StringOutput
- func (o MachineOutput) Memorymb() pulumi.IntOutput
- func (o MachineOutput) Mounts() MachineMountArrayOutput
- func (o MachineOutput) Name() pulumi.StringOutput
- func (o MachineOutput) Privateip() pulumi.StringOutput
- func (o MachineOutput) Region() pulumi.StringOutput
- func (o MachineOutput) Services() MachineServiceArrayOutput
- func (o MachineOutput) ToMachineOutput() MachineOutput
- func (o MachineOutput) ToMachineOutputWithContext(ctx context.Context) MachineOutput
- type MachineService
- type MachineServiceArgs
- type MachineServiceArray
- type MachineServiceArrayInput
- type MachineServiceArrayOutput
- func (MachineServiceArrayOutput) ElementType() reflect.Type
- func (o MachineServiceArrayOutput) Index(i pulumi.IntInput) MachineServiceOutput
- func (o MachineServiceArrayOutput) ToMachineServiceArrayOutput() MachineServiceArrayOutput
- func (o MachineServiceArrayOutput) ToMachineServiceArrayOutputWithContext(ctx context.Context) MachineServiceArrayOutput
- type MachineServiceInput
- type MachineServiceOutput
- func (MachineServiceOutput) ElementType() reflect.Type
- func (o MachineServiceOutput) InternalPort() pulumi.IntOutput
- func (o MachineServiceOutput) Ports() MachineServicePortArrayOutput
- func (o MachineServiceOutput) Protocol() pulumi.StringOutput
- func (o MachineServiceOutput) ToMachineServiceOutput() MachineServiceOutput
- func (o MachineServiceOutput) ToMachineServiceOutputWithContext(ctx context.Context) MachineServiceOutput
- type MachineServicePort
- type MachineServicePortArgs
- type MachineServicePortArray
- type MachineServicePortArrayInput
- type MachineServicePortArrayOutput
- func (MachineServicePortArrayOutput) ElementType() reflect.Type
- func (o MachineServicePortArrayOutput) Index(i pulumi.IntInput) MachineServicePortOutput
- func (o MachineServicePortArrayOutput) ToMachineServicePortArrayOutput() MachineServicePortArrayOutput
- func (o MachineServicePortArrayOutput) ToMachineServicePortArrayOutputWithContext(ctx context.Context) MachineServicePortArrayOutput
- type MachineServicePortInput
- type MachineServicePortOutput
- func (MachineServicePortOutput) ElementType() reflect.Type
- func (o MachineServicePortOutput) Handlers() pulumi.StringArrayOutput
- func (o MachineServicePortOutput) Port() pulumi.IntOutput
- func (o MachineServicePortOutput) ToMachineServicePortOutput() MachineServicePortOutput
- func (o MachineServicePortOutput) ToMachineServicePortOutputWithContext(ctx context.Context) MachineServicePortOutput
- type MachineState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) FlyApiToken() pulumi.StringPtrOutput
- func (o ProviderOutput) FlyHttpEndpoint() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- type Volume
- type VolumeArgs
- type VolumeArray
- type VolumeArrayInput
- type VolumeArrayOutput
- type VolumeInput
- type VolumeMap
- type VolumeMapInput
- type VolumeMapOutput
- type VolumeOutput
- func (o VolumeOutput) App() pulumi.StringOutput
- func (VolumeOutput) ElementType() reflect.Type
- func (o VolumeOutput) Name() pulumi.StringOutput
- func (o VolumeOutput) Region() pulumi.StringOutput
- func (o VolumeOutput) Size() pulumi.IntOutput
- func (o VolumeOutput) ToVolumeOutput() VolumeOutput
- func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
- type VolumeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type App ¶
type App struct { pulumi.CustomResourceState // readonly appUrl Appurl pulumi.StringOutput `pulumi:"appurl"` // Name of application Name pulumi.StringOutput `pulumi:"name"` // Optional org slug to operate upon Org pulumi.StringOutput `pulumi:"org"` // readonly orgid Orgid pulumi.StringOutput `pulumi:"orgid"` }
Fly app resource
## Example Usage
## Import
<break><break>```sh<break> $ pulumi import fly:index/app:App exampleApp <app_id> <break>```<break><break>
func GetApp ¶
func GetApp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error)
GetApp gets an existing App resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApp ¶
func NewApp(ctx *pulumi.Context, name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error)
NewApp registers a new resource with the given unique name, arguments, and options.
func (*App) ElementType ¶
func (*App) ToAppOutput ¶
type AppArgs ¶
type AppArgs struct { // Name of application Name pulumi.StringPtrInput // Optional org slug to operate upon Org pulumi.StringPtrInput }
The set of arguments for constructing a App resource.
func (AppArgs) ElementType ¶
type AppArray ¶
type AppArray []AppInput
func (AppArray) ElementType ¶
func (AppArray) ToAppArrayOutput ¶
func (i AppArray) ToAppArrayOutput() AppArrayOutput
func (AppArray) ToAppArrayOutputWithContext ¶
func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
type AppArrayInput ¶
type AppArrayInput interface { pulumi.Input ToAppArrayOutput() AppArrayOutput ToAppArrayOutputWithContext(context.Context) AppArrayOutput }
AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. You can construct a concrete instance of `AppArrayInput` via:
AppArray{ AppArgs{...} }
type AppArrayOutput ¶
type AppArrayOutput struct{ *pulumi.OutputState }
func (AppArrayOutput) ElementType ¶
func (AppArrayOutput) ElementType() reflect.Type
func (AppArrayOutput) ToAppArrayOutput ¶
func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput
func (AppArrayOutput) ToAppArrayOutputWithContext ¶
func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
type AppMap ¶
func (AppMap) ElementType ¶
func (AppMap) ToAppMapOutput ¶
func (i AppMap) ToAppMapOutput() AppMapOutput
func (AppMap) ToAppMapOutputWithContext ¶
func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppMapInput ¶
type AppMapInput interface { pulumi.Input ToAppMapOutput() AppMapOutput ToAppMapOutputWithContext(context.Context) AppMapOutput }
AppMapInput is an input type that accepts AppMap and AppMapOutput values. You can construct a concrete instance of `AppMapInput` via:
AppMap{ "key": AppArgs{...} }
type AppMapOutput ¶
type AppMapOutput struct{ *pulumi.OutputState }
func (AppMapOutput) ElementType ¶
func (AppMapOutput) ElementType() reflect.Type
func (AppMapOutput) MapIndex ¶
func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput
func (AppMapOutput) ToAppMapOutput ¶
func (o AppMapOutput) ToAppMapOutput() AppMapOutput
func (AppMapOutput) ToAppMapOutputWithContext ¶
func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppOutput ¶
type AppOutput struct{ *pulumi.OutputState }
func (AppOutput) ElementType ¶
func (AppOutput) Org ¶
func (o AppOutput) Org() pulumi.StringOutput
Optional org slug to operate upon
func (AppOutput) ToAppOutput ¶
type AppState ¶
type AppState struct { // readonly appUrl Appurl pulumi.StringPtrInput // Name of application Name pulumi.StringPtrInput // Optional org slug to operate upon Org pulumi.StringPtrInput // readonly orgid Orgid pulumi.StringPtrInput }
func (AppState) ElementType ¶
type Cert ¶
type Cert struct { pulumi.CustomResourceState // Name of app to attach to App pulumi.StringOutput `pulumi:"app"` // check Check pulumi.BoolOutput `pulumi:"check"` // DnsValidationHostname Dnsvalidationhostname pulumi.StringOutput `pulumi:"dnsvalidationhostname"` // DnsValidationHostname Dnsvalidationinstructions pulumi.StringOutput `pulumi:"dnsvalidationinstructions"` // DnsValidationTarget Dnsvalidationtarget pulumi.StringOutput `pulumi:"dnsvalidationtarget"` // hostname Hostname pulumi.StringOutput `pulumi:"hostname"` }
Fly certificate resource
## Example Usage
## Import
<break><break>```sh<break> $ pulumi import fly:index/cert:Cert exampleCert <app_id>,<hostname> <break>```<break><break>
func GetCert ¶
func GetCert(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertState, opts ...pulumi.ResourceOption) (*Cert, error)
GetCert gets an existing Cert resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCert ¶
func NewCert(ctx *pulumi.Context, name string, args *CertArgs, opts ...pulumi.ResourceOption) (*Cert, error)
NewCert registers a new resource with the given unique name, arguments, and options.
func (*Cert) ElementType ¶
func (*Cert) ToCertOutput ¶
func (i *Cert) ToCertOutput() CertOutput
func (*Cert) ToCertOutputWithContext ¶
func (i *Cert) ToCertOutputWithContext(ctx context.Context) CertOutput
type CertArgs ¶
type CertArgs struct { // Name of app to attach to App pulumi.StringInput // hostname Hostname pulumi.StringInput }
The set of arguments for constructing a Cert resource.
func (CertArgs) ElementType ¶
type CertArray ¶
type CertArray []CertInput
func (CertArray) ElementType ¶
func (CertArray) ToCertArrayOutput ¶
func (i CertArray) ToCertArrayOutput() CertArrayOutput
func (CertArray) ToCertArrayOutputWithContext ¶
func (i CertArray) ToCertArrayOutputWithContext(ctx context.Context) CertArrayOutput
type CertArrayInput ¶
type CertArrayInput interface { pulumi.Input ToCertArrayOutput() CertArrayOutput ToCertArrayOutputWithContext(context.Context) CertArrayOutput }
CertArrayInput is an input type that accepts CertArray and CertArrayOutput values. You can construct a concrete instance of `CertArrayInput` via:
CertArray{ CertArgs{...} }
type CertArrayOutput ¶
type CertArrayOutput struct{ *pulumi.OutputState }
func (CertArrayOutput) ElementType ¶
func (CertArrayOutput) ElementType() reflect.Type
func (CertArrayOutput) Index ¶
func (o CertArrayOutput) Index(i pulumi.IntInput) CertOutput
func (CertArrayOutput) ToCertArrayOutput ¶
func (o CertArrayOutput) ToCertArrayOutput() CertArrayOutput
func (CertArrayOutput) ToCertArrayOutputWithContext ¶
func (o CertArrayOutput) ToCertArrayOutputWithContext(ctx context.Context) CertArrayOutput
type CertInput ¶
type CertInput interface { pulumi.Input ToCertOutput() CertOutput ToCertOutputWithContext(ctx context.Context) CertOutput }
type CertMap ¶
func (CertMap) ElementType ¶
func (CertMap) ToCertMapOutput ¶
func (i CertMap) ToCertMapOutput() CertMapOutput
func (CertMap) ToCertMapOutputWithContext ¶
func (i CertMap) ToCertMapOutputWithContext(ctx context.Context) CertMapOutput
type CertMapInput ¶
type CertMapInput interface { pulumi.Input ToCertMapOutput() CertMapOutput ToCertMapOutputWithContext(context.Context) CertMapOutput }
CertMapInput is an input type that accepts CertMap and CertMapOutput values. You can construct a concrete instance of `CertMapInput` via:
CertMap{ "key": CertArgs{...} }
type CertMapOutput ¶
type CertMapOutput struct{ *pulumi.OutputState }
func (CertMapOutput) ElementType ¶
func (CertMapOutput) ElementType() reflect.Type
func (CertMapOutput) MapIndex ¶
func (o CertMapOutput) MapIndex(k pulumi.StringInput) CertOutput
func (CertMapOutput) ToCertMapOutput ¶
func (o CertMapOutput) ToCertMapOutput() CertMapOutput
func (CertMapOutput) ToCertMapOutputWithContext ¶
func (o CertMapOutput) ToCertMapOutputWithContext(ctx context.Context) CertMapOutput
type CertOutput ¶
type CertOutput struct{ *pulumi.OutputState }
func (CertOutput) Dnsvalidationhostname ¶
func (o CertOutput) Dnsvalidationhostname() pulumi.StringOutput
DnsValidationHostname
func (CertOutput) Dnsvalidationinstructions ¶
func (o CertOutput) Dnsvalidationinstructions() pulumi.StringOutput
DnsValidationHostname
func (CertOutput) Dnsvalidationtarget ¶
func (o CertOutput) Dnsvalidationtarget() pulumi.StringOutput
DnsValidationTarget
func (CertOutput) ElementType ¶
func (CertOutput) ElementType() reflect.Type
func (CertOutput) ToCertOutput ¶
func (o CertOutput) ToCertOutput() CertOutput
func (CertOutput) ToCertOutputWithContext ¶
func (o CertOutput) ToCertOutputWithContext(ctx context.Context) CertOutput
type CertState ¶
type CertState struct { // Name of app to attach to App pulumi.StringPtrInput // check Check pulumi.BoolPtrInput // DnsValidationHostname Dnsvalidationhostname pulumi.StringPtrInput // DnsValidationHostname Dnsvalidationinstructions pulumi.StringPtrInput // DnsValidationTarget Dnsvalidationtarget pulumi.StringPtrInput // hostname Hostname pulumi.StringPtrInput }
func (CertState) ElementType ¶
type Ip ¶
type Ip struct { pulumi.CustomResourceState // IP address Address pulumi.StringOutput `pulumi:"address"` // Name of app to attach to App pulumi.StringOutput `pulumi:"app"` // region Region pulumi.StringOutput `pulumi:"region"` // v4 or v6 Type pulumi.StringOutput `pulumi:"type"` }
Fly ip resource
## Example Usage
## Import
<break><break>```sh<break> $ pulumi import fly:index/ip:Ip exampleIp <app_id>,<ip_address> <break>```<break><break>
func GetIp ¶
func GetIp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IpState, opts ...pulumi.ResourceOption) (*Ip, error)
GetIp gets an existing Ip resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIp ¶
func NewIp(ctx *pulumi.Context, name string, args *IpArgs, opts ...pulumi.ResourceOption) (*Ip, error)
NewIp registers a new resource with the given unique name, arguments, and options.
func (*Ip) ElementType ¶
func (*Ip) ToIpOutput ¶
type IpArgs ¶
type IpArgs struct { // Name of app to attach to App pulumi.StringInput // region Region pulumi.StringPtrInput // v4 or v6 Type pulumi.StringInput }
The set of arguments for constructing a Ip resource.
func (IpArgs) ElementType ¶
type IpArray ¶
type IpArray []IpInput
func (IpArray) ElementType ¶
func (IpArray) ToIpArrayOutput ¶
func (i IpArray) ToIpArrayOutput() IpArrayOutput
func (IpArray) ToIpArrayOutputWithContext ¶
func (i IpArray) ToIpArrayOutputWithContext(ctx context.Context) IpArrayOutput
type IpArrayInput ¶
type IpArrayInput interface { pulumi.Input ToIpArrayOutput() IpArrayOutput ToIpArrayOutputWithContext(context.Context) IpArrayOutput }
IpArrayInput is an input type that accepts IpArray and IpArrayOutput values. You can construct a concrete instance of `IpArrayInput` via:
IpArray{ IpArgs{...} }
type IpArrayOutput ¶
type IpArrayOutput struct{ *pulumi.OutputState }
func (IpArrayOutput) ElementType ¶
func (IpArrayOutput) ElementType() reflect.Type
func (IpArrayOutput) ToIpArrayOutput ¶
func (o IpArrayOutput) ToIpArrayOutput() IpArrayOutput
func (IpArrayOutput) ToIpArrayOutputWithContext ¶
func (o IpArrayOutput) ToIpArrayOutputWithContext(ctx context.Context) IpArrayOutput
type IpMap ¶
func (IpMap) ElementType ¶
func (IpMap) ToIpMapOutput ¶
func (i IpMap) ToIpMapOutput() IpMapOutput
func (IpMap) ToIpMapOutputWithContext ¶
func (i IpMap) ToIpMapOutputWithContext(ctx context.Context) IpMapOutput
type IpMapInput ¶
type IpMapInput interface { pulumi.Input ToIpMapOutput() IpMapOutput ToIpMapOutputWithContext(context.Context) IpMapOutput }
IpMapInput is an input type that accepts IpMap and IpMapOutput values. You can construct a concrete instance of `IpMapInput` via:
IpMap{ "key": IpArgs{...} }
type IpMapOutput ¶
type IpMapOutput struct{ *pulumi.OutputState }
func (IpMapOutput) ElementType ¶
func (IpMapOutput) ElementType() reflect.Type
func (IpMapOutput) MapIndex ¶
func (o IpMapOutput) MapIndex(k pulumi.StringInput) IpOutput
func (IpMapOutput) ToIpMapOutput ¶
func (o IpMapOutput) ToIpMapOutput() IpMapOutput
func (IpMapOutput) ToIpMapOutputWithContext ¶
func (o IpMapOutput) ToIpMapOutputWithContext(ctx context.Context) IpMapOutput
type IpOutput ¶
type IpOutput struct{ *pulumi.OutputState }
func (IpOutput) ElementType ¶
func (IpOutput) ToIpOutput ¶
func (IpOutput) ToIpOutputWithContext ¶
type IpState ¶
type IpState struct { // IP address Address pulumi.StringPtrInput // Name of app to attach to App pulumi.StringPtrInput // region Region pulumi.StringPtrInput // v4 or v6 Type pulumi.StringPtrInput }
func (IpState) ElementType ¶
type LookupAppArgs ¶
type LookupAppArgs struct { // Name of app Name string `pulumi:"name"` }
A collection of arguments for invoking getApp.
type LookupAppOutputArgs ¶
type LookupAppOutputArgs struct { // Name of app Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getApp.
func (LookupAppOutputArgs) ElementType ¶
func (LookupAppOutputArgs) ElementType() reflect.Type
type LookupAppResult ¶
type LookupAppResult struct { Appurl string `pulumi:"appurl"` Currentrelease string `pulumi:"currentrelease"` Deployed bool `pulumi:"deployed"` Healthchecks []string `pulumi:"healthchecks"` Hostname string `pulumi:"hostname"` // The ID of this resource. Id string `pulumi:"id"` Ipaddresses []string `pulumi:"ipaddresses"` // Name of app Name string `pulumi:"name"` Status string `pulumi:"status"` }
A collection of values returned by getApp.
func LookupApp ¶
func LookupApp(ctx *pulumi.Context, args *LookupAppArgs, opts ...pulumi.InvokeOption) (*LookupAppResult, error)
Retrieve info about graphql app
## Example Usage
type LookupAppResultOutput ¶
type LookupAppResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getApp.
func LookupAppOutput ¶
func LookupAppOutput(ctx *pulumi.Context, args LookupAppOutputArgs, opts ...pulumi.InvokeOption) LookupAppResultOutput
func (LookupAppResultOutput) Appurl ¶
func (o LookupAppResultOutput) Appurl() pulumi.StringOutput
func (LookupAppResultOutput) Currentrelease ¶
func (o LookupAppResultOutput) Currentrelease() pulumi.StringOutput
func (LookupAppResultOutput) Deployed ¶
func (o LookupAppResultOutput) Deployed() pulumi.BoolOutput
func (LookupAppResultOutput) ElementType ¶
func (LookupAppResultOutput) ElementType() reflect.Type
func (LookupAppResultOutput) Healthchecks ¶
func (o LookupAppResultOutput) Healthchecks() pulumi.StringArrayOutput
func (LookupAppResultOutput) Hostname ¶
func (o LookupAppResultOutput) Hostname() pulumi.StringOutput
func (LookupAppResultOutput) Id ¶
func (o LookupAppResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (LookupAppResultOutput) Ipaddresses ¶
func (o LookupAppResultOutput) Ipaddresses() pulumi.StringArrayOutput
func (LookupAppResultOutput) Name ¶
func (o LookupAppResultOutput) Name() pulumi.StringOutput
Name of app
func (LookupAppResultOutput) Status ¶
func (o LookupAppResultOutput) Status() pulumi.StringOutput
func (LookupAppResultOutput) ToLookupAppResultOutput ¶
func (o LookupAppResultOutput) ToLookupAppResultOutput() LookupAppResultOutput
func (LookupAppResultOutput) ToLookupAppResultOutputWithContext ¶
func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Context) LookupAppResultOutput
type LookupCertArgs ¶
type LookupCertArgs struct { // Name of app attached to App string `pulumi:"app"` // hostname Hostname string `pulumi:"hostname"` }
A collection of arguments for invoking getCert.
type LookupCertOutputArgs ¶
type LookupCertOutputArgs struct { // Name of app attached to App pulumi.StringInput `pulumi:"app"` // hostname Hostname pulumi.StringInput `pulumi:"hostname"` }
A collection of arguments for invoking getCert.
func (LookupCertOutputArgs) ElementType ¶
func (LookupCertOutputArgs) ElementType() reflect.Type
type LookupCertResult ¶
type LookupCertResult struct { // Name of app attached to App string `pulumi:"app"` // check Check bool `pulumi:"check"` // DnsValidationHostname Dnsvalidationhostname string `pulumi:"dnsvalidationhostname"` // DnsValidationHostname Dnsvalidationinstructions string `pulumi:"dnsvalidationinstructions"` // DnsValidationTarget Dnsvalidationtarget string `pulumi:"dnsvalidationtarget"` // hostname Hostname string `pulumi:"hostname"` // ID of certificate Id string `pulumi:"id"` }
A collection of values returned by getCert.
func LookupCert ¶
func LookupCert(ctx *pulumi.Context, args *LookupCertArgs, opts ...pulumi.InvokeOption) (*LookupCertResult, error)
Fly certificate data source
type LookupCertResultOutput ¶
type LookupCertResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCert.
func LookupCertOutput ¶
func LookupCertOutput(ctx *pulumi.Context, args LookupCertOutputArgs, opts ...pulumi.InvokeOption) LookupCertResultOutput
func (LookupCertResultOutput) App ¶
func (o LookupCertResultOutput) App() pulumi.StringOutput
Name of app attached to
func (LookupCertResultOutput) Check ¶
func (o LookupCertResultOutput) Check() pulumi.BoolOutput
check
func (LookupCertResultOutput) Dnsvalidationhostname ¶
func (o LookupCertResultOutput) Dnsvalidationhostname() pulumi.StringOutput
DnsValidationHostname
func (LookupCertResultOutput) Dnsvalidationinstructions ¶
func (o LookupCertResultOutput) Dnsvalidationinstructions() pulumi.StringOutput
DnsValidationHostname
func (LookupCertResultOutput) Dnsvalidationtarget ¶
func (o LookupCertResultOutput) Dnsvalidationtarget() pulumi.StringOutput
DnsValidationTarget
func (LookupCertResultOutput) ElementType ¶
func (LookupCertResultOutput) ElementType() reflect.Type
func (LookupCertResultOutput) Hostname ¶
func (o LookupCertResultOutput) Hostname() pulumi.StringOutput
hostname
func (LookupCertResultOutput) Id ¶
func (o LookupCertResultOutput) Id() pulumi.StringOutput
ID of certificate
func (LookupCertResultOutput) ToLookupCertResultOutput ¶
func (o LookupCertResultOutput) ToLookupCertResultOutput() LookupCertResultOutput
func (LookupCertResultOutput) ToLookupCertResultOutputWithContext ¶
func (o LookupCertResultOutput) ToLookupCertResultOutputWithContext(ctx context.Context) LookupCertResultOutput
type LookupIpArgs ¶
type LookupIpArgs struct { // IP address Address string `pulumi:"address"` // Name of app attached to App string `pulumi:"app"` }
A collection of arguments for invoking getIp.
type LookupIpOutputArgs ¶
type LookupIpOutputArgs struct { // IP address Address pulumi.StringInput `pulumi:"address"` // Name of app attached to App pulumi.StringInput `pulumi:"app"` }
A collection of arguments for invoking getIp.
func (LookupIpOutputArgs) ElementType ¶
func (LookupIpOutputArgs) ElementType() reflect.Type
type LookupIpResult ¶
type LookupIpResult struct { // IP address Address string `pulumi:"address"` // Name of app attached to App string `pulumi:"app"` // ID of address Id string `pulumi:"id"` // region Region string `pulumi:"region"` // v4 or v6 Type string `pulumi:"type"` }
A collection of values returned by getIp.
func LookupIp ¶
func LookupIp(ctx *pulumi.Context, args *LookupIpArgs, opts ...pulumi.InvokeOption) (*LookupIpResult, error)
Fly ip data source
type LookupIpResultOutput ¶
type LookupIpResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getIp.
func LookupIpOutput ¶
func LookupIpOutput(ctx *pulumi.Context, args LookupIpOutputArgs, opts ...pulumi.InvokeOption) LookupIpResultOutput
func (LookupIpResultOutput) Address ¶
func (o LookupIpResultOutput) Address() pulumi.StringOutput
IP address
func (LookupIpResultOutput) App ¶
func (o LookupIpResultOutput) App() pulumi.StringOutput
Name of app attached to
func (LookupIpResultOutput) ElementType ¶
func (LookupIpResultOutput) ElementType() reflect.Type
func (LookupIpResultOutput) Id ¶
func (o LookupIpResultOutput) Id() pulumi.StringOutput
ID of address
func (LookupIpResultOutput) Region ¶
func (o LookupIpResultOutput) Region() pulumi.StringOutput
region
func (LookupIpResultOutput) ToLookupIpResultOutput ¶
func (o LookupIpResultOutput) ToLookupIpResultOutput() LookupIpResultOutput
func (LookupIpResultOutput) ToLookupIpResultOutputWithContext ¶
func (o LookupIpResultOutput) ToLookupIpResultOutputWithContext(ctx context.Context) LookupIpResultOutput
func (LookupIpResultOutput) Type ¶
func (o LookupIpResultOutput) Type() pulumi.StringOutput
v4 or v6
type LookupVolumeArgs ¶
type LookupVolumeArgs struct { // Name of app attached to App string `pulumi:"app"` // ID of volume Id string `pulumi:"id"` }
A collection of arguments for invoking getVolume.
type LookupVolumeOutputArgs ¶
type LookupVolumeOutputArgs struct { // Name of app attached to App pulumi.StringInput `pulumi:"app"` // ID of volume Id pulumi.StringInput `pulumi:"id"` }
A collection of arguments for invoking getVolume.
func (LookupVolumeOutputArgs) ElementType ¶
func (LookupVolumeOutputArgs) ElementType() reflect.Type
type LookupVolumeResult ¶
type LookupVolumeResult struct { // Name of app attached to App string `pulumi:"app"` // ID of volume Id string `pulumi:"id"` // name Name string `pulumi:"name"` // region Region string `pulumi:"region"` // Size of volume in GB Size int `pulumi:"size"` }
A collection of values returned by getVolume.
func LookupVolume ¶
func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)
Fly volume resource
type LookupVolumeResultOutput ¶
type LookupVolumeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVolume.
func LookupVolumeOutput ¶
func LookupVolumeOutput(ctx *pulumi.Context, args LookupVolumeOutputArgs, opts ...pulumi.InvokeOption) LookupVolumeResultOutput
func (LookupVolumeResultOutput) App ¶
func (o LookupVolumeResultOutput) App() pulumi.StringOutput
Name of app attached to
func (LookupVolumeResultOutput) ElementType ¶
func (LookupVolumeResultOutput) ElementType() reflect.Type
func (LookupVolumeResultOutput) Id ¶
func (o LookupVolumeResultOutput) Id() pulumi.StringOutput
ID of volume
func (LookupVolumeResultOutput) Name ¶
func (o LookupVolumeResultOutput) Name() pulumi.StringOutput
name
func (LookupVolumeResultOutput) Region ¶
func (o LookupVolumeResultOutput) Region() pulumi.StringOutput
region
func (LookupVolumeResultOutput) Size ¶
func (o LookupVolumeResultOutput) Size() pulumi.IntOutput
Size of volume in GB
func (LookupVolumeResultOutput) ToLookupVolumeResultOutput ¶
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext ¶
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
type Machine ¶
type Machine struct { pulumi.CustomResourceState // fly app App pulumi.StringOutput `pulumi:"app"` // cmd Cmds pulumi.StringArrayOutput `pulumi:"cmds"` // cpu count Cpus pulumi.IntOutput `pulumi:"cpus"` // cpu type Cputype pulumi.StringOutput `pulumi:"cputype"` // image entrypoint Entrypoints pulumi.StringArrayOutput `pulumi:"entrypoints"` // Optional environment variables, keys and values must be strings Env pulumi.StringMapOutput `pulumi:"env"` // exec command Execs pulumi.StringArrayOutput `pulumi:"execs"` // docker image Image pulumi.StringOutput `pulumi:"image"` // memory mb Memorymb pulumi.IntOutput `pulumi:"memorymb"` // Volume mounts Mounts MachineMountArrayOutput `pulumi:"mounts"` // machine name Name pulumi.StringOutput `pulumi:"name"` // Private IP Privateip pulumi.StringOutput `pulumi:"privateip"` // machine region Region pulumi.StringOutput `pulumi:"region"` // services Services MachineServiceArrayOutput `pulumi:"services"` }
Fly machine resource
## Example Usage
## Import
<break><break>```sh<break> $ pulumi import fly:index/machine:Machine exampleMachine <app_id>,<machine_id> <break>```<break><break>
func GetMachine ¶
func GetMachine(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MachineState, opts ...pulumi.ResourceOption) (*Machine, error)
GetMachine gets an existing Machine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMachine ¶
func NewMachine(ctx *pulumi.Context, name string, args *MachineArgs, opts ...pulumi.ResourceOption) (*Machine, error)
NewMachine registers a new resource with the given unique name, arguments, and options.
func (*Machine) ElementType ¶
func (*Machine) ToMachineOutput ¶
func (i *Machine) ToMachineOutput() MachineOutput
func (*Machine) ToMachineOutputWithContext ¶
func (i *Machine) ToMachineOutputWithContext(ctx context.Context) MachineOutput
type MachineArgs ¶
type MachineArgs struct { // fly app App pulumi.StringInput // cmd Cmds pulumi.StringArrayInput // cpu count Cpus pulumi.IntPtrInput // cpu type Cputype pulumi.StringPtrInput // image entrypoint Entrypoints pulumi.StringArrayInput // Optional environment variables, keys and values must be strings Env pulumi.StringMapInput // exec command Execs pulumi.StringArrayInput // docker image Image pulumi.StringInput // memory mb Memorymb pulumi.IntPtrInput // Volume mounts Mounts MachineMountArrayInput // machine name Name pulumi.StringPtrInput // machine region Region pulumi.StringInput // services Services MachineServiceArrayInput }
The set of arguments for constructing a Machine resource.
func (MachineArgs) ElementType ¶
func (MachineArgs) ElementType() reflect.Type
type MachineArray ¶
type MachineArray []MachineInput
func (MachineArray) ElementType ¶
func (MachineArray) ElementType() reflect.Type
func (MachineArray) ToMachineArrayOutput ¶
func (i MachineArray) ToMachineArrayOutput() MachineArrayOutput
func (MachineArray) ToMachineArrayOutputWithContext ¶
func (i MachineArray) ToMachineArrayOutputWithContext(ctx context.Context) MachineArrayOutput
type MachineArrayInput ¶
type MachineArrayInput interface { pulumi.Input ToMachineArrayOutput() MachineArrayOutput ToMachineArrayOutputWithContext(context.Context) MachineArrayOutput }
MachineArrayInput is an input type that accepts MachineArray and MachineArrayOutput values. You can construct a concrete instance of `MachineArrayInput` via:
MachineArray{ MachineArgs{...} }
type MachineArrayOutput ¶
type MachineArrayOutput struct{ *pulumi.OutputState }
func (MachineArrayOutput) ElementType ¶
func (MachineArrayOutput) ElementType() reflect.Type
func (MachineArrayOutput) Index ¶
func (o MachineArrayOutput) Index(i pulumi.IntInput) MachineOutput
func (MachineArrayOutput) ToMachineArrayOutput ¶
func (o MachineArrayOutput) ToMachineArrayOutput() MachineArrayOutput
func (MachineArrayOutput) ToMachineArrayOutputWithContext ¶
func (o MachineArrayOutput) ToMachineArrayOutputWithContext(ctx context.Context) MachineArrayOutput
type MachineInput ¶
type MachineInput interface { pulumi.Input ToMachineOutput() MachineOutput ToMachineOutputWithContext(ctx context.Context) MachineOutput }
type MachineMap ¶
type MachineMap map[string]MachineInput
func (MachineMap) ElementType ¶
func (MachineMap) ElementType() reflect.Type
func (MachineMap) ToMachineMapOutput ¶
func (i MachineMap) ToMachineMapOutput() MachineMapOutput
func (MachineMap) ToMachineMapOutputWithContext ¶
func (i MachineMap) ToMachineMapOutputWithContext(ctx context.Context) MachineMapOutput
type MachineMapInput ¶
type MachineMapInput interface { pulumi.Input ToMachineMapOutput() MachineMapOutput ToMachineMapOutputWithContext(context.Context) MachineMapOutput }
MachineMapInput is an input type that accepts MachineMap and MachineMapOutput values. You can construct a concrete instance of `MachineMapInput` via:
MachineMap{ "key": MachineArgs{...} }
type MachineMapOutput ¶
type MachineMapOutput struct{ *pulumi.OutputState }
func (MachineMapOutput) ElementType ¶
func (MachineMapOutput) ElementType() reflect.Type
func (MachineMapOutput) MapIndex ¶
func (o MachineMapOutput) MapIndex(k pulumi.StringInput) MachineOutput
func (MachineMapOutput) ToMachineMapOutput ¶
func (o MachineMapOutput) ToMachineMapOutput() MachineMapOutput
func (MachineMapOutput) ToMachineMapOutputWithContext ¶
func (o MachineMapOutput) ToMachineMapOutputWithContext(ctx context.Context) MachineMapOutput
type MachineMount ¶
type MachineMountArgs ¶
type MachineMountArgs struct { Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"` // Path for volume to be mounted on vm Path pulumi.StringInput `pulumi:"path"` SizeGb pulumi.IntPtrInput `pulumi:"sizeGb"` // Name or ID of volume Volume pulumi.StringInput `pulumi:"volume"` }
func (MachineMountArgs) ElementType ¶
func (MachineMountArgs) ElementType() reflect.Type
func (MachineMountArgs) ToMachineMountOutput ¶
func (i MachineMountArgs) ToMachineMountOutput() MachineMountOutput
func (MachineMountArgs) ToMachineMountOutputWithContext ¶
func (i MachineMountArgs) ToMachineMountOutputWithContext(ctx context.Context) MachineMountOutput
type MachineMountArray ¶
type MachineMountArray []MachineMountInput
func (MachineMountArray) ElementType ¶
func (MachineMountArray) ElementType() reflect.Type
func (MachineMountArray) ToMachineMountArrayOutput ¶
func (i MachineMountArray) ToMachineMountArrayOutput() MachineMountArrayOutput
func (MachineMountArray) ToMachineMountArrayOutputWithContext ¶
func (i MachineMountArray) ToMachineMountArrayOutputWithContext(ctx context.Context) MachineMountArrayOutput
type MachineMountArrayInput ¶
type MachineMountArrayInput interface { pulumi.Input ToMachineMountArrayOutput() MachineMountArrayOutput ToMachineMountArrayOutputWithContext(context.Context) MachineMountArrayOutput }
MachineMountArrayInput is an input type that accepts MachineMountArray and MachineMountArrayOutput values. You can construct a concrete instance of `MachineMountArrayInput` via:
MachineMountArray{ MachineMountArgs{...} }
type MachineMountArrayOutput ¶
type MachineMountArrayOutput struct{ *pulumi.OutputState }
func (MachineMountArrayOutput) ElementType ¶
func (MachineMountArrayOutput) ElementType() reflect.Type
func (MachineMountArrayOutput) Index ¶
func (o MachineMountArrayOutput) Index(i pulumi.IntInput) MachineMountOutput
func (MachineMountArrayOutput) ToMachineMountArrayOutput ¶
func (o MachineMountArrayOutput) ToMachineMountArrayOutput() MachineMountArrayOutput
func (MachineMountArrayOutput) ToMachineMountArrayOutputWithContext ¶
func (o MachineMountArrayOutput) ToMachineMountArrayOutputWithContext(ctx context.Context) MachineMountArrayOutput
type MachineMountInput ¶
type MachineMountInput interface { pulumi.Input ToMachineMountOutput() MachineMountOutput ToMachineMountOutputWithContext(context.Context) MachineMountOutput }
MachineMountInput is an input type that accepts MachineMountArgs and MachineMountOutput values. You can construct a concrete instance of `MachineMountInput` via:
MachineMountArgs{...}
type MachineMountOutput ¶
type MachineMountOutput struct{ *pulumi.OutputState }
func (MachineMountOutput) ElementType ¶
func (MachineMountOutput) ElementType() reflect.Type
func (MachineMountOutput) Encrypted ¶
func (o MachineMountOutput) Encrypted() pulumi.BoolPtrOutput
func (MachineMountOutput) Path ¶
func (o MachineMountOutput) Path() pulumi.StringOutput
Path for volume to be mounted on vm
func (MachineMountOutput) SizeGb ¶
func (o MachineMountOutput) SizeGb() pulumi.IntPtrOutput
func (MachineMountOutput) ToMachineMountOutput ¶
func (o MachineMountOutput) ToMachineMountOutput() MachineMountOutput
func (MachineMountOutput) ToMachineMountOutputWithContext ¶
func (o MachineMountOutput) ToMachineMountOutputWithContext(ctx context.Context) MachineMountOutput
func (MachineMountOutput) Volume ¶
func (o MachineMountOutput) Volume() pulumi.StringOutput
Name or ID of volume
type MachineOutput ¶
type MachineOutput struct{ *pulumi.OutputState }
func (MachineOutput) ElementType ¶
func (MachineOutput) ElementType() reflect.Type
func (MachineOutput) Entrypoints ¶
func (o MachineOutput) Entrypoints() pulumi.StringArrayOutput
image entrypoint
func (MachineOutput) Env ¶
func (o MachineOutput) Env() pulumi.StringMapOutput
Optional environment variables, keys and values must be strings
func (MachineOutput) Services ¶
func (o MachineOutput) Services() MachineServiceArrayOutput
services
func (MachineOutput) ToMachineOutput ¶
func (o MachineOutput) ToMachineOutput() MachineOutput
func (MachineOutput) ToMachineOutputWithContext ¶
func (o MachineOutput) ToMachineOutputWithContext(ctx context.Context) MachineOutput
type MachineService ¶
type MachineService struct { // Port application listens on internally InternalPort int `pulumi:"internalPort"` // External ports and handlers Ports []MachineServicePort `pulumi:"ports"` // network protocol Protocol string `pulumi:"protocol"` }
type MachineServiceArgs ¶
type MachineServiceArgs struct { // Port application listens on internally InternalPort pulumi.IntInput `pulumi:"internalPort"` // External ports and handlers Ports MachineServicePortArrayInput `pulumi:"ports"` // network protocol Protocol pulumi.StringInput `pulumi:"protocol"` }
func (MachineServiceArgs) ElementType ¶
func (MachineServiceArgs) ElementType() reflect.Type
func (MachineServiceArgs) ToMachineServiceOutput ¶
func (i MachineServiceArgs) ToMachineServiceOutput() MachineServiceOutput
func (MachineServiceArgs) ToMachineServiceOutputWithContext ¶
func (i MachineServiceArgs) ToMachineServiceOutputWithContext(ctx context.Context) MachineServiceOutput
type MachineServiceArray ¶
type MachineServiceArray []MachineServiceInput
func (MachineServiceArray) ElementType ¶
func (MachineServiceArray) ElementType() reflect.Type
func (MachineServiceArray) ToMachineServiceArrayOutput ¶
func (i MachineServiceArray) ToMachineServiceArrayOutput() MachineServiceArrayOutput
func (MachineServiceArray) ToMachineServiceArrayOutputWithContext ¶
func (i MachineServiceArray) ToMachineServiceArrayOutputWithContext(ctx context.Context) MachineServiceArrayOutput
type MachineServiceArrayInput ¶
type MachineServiceArrayInput interface { pulumi.Input ToMachineServiceArrayOutput() MachineServiceArrayOutput ToMachineServiceArrayOutputWithContext(context.Context) MachineServiceArrayOutput }
MachineServiceArrayInput is an input type that accepts MachineServiceArray and MachineServiceArrayOutput values. You can construct a concrete instance of `MachineServiceArrayInput` via:
MachineServiceArray{ MachineServiceArgs{...} }
type MachineServiceArrayOutput ¶
type MachineServiceArrayOutput struct{ *pulumi.OutputState }
func (MachineServiceArrayOutput) ElementType ¶
func (MachineServiceArrayOutput) ElementType() reflect.Type
func (MachineServiceArrayOutput) Index ¶
func (o MachineServiceArrayOutput) Index(i pulumi.IntInput) MachineServiceOutput
func (MachineServiceArrayOutput) ToMachineServiceArrayOutput ¶
func (o MachineServiceArrayOutput) ToMachineServiceArrayOutput() MachineServiceArrayOutput
func (MachineServiceArrayOutput) ToMachineServiceArrayOutputWithContext ¶
func (o MachineServiceArrayOutput) ToMachineServiceArrayOutputWithContext(ctx context.Context) MachineServiceArrayOutput
type MachineServiceInput ¶
type MachineServiceInput interface { pulumi.Input ToMachineServiceOutput() MachineServiceOutput ToMachineServiceOutputWithContext(context.Context) MachineServiceOutput }
MachineServiceInput is an input type that accepts MachineServiceArgs and MachineServiceOutput values. You can construct a concrete instance of `MachineServiceInput` via:
MachineServiceArgs{...}
type MachineServiceOutput ¶
type MachineServiceOutput struct{ *pulumi.OutputState }
func (MachineServiceOutput) ElementType ¶
func (MachineServiceOutput) ElementType() reflect.Type
func (MachineServiceOutput) InternalPort ¶
func (o MachineServiceOutput) InternalPort() pulumi.IntOutput
Port application listens on internally
func (MachineServiceOutput) Ports ¶
func (o MachineServiceOutput) Ports() MachineServicePortArrayOutput
External ports and handlers
func (MachineServiceOutput) Protocol ¶
func (o MachineServiceOutput) Protocol() pulumi.StringOutput
network protocol
func (MachineServiceOutput) ToMachineServiceOutput ¶
func (o MachineServiceOutput) ToMachineServiceOutput() MachineServiceOutput
func (MachineServiceOutput) ToMachineServiceOutputWithContext ¶
func (o MachineServiceOutput) ToMachineServiceOutputWithContext(ctx context.Context) MachineServiceOutput
type MachineServicePort ¶
type MachineServicePortArgs ¶
type MachineServicePortArgs struct { Handlers pulumi.StringArrayInput `pulumi:"handlers"` Port pulumi.IntInput `pulumi:"port"` }
func (MachineServicePortArgs) ElementType ¶
func (MachineServicePortArgs) ElementType() reflect.Type
func (MachineServicePortArgs) ToMachineServicePortOutput ¶
func (i MachineServicePortArgs) ToMachineServicePortOutput() MachineServicePortOutput
func (MachineServicePortArgs) ToMachineServicePortOutputWithContext ¶
func (i MachineServicePortArgs) ToMachineServicePortOutputWithContext(ctx context.Context) MachineServicePortOutput
type MachineServicePortArray ¶
type MachineServicePortArray []MachineServicePortInput
func (MachineServicePortArray) ElementType ¶
func (MachineServicePortArray) ElementType() reflect.Type
func (MachineServicePortArray) ToMachineServicePortArrayOutput ¶
func (i MachineServicePortArray) ToMachineServicePortArrayOutput() MachineServicePortArrayOutput
func (MachineServicePortArray) ToMachineServicePortArrayOutputWithContext ¶
func (i MachineServicePortArray) ToMachineServicePortArrayOutputWithContext(ctx context.Context) MachineServicePortArrayOutput
type MachineServicePortArrayInput ¶
type MachineServicePortArrayInput interface { pulumi.Input ToMachineServicePortArrayOutput() MachineServicePortArrayOutput ToMachineServicePortArrayOutputWithContext(context.Context) MachineServicePortArrayOutput }
MachineServicePortArrayInput is an input type that accepts MachineServicePortArray and MachineServicePortArrayOutput values. You can construct a concrete instance of `MachineServicePortArrayInput` via:
MachineServicePortArray{ MachineServicePortArgs{...} }
type MachineServicePortArrayOutput ¶
type MachineServicePortArrayOutput struct{ *pulumi.OutputState }
func (MachineServicePortArrayOutput) ElementType ¶
func (MachineServicePortArrayOutput) ElementType() reflect.Type
func (MachineServicePortArrayOutput) Index ¶
func (o MachineServicePortArrayOutput) Index(i pulumi.IntInput) MachineServicePortOutput
func (MachineServicePortArrayOutput) ToMachineServicePortArrayOutput ¶
func (o MachineServicePortArrayOutput) ToMachineServicePortArrayOutput() MachineServicePortArrayOutput
func (MachineServicePortArrayOutput) ToMachineServicePortArrayOutputWithContext ¶
func (o MachineServicePortArrayOutput) ToMachineServicePortArrayOutputWithContext(ctx context.Context) MachineServicePortArrayOutput
type MachineServicePortInput ¶
type MachineServicePortInput interface { pulumi.Input ToMachineServicePortOutput() MachineServicePortOutput ToMachineServicePortOutputWithContext(context.Context) MachineServicePortOutput }
MachineServicePortInput is an input type that accepts MachineServicePortArgs and MachineServicePortOutput values. You can construct a concrete instance of `MachineServicePortInput` via:
MachineServicePortArgs{...}
type MachineServicePortOutput ¶
type MachineServicePortOutput struct{ *pulumi.OutputState }
func (MachineServicePortOutput) ElementType ¶
func (MachineServicePortOutput) ElementType() reflect.Type
func (MachineServicePortOutput) Handlers ¶
func (o MachineServicePortOutput) Handlers() pulumi.StringArrayOutput
func (MachineServicePortOutput) Port ¶
func (o MachineServicePortOutput) Port() pulumi.IntOutput
func (MachineServicePortOutput) ToMachineServicePortOutput ¶
func (o MachineServicePortOutput) ToMachineServicePortOutput() MachineServicePortOutput
func (MachineServicePortOutput) ToMachineServicePortOutputWithContext ¶
func (o MachineServicePortOutput) ToMachineServicePortOutputWithContext(ctx context.Context) MachineServicePortOutput
type MachineState ¶
type MachineState struct { // fly app App pulumi.StringPtrInput // cmd Cmds pulumi.StringArrayInput // cpu count Cpus pulumi.IntPtrInput // cpu type Cputype pulumi.StringPtrInput // image entrypoint Entrypoints pulumi.StringArrayInput // Optional environment variables, keys and values must be strings Env pulumi.StringMapInput // exec command Execs pulumi.StringArrayInput // docker image Image pulumi.StringPtrInput // memory mb Memorymb pulumi.IntPtrInput // Volume mounts Mounts MachineMountArrayInput // machine name Name pulumi.StringPtrInput // Private IP Privateip pulumi.StringPtrInput // machine region Region pulumi.StringPtrInput // services Services MachineServiceArrayInput }
func (MachineState) ElementType ¶
func (MachineState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // fly.io api token. If not set checks env for FLY_API_TOKEN FlyApiToken pulumi.StringPtrOutput `pulumi:"flyApiToken"` // Where the provider should look to find the fly http endpoint FlyHttpEndpoint pulumi.StringPtrOutput `pulumi:"flyHttpEndpoint"` }
The provider type for the fly package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // fly.io api token. If not set checks env for FLY_API_TOKEN FlyApiToken pulumi.StringPtrInput // Where the provider should look to find the fly http endpoint FlyHttpEndpoint pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) FlyApiToken ¶
func (o ProviderOutput) FlyApiToken() pulumi.StringPtrOutput
fly.io api token. If not set checks env for FLY_API_TOKEN
func (ProviderOutput) FlyHttpEndpoint ¶
func (o ProviderOutput) FlyHttpEndpoint() pulumi.StringPtrOutput
Where the provider should look to find the fly http endpoint
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type Volume ¶
type Volume struct { pulumi.CustomResourceState // Name of app to attach to App pulumi.StringOutput `pulumi:"app"` // name Name pulumi.StringOutput `pulumi:"name"` // region Region pulumi.StringOutput `pulumi:"region"` // Size of volume in GB Size pulumi.IntOutput `pulumi:"size"` }
Fly volume resource
## Example Usage
## Import
<break><break>```sh<break> $ pulumi import fly:index/volume:Volume exampleApp <app_id>,<volume_internal_id> <break>```<break><break>
func GetVolume ¶
func GetVolume(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)
GetVolume gets an existing Volume resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVolume ¶
func NewVolume(ctx *pulumi.Context, name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)
NewVolume registers a new resource with the given unique name, arguments, and options.
func (*Volume) ElementType ¶
func (*Volume) ToVolumeOutput ¶
func (i *Volume) ToVolumeOutput() VolumeOutput
func (*Volume) ToVolumeOutputWithContext ¶
func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
type VolumeArgs ¶
type VolumeArgs struct { // Name of app to attach to App pulumi.StringInput // name Name pulumi.StringPtrInput // region Region pulumi.StringInput // Size of volume in GB Size pulumi.IntInput }
The set of arguments for constructing a Volume resource.
func (VolumeArgs) ElementType ¶
func (VolumeArgs) ElementType() reflect.Type
type VolumeArray ¶
type VolumeArray []VolumeInput
func (VolumeArray) ElementType ¶
func (VolumeArray) ElementType() reflect.Type
func (VolumeArray) ToVolumeArrayOutput ¶
func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArray) ToVolumeArrayOutputWithContext ¶
func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeArrayInput ¶
type VolumeArrayInput interface { pulumi.Input ToVolumeArrayOutput() VolumeArrayOutput ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput }
VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:
VolumeArray{ VolumeArgs{...} }
type VolumeArrayOutput ¶
type VolumeArrayOutput struct{ *pulumi.OutputState }
func (VolumeArrayOutput) ElementType ¶
func (VolumeArrayOutput) ElementType() reflect.Type
func (VolumeArrayOutput) Index ¶
func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput
func (VolumeArrayOutput) ToVolumeArrayOutput ¶
func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArrayOutput) ToVolumeArrayOutputWithContext ¶
func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeInput ¶
type VolumeInput interface { pulumi.Input ToVolumeOutput() VolumeOutput ToVolumeOutputWithContext(ctx context.Context) VolumeOutput }
type VolumeMap ¶
type VolumeMap map[string]VolumeInput
func (VolumeMap) ElementType ¶
func (VolumeMap) ToVolumeMapOutput ¶
func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMap) ToVolumeMapOutputWithContext ¶
func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeMapInput ¶
type VolumeMapInput interface { pulumi.Input ToVolumeMapOutput() VolumeMapOutput ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput }
VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:
VolumeMap{ "key": VolumeArgs{...} }
type VolumeMapOutput ¶
type VolumeMapOutput struct{ *pulumi.OutputState }
func (VolumeMapOutput) ElementType ¶
func (VolumeMapOutput) ElementType() reflect.Type
func (VolumeMapOutput) MapIndex ¶
func (o VolumeMapOutput) MapIndex(k pulumi.StringInput) VolumeOutput
func (VolumeMapOutput) ToVolumeMapOutput ¶
func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMapOutput) ToVolumeMapOutputWithContext ¶
func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeOutput ¶
type VolumeOutput struct{ *pulumi.OutputState }
func (VolumeOutput) ElementType ¶
func (VolumeOutput) ElementType() reflect.Type
func (VolumeOutput) ToVolumeOutput ¶
func (o VolumeOutput) ToVolumeOutput() VolumeOutput
func (VolumeOutput) ToVolumeOutputWithContext ¶
func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
type VolumeState ¶
type VolumeState struct { // Name of app to attach to App pulumi.StringPtrInput // name Name pulumi.StringPtrInput // region Region pulumi.StringPtrInput // Size of volume in GB Size pulumi.IntPtrInput }
func (VolumeState) ElementType ¶
func (VolumeState) ElementType() reflect.Type