Documentation ¶
Index ¶
- func NewAPIWithRegion(d *schema.ResourceData, m interface{}) (*inference.API, scw.Region, error)
- func NewAPIWithRegionAndID(m interface{}, regionalID string) (*inference.API, scw.Region, string, error)
- func ResourceDeployment() *schema.Resource
- func ResourceDeploymentCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceDeploymentDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceDeploymentRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceDeploymentUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIWithRegion ¶
NewAPIWithRegion returns a new inference API and the region for a Create request
func NewAPIWithRegionAndID ¶
func NewAPIWithRegionAndID(m interface{}, regionalID string) (*inference.API, scw.Region, string, error)
NewAPIWithRegionAndID returns a new inference API with region and ID extracted from the state
func ResourceDeployment ¶
func ResourceDeploymentCreate ¶
func ResourceDeploymentCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceDeploymentDelete ¶
func ResourceDeploymentDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceDeploymentRead ¶
func ResourceDeploymentRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceDeploymentUpdate ¶
func ResourceDeploymentUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.