Documentation
¶
Index ¶
- func IsNotFoundError(err error) bool
- func NewOpenstackPortDataSource() datasource.DataSource
- func NewOpenstackPortDisablePortAction() action.Action
- func NewOpenstackPortDisablePortSecurityAction() action.Action
- func NewOpenstackPortEnablePortAction() action.Action
- func NewOpenstackPortEnablePortSecurityAction() action.Action
- func NewOpenstackPortList() list.ListResource
- func NewOpenstackPortPullAction() action.Action
- func NewOpenstackPortResource() resource.Resource
- func NewOpenstackPortUnlinkAction() action.Action
- func OpenStackAllowedAddressPairRequestType() types.ObjectType
- func OpenStackFixedIpRequestType() types.ObjectType
- func OpenStackPortNestedSecurityGroupRequestType() types.ObjectType
- type OpenstackPortAllowedAddressPairsResponse
- type OpenstackPortClient
- func (c *OpenstackPortClient) Configure(ctx context.Context, providerData interface{}) error
- func (c *OpenstackPortClient) Create(ctx context.Context, req *OpenstackPortCreateRequest) (*OpenstackPortResponse, error)
- func (c *OpenstackPortClient) Delete(ctx context.Context, id string) error
- func (c *OpenstackPortClient) DisablePort(ctx context.Context, id string) error
- func (c *OpenstackPortClient) DisablePortSecurity(ctx context.Context, id string) error
- func (c *OpenstackPortClient) EnablePort(ctx context.Context, id string) error
- func (c *OpenstackPortClient) EnablePortSecurity(ctx context.Context, id string) error
- func (c *OpenstackPortClient) Get(ctx context.Context, id string) (*OpenstackPortResponse, error)
- func (c *OpenstackPortClient) List(ctx context.Context, filter map[string]string) ([]OpenstackPortResponse, error)
- func (c *OpenstackPortClient) Pull(ctx context.Context, id string) error
- func (c *OpenstackPortClient) Unlink(ctx context.Context, id string) error
- func (c *OpenstackPortClient) Update(ctx context.Context, id string, req *OpenstackPortUpdateRequest) (*OpenstackPortResponse, error)
- func (c *OpenstackPortClient) UpdateSecurityGroups(ctx context.Context, id string, ...) error
- type OpenstackPortCreateRequest
- type OpenstackPortDataSource
- func (d *OpenstackPortDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *OpenstackPortDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *OpenstackPortDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *OpenstackPortDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type OpenstackPortDataSourceModel
- type OpenstackPortDisablePortAction
- func (a *OpenstackPortDisablePortAction) Configure(ctx context.Context, req action.ConfigureRequest, ...)
- func (a *OpenstackPortDisablePortAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
- func (a *OpenstackPortDisablePortAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
- func (a *OpenstackPortDisablePortAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
- type OpenstackPortDisablePortModel
- type OpenstackPortDisablePortSecurityAction
- func (a *OpenstackPortDisablePortSecurityAction) Configure(ctx context.Context, req action.ConfigureRequest, ...)
- func (a *OpenstackPortDisablePortSecurityAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
- func (a *OpenstackPortDisablePortSecurityAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
- func (a *OpenstackPortDisablePortSecurityAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
- type OpenstackPortDisablePortSecurityModel
- type OpenstackPortEnablePortAction
- func (a *OpenstackPortEnablePortAction) Configure(ctx context.Context, req action.ConfigureRequest, ...)
- func (a *OpenstackPortEnablePortAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
- func (a *OpenstackPortEnablePortAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
- func (a *OpenstackPortEnablePortAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
- type OpenstackPortEnablePortModel
- type OpenstackPortEnablePortSecurityAction
- func (a *OpenstackPortEnablePortSecurityAction) Configure(ctx context.Context, req action.ConfigureRequest, ...)
- func (a *OpenstackPortEnablePortSecurityAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
- func (a *OpenstackPortEnablePortSecurityAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
- func (a *OpenstackPortEnablePortSecurityAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
- type OpenstackPortEnablePortSecurityModel
- type OpenstackPortFiltersModel
- type OpenstackPortFixedIpsResponse
- type OpenstackPortList
- func (l *OpenstackPortList) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (l *OpenstackPortList) List(ctx context.Context, req list.ListRequest, stream *list.ListResultsStream)
- func (l *OpenstackPortList) ListResourceConfigSchema(ctx context.Context, req list.ListResourceSchemaRequest, ...)
- func (l *OpenstackPortList) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- type OpenstackPortListModel
- type OpenstackPortModel
- type OpenstackPortPullAction
- func (a *OpenstackPortPullAction) Configure(ctx context.Context, req action.ConfigureRequest, ...)
- func (a *OpenstackPortPullAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
- func (a *OpenstackPortPullAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
- func (a *OpenstackPortPullAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
- type OpenstackPortPullModel
- type OpenstackPortResource
- func (r *OpenstackPortResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *OpenstackPortResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *OpenstackPortResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *OpenstackPortResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *OpenstackPortResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *OpenstackPortResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *OpenstackPortResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *OpenstackPortResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type OpenstackPortResourceModel
- type OpenstackPortResponse
- type OpenstackPortSecurityGroupsResponse
- type OpenstackPortUnlinkAction
- func (a *OpenstackPortUnlinkAction) Configure(ctx context.Context, req action.ConfigureRequest, ...)
- func (a *OpenstackPortUnlinkAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
- func (a *OpenstackPortUnlinkAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
- func (a *OpenstackPortUnlinkAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
- type OpenstackPortUnlinkModel
- type OpenstackPortUpdateRequest
- type OpenstackPortUpdateSecurityGroupsActionRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFoundError ¶ added in v0.0.5
func NewOpenstackPortDataSource ¶
func NewOpenstackPortDataSource() datasource.DataSource
func NewOpenstackPortList ¶
func NewOpenstackPortList() list.ListResource
func OpenStackAllowedAddressPairRequestType ¶ added in v0.0.5
func OpenStackAllowedAddressPairRequestType() types.ObjectType
func OpenStackFixedIpRequestType ¶ added in v0.0.5
func OpenStackFixedIpRequestType() types.ObjectType
func OpenStackPortNestedSecurityGroupRequestType ¶ added in v0.0.5
func OpenStackPortNestedSecurityGroupRequestType() types.ObjectType
Types ¶
type OpenstackPortClient ¶ added in v0.0.5
func NewOpenstackPortClient ¶ added in v0.0.5
func NewOpenstackPortClient(c *client.Client) *OpenstackPortClient
func (*OpenstackPortClient) Configure ¶ added in v0.0.5
func (c *OpenstackPortClient) Configure(ctx context.Context, providerData interface{}) error
func (*OpenstackPortClient) Create ¶ added in v0.0.5
func (c *OpenstackPortClient) Create(ctx context.Context, req *OpenstackPortCreateRequest) (*OpenstackPortResponse, error)
func (*OpenstackPortClient) Delete ¶ added in v0.0.5
func (c *OpenstackPortClient) Delete(ctx context.Context, id string) error
func (*OpenstackPortClient) DisablePort ¶ added in v0.0.5
func (c *OpenstackPortClient) DisablePort(ctx context.Context, id string) error
func (*OpenstackPortClient) DisablePortSecurity ¶ added in v0.0.5
func (c *OpenstackPortClient) DisablePortSecurity(ctx context.Context, id string) error
func (*OpenstackPortClient) EnablePort ¶ added in v0.0.5
func (c *OpenstackPortClient) EnablePort(ctx context.Context, id string) error
func (*OpenstackPortClient) EnablePortSecurity ¶ added in v0.0.5
func (c *OpenstackPortClient) EnablePortSecurity(ctx context.Context, id string) error
func (*OpenstackPortClient) Get ¶ added in v0.0.5
func (c *OpenstackPortClient) Get(ctx context.Context, id string) (*OpenstackPortResponse, error)
func (*OpenstackPortClient) List ¶ added in v0.0.5
func (c *OpenstackPortClient) List(ctx context.Context, filter map[string]string) ([]OpenstackPortResponse, error)
func (*OpenstackPortClient) Pull ¶ added in v0.0.5
func (c *OpenstackPortClient) Pull(ctx context.Context, id string) error
func (*OpenstackPortClient) Unlink ¶ added in v0.0.5
func (c *OpenstackPortClient) Unlink(ctx context.Context, id string) error
func (*OpenstackPortClient) Update ¶ added in v0.0.5
func (c *OpenstackPortClient) Update(ctx context.Context, id string, req *OpenstackPortUpdateRequest) (*OpenstackPortResponse, error)
func (*OpenstackPortClient) UpdateSecurityGroups ¶ added in v0.0.5
func (c *OpenstackPortClient) UpdateSecurityGroups(ctx context.Context, id string, req *OpenstackPortUpdateSecurityGroupsActionRequest) error
type OpenstackPortCreateRequest ¶
type OpenstackPortCreateRequest struct {
AllowedAddressPairs *[]common.OpenStackAllowedAddressPairRequest `json:"allowed_address_pairs,omitempty" tfsdk:"allowed_address_pairs"`
Description *string `json:"description,omitempty" tfsdk:"description"`
FixedIps *[]common.OpenStackFixedIpRequest `json:"fixed_ips,omitempty" tfsdk:"fixed_ips"`
MacAddress *string `json:"mac_address,omitempty" tfsdk:"mac_address"`
Name *string `json:"name" tfsdk:"name"`
Network *string `json:"network,omitempty" tfsdk:"network"`
PortSecurityEnabled *bool `json:"port_security_enabled,omitempty" tfsdk:"port_security_enabled"`
SecurityGroups *[]common.OpenStackPortNestedSecurityGroupRequest `json:"security_groups,omitempty" tfsdk:"security_groups"`
TargetTenant *string `json:"target_tenant,omitempty" tfsdk:"target_tenant"`
}
type OpenstackPortDataSource ¶
type OpenstackPortDataSource struct {
// contains filtered or unexported fields
}
func (*OpenstackPortDataSource) Configure ¶
func (d *OpenstackPortDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*OpenstackPortDataSource) Metadata ¶
func (d *OpenstackPortDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*OpenstackPortDataSource) Read ¶
func (d *OpenstackPortDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OpenstackPortDataSource) Schema ¶
func (d *OpenstackPortDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type OpenstackPortDataSourceModel ¶
type OpenstackPortDataSourceModel struct {
OpenstackPortModel
Filters *OpenstackPortFiltersModel `tfsdk:"filters"`
}
type OpenstackPortDisablePortAction ¶
type OpenstackPortDisablePortAction struct {
// contains filtered or unexported fields
}
func (*OpenstackPortDisablePortAction) Configure ¶
func (a *OpenstackPortDisablePortAction) Configure(ctx context.Context, req action.ConfigureRequest, resp *action.ConfigureResponse)
func (*OpenstackPortDisablePortAction) Invoke ¶
func (a *OpenstackPortDisablePortAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
func (*OpenstackPortDisablePortAction) Metadata ¶
func (a *OpenstackPortDisablePortAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
func (*OpenstackPortDisablePortAction) Schema ¶
func (a *OpenstackPortDisablePortAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
type OpenstackPortDisablePortSecurityAction ¶
type OpenstackPortDisablePortSecurityAction struct {
// contains filtered or unexported fields
}
func (*OpenstackPortDisablePortSecurityAction) Configure ¶
func (a *OpenstackPortDisablePortSecurityAction) Configure(ctx context.Context, req action.ConfigureRequest, resp *action.ConfigureResponse)
func (*OpenstackPortDisablePortSecurityAction) Invoke ¶
func (a *OpenstackPortDisablePortSecurityAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
func (*OpenstackPortDisablePortSecurityAction) Metadata ¶
func (a *OpenstackPortDisablePortSecurityAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
func (*OpenstackPortDisablePortSecurityAction) Schema ¶
func (a *OpenstackPortDisablePortSecurityAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
type OpenstackPortEnablePortAction ¶
type OpenstackPortEnablePortAction struct {
// contains filtered or unexported fields
}
func (*OpenstackPortEnablePortAction) Configure ¶
func (a *OpenstackPortEnablePortAction) Configure(ctx context.Context, req action.ConfigureRequest, resp *action.ConfigureResponse)
func (*OpenstackPortEnablePortAction) Invoke ¶
func (a *OpenstackPortEnablePortAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
func (*OpenstackPortEnablePortAction) Metadata ¶
func (a *OpenstackPortEnablePortAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
func (*OpenstackPortEnablePortAction) Schema ¶
func (a *OpenstackPortEnablePortAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
type OpenstackPortEnablePortSecurityAction ¶
type OpenstackPortEnablePortSecurityAction struct {
// contains filtered or unexported fields
}
func (*OpenstackPortEnablePortSecurityAction) Configure ¶
func (a *OpenstackPortEnablePortSecurityAction) Configure(ctx context.Context, req action.ConfigureRequest, resp *action.ConfigureResponse)
func (*OpenstackPortEnablePortSecurityAction) Invoke ¶
func (a *OpenstackPortEnablePortSecurityAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
func (*OpenstackPortEnablePortSecurityAction) Metadata ¶
func (a *OpenstackPortEnablePortSecurityAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
func (*OpenstackPortEnablePortSecurityAction) Schema ¶
func (a *OpenstackPortEnablePortSecurityAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
type OpenstackPortFiltersModel ¶
type OpenstackPortFiltersModel struct {
AdminStateUp types.Bool `tfsdk:"admin_state_up"`
BackendId types.String `tfsdk:"backend_id"`
DeviceId types.String `tfsdk:"device_id"`
DeviceOwner types.String `tfsdk:"device_owner"`
ExcludeSubnetUuids types.String `tfsdk:"exclude_subnet_uuids"`
FixedIps types.String `tfsdk:"fixed_ips"`
HasDeviceOwner types.Bool `tfsdk:"has_device_owner"`
MacAddress types.String `tfsdk:"mac_address"`
Name types.String `tfsdk:"name"`
NameExact types.String `tfsdk:"name_exact"`
NetworkName types.String `tfsdk:"network_name"`
NetworkUuid types.String `tfsdk:"network_uuid"`
Query types.String `tfsdk:"query"`
Status types.String `tfsdk:"status"`
Tenant types.String `tfsdk:"tenant"`
TenantUuid types.String `tfsdk:"tenant_uuid"`
}
func (*OpenstackPortFiltersModel) GetSchema ¶ added in v0.0.5
func (m *OpenstackPortFiltersModel) GetSchema() schema.SingleNestedAttribute
type OpenstackPortList ¶
type OpenstackPortList struct {
// contains filtered or unexported fields
}
func (*OpenstackPortList) Configure ¶
func (l *OpenstackPortList) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OpenstackPortList) List ¶
func (l *OpenstackPortList) List(ctx context.Context, req list.ListRequest, stream *list.ListResultsStream)
func (*OpenstackPortList) ListResourceConfigSchema ¶
func (l *OpenstackPortList) ListResourceConfigSchema(ctx context.Context, req list.ListResourceSchemaRequest, resp *list.ListResourceSchemaResponse)
func (*OpenstackPortList) Metadata ¶
func (l *OpenstackPortList) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
type OpenstackPortListModel ¶
type OpenstackPortListModel struct {
Filters *OpenstackPortFiltersModel `tfsdk:"filters"`
}
type OpenstackPortModel ¶
type OpenstackPortModel struct {
UUID types.String `tfsdk:"id"`
AdminStateUp types.Bool `tfsdk:"admin_state_up"`
AllowedAddressPairs types.List `tfsdk:"allowed_address_pairs"`
BackendId types.String `tfsdk:"backend_id"`
Customer types.String `tfsdk:"customer"`
Description types.String `tfsdk:"description"`
DeviceId types.String `tfsdk:"device_id"`
DeviceOwner types.String `tfsdk:"device_owner"`
ErrorMessage types.String `tfsdk:"error_message"`
FixedIps types.List `tfsdk:"fixed_ips"`
FloatingIps types.Set `tfsdk:"floating_ips"`
MacAddress types.String `tfsdk:"mac_address"`
MarketplaceResourceUuid types.String `tfsdk:"marketplace_resource_uuid"`
Name types.String `tfsdk:"name"`
Network types.String `tfsdk:"network"`
NetworkName types.String `tfsdk:"network_name"`
NetworkUuid types.String `tfsdk:"network_uuid"`
PortSecurityEnabled types.Bool `tfsdk:"port_security_enabled"`
Project types.String `tfsdk:"project"`
ResourceType types.String `tfsdk:"resource_type"`
SecurityGroups types.Set `tfsdk:"security_groups"`
State types.String `tfsdk:"state"`
Status types.String `tfsdk:"status"`
Tenant types.String `tfsdk:"tenant"`
TenantName types.String `tfsdk:"tenant_name"`
TenantUuid types.String `tfsdk:"tenant_uuid"`
Url types.String `tfsdk:"url"`
}
func (*OpenstackPortModel) CopyFrom ¶
func (model *OpenstackPortModel) CopyFrom(ctx context.Context, apiResp OpenstackPortResponse) diag.Diagnostics
CopyFrom maps the API response to the model fields.
type OpenstackPortPullAction ¶
type OpenstackPortPullAction struct {
// contains filtered or unexported fields
}
func (*OpenstackPortPullAction) Configure ¶
func (a *OpenstackPortPullAction) Configure(ctx context.Context, req action.ConfigureRequest, resp *action.ConfigureResponse)
func (*OpenstackPortPullAction) Invoke ¶
func (a *OpenstackPortPullAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
func (*OpenstackPortPullAction) Metadata ¶
func (a *OpenstackPortPullAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
func (*OpenstackPortPullAction) Schema ¶
func (a *OpenstackPortPullAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
type OpenstackPortPullModel ¶
type OpenstackPortResource ¶
type OpenstackPortResource struct {
// contains filtered or unexported fields
}
OpenstackPortResource defines the resource implementation.
func (*OpenstackPortResource) Configure ¶
func (r *OpenstackPortResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OpenstackPortResource) Create ¶
func (r *OpenstackPortResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*OpenstackPortResource) Delete ¶
func (r *OpenstackPortResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*OpenstackPortResource) ImportState ¶
func (r *OpenstackPortResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*OpenstackPortResource) Metadata ¶
func (r *OpenstackPortResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*OpenstackPortResource) Read ¶
func (r *OpenstackPortResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*OpenstackPortResource) Schema ¶
func (r *OpenstackPortResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*OpenstackPortResource) Update ¶
func (r *OpenstackPortResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type OpenstackPortResourceModel ¶
type OpenstackPortResourceModel struct {
OpenstackPortModel
TargetTenant types.String `tfsdk:"target_tenant"`
Timeouts timeouts.Value `tfsdk:"timeouts"`
}
OpenstackPortResourceModel describes the resource data model.
type OpenstackPortResponse ¶
type OpenstackPortResponse struct {
UUID *string `json:"uuid"`
AdminStateUp *bool `json:"admin_state_up,omitempty" tfsdk:"admin_state_up"`
AllowedAddressPairs *[]common.OpenStackAllowedAddressPairRequest `json:"allowed_address_pairs,omitempty" tfsdk:"allowed_address_pairs"`
BackendId *string `json:"backend_id,omitempty" tfsdk:"backend_id"`
Customer *string `json:"customer,omitempty" tfsdk:"customer"`
Description *string `json:"description,omitempty" tfsdk:"description"`
DeviceId *string `json:"device_id,omitempty" tfsdk:"device_id"`
DeviceOwner *string `json:"device_owner,omitempty" tfsdk:"device_owner"`
ErrorMessage *string `json:"error_message,omitempty" tfsdk:"error_message"`
FixedIps *[]common.OpenStackFixedIpRequest `json:"fixed_ips,omitempty" tfsdk:"fixed_ips"`
FloatingIps *[]string `json:"floating_ips,omitempty" tfsdk:"floating_ips"`
MacAddress *string `json:"mac_address,omitempty" tfsdk:"mac_address"`
MarketplaceResourceUuid *string `json:"marketplace_resource_uuid,omitempty" tfsdk:"marketplace_resource_uuid"`
Name *string `json:"name" tfsdk:"name"`
Network *string `json:"network,omitempty" tfsdk:"network"`
NetworkName *string `json:"network_name,omitempty" tfsdk:"network_name"`
NetworkUuid *string `json:"network_uuid,omitempty" tfsdk:"network_uuid"`
PortSecurityEnabled *bool `json:"port_security_enabled,omitempty" tfsdk:"port_security_enabled"`
Project *string `json:"project,omitempty" tfsdk:"project"`
ResourceType *string `json:"resource_type,omitempty" tfsdk:"resource_type"`
SecurityGroups *[]common.OpenStackPortNestedSecurityGroupRequest `json:"security_groups,omitempty" tfsdk:"security_groups"`
State *string `json:"state,omitempty" tfsdk:"state"`
Status *string `json:"status,omitempty" tfsdk:"status"`
Tenant *string `json:"tenant,omitempty" tfsdk:"tenant"`
TenantName *string `json:"tenant_name,omitempty" tfsdk:"tenant_name"`
TenantUuid *string `json:"tenant_uuid,omitempty" tfsdk:"tenant_uuid"`
Url *string `json:"url,omitempty" tfsdk:"url"`
}
func (*OpenstackPortResponse) GetErrorMessage ¶
func (r *OpenstackPortResponse) GetErrorMessage() string
func (*OpenstackPortResponse) GetState ¶
func (r *OpenstackPortResponse) GetState() string
type OpenstackPortUnlinkAction ¶
type OpenstackPortUnlinkAction struct {
// contains filtered or unexported fields
}
func (*OpenstackPortUnlinkAction) Configure ¶
func (a *OpenstackPortUnlinkAction) Configure(ctx context.Context, req action.ConfigureRequest, resp *action.ConfigureResponse)
func (*OpenstackPortUnlinkAction) Invoke ¶
func (a *OpenstackPortUnlinkAction) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
func (*OpenstackPortUnlinkAction) Metadata ¶
func (a *OpenstackPortUnlinkAction) Metadata(ctx context.Context, req action.MetadataRequest, resp *action.MetadataResponse)
func (*OpenstackPortUnlinkAction) Schema ¶
func (a *OpenstackPortUnlinkAction) Schema(ctx context.Context, req action.SchemaRequest, resp *action.SchemaResponse)
type OpenstackPortUpdateRequest ¶
type OpenstackPortUpdateRequest struct {
Description *string `json:"description,omitempty" tfsdk:"description"`
Name *string `json:"name,omitempty" tfsdk:"name"`
SecurityGroups *[]common.OpenStackPortNestedSecurityGroupRequest `json:"security_groups,omitempty" tfsdk:"security_groups"`
TargetTenant *string `json:"target_tenant,omitempty" tfsdk:"target_tenant"`
}
type OpenstackPortUpdateSecurityGroupsActionRequest ¶
type OpenstackPortUpdateSecurityGroupsActionRequest struct {
SecurityGroups []common.OpenStackPortNestedSecurityGroupRequest `json:"-"`
}
func (OpenstackPortUpdateSecurityGroupsActionRequest) MarshalJSON ¶ added in v0.0.7
func (r OpenstackPortUpdateSecurityGroupsActionRequest) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.