Documentation
¶
Overview ¶
REF: https://learn.microsoft.com/en-us/graph/api/resources/ipapplicationsegment?view=graph-rest-beta
Index ¶
- Constants
- func MapRemoteResourceStateToTerraform(ctx context.Context, data *IpApplicationSegmentResourceModel, ...)
- func NewIpApplicationSegmentResource() resource.Resource
- type IpApplicationSegmentResource
- func (r *IpApplicationSegmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *IpApplicationSegmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *IpApplicationSegmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *IpApplicationSegmentResource) FullTypeName() string
- func (r *IpApplicationSegmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *IpApplicationSegmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *IpApplicationSegmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *IpApplicationSegmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *IpApplicationSegmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type IpApplicationSegmentResourceModel
Constants ¶
View Source
const ( ResourceName = "graph_beta_applications_ip_application_segment" CreateTimeout = 180 UpdateTimeout = 180 ReadTimeout = 180 DeleteTimeout = 180 )
Variables ¶
This section is empty.
Functions ¶
func MapRemoteResourceStateToTerraform ¶
func MapRemoteResourceStateToTerraform(ctx context.Context, data *IpApplicationSegmentResourceModel, remoteResource graphmodels.IpApplicationSegmentable)
Types ¶
type IpApplicationSegmentResource ¶
type IpApplicationSegmentResource struct {
ProviderTypeName string
TypeName string
ReadPermissions []string
WritePermissions []string
ResourcePath string
// contains filtered or unexported fields
}
func (*IpApplicationSegmentResource) Configure ¶
func (r *IpApplicationSegmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure sets the client for the resource.
func (*IpApplicationSegmentResource) Create ¶
func (r *IpApplicationSegmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*IpApplicationSegmentResource) Delete ¶
func (r *IpApplicationSegmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*IpApplicationSegmentResource) FullTypeName ¶
func (r *IpApplicationSegmentResource) FullTypeName() string
FullTypeName returns the full resource type name in the format "providername_resourcename".
func (*IpApplicationSegmentResource) ImportState ¶
func (r *IpApplicationSegmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource state.
func (*IpApplicationSegmentResource) Metadata ¶
func (r *IpApplicationSegmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*IpApplicationSegmentResource) Read ¶
func (r *IpApplicationSegmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*IpApplicationSegmentResource) Schema ¶
func (r *IpApplicationSegmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*IpApplicationSegmentResource) Update ¶
func (r *IpApplicationSegmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type IpApplicationSegmentResourceModel ¶
type IpApplicationSegmentResourceModel struct {
ID types.String `tfsdk:"id"`
ApplicationID types.String `tfsdk:"application_id"`
DestinationHost types.String `tfsdk:"destination_host"`
DestinationType types.String `tfsdk:"destination_type"`
Ports types.Set `tfsdk:"ports"`
Protocol types.String `tfsdk:"protocol"`
Timeouts timeouts.Value `tfsdk:"timeouts"`
}
IpApplicationSegmentResourceModel represents the Terraform resource model for On-Premises publishing IP application segments
Click to show internal directories.
Click to hide internal directories.