oci-go-sdk: github.com/oracle/oci-go-sdk/core Index | Files

package core

import "github.com/oracle/oci-go-sdk/core"

Index

Package Files

add_image_shape_compatibility_entry_request_response.go add_network_security_group_security_rules_details.go add_network_security_group_security_rules_request_response.go add_security_rule_details.go added_network_security_group_security_rules.go app_catalog_listing.go app_catalog_listing_resource_version.go app_catalog_listing_resource_version_agreements.go app_catalog_listing_resource_version_summary.go app_catalog_listing_summary.go app_catalog_subscription.go app_catalog_subscription_summary.go attach_boot_volume_details.go attach_boot_volume_request_response.go attach_emulated_volume_details.go attach_i_scsi_volume_details.go attach_load_balancer_details.go attach_load_balancer_request_response.go attach_paravirtualized_volume_details.go attach_service_determined_volume_details.go attach_service_id_request_response.go attach_vnic_details.go attach_vnic_request_response.go attach_volume_details.go attach_volume_request_response.go bgp_session_info.go boot_volume.go boot_volume_attachment.go boot_volume_backup.go boot_volume_kms_key.go boot_volume_source_details.go boot_volume_source_from_boot_volume_backup_details.go boot_volume_source_from_boot_volume_details.go bulk_add_virtual_circuit_public_prefixes_details.go bulk_add_virtual_circuit_public_prefixes_request_response.go bulk_delete_virtual_circuit_public_prefixes_details.go bulk_delete_virtual_circuit_public_prefixes_request_response.go capture_console_history_details.go capture_console_history_request_response.go change_boot_volume_backup_compartment_details.go change_boot_volume_backup_compartment_request_response.go change_boot_volume_compartment_details.go change_boot_volume_compartment_request_response.go change_cluster_network_compartment_details.go change_cluster_network_compartment_request_response.go change_cpe_compartment_details.go change_cpe_compartment_request_response.go change_cross_connect_compartment_details.go change_cross_connect_compartment_request_response.go change_cross_connect_group_compartment_details.go change_cross_connect_group_compartment_request_response.go change_dedicated_vm_host_compartment_details.go change_dedicated_vm_host_compartment_request_response.go change_dhcp_options_compartment_details.go change_dhcp_options_compartment_request_response.go change_drg_compartment_details.go change_drg_compartment_request_response.go change_i_p_sec_connection_compartment_request_response.go change_image_compartment_details.go change_image_compartment_request_response.go change_instance_compartment_details.go change_instance_compartment_request_response.go change_instance_configuration_compartment_details.go change_instance_configuration_compartment_request_response.go change_instance_pool_compartment_details.go change_instance_pool_compartment_request_response.go change_internet_gateway_compartment_details.go change_internet_gateway_compartment_request_response.go change_ip_sec_connection_compartment_details.go change_local_peering_gateway_compartment_details.go change_local_peering_gateway_compartment_request_response.go change_nat_gateway_compartment_details.go change_nat_gateway_compartment_request_response.go change_network_security_group_compartment_details.go change_network_security_group_compartment_request_response.go change_public_ip_compartment_details.go change_public_ip_compartment_request_response.go change_remote_peering_connection_compartment_details.go change_remote_peering_connection_compartment_request_response.go change_route_table_compartment_details.go change_route_table_compartment_request_response.go change_security_list_compartment_details.go change_security_list_compartment_request_response.go change_service_gateway_compartment_details.go change_service_gateway_compartment_request_response.go change_subnet_compartment_details.go change_subnet_compartment_request_response.go change_vcn_compartment_details.go change_vcn_compartment_request_response.go change_virtual_circuit_compartment_details.go change_virtual_circuit_compartment_request_response.go change_volume_backup_compartment_details.go change_volume_backup_compartment_request_response.go change_volume_compartment_details.go change_volume_compartment_request_response.go change_volume_group_backup_compartment_details.go change_volume_group_backup_compartment_request_response.go change_volume_group_compartment_details.go change_volume_group_compartment_request_response.go cluster_network.go cluster_network_placement_configuration_details.go cluster_network_summary.go compute_instance_details.go connect_local_peering_gateways_details.go connect_local_peering_gateways_request_response.go connect_remote_peering_connections_details.go connect_remote_peering_connections_request_response.go console_history.go copy_volume_backup_details.go copy_volume_backup_request_response.go core_blockstorage_client.go core_compute_client.go core_computemanagement_client.go core_virtualnetwork_client.go cpe.go create_app_catalog_subscription_details.go create_app_catalog_subscription_request_response.go create_boot_volume_backup_details.go create_boot_volume_backup_request_response.go create_boot_volume_details.go create_boot_volume_request_response.go create_cluster_network_details.go create_cluster_network_instance_pool_details.go create_cluster_network_request_response.go create_cpe_details.go create_cpe_request_response.go create_cross_connect_details.go create_cross_connect_group_details.go create_cross_connect_group_request_response.go create_cross_connect_request_response.go create_dedicated_vm_host_details.go create_dedicated_vm_host_request_response.go create_dhcp_details.go create_dhcp_options_request_response.go create_drg_attachment_details.go create_drg_attachment_request_response.go create_drg_details.go create_drg_request_response.go create_i_p_sec_connection_request_response.go create_image_details.go create_image_request_response.go create_instance_configuration_base.go create_instance_configuration_details.go create_instance_configuration_from_instance_details.go create_instance_configuration_request_response.go create_instance_console_connection_details.go create_instance_console_connection_request_response.go create_instance_pool_details.go create_instance_pool_placement_configuration_details.go create_instance_pool_request_response.go create_internet_gateway_details.go create_internet_gateway_request_response.go create_ip_sec_connection_details.go create_ip_sec_connection_tunnel_details.go create_ip_sec_tunnel_bgp_session_details.go create_ipv6_details.go create_ipv6_request_response.go create_local_peering_gateway_details.go create_local_peering_gateway_request_response.go create_nat_gateway_details.go create_nat_gateway_request_response.go create_network_security_group_details.go create_network_security_group_request_response.go create_private_ip_details.go create_private_ip_request_response.go create_public_ip_details.go create_public_ip_request_response.go create_remote_peering_connection_details.go create_remote_peering_connection_request_response.go create_route_table_details.go create_route_table_request_response.go create_security_list_details.go create_security_list_request_response.go create_service_gateway_details.go create_service_gateway_request_response.go create_subnet_details.go create_subnet_request_response.go create_vcn_details.go create_vcn_request_response.go create_virtual_circuit_details.go create_virtual_circuit_public_prefix_details.go create_virtual_circuit_request_response.go create_vnic_details.go create_volume_backup_details.go create_volume_backup_policy_assignment_details.go create_volume_backup_policy_assignment_request_response.go create_volume_backup_policy_details.go create_volume_backup_policy_request_response.go create_volume_backup_request_response.go create_volume_details.go create_volume_group_backup_details.go create_volume_group_backup_request_response.go create_volume_group_details.go create_volume_group_request_response.go create_volume_request_response.go cross_connect.go cross_connect_group.go cross_connect_location.go cross_connect_mapping.go cross_connect_port_speed_shape.go cross_connect_status.go dedicated_vm_host.go dedicated_vm_host_instance_shape_summary.go dedicated_vm_host_instance_summary.go dedicated_vm_host_shape_summary.go dedicated_vm_host_summary.go delete_app_catalog_subscription_request_response.go delete_boot_volume_backup_request_response.go delete_boot_volume_kms_key_request_response.go delete_boot_volume_request_response.go delete_console_history_request_response.go delete_cpe_request_response.go delete_cross_connect_group_request_response.go delete_cross_connect_request_response.go delete_dedicated_vm_host_request_response.go delete_dhcp_options_request_response.go delete_drg_attachment_request_response.go delete_drg_request_response.go delete_i_p_sec_connection_request_response.go delete_image_request_response.go delete_instance_configuration_request_response.go delete_instance_console_connection_request_response.go delete_internet_gateway_request_response.go delete_ipv6_request_response.go delete_local_peering_gateway_request_response.go delete_nat_gateway_request_response.go delete_network_security_group_request_response.go delete_private_ip_request_response.go delete_public_ip_request_response.go delete_remote_peering_connection_request_response.go delete_route_table_request_response.go delete_security_list_request_response.go delete_service_gateway_request_response.go delete_subnet_request_response.go delete_vcn_request_response.go delete_virtual_circuit_public_prefix_details.go delete_virtual_circuit_request_response.go delete_volume_backup_policy_assignment_request_response.go delete_volume_backup_policy_request_response.go delete_volume_backup_request_response.go delete_volume_group_backup_request_response.go delete_volume_group_request_response.go delete_volume_kms_key_request_response.go delete_volume_request_response.go detach_boot_volume_request_response.go detach_load_balancer_details.go detach_load_balancer_request_response.go detach_service_id_request_response.go detach_vnic_request_response.go detach_volume_request_response.go device.go dhcp_dns_option.go dhcp_option.go dhcp_options.go dhcp_search_domain_option.go drg.go drg_attachment.go egress_security_rule.go emulated_volume_attachment.go export_image_details.go export_image_request_response.go export_image_via_object_storage_tuple_details.go export_image_via_object_storage_uri_details.go fast_connect_provider_service.go fast_connect_provider_service_key.go get_app_catalog_listing_agreements_request_response.go get_app_catalog_listing_request_response.go get_app_catalog_listing_resource_version_request_response.go get_boot_volume_attachment_request_response.go get_boot_volume_backup_request_response.go get_boot_volume_kms_key_request_response.go get_boot_volume_request_response.go get_cluster_network_request_response.go get_console_history_content_request_response.go get_console_history_request_response.go get_cpe_request_response.go get_cross_connect_group_request_response.go get_cross_connect_letter_of_authority_request_response.go get_cross_connect_request_response.go get_cross_connect_status_request_response.go get_dedicated_vm_host_request_response.go get_dhcp_options_request_response.go get_drg_attachment_request_response.go get_drg_request_response.go get_fast_connect_provider_service_key_request_response.go get_fast_connect_provider_service_request_response.go get_i_p_sec_connection_device_config_request_response.go get_i_p_sec_connection_device_status_request_response.go get_i_p_sec_connection_request_response.go get_i_p_sec_connection_tunnel_request_response.go get_i_p_sec_connection_tunnel_shared_secret_request_response.go get_image_request_response.go get_instance_configuration_request_response.go get_instance_console_connection_request_response.go get_instance_pool_load_balancer_attachment_request_response.go get_instance_pool_request_response.go get_instance_request_response.go get_internet_gateway_request_response.go get_ipv6_request_response.go get_local_peering_gateway_request_response.go get_nat_gateway_request_response.go get_network_security_group_request_response.go get_private_ip_request_response.go get_public_ip_by_ip_address_details.go get_public_ip_by_ip_address_request_response.go get_public_ip_by_private_ip_id_details.go get_public_ip_by_private_ip_id_request_response.go get_public_ip_request_response.go get_remote_peering_connection_request_response.go get_route_table_request_response.go get_security_list_request_response.go get_service_gateway_request_response.go get_service_request_response.go get_subnet_request_response.go get_vcn_request_response.go get_virtual_circuit_request_response.go get_vnic_attachment_request_response.go get_vnic_request_response.go get_volume_attachment_request_response.go get_volume_backup_policy_asset_assignment_request_response.go get_volume_backup_policy_assignment_request_response.go get_volume_backup_policy_request_response.go get_volume_backup_request_response.go get_volume_group_backup_request_response.go get_volume_group_request_response.go get_volume_kms_key_request_response.go get_volume_request_response.go get_windows_instance_initial_credentials_request_response.go i_scsi_volume_attachment.go icmp_options.go image.go image_shape_compatibility_entry.go image_source_details.go image_source_via_object_storage_tuple_details.go image_source_via_object_storage_uri_details.go ingress_security_rule.go instance.go instance_action_request_response.go instance_agent_config.go instance_agent_features.go instance_configuration.go instance_configuration_attach_vnic_details.go instance_configuration_attach_volume_details.go instance_configuration_block_volume_details.go instance_configuration_create_vnic_details.go instance_configuration_create_volume_details.go instance_configuration_instance_details.go instance_configuration_instance_source_details.go instance_configuration_instance_source_via_boot_volume_details.go instance_configuration_instance_source_via_image_details.go instance_configuration_iscsi_attach_volume_details.go instance_configuration_launch_instance_details.go instance_configuration_paravirtualized_attach_volume_details.go instance_configuration_summary.go instance_configuration_volume_source_details.go instance_configuration_volume_source_from_volume_backup_details.go instance_configuration_volume_source_from_volume_details.go instance_console_connection.go instance_credentials.go instance_pool.go instance_pool_instance_load_balancer_backend.go instance_pool_load_balancer_attachment.go instance_pool_placement_configuration.go instance_pool_placement_secondary_vnic_subnet.go instance_pool_summary.go instance_source_details.go instance_source_via_boot_volume_details.go instance_source_via_image_details.go instance_summary.go internet_gateway.go ip_sec_connection.go ip_sec_connection_device_config.go ip_sec_connection_device_status.go ip_sec_connection_tunnel.go ip_sec_connection_tunnel_shared_secret.go ipv6.go launch_instance_agent_config_details.go launch_instance_configuration_request_response.go launch_instance_details.go launch_instance_request_response.go launch_options.go letter_of_authority.go list_allowed_peer_regions_for_remote_peering_request_response.go list_app_catalog_listing_resource_versions_request_response.go list_app_catalog_listings_request_response.go list_app_catalog_subscriptions_request_response.go list_boot_volume_attachments_request_response.go list_boot_volume_backups_request_response.go list_boot_volumes_request_response.go list_cluster_network_instances_request_response.go list_cluster_networks_request_response.go list_console_histories_request_response.go list_cpes_request_response.go list_cross_connect_groups_request_response.go list_cross_connect_locations_request_response.go list_cross_connects_request_response.go list_crossconnect_port_speed_shapes_request_response.go list_dedicated_vm_host_instance_shapes_request_response.go list_dedicated_vm_host_instances_request_response.go list_dedicated_vm_host_shapes_request_response.go list_dedicated_vm_hosts_request_response.go list_dhcp_options_request_response.go list_drg_attachments_request_response.go list_drgs_request_response.go list_fast_connect_provider_services_request_response.go list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go list_i_p_sec_connection_tunnels_request_response.go list_i_p_sec_connections_request_response.go list_images_request_response.go list_instance_configurations_request_response.go list_instance_console_connections_request_response.go list_instance_devices_request_response.go list_instance_pool_instances_request_response.go list_instance_pools_request_response.go list_instances_request_response.go list_internet_gateways_request_response.go list_ipv6s_request_response.go list_local_peering_gateways_request_response.go list_nat_gateways_request_response.go list_network_security_group_security_rules_request_response.go list_network_security_group_vnics_request_response.go list_network_security_groups_request_response.go list_private_ips_request_response.go list_public_ips_request_response.go list_remote_peering_connections_request_response.go list_route_tables_request_response.go list_security_lists_request_response.go list_service_gateways_request_response.go list_services_request_response.go list_shapes_request_response.go list_subnets_request_response.go list_vcns_request_response.go list_virtual_circuit_bandwidth_shapes_request_response.go list_virtual_circuit_public_prefixes_request_response.go list_virtual_circuits_request_response.go list_vnic_attachments_request_response.go list_volume_attachments_request_response.go list_volume_backup_policies_request_response.go list_volume_backups_request_response.go list_volume_group_backups_request_response.go list_volume_groups_request_response.go list_volumes_request_response.go local_peering_gateway.go nat_gateway.go network_security_group.go network_security_group_vnic.go paravirtualized_volume_attachment.go peer_region_for_remote_peering.go port_range.go private_ip.go public_ip.go remote_peering_connection.go remove_image_shape_compatibility_entry_request_response.go remove_network_security_group_security_rules_details.go remove_network_security_group_security_rules_request_response.go reset_instance_pool_request_response.go route_rule.go route_table.go security_list.go security_rule.go service.go service_gateway.go service_id_request_details.go service_id_response_details.go shape.go softreset_instance_pool_request_response.go start_instance_pool_request_response.go stop_instance_pool_request_response.go subnet.go tcp_options.go terminate_cluster_network_request_response.go terminate_instance_pool_request_response.go terminate_instance_request_response.go tunnel_config.go tunnel_status.go udp_options.go update_boot_volume_backup_details.go update_boot_volume_backup_request_response.go update_boot_volume_details.go update_boot_volume_kms_key_details.go update_boot_volume_kms_key_request_response.go update_boot_volume_request_response.go update_cluster_network_details.go update_cluster_network_request_response.go update_console_history_details.go update_console_history_request_response.go update_cpe_details.go update_cpe_request_response.go update_cross_connect_details.go update_cross_connect_group_details.go update_cross_connect_group_request_response.go update_cross_connect_request_response.go update_dedicated_vm_host_details.go update_dedicated_vm_host_request_response.go update_dhcp_details.go update_dhcp_options_request_response.go update_drg_attachment_details.go update_drg_attachment_request_response.go update_drg_details.go update_drg_request_response.go update_i_p_sec_connection_request_response.go update_i_p_sec_connection_tunnel_request_response.go update_i_p_sec_connection_tunnel_shared_secret_request_response.go update_image_details.go update_image_request_response.go update_instance_agent_config_details.go update_instance_configuration_details.go update_instance_configuration_request_response.go update_instance_details.go update_instance_pool_details.go update_instance_pool_placement_configuration_details.go update_instance_pool_request_response.go update_instance_request_response.go update_internet_gateway_details.go update_internet_gateway_request_response.go update_ip_sec_connection_details.go update_ip_sec_connection_tunnel_details.go update_ip_sec_connection_tunnel_shared_secret_details.go update_ip_sec_tunnel_bgp_session_details.go update_ipv6_details.go update_ipv6_request_response.go update_local_peering_gateway_details.go update_local_peering_gateway_request_response.go update_nat_gateway_details.go update_nat_gateway_request_response.go update_network_security_group_details.go update_network_security_group_request_response.go update_network_security_group_security_rules_details.go update_network_security_group_security_rules_request_response.go update_private_ip_details.go update_private_ip_request_response.go update_public_ip_details.go update_public_ip_request_response.go update_remote_peering_connection_details.go update_remote_peering_connection_request_response.go update_route_table_details.go update_route_table_request_response.go update_security_list_details.go update_security_list_request_response.go update_security_rule_details.go update_service_gateway_details.go update_service_gateway_request_response.go update_subnet_details.go update_subnet_request_response.go update_vcn_details.go update_vcn_request_response.go update_virtual_circuit_details.go update_virtual_circuit_request_response.go update_vnic_details.go update_vnic_request_response.go update_volume_backup_details.go update_volume_backup_policy_details.go update_volume_backup_policy_request_response.go update_volume_backup_request_response.go update_volume_details.go update_volume_group_backup_details.go update_volume_group_backup_request_response.go update_volume_group_details.go update_volume_group_request_response.go update_volume_kms_key_details.go update_volume_kms_key_request_response.go update_volume_request_response.go updated_network_security_group_security_rules.go vcn.go virtual_circuit.go virtual_circuit_bandwidth_shape.go virtual_circuit_public_prefix.go vnic.go vnic_attachment.go volume.go volume_attachment.go volume_backup.go volume_backup_policy.go volume_backup_policy_assignment.go volume_backup_schedule.go volume_group.go volume_group_backup.go volume_group_source_details.go volume_group_source_from_volume_group_backup_details.go volume_group_source_from_volume_group_details.go volume_group_source_from_volumes_details.go volume_kms_key.go volume_source_details.go volume_source_from_volume_backup_details.go volume_source_from_volume_details.go

type AddImageShapeCompatibilityEntryRequest Uses

type AddImageShapeCompatibilityEntryRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
    ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

    // Shape name.
    ShapeName *string `mandatory:"true" contributesTo:"path" name:"shapeName"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AddImageShapeCompatibilityEntryRequest wrapper for the AddImageShapeCompatibilityEntry operation

func (AddImageShapeCompatibilityEntryRequest) HTTPRequest Uses

func (request AddImageShapeCompatibilityEntryRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AddImageShapeCompatibilityEntryRequest) RetryPolicy Uses

func (request AddImageShapeCompatibilityEntryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AddImageShapeCompatibilityEntryRequest) String Uses

func (request AddImageShapeCompatibilityEntryRequest) String() string

type AddImageShapeCompatibilityEntryResponse Uses

type AddImageShapeCompatibilityEntryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ImageShapeCompatibilityEntry instance
    ImageShapeCompatibilityEntry `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AddImageShapeCompatibilityEntryResponse wrapper for the AddImageShapeCompatibilityEntry operation

func (AddImageShapeCompatibilityEntryResponse) HTTPResponse Uses

func (response AddImageShapeCompatibilityEntryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AddImageShapeCompatibilityEntryResponse) String Uses

func (response AddImageShapeCompatibilityEntryResponse) String() string

type AddNetworkSecurityGroupSecurityRulesDetails Uses

type AddNetworkSecurityGroupSecurityRulesDetails struct {

    // The NSG security rules to add.
    SecurityRules []AddSecurityRuleDetails `mandatory:"false" json:"securityRules"`
}

AddNetworkSecurityGroupSecurityRulesDetails The representation of AddNetworkSecurityGroupSecurityRulesDetails

func (AddNetworkSecurityGroupSecurityRulesDetails) String Uses

func (m AddNetworkSecurityGroupSecurityRulesDetails) String() string

type AddNetworkSecurityGroupSecurityRulesRequest Uses

type AddNetworkSecurityGroupSecurityRulesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group.
    NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

    // Request with one or more security rules to be associated with the network security group.
    AddNetworkSecurityGroupSecurityRulesDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AddNetworkSecurityGroupSecurityRulesRequest wrapper for the AddNetworkSecurityGroupSecurityRules operation

func (AddNetworkSecurityGroupSecurityRulesRequest) HTTPRequest Uses

func (request AddNetworkSecurityGroupSecurityRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AddNetworkSecurityGroupSecurityRulesRequest) RetryPolicy Uses

func (request AddNetworkSecurityGroupSecurityRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AddNetworkSecurityGroupSecurityRulesRequest) String Uses

func (request AddNetworkSecurityGroupSecurityRulesRequest) String() string

type AddNetworkSecurityGroupSecurityRulesResponse Uses

type AddNetworkSecurityGroupSecurityRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AddedNetworkSecurityGroupSecurityRules instance
    AddedNetworkSecurityGroupSecurityRules `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AddNetworkSecurityGroupSecurityRulesResponse wrapper for the AddNetworkSecurityGroupSecurityRules operation

func (AddNetworkSecurityGroupSecurityRulesResponse) HTTPResponse Uses

func (response AddNetworkSecurityGroupSecurityRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AddNetworkSecurityGroupSecurityRulesResponse) String Uses

func (response AddNetworkSecurityGroupSecurityRulesResponse) String() string

type AddSecurityRuleDetails Uses

type AddSecurityRuleDetails struct {

    // Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets, or `INGRESS` for rules to allow inbound IP packets.
    Direction AddSecurityRuleDetailsDirectionEnum `mandatory:"true" json:"direction"`

    // The transport protocol. Specify either `all` or an IPv4 protocol number as
    // defined in
    // Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
    // Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
    Protocol *string `mandatory:"true" json:"protocol"`

    // An optional description of your choice for the rule. Avoid entering confidential information.
    Description *string `mandatory:"false" json:"description"`

    // Conceptually, this is the range of IP addresses that a packet originating from the instance
    // can go to.
    // Allowed values:
    //   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
    //     Note that IPv6 addressing is currently supported only in the Government Cloud.
    //   * The `cidrBlock` value for a Service, if you're
    //     setting up a security rule for traffic destined for a particular `Service` through
    //     a service gateway. For example: `oci-phx-objectstorage`.
    //   * The OCID of a NetworkSecurityGroup in the same
    //     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
    //     traffic between VNICs in the same NSG.
    Destination *string `mandatory:"false" json:"destination"`

    // Type of destination for the rule. Required if `direction` = `EGRESS`.
    // Allowed values:
    //   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
    //   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
    //     Service (the rule is for traffic destined for a
    //     particular `Service` through a service gateway).
    //   * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID of a
    //     NetworkSecurityGroup.
    DestinationType AddSecurityRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

    // Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code
    // as defined in:
    // - ICMP Parameters (http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml)
    // - ICMPv6 Parameters (https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml)
    // If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and
    // codes are allowed. If you do provide this object, the type is required and the code is optional.
    // To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination
    // Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify
    // multiple codes for a single type, create a separate security list rule for each.
    IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

    // A stateless rule allows traffic in one direction. Remember to add a corresponding
    // stateless rule in the other direction if you need to support bidirectional traffic. For
    // example, if egress traffic allows TCP destination port 80, there should be an ingress
    // rule to allow TCP source port 80. Defaults to false, which means the rule is stateful
    // and a corresponding rule is not necessary for bidirectional traffic.
    IsStateless *bool `mandatory:"false" json:"isStateless"`

    // Conceptually, this is the range of IP addresses that a packet coming into the instance
    // can come from.
    // Allowed values:
    //   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
    //     Note that IPv6 addressing is currently supported only in the Government Cloud.
    //   * The `cidrBlock` value for a Service, if you're
    //     setting up a security rule for traffic coming from a particular `Service` through
    //     a service gateway. For example: `oci-phx-objectstorage`.
    //   * The OCID of a NetworkSecurityGroup in the same
    //     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
    //     traffic between VNICs in the same NSG.
    Source *string `mandatory:"false" json:"source"`

    // Type of source for the rule. Required if `direction` = `INGRESS`.
    //   * `CIDR_BLOCK`: If the rule's `source` is an IP address range in CIDR notation.
    //   * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a
    //     Service (the rule is for traffic coming from a
    //     particular `Service` through a service gateway).
    //   * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID of a
    //     NetworkSecurityGroup.
    SourceType AddSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

    // Optional and valid only for TCP. Use to specify particular destination ports for TCP rules.
    // If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

    // Optional and valid only for UDP. Use to specify particular destination ports for UDP rules.
    // If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`
}

AddSecurityRuleDetails A rule for allowing inbound (INGRESS) or outbound (EGRESS) IP packets.

func (AddSecurityRuleDetails) String Uses

func (m AddSecurityRuleDetails) String() string

type AddSecurityRuleDetailsDestinationTypeEnum Uses

type AddSecurityRuleDetailsDestinationTypeEnum string

AddSecurityRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
    AddSecurityRuleDetailsDestinationTypeCidrBlock            AddSecurityRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
    AddSecurityRuleDetailsDestinationTypeServiceCidrBlock     AddSecurityRuleDetailsDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
    AddSecurityRuleDetailsDestinationTypeNetworkSecurityGroup AddSecurityRuleDetailsDestinationTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for AddSecurityRuleDetailsDestinationTypeEnum

func GetAddSecurityRuleDetailsDestinationTypeEnumValues Uses

func GetAddSecurityRuleDetailsDestinationTypeEnumValues() []AddSecurityRuleDetailsDestinationTypeEnum

GetAddSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsDestinationTypeEnum

type AddSecurityRuleDetailsDirectionEnum Uses

type AddSecurityRuleDetailsDirectionEnum string

AddSecurityRuleDetailsDirectionEnum Enum with underlying type: string

const (
    AddSecurityRuleDetailsDirectionEgress  AddSecurityRuleDetailsDirectionEnum = "EGRESS"
    AddSecurityRuleDetailsDirectionIngress AddSecurityRuleDetailsDirectionEnum = "INGRESS"
)

Set of constants representing the allowable values for AddSecurityRuleDetailsDirectionEnum

func GetAddSecurityRuleDetailsDirectionEnumValues Uses

func GetAddSecurityRuleDetailsDirectionEnumValues() []AddSecurityRuleDetailsDirectionEnum

GetAddSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for AddSecurityRuleDetailsDirectionEnum

type AddSecurityRuleDetailsSourceTypeEnum Uses

type AddSecurityRuleDetailsSourceTypeEnum string

AddSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string

const (
    AddSecurityRuleDetailsSourceTypeCidrBlock            AddSecurityRuleDetailsSourceTypeEnum = "CIDR_BLOCK"
    AddSecurityRuleDetailsSourceTypeServiceCidrBlock     AddSecurityRuleDetailsSourceTypeEnum = "SERVICE_CIDR_BLOCK"
    AddSecurityRuleDetailsSourceTypeNetworkSecurityGroup AddSecurityRuleDetailsSourceTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for AddSecurityRuleDetailsSourceTypeEnum

func GetAddSecurityRuleDetailsSourceTypeEnumValues Uses

func GetAddSecurityRuleDetailsSourceTypeEnumValues() []AddSecurityRuleDetailsSourceTypeEnum

GetAddSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsSourceTypeEnum

type AddedNetworkSecurityGroupSecurityRules Uses

type AddedNetworkSecurityGroupSecurityRules struct {

    // The NSG security rules that were added.
    SecurityRules []SecurityRule `mandatory:"false" json:"securityRules"`
}

AddedNetworkSecurityGroupSecurityRules The representation of AddedNetworkSecurityGroupSecurityRules

func (AddedNetworkSecurityGroupSecurityRules) String Uses

func (m AddedNetworkSecurityGroupSecurityRules) String() string

type AppCatalogListing Uses

type AppCatalogListing struct {

    // Listing's contact URL.
    ContactUrl *string `mandatory:"false" json:"contactUrl"`

    // Description of the listing.
    Description *string `mandatory:"false" json:"description"`

    // The OCID of the listing.
    ListingId *string `mandatory:"false" json:"listingId"`

    // Name of the listing.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Date and time the listing was published, in RFC3339 format.
    // Example: `2018-03-20T12:32:53.532Z`
    TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

    // Publisher's logo URL.
    PublisherLogoUrl *string `mandatory:"false" json:"publisherLogoUrl"`

    // Name of the publisher who published this listing.
    PublisherName *string `mandatory:"false" json:"publisherName"`

    // Summary of the listing.
    Summary *string `mandatory:"false" json:"summary"`
}

AppCatalogListing Listing details.

func (AppCatalogListing) String Uses

func (m AppCatalogListing) String() string

type AppCatalogListingResourceVersion Uses

type AppCatalogListingResourceVersion struct {

    // The OCID of the listing this resource version belongs to.
    ListingId *string `mandatory:"false" json:"listingId"`

    // Date and time the listing resource version was published, in RFC3339 format.
    // Example: `2018-03-20T12:32:53.532Z`
    TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

    // OCID of the listing resource.
    ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

    // Resource Version.
    ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

    // List of regions that this listing resource version is available.
    // For information about Regions, see
    // Regions (https://docs.cloud.oracle.comGeneral/Concepts/regions.htm).
    // Example: `["us-ashburn-1", "us-phoenix-1"]`
    AvailableRegions []string `mandatory:"false" json:"availableRegions"`

    // Array of shapes compatible with this resource.
    // You may enumerate all available shapes by calling listShapes.
    // Example: `["VM.Standard1.1", "VM.Standard1.2"]`
    CompatibleShapes []string `mandatory:"false" json:"compatibleShapes"`

    // List of accessible ports for instances launched with this listing resource version.
    AccessiblePorts []int `mandatory:"false" json:"accessiblePorts"`

    // Allowed actions for the listing resource.
    AllowedActions []AppCatalogListingResourceVersionAllowedActionsEnum `mandatory:"false" json:"allowedActions,omitempty"`
}

AppCatalogListingResourceVersion Listing Resource Version

func (AppCatalogListingResourceVersion) String Uses

func (m AppCatalogListingResourceVersion) String() string

type AppCatalogListingResourceVersionAgreements Uses

type AppCatalogListingResourceVersionAgreements struct {

    // The OCID of the listing associated with these agreements.
    ListingId *string `mandatory:"false" json:"listingId"`

    // Listing resource version associated with these agreements.
    ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

    // Oracle TOU link
    OracleTermsOfUseLink *string `mandatory:"false" json:"oracleTermsOfUseLink"`

    // EULA link
    EulaLink *string `mandatory:"false" json:"eulaLink"`

    // Date and time the agreements were retrieved, in RFC3339 format.
    // Example: `2018-03-20T12:32:53.532Z`
    TimeRetrieved *common.SDKTime `mandatory:"false" json:"timeRetrieved"`

    // A generated signature for this agreement retrieval operation which should be used in the create subscription call.
    Signature *string `mandatory:"false" json:"signature"`
}

AppCatalogListingResourceVersionAgreements Agreements for a listing resource version.

func (AppCatalogListingResourceVersionAgreements) String Uses

func (m AppCatalogListingResourceVersionAgreements) String() string

type AppCatalogListingResourceVersionAllowedActionsEnum Uses

type AppCatalogListingResourceVersionAllowedActionsEnum string

AppCatalogListingResourceVersionAllowedActionsEnum Enum with underlying type: string

const (
    AppCatalogListingResourceVersionAllowedActionsSnapshot              AppCatalogListingResourceVersionAllowedActionsEnum = "SNAPSHOT"
    AppCatalogListingResourceVersionAllowedActionsBootVolumeDetach      AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_VOLUME_DETACH"
    AppCatalogListingResourceVersionAllowedActionsPreserveBootVolume    AppCatalogListingResourceVersionAllowedActionsEnum = "PRESERVE_BOOT_VOLUME"
    AppCatalogListingResourceVersionAllowedActionsSerialConsoleAccess   AppCatalogListingResourceVersionAllowedActionsEnum = "SERIAL_CONSOLE_ACCESS"
    AppCatalogListingResourceVersionAllowedActionsBootRecovery          AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_RECOVERY"
    AppCatalogListingResourceVersionAllowedActionsBackupBootVolume      AppCatalogListingResourceVersionAllowedActionsEnum = "BACKUP_BOOT_VOLUME"
    AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory AppCatalogListingResourceVersionAllowedActionsEnum = "CAPTURE_CONSOLE_HISTORY"
)

Set of constants representing the allowable values for AppCatalogListingResourceVersionAllowedActionsEnum

func GetAppCatalogListingResourceVersionAllowedActionsEnumValues Uses

func GetAppCatalogListingResourceVersionAllowedActionsEnumValues() []AppCatalogListingResourceVersionAllowedActionsEnum

GetAppCatalogListingResourceVersionAllowedActionsEnumValues Enumerates the set of values for AppCatalogListingResourceVersionAllowedActionsEnum

type AppCatalogListingResourceVersionSummary Uses

type AppCatalogListingResourceVersionSummary struct {

    // The OCID of the listing this resource version belongs to.
    ListingId *string `mandatory:"false" json:"listingId"`

    // Date and time the listing resource version was published, in RFC3339 format.
    // Example: `2018-03-20T12:32:53.532Z`
    TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

    // OCID of the listing resource.
    ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

    // Resource Version.
    ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
}

AppCatalogListingResourceVersionSummary Listing Resource Version summary

func (AppCatalogListingResourceVersionSummary) String Uses

func (m AppCatalogListingResourceVersionSummary) String() string

type AppCatalogListingSummary Uses

type AppCatalogListingSummary struct {

    // the region free ocid of the listing resource.
    ListingId *string `mandatory:"false" json:"listingId"`

    // The display name of the listing.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The short summary for the listing.
    Summary *string `mandatory:"false" json:"summary"`

    // The name of the publisher who published this listing.
    PublisherName *string `mandatory:"false" json:"publisherName"`
}

AppCatalogListingSummary A summary of a listing.

func (AppCatalogListingSummary) String Uses

func (m AppCatalogListingSummary) String() string

type AppCatalogSubscription Uses

type AppCatalogSubscription struct {

    // Name of the publisher who published this listing.
    PublisherName *string `mandatory:"false" json:"publisherName"`

    // The ocid of the listing resource.
    ListingId *string `mandatory:"false" json:"listingId"`

    // Listing resource version.
    ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

    // Listing resource id.
    ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

    // The display name of the listing.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The short summary to the listing.
    Summary *string `mandatory:"false" json:"summary"`

    // The compartmentID of the subscription.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Date and time at which the subscription was created, in RFC3339 format.
    // Example: `2018-03-20T12:32:53.532Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

AppCatalogSubscription a subscription for a listing resource version.

func (AppCatalogSubscription) String Uses

func (m AppCatalogSubscription) String() string

type AppCatalogSubscriptionSummary Uses

type AppCatalogSubscriptionSummary struct {

    // Name of the publisher who published this listing.
    PublisherName *string `mandatory:"false" json:"publisherName"`

    // The ocid of the listing resource.
    ListingId *string `mandatory:"false" json:"listingId"`

    // Listing resource version.
    ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

    // Listing resource id.
    ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

    // The display name of the listing.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The short summary to the listing.
    Summary *string `mandatory:"false" json:"summary"`

    // The compartmentID of the subscription.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Date and time at which the subscription was created, in RFC3339 format.
    // Example: `2018-03-20T12:32:53.532Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

AppCatalogSubscriptionSummary a subscription summary for a listing resource version.

func (AppCatalogSubscriptionSummary) String Uses

func (m AppCatalogSubscriptionSummary) String() string

type AttachBootVolumeDetails Uses

type AttachBootVolumeDetails struct {

    // The OCID of the  boot volume.
    BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`

    // The OCID of the instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`
}

AttachBootVolumeDetails The representation of AttachBootVolumeDetails

func (AttachBootVolumeDetails) String Uses

func (m AttachBootVolumeDetails) String() string

type AttachBootVolumeRequest Uses

type AttachBootVolumeRequest struct {

    // Attach boot volume request
    AttachBootVolumeDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AttachBootVolumeRequest wrapper for the AttachBootVolume operation

func (AttachBootVolumeRequest) HTTPRequest Uses

func (request AttachBootVolumeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AttachBootVolumeRequest) RetryPolicy Uses

func (request AttachBootVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AttachBootVolumeRequest) String Uses

func (request AttachBootVolumeRequest) String() string

type AttachBootVolumeResponse Uses

type AttachBootVolumeResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BootVolumeAttachment instance
    BootVolumeAttachment `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AttachBootVolumeResponse wrapper for the AttachBootVolume operation

func (AttachBootVolumeResponse) HTTPResponse Uses

func (response AttachBootVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AttachBootVolumeResponse) String Uses

func (response AttachBootVolumeResponse) String() string

type AttachEmulatedVolumeDetails Uses

type AttachEmulatedVolumeDetails struct {

    // The OCID of the instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The OCID of the volume.
    VolumeId *string `mandatory:"true" json:"volumeId"`

    // The device name.
    Device *string `mandatory:"false" json:"device"`

    // A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Whether the attachment was created in read-only mode.
    IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`
}

AttachEmulatedVolumeDetails The representation of AttachEmulatedVolumeDetails

func (AttachEmulatedVolumeDetails) GetDevice Uses

func (m AttachEmulatedVolumeDetails) GetDevice() *string

GetDevice returns Device

func (AttachEmulatedVolumeDetails) GetDisplayName Uses

func (m AttachEmulatedVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachEmulatedVolumeDetails) GetInstanceId Uses

func (m AttachEmulatedVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachEmulatedVolumeDetails) GetIsReadOnly Uses

func (m AttachEmulatedVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachEmulatedVolumeDetails) GetVolumeId Uses

func (m AttachEmulatedVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (AttachEmulatedVolumeDetails) MarshalJSON Uses

func (m AttachEmulatedVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachEmulatedVolumeDetails) String Uses

func (m AttachEmulatedVolumeDetails) String() string

type AttachIScsiVolumeDetails Uses

type AttachIScsiVolumeDetails struct {

    // The OCID of the instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The OCID of the volume.
    VolumeId *string `mandatory:"true" json:"volumeId"`

    // The device name.
    Device *string `mandatory:"false" json:"device"`

    // A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Whether the attachment was created in read-only mode.
    IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

    // Whether to use CHAP authentication for the volume attachment. Defaults to false.
    UseChap *bool `mandatory:"false" json:"useChap"`
}

AttachIScsiVolumeDetails The representation of AttachIScsiVolumeDetails

func (AttachIScsiVolumeDetails) GetDevice Uses

func (m AttachIScsiVolumeDetails) GetDevice() *string

GetDevice returns Device

func (AttachIScsiVolumeDetails) GetDisplayName Uses

func (m AttachIScsiVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachIScsiVolumeDetails) GetInstanceId Uses

func (m AttachIScsiVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachIScsiVolumeDetails) GetIsReadOnly Uses

func (m AttachIScsiVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachIScsiVolumeDetails) GetVolumeId Uses

func (m AttachIScsiVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (AttachIScsiVolumeDetails) MarshalJSON Uses

func (m AttachIScsiVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachIScsiVolumeDetails) String Uses

func (m AttachIScsiVolumeDetails) String() string

type AttachLoadBalancerDetails Uses

type AttachLoadBalancerDetails struct {

    // The OCID of the load balancer to attach to the instance pool.
    LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

    // The name of the backend set on the load balancer to add instances to.
    BackendSetName *string `mandatory:"true" json:"backendSetName"`

    // The port value to use when creating the backend set.
    Port *int `mandatory:"true" json:"port"`

    // Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
    VnicSelection *string `mandatory:"true" json:"vnicSelection"`
}

AttachLoadBalancerDetails Represents a load balancer that is to be attached to an instance pool.

func (AttachLoadBalancerDetails) String Uses

func (m AttachLoadBalancerDetails) String() string

type AttachLoadBalancerRequest Uses

type AttachLoadBalancerRequest struct {

    // The OCID of the instance pool.
    InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

    // Load balancer being attached
    AttachLoadBalancerDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AttachLoadBalancerRequest wrapper for the AttachLoadBalancer operation

func (AttachLoadBalancerRequest) HTTPRequest Uses

func (request AttachLoadBalancerRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AttachLoadBalancerRequest) RetryPolicy Uses

func (request AttachLoadBalancerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AttachLoadBalancerRequest) String Uses

func (request AttachLoadBalancerRequest) String() string

type AttachLoadBalancerResponse Uses

type AttachLoadBalancerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The InstancePool instance
    InstancePool `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AttachLoadBalancerResponse wrapper for the AttachLoadBalancer operation

func (AttachLoadBalancerResponse) HTTPResponse Uses

func (response AttachLoadBalancerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AttachLoadBalancerResponse) String Uses

func (response AttachLoadBalancerResponse) String() string

type AttachParavirtualizedVolumeDetails Uses

type AttachParavirtualizedVolumeDetails struct {

    // The OCID of the instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The OCID of the volume.
    VolumeId *string `mandatory:"true" json:"volumeId"`

    // The device name.
    Device *string `mandatory:"false" json:"device"`

    // A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Whether the attachment was created in read-only mode.
    IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

    // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
    IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
}

AttachParavirtualizedVolumeDetails The representation of AttachParavirtualizedVolumeDetails

func (AttachParavirtualizedVolumeDetails) GetDevice Uses

func (m AttachParavirtualizedVolumeDetails) GetDevice() *string

GetDevice returns Device

func (AttachParavirtualizedVolumeDetails) GetDisplayName Uses

func (m AttachParavirtualizedVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachParavirtualizedVolumeDetails) GetInstanceId Uses

func (m AttachParavirtualizedVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachParavirtualizedVolumeDetails) GetIsReadOnly Uses

func (m AttachParavirtualizedVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachParavirtualizedVolumeDetails) GetVolumeId Uses

func (m AttachParavirtualizedVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (AttachParavirtualizedVolumeDetails) MarshalJSON Uses

func (m AttachParavirtualizedVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachParavirtualizedVolumeDetails) String Uses

func (m AttachParavirtualizedVolumeDetails) String() string

type AttachServiceDeterminedVolumeDetails Uses

type AttachServiceDeterminedVolumeDetails struct {

    // The OCID of the instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The OCID of the volume.
    VolumeId *string `mandatory:"true" json:"volumeId"`

    // The device name.
    Device *string `mandatory:"false" json:"device"`

    // A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Whether the attachment was created in read-only mode.
    IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`
}

AttachServiceDeterminedVolumeDetails The representation of AttachServiceDeterminedVolumeDetails

func (AttachServiceDeterminedVolumeDetails) GetDevice Uses

func (m AttachServiceDeterminedVolumeDetails) GetDevice() *string

GetDevice returns Device

func (AttachServiceDeterminedVolumeDetails) GetDisplayName Uses

func (m AttachServiceDeterminedVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachServiceDeterminedVolumeDetails) GetInstanceId Uses

func (m AttachServiceDeterminedVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachServiceDeterminedVolumeDetails) GetIsReadOnly Uses

func (m AttachServiceDeterminedVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachServiceDeterminedVolumeDetails) GetVolumeId Uses

func (m AttachServiceDeterminedVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (AttachServiceDeterminedVolumeDetails) MarshalJSON Uses

func (m AttachServiceDeterminedVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachServiceDeterminedVolumeDetails) String Uses

func (m AttachServiceDeterminedVolumeDetails) String() string

type AttachServiceIdRequest Uses

type AttachServiceIdRequest struct {

    // The service gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
    ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`

    // ServiceId of Service to be attached to a service gateway.
    AttachServiceDetails ServiceIdRequestDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AttachServiceIdRequest wrapper for the AttachServiceId operation

func (AttachServiceIdRequest) HTTPRequest Uses

func (request AttachServiceIdRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AttachServiceIdRequest) RetryPolicy Uses

func (request AttachServiceIdRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AttachServiceIdRequest) String Uses

func (request AttachServiceIdRequest) String() string

type AttachServiceIdResponse Uses

type AttachServiceIdResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ServiceGateway instance
    ServiceGateway `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AttachServiceIdResponse wrapper for the AttachServiceId operation

func (AttachServiceIdResponse) HTTPResponse Uses

func (response AttachServiceIdResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AttachServiceIdResponse) String Uses

func (response AttachServiceIdResponse) String() string

type AttachVnicDetails Uses

type AttachVnicDetails struct {

    // Details for creating a new VNIC.
    CreateVnicDetails *CreateVnicDetails `mandatory:"true" json:"createVnicDetails"`

    // The OCID of the instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // A user-friendly name for the attachment. Does not have to be unique, and it cannot be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Which physical network interface card (NIC) the VNIC will use. Defaults to 0.
    // Certain bare metal instance shapes have two active physical NICs (0 and 1). If
    // you add a secondary VNIC to one of these instances, you can specify which NIC
    // the VNIC will use. For more information, see
    // Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/Content/Network/Tasks/managingVNICs.htm).
    NicIndex *int `mandatory:"false" json:"nicIndex"`
}

AttachVnicDetails The representation of AttachVnicDetails

func (AttachVnicDetails) String Uses

func (m AttachVnicDetails) String() string

type AttachVnicRequest Uses

type AttachVnicRequest struct {

    // Attach VNIC details.
    AttachVnicDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AttachVnicRequest wrapper for the AttachVnic operation

func (AttachVnicRequest) HTTPRequest Uses

func (request AttachVnicRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AttachVnicRequest) RetryPolicy Uses

func (request AttachVnicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AttachVnicRequest) String Uses

func (request AttachVnicRequest) String() string

type AttachVnicResponse Uses

type AttachVnicResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The VnicAttachment instance
    VnicAttachment `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AttachVnicResponse wrapper for the AttachVnic operation

func (AttachVnicResponse) HTTPResponse Uses

func (response AttachVnicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AttachVnicResponse) String Uses

func (response AttachVnicResponse) String() string

type AttachVolumeDetails Uses

type AttachVolumeDetails interface {

    // The OCID of the instance.
    GetInstanceId() *string

    // The OCID of the volume.
    GetVolumeId() *string

    // The device name.
    GetDevice() *string

    // A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.
    GetDisplayName() *string

    // Whether the attachment was created in read-only mode.
    GetIsReadOnly() *bool
}

AttachVolumeDetails The representation of AttachVolumeDetails

type AttachVolumeRequest Uses

type AttachVolumeRequest struct {

    // Attach volume request
    AttachVolumeDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AttachVolumeRequest wrapper for the AttachVolume operation

func (AttachVolumeRequest) HTTPRequest Uses

func (request AttachVolumeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AttachVolumeRequest) RetryPolicy Uses

func (request AttachVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AttachVolumeRequest) String Uses

func (request AttachVolumeRequest) String() string

type AttachVolumeResponse Uses

type AttachVolumeResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The VolumeAttachment instance
    VolumeAttachment `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AttachVolumeResponse wrapper for the AttachVolume operation

func (AttachVolumeResponse) HTTPResponse Uses

func (response AttachVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AttachVolumeResponse) String Uses

func (response AttachVolumeResponse) String() string

type BgpSessionInfo Uses

type BgpSessionInfo struct {

    // The IP address for the Oracle end of the inside tunnel interface.
    // If the tunnel's `routing` attribute is set to `BGP`
    // (see IPSecConnectionTunnel), this IP address
    // is required and used for the tunnel's BGP session.
    // If `routing` is instead set to `STATIC`, this IP address is optional. You can set this IP
    // address so you can troubleshoot or monitor the tunnel.
    // The value must be a /30 or /31.
    // Example: `10.0.0.4/31`
    OracleInterfaceIp *string `mandatory:"false" json:"oracleInterfaceIp"`

    // The IP address for the CPE end of the inside tunnel interface.
    // If the tunnel's `routing` attribute is set to `BGP`
    // (see IPSecConnectionTunnel), this IP address
    // is required and used for the tunnel's BGP session.
    // If `routing` is instead set to `STATIC`, this IP address is optional. You can set this IP
    // address so you can troubleshoot or monitor the tunnel.
    // The value must be a /30 or /31.
    // Example: `10.0.0.5/31`
    CustomerInterfaceIp *string `mandatory:"false" json:"customerInterfaceIp"`

    // The Oracle BGP ASN.
    OracleBgpAsn *string `mandatory:"false" json:"oracleBgpAsn"`

    // If the tunnel's `routing` attribute is set to `BGP`
    // (see IPSecConnectionTunnel), this ASN
    // is required and used for the tunnel's BGP session. This is the ASN of the network on the
    // CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses "asplain" format.
    // If the tunnel uses static routing, the `customerBgpAsn` must be null.
    // Example: `12345` (2-byte) or `1587232876` (4-byte)
    CustomerBgpAsn *string `mandatory:"false" json:"customerBgpAsn"`

    // The state of the BGP session.
    BgpState BgpSessionInfoBgpStateEnum `mandatory:"false" json:"bgpState,omitempty"`
}

BgpSessionInfo Information for establishing a BGP session for the IPSec tunnel.

func (BgpSessionInfo) String Uses

func (m BgpSessionInfo) String() string

type BgpSessionInfoBgpStateEnum Uses

type BgpSessionInfoBgpStateEnum string

BgpSessionInfoBgpStateEnum Enum with underlying type: string

const (
    BgpSessionInfoBgpStateUp   BgpSessionInfoBgpStateEnum = "UP"
    BgpSessionInfoBgpStateDown BgpSessionInfoBgpStateEnum = "DOWN"
)

Set of constants representing the allowable values for BgpSessionInfoBgpStateEnum

func GetBgpSessionInfoBgpStateEnumValues Uses

func GetBgpSessionInfoBgpStateEnumValues() []BgpSessionInfoBgpStateEnum

GetBgpSessionInfoBgpStateEnumValues Enumerates the set of values for BgpSessionInfoBgpStateEnum

type BlockstorageClient Uses

type BlockstorageClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

BlockstorageClient a client for Blockstorage

func NewBlockstorageClientWithConfigurationProvider Uses

func NewBlockstorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BlockstorageClient, err error)

NewBlockstorageClientWithConfigurationProvider Creates a new default Blockstorage client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func (BlockstorageClient) ChangeBootVolumeBackupCompartment Uses

func (client BlockstorageClient) ChangeBootVolumeBackupCompartment(ctx context.Context, request ChangeBootVolumeBackupCompartmentRequest) (response ChangeBootVolumeBackupCompartmentResponse, err error)

ChangeBootVolumeBackupCompartment Moves a boot volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes).

func (BlockstorageClient) ChangeBootVolumeCompartment Uses

func (client BlockstorageClient) ChangeBootVolumeCompartment(ctx context.Context, request ChangeBootVolumeCompartmentRequest) (response ChangeBootVolumeCompartmentResponse, err error)

ChangeBootVolumeCompartment Moves a boot volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes).

func (BlockstorageClient) ChangeVolumeBackupCompartment Uses

func (client BlockstorageClient) ChangeVolumeBackupCompartment(ctx context.Context, request ChangeVolumeBackupCompartmentRequest) (response ChangeVolumeBackupCompartmentResponse, err error)

ChangeVolumeBackupCompartment Moves a volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes).

func (BlockstorageClient) ChangeVolumeCompartment Uses

func (client BlockstorageClient) ChangeVolumeCompartment(ctx context.Context, request ChangeVolumeCompartmentRequest) (response ChangeVolumeCompartmentResponse, err error)

ChangeVolumeCompartment Moves a volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes).

func (BlockstorageClient) ChangeVolumeGroupBackupCompartment Uses

func (client BlockstorageClient) ChangeVolumeGroupBackupCompartment(ctx context.Context, request ChangeVolumeGroupBackupCompartmentRequest) (response ChangeVolumeGroupBackupCompartmentResponse, err error)

ChangeVolumeGroupBackupCompartment Moves a volume group backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes).

func (BlockstorageClient) ChangeVolumeGroupCompartment Uses

func (client BlockstorageClient) ChangeVolumeGroupCompartment(ctx context.Context, request ChangeVolumeGroupCompartmentRequest) (response ChangeVolumeGroupCompartmentResponse, err error)

ChangeVolumeGroupCompartment Moves a volume group into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes).

func (*BlockstorageClient) ConfigurationProvider Uses

func (client *BlockstorageClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (BlockstorageClient) CopyVolumeBackup Uses

func (client BlockstorageClient) CopyVolumeBackup(ctx context.Context, request CopyVolumeBackupRequest) (response CopyVolumeBackupResponse, err error)

CopyVolumeBackup Creates a volume backup copy in specified region. For general information about volume backups, see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumebackups.htm)

func (BlockstorageClient) CreateBootVolume Uses

func (client BlockstorageClient) CreateBootVolume(ctx context.Context, request CreateBootVolumeRequest) (response CreateBootVolumeResponse, err error)

CreateBootVolume Creates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup. For general information about boot volumes, see Boot Volumes (https://docs.cloud.oracle.com/Content/Block/Concepts/bootvolumes.htm). You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.

func (BlockstorageClient) CreateBootVolumeBackup Uses

func (client BlockstorageClient) CreateBootVolumeBackup(ctx context.Context, request CreateBootVolumeBackupRequest) (response CreateBootVolumeBackupResponse, err error)

CreateBootVolumeBackup Creates a new boot volume backup of the specified boot volume. For general information about boot volume backups, see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/Content/Block/Concepts/bootvolumebackups.htm) When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.

func (BlockstorageClient) CreateVolume Uses

func (client BlockstorageClient) CreateVolume(ctx context.Context, request CreateVolumeRequest) (response CreateVolumeResponse, err error)

CreateVolume Creates a new volume in the specified compartment. Volumes can be created in sizes ranging from 50 GB (51200 MB) to 32 TB (33554432 MB), in 1 GB (1024 MB) increments. By default, volumes are 1 TB (1048576 MB). For general information about block volumes, see Overview of Block Volume Service (https://docs.cloud.oracle.com/Content/Block/Concepts/overview.htm). A volume and instance can be in separate compartments but must be in the same availability domain. For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.

func (BlockstorageClient) CreateVolumeBackup Uses

func (client BlockstorageClient) CreateVolumeBackup(ctx context.Context, request CreateVolumeBackupRequest) (response CreateVolumeBackupResponse, err error)

CreateVolumeBackup Creates a new backup of the specified volume. For general information about volume backups, see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumebackups.htm) When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.

func (BlockstorageClient) CreateVolumeBackupPolicy Uses

func (client BlockstorageClient) CreateVolumeBackupPolicy(ctx context.Context, request CreateVolumeBackupPolicyRequest) (response CreateVolumeBackupPolicyResponse, err error)

CreateVolumeBackupPolicy Creates a new backup policy for the caller.

func (BlockstorageClient) CreateVolumeBackupPolicyAssignment Uses

func (client BlockstorageClient) CreateVolumeBackupPolicyAssignment(ctx context.Context, request CreateVolumeBackupPolicyAssignmentRequest) (response CreateVolumeBackupPolicyAssignmentResponse, err error)

CreateVolumeBackupPolicyAssignment Assigns a policy to the specified asset, such as a volume. Note that a given asset can only have one policy assigned to it; if this method is called for an asset that previously has a different policy assigned, the prior assignment will be silently deleted.

func (BlockstorageClient) CreateVolumeGroup Uses

func (client BlockstorageClient) CreateVolumeGroup(ctx context.Context, request CreateVolumeGroupRequest) (response CreateVolumeGroupResponse, err error)

CreateVolumeGroup Creates a new volume group in the specified compartment. A volume group is a collection of volumes and may be created from a list of volumes, cloning an existing volume group, or by restoring a volume group backup. A volume group can contain up to 64 volumes. You may optionally specify a *display name* for the volume group, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) CreateVolumeGroupBackup Uses

func (client BlockstorageClient) CreateVolumeGroupBackup(ctx context.Context, request CreateVolumeGroupBackupRequest) (response CreateVolumeGroupBackupResponse, err error)

CreateVolumeGroupBackup Creates a new backup volume group of the specified volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) DeleteBootVolume Uses

func (client BlockstorageClient) DeleteBootVolume(ctx context.Context, request DeleteBootVolumeRequest) (response DeleteBootVolumeResponse, err error)

DeleteBootVolume Deletes the specified boot volume. The volume cannot have an active connection to an instance. To disconnect the boot volume from a connected instance, see Disconnecting From a Boot Volume (https://docs.cloud.oracle.com/Content/Block/Tasks/deletingbootvolume.htm). **Warning:** All data on the boot volume will be permanently lost when the boot volume is deleted.

func (BlockstorageClient) DeleteBootVolumeBackup Uses

func (client BlockstorageClient) DeleteBootVolumeBackup(ctx context.Context, request DeleteBootVolumeBackupRequest) (response DeleteBootVolumeBackupResponse, err error)

DeleteBootVolumeBackup Deletes a boot volume backup.

func (BlockstorageClient) DeleteBootVolumeKmsKey Uses

func (client BlockstorageClient) DeleteBootVolumeKmsKey(ctx context.Context, request DeleteBootVolumeKmsKeyRequest) (response DeleteBootVolumeKmsKeyResponse, err error)

DeleteBootVolumeKmsKey Removes the KMS key for the specified boot volume.

func (BlockstorageClient) DeleteVolume Uses

func (client BlockstorageClient) DeleteVolume(ctx context.Context, request DeleteVolumeRequest) (response DeleteVolumeResponse, err error)

DeleteVolume Deletes the specified volume. The volume cannot have an active connection to an instance. To disconnect the volume from a connected instance, see Disconnecting From a Volume (https://docs.cloud.oracle.com/Content/Block/Tasks/disconnectingfromavolume.htm). **Warning:** All data on the volume will be permanently lost when the volume is deleted.

func (BlockstorageClient) DeleteVolumeBackup Uses

func (client BlockstorageClient) DeleteVolumeBackup(ctx context.Context, request DeleteVolumeBackupRequest) (response DeleteVolumeBackupResponse, err error)

DeleteVolumeBackup Deletes a volume backup.

func (BlockstorageClient) DeleteVolumeBackupPolicy Uses

func (client BlockstorageClient) DeleteVolumeBackupPolicy(ctx context.Context, request DeleteVolumeBackupPolicyRequest) (response DeleteVolumeBackupPolicyResponse, err error)

DeleteVolumeBackupPolicy Deletes the specified scheduled backup policy.

func (BlockstorageClient) DeleteVolumeBackupPolicyAssignment Uses

func (client BlockstorageClient) DeleteVolumeBackupPolicyAssignment(ctx context.Context, request DeleteVolumeBackupPolicyAssignmentRequest) (response DeleteVolumeBackupPolicyAssignmentResponse, err error)

DeleteVolumeBackupPolicyAssignment Deletes a volume backup policy assignment (i.e. unassigns the policy from an asset).

func (BlockstorageClient) DeleteVolumeGroup Uses

func (client BlockstorageClient) DeleteVolumeGroup(ctx context.Context, request DeleteVolumeGroupRequest) (response DeleteVolumeGroupResponse, err error)

DeleteVolumeGroup Deletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) DeleteVolumeGroupBackup Uses

func (client BlockstorageClient) DeleteVolumeGroupBackup(ctx context.Context, request DeleteVolumeGroupBackupRequest) (response DeleteVolumeGroupBackupResponse, err error)

DeleteVolumeGroupBackup Deletes a volume group backup. This operation deletes all the backups in the volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) DeleteVolumeKmsKey Uses

func (client BlockstorageClient) DeleteVolumeKmsKey(ctx context.Context, request DeleteVolumeKmsKeyRequest) (response DeleteVolumeKmsKeyResponse, err error)

DeleteVolumeKmsKey Removes the KMS key for the specified volume.

func (BlockstorageClient) GetBootVolume Uses

func (client BlockstorageClient) GetBootVolume(ctx context.Context, request GetBootVolumeRequest) (response GetBootVolumeResponse, err error)

GetBootVolume Gets information for the specified boot volume.

func (BlockstorageClient) GetBootVolumeBackup Uses

func (client BlockstorageClient) GetBootVolumeBackup(ctx context.Context, request GetBootVolumeBackupRequest) (response GetBootVolumeBackupResponse, err error)

GetBootVolumeBackup Gets information for the specified boot volume backup.

func (BlockstorageClient) GetBootVolumeKmsKey Uses

func (client BlockstorageClient) GetBootVolumeKmsKey(ctx context.Context, request GetBootVolumeKmsKeyRequest) (response GetBootVolumeKmsKeyResponse, err error)

GetBootVolumeKmsKey Gets the KMS key ID for the specified boot volume.

func (BlockstorageClient) GetVolume Uses

func (client BlockstorageClient) GetVolume(ctx context.Context, request GetVolumeRequest) (response GetVolumeResponse, err error)

GetVolume Gets information for the specified volume.

func (BlockstorageClient) GetVolumeBackup Uses

func (client BlockstorageClient) GetVolumeBackup(ctx context.Context, request GetVolumeBackupRequest) (response GetVolumeBackupResponse, err error)

GetVolumeBackup Gets information for the specified volume backup.

func (BlockstorageClient) GetVolumeBackupPolicy Uses

func (client BlockstorageClient) GetVolumeBackupPolicy(ctx context.Context, request GetVolumeBackupPolicyRequest) (response GetVolumeBackupPolicyResponse, err error)

GetVolumeBackupPolicy Gets information for the specified volume backup policy.

func (BlockstorageClient) GetVolumeBackupPolicyAssetAssignment Uses

func (client BlockstorageClient) GetVolumeBackupPolicyAssetAssignment(ctx context.Context, request GetVolumeBackupPolicyAssetAssignmentRequest) (response GetVolumeBackupPolicyAssetAssignmentResponse, err error)

GetVolumeBackupPolicyAssetAssignment Gets the volume backup policy assignment for the specified asset. Note that the assetId query parameter is required, and that the returned list will contain at most one item (since any given asset can only have one policy assigned to it).

func (BlockstorageClient) GetVolumeBackupPolicyAssignment Uses

func (client BlockstorageClient) GetVolumeBackupPolicyAssignment(ctx context.Context, request GetVolumeBackupPolicyAssignmentRequest) (response GetVolumeBackupPolicyAssignmentResponse, err error)

GetVolumeBackupPolicyAssignment Gets information for the specified volume backup policy assignment.

func (BlockstorageClient) GetVolumeGroup Uses

func (client BlockstorageClient) GetVolumeGroup(ctx context.Context, request GetVolumeGroupRequest) (response GetVolumeGroupResponse, err error)

GetVolumeGroup Gets information for the specified volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) GetVolumeGroupBackup Uses

func (client BlockstorageClient) GetVolumeGroupBackup(ctx context.Context, request GetVolumeGroupBackupRequest) (response GetVolumeGroupBackupResponse, err error)

GetVolumeGroupBackup Gets information for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) GetVolumeKmsKey Uses

func (client BlockstorageClient) GetVolumeKmsKey(ctx context.Context, request GetVolumeKmsKeyRequest) (response GetVolumeKmsKeyResponse, err error)

GetVolumeKmsKey Gets the KMS key ID for the specified volume.

func (BlockstorageClient) ListBootVolumeBackups Uses

func (client BlockstorageClient) ListBootVolumeBackups(ctx context.Context, request ListBootVolumeBackupsRequest) (response ListBootVolumeBackupsResponse, err error)

ListBootVolumeBackups Lists the boot volume backups in the specified compartment. You can filter the results by boot volume.

func (BlockstorageClient) ListBootVolumes Uses

func (client BlockstorageClient) ListBootVolumes(ctx context.Context, request ListBootVolumesRequest) (response ListBootVolumesResponse, err error)

ListBootVolumes Lists the boot volumes in the specified compartment and availability domain.

func (BlockstorageClient) ListVolumeBackupPolicies Uses

func (client BlockstorageClient) ListVolumeBackupPolicies(ctx context.Context, request ListVolumeBackupPoliciesRequest) (response ListVolumeBackupPoliciesResponse, err error)

ListVolumeBackupPolicies Lists all volume backup policies available to the caller.

func (BlockstorageClient) ListVolumeBackups Uses

func (client BlockstorageClient) ListVolumeBackups(ctx context.Context, request ListVolumeBackupsRequest) (response ListVolumeBackupsResponse, err error)

ListVolumeBackups Lists the volume backups in the specified compartment. You can filter the results by volume.

func (BlockstorageClient) ListVolumeGroupBackups Uses

func (client BlockstorageClient) ListVolumeGroupBackups(ctx context.Context, request ListVolumeGroupBackupsRequest) (response ListVolumeGroupBackupsResponse, err error)

ListVolumeGroupBackups Lists the volume group backups in the specified compartment. You can filter the results by volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) ListVolumeGroups Uses

func (client BlockstorageClient) ListVolumeGroups(ctx context.Context, request ListVolumeGroupsRequest) (response ListVolumeGroupsResponse, err error)

ListVolumeGroups Lists the volume groups in the specified compartment and availability domain. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) ListVolumes Uses

func (client BlockstorageClient) ListVolumes(ctx context.Context, request ListVolumesRequest) (response ListVolumesResponse, err error)

ListVolumes Lists the volumes in the specified compartment and availability domain.

func (*BlockstorageClient) SetRegion Uses

func (client *BlockstorageClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BlockstorageClient) UpdateBootVolume Uses

func (client BlockstorageClient) UpdateBootVolume(ctx context.Context, request UpdateBootVolumeRequest) (response UpdateBootVolumeResponse, err error)

UpdateBootVolume Updates the specified boot volume's display name, defined tags, and free-form tags.

func (BlockstorageClient) UpdateBootVolumeBackup Uses

func (client BlockstorageClient) UpdateBootVolumeBackup(ctx context.Context, request UpdateBootVolumeBackupRequest) (response UpdateBootVolumeBackupResponse, err error)

UpdateBootVolumeBackup Updates the display name for the specified boot volume backup. Avoid entering confidential information.

func (BlockstorageClient) UpdateBootVolumeKmsKey Uses

func (client BlockstorageClient) UpdateBootVolumeKmsKey(ctx context.Context, request UpdateBootVolumeKmsKeyRequest) (response UpdateBootVolumeKmsKeyResponse, err error)

UpdateBootVolumeKmsKey Updates the KMS key ID for the specified volume.

func (BlockstorageClient) UpdateVolume Uses

func (client BlockstorageClient) UpdateVolume(ctx context.Context, request UpdateVolumeRequest) (response UpdateVolumeResponse, err error)

UpdateVolume Updates the specified volume's display name. Avoid entering confidential information.

func (BlockstorageClient) UpdateVolumeBackup Uses

func (client BlockstorageClient) UpdateVolumeBackup(ctx context.Context, request UpdateVolumeBackupRequest) (response UpdateVolumeBackupResponse, err error)

UpdateVolumeBackup Updates the display name for the specified volume backup. Avoid entering confidential information.

func (BlockstorageClient) UpdateVolumeBackupPolicy Uses

func (client BlockstorageClient) UpdateVolumeBackupPolicy(ctx context.Context, request UpdateVolumeBackupPolicyRequest) (response UpdateVolumeBackupPolicyResponse, err error)

UpdateVolumeBackupPolicy Updates a volume backup policy. Avoid entering confidential information.

func (BlockstorageClient) UpdateVolumeGroup Uses

func (client BlockstorageClient) UpdateVolumeGroup(ctx context.Context, request UpdateVolumeGroupRequest) (response UpdateVolumeGroupResponse, err error)

UpdateVolumeGroup Updates the set of volumes in a volume group along with the display name. Use this operation to add or remove volumes in a volume group. Specify the full list of volume IDs to include in the volume group. If the volume ID is not specified in the call, it will be removed from the volume group. Avoid entering confidential information. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) UpdateVolumeGroupBackup Uses

func (client BlockstorageClient) UpdateVolumeGroupBackup(ctx context.Context, request UpdateVolumeGroupBackupRequest) (response UpdateVolumeGroupBackupResponse, err error)

UpdateVolumeGroupBackup Updates the display name for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).

func (BlockstorageClient) UpdateVolumeKmsKey Uses

func (client BlockstorageClient) UpdateVolumeKmsKey(ctx context.Context, request UpdateVolumeKmsKeyRequest) (response UpdateVolumeKmsKeyResponse, err error)

UpdateVolumeKmsKey Updates the KMS key ID for the specified volume.

type BootVolume Uses

type BootVolume struct {

    // The availability domain of the boot volume.
    // Example: `Uocm:PHX-AD-1`
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // The OCID of the compartment that contains the boot volume.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The boot volume's Oracle ID (OCID).
    Id  *string `mandatory:"true" json:"id"`

    // The current state of a boot volume.
    LifecycleState BootVolumeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The size of the volume in MBs. The value must be a multiple of 1024.
    // This field is deprecated. Please use sizeInGBs.
    SizeInMBs *int64 `mandatory:"true" json:"sizeInMBs"`

    // The date and time the boot volume was created. Format defined by RFC3339.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // The image OCID used to create the boot volume.
    ImageId *string `mandatory:"false" json:"imageId"`

    // Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
    IsHydrated *bool `mandatory:"false" json:"isHydrated"`

    // The size of the boot volume in GBs.
    SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

    // The boot volume source, either an existing boot volume in the same availability domain or a boot volume backup.
    // If null, this means that the boot volume was created from an image.
    SourceDetails BootVolumeSourceDetails `mandatory:"false" json:"sourceDetails"`

    // The OCID of the source volume group.
    VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"`

    // The OCID of the KMS key which is the master encryption key for the boot volume.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

BootVolume A detachable boot volume device that contains the image used to boot a Compute instance. For more information, see Overview of Boot Volumes (https://docs.cloud.oracle.com/Content/Block/Concepts/bootvolumes.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BootVolume) String Uses

func (m BootVolume) String() string

func (*BootVolume) UnmarshalJSON Uses

func (m *BootVolume) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type BootVolumeAttachment Uses

type BootVolumeAttachment struct {

    // The availability domain of an instance.
    // Example: `Uocm:PHX-AD-1`
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // The OCID of the boot volume.
    BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID of the boot volume attachment.
    Id  *string `mandatory:"true" json:"id"`

    // The OCID of the instance the boot volume is attached to.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The current state of the boot volume attachment.
    LifecycleState BootVolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the boot volume was created, in the format defined by RFC3339.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // A user-friendly name. Does not have to be unique, and it cannot be changed.
    // Avoid entering confidential information.
    // Example: `My boot volume`
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Whether in-transit encryption for the boot volume's paravirtualized attachment is enabled or not.
    IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
}

BootVolumeAttachment Represents an attachment between a boot volume and an instance. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BootVolumeAttachment) String Uses

func (m BootVolumeAttachment) String() string

type BootVolumeAttachmentLifecycleStateEnum Uses

type BootVolumeAttachmentLifecycleStateEnum string

BootVolumeAttachmentLifecycleStateEnum Enum with underlying type: string

const (
    BootVolumeAttachmentLifecycleStateAttaching BootVolumeAttachmentLifecycleStateEnum = "ATTACHING"
    BootVolumeAttachmentLifecycleStateAttached  BootVolumeAttachmentLifecycleStateEnum = "ATTACHED"
    BootVolumeAttachmentLifecycleStateDetaching BootVolumeAttachmentLifecycleStateEnum = "DETACHING"
    BootVolumeAttachmentLifecycleStateDetached  BootVolumeAttachmentLifecycleStateEnum = "DETACHED"
)

Set of constants representing the allowable values for BootVolumeAttachmentLifecycleStateEnum

func GetBootVolumeAttachmentLifecycleStateEnumValues Uses

func GetBootVolumeAttachmentLifecycleStateEnumValues() []BootVolumeAttachmentLifecycleStateEnum

GetBootVolumeAttachmentLifecycleStateEnumValues Enumerates the set of values for BootVolumeAttachmentLifecycleStateEnum

type BootVolumeBackup Uses

type BootVolumeBackup struct {

    // The OCID of the compartment that contains the boot volume backup.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name for the boot volume backup. Does not have to be unique and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the boot volume backup.
    Id  *string `mandatory:"true" json:"id"`

    // The current state of a boot volume backup.
    LifecycleState BootVolumeBackupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the boot volume backup was created. This is the time the actual point-in-time image
    // of the volume data was taken. Format defined by RFC3339.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The OCID of the boot volume.
    BootVolumeId *string `mandatory:"false" json:"bootVolumeId"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // The date and time the volume backup will expire and be automatically deleted.
    // Format defined by RFC3339. This parameter will always be present for backups that
    // were created automatically by a scheduled-backup policy. For manually created backups,
    // it will be absent, signifying that there is no expiration time and the backup will
    // last forever until manually deleted.
    ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // The image OCID used to create the boot volume the backup is taken from.
    ImageId *string `mandatory:"false" json:"imageId"`

    // The OCID of the KMS key which is the master encryption key for the boot volume backup.
    // For more information about the Key Management service and encryption keys, see
    // Overview of Key Management (https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm) and
    // Using Keys (https://docs.cloud.oracle.com/Content/KeyManagement/Tasks/usingkeys.htm).
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // The size of the boot volume, in GBs.
    SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

    // Specifies whether the backup was created manually, or via scheduled backup policy.
    SourceType BootVolumeBackupSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

    // The date and time the request to create the boot volume backup was received. Format defined by RFC3339.
    TimeRequestReceived *common.SDKTime `mandatory:"false" json:"timeRequestReceived"`

    // The type of a volume backup.
    Type BootVolumeBackupTypeEnum `mandatory:"false" json:"type,omitempty"`

    // The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space
    // consumed on the boot volume and whether the backup is full or incremental.
    UniqueSizeInGBs *int64 `mandatory:"false" json:"uniqueSizeInGBs"`
}

BootVolumeBackup A point-in-time copy of a boot volume that can then be used to create a new boot volume or recover a boot volume. For more information, see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/Content/Block/Concepts/bootvolumebackups.htm) To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BootVolumeBackup) String Uses

func (m BootVolumeBackup) String() string

type BootVolumeBackupLifecycleStateEnum Uses

type BootVolumeBackupLifecycleStateEnum string

BootVolumeBackupLifecycleStateEnum Enum with underlying type: string

const (
    BootVolumeBackupLifecycleStateCreating        BootVolumeBackupLifecycleStateEnum = "CREATING"
    BootVolumeBackupLifecycleStateAvailable       BootVolumeBackupLifecycleStateEnum = "AVAILABLE"
    BootVolumeBackupLifecycleStateTerminating     BootVolumeBackupLifecycleStateEnum = "TERMINATING"
    BootVolumeBackupLifecycleStateTerminated      BootVolumeBackupLifecycleStateEnum = "TERMINATED"
    BootVolumeBackupLifecycleStateFaulty          BootVolumeBackupLifecycleStateEnum = "FAULTY"
    BootVolumeBackupLifecycleStateRequestReceived BootVolumeBackupLifecycleStateEnum = "REQUEST_RECEIVED"
)

Set of constants representing the allowable values for BootVolumeBackupLifecycleStateEnum

func GetBootVolumeBackupLifecycleStateEnumValues Uses

func GetBootVolumeBackupLifecycleStateEnumValues() []BootVolumeBackupLifecycleStateEnum

GetBootVolumeBackupLifecycleStateEnumValues Enumerates the set of values for BootVolumeBackupLifecycleStateEnum

type BootVolumeBackupSourceTypeEnum Uses

type BootVolumeBackupSourceTypeEnum string

BootVolumeBackupSourceTypeEnum Enum with underlying type: string

const (
    BootVolumeBackupSourceTypeManual    BootVolumeBackupSourceTypeEnum = "MANUAL"
    BootVolumeBackupSourceTypeScheduled BootVolumeBackupSourceTypeEnum = "SCHEDULED"
)

Set of constants representing the allowable values for BootVolumeBackupSourceTypeEnum

func GetBootVolumeBackupSourceTypeEnumValues Uses

func GetBootVolumeBackupSourceTypeEnumValues() []BootVolumeBackupSourceTypeEnum

GetBootVolumeBackupSourceTypeEnumValues Enumerates the set of values for BootVolumeBackupSourceTypeEnum

type BootVolumeBackupTypeEnum Uses

type BootVolumeBackupTypeEnum string

BootVolumeBackupTypeEnum Enum with underlying type: string

const (
    BootVolumeBackupTypeFull        BootVolumeBackupTypeEnum = "FULL"
    BootVolumeBackupTypeIncremental BootVolumeBackupTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for BootVolumeBackupTypeEnum

func GetBootVolumeBackupTypeEnumValues Uses

func GetBootVolumeBackupTypeEnumValues() []BootVolumeBackupTypeEnum

GetBootVolumeBackupTypeEnumValues Enumerates the set of values for BootVolumeBackupTypeEnum

type BootVolumeKmsKey Uses

type BootVolumeKmsKey struct {

    // The OCID of the KMS key associated with this volume. If volume is not using KMS, then the `kmsKeyId` will be a null string.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

BootVolumeKmsKey Kms key id associated with this volume.

func (BootVolumeKmsKey) String Uses

func (m BootVolumeKmsKey) String() string

type BootVolumeLifecycleStateEnum Uses

type BootVolumeLifecycleStateEnum string

BootVolumeLifecycleStateEnum Enum with underlying type: string

const (
    BootVolumeLifecycleStateProvisioning BootVolumeLifecycleStateEnum = "PROVISIONING"
    BootVolumeLifecycleStateRestoring    BootVolumeLifecycleStateEnum = "RESTORING"
    BootVolumeLifecycleStateAvailable    BootVolumeLifecycleStateEnum = "AVAILABLE"
    BootVolumeLifecycleStateTerminating  BootVolumeLifecycleStateEnum = "TERMINATING"
    BootVolumeLifecycleStateTerminated   BootVolumeLifecycleStateEnum = "TERMINATED"
    BootVolumeLifecycleStateFaulty       BootVolumeLifecycleStateEnum = "FAULTY"
)

Set of constants representing the allowable values for BootVolumeLifecycleStateEnum

func GetBootVolumeLifecycleStateEnumValues Uses

func GetBootVolumeLifecycleStateEnumValues() []BootVolumeLifecycleStateEnum

GetBootVolumeLifecycleStateEnumValues Enumerates the set of values for BootVolumeLifecycleStateEnum

type BootVolumeSourceDetails Uses

type BootVolumeSourceDetails interface {
}

BootVolumeSourceDetails The representation of BootVolumeSourceDetails

type BootVolumeSourceFromBootVolumeBackupDetails Uses

type BootVolumeSourceFromBootVolumeBackupDetails struct {

    // The OCID of the boot volume backup.
    Id *string `mandatory:"true" json:"id"`
}

BootVolumeSourceFromBootVolumeBackupDetails Specifies the boot volume backup.

func (BootVolumeSourceFromBootVolumeBackupDetails) MarshalJSON Uses

func (m BootVolumeSourceFromBootVolumeBackupDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (BootVolumeSourceFromBootVolumeBackupDetails) String Uses

func (m BootVolumeSourceFromBootVolumeBackupDetails) String() string

type BootVolumeSourceFromBootVolumeDetails Uses

type BootVolumeSourceFromBootVolumeDetails struct {

    // The OCID of the boot volume.
    Id *string `mandatory:"true" json:"id"`
}

BootVolumeSourceFromBootVolumeDetails Specifies the source boot volume.

func (BootVolumeSourceFromBootVolumeDetails) MarshalJSON Uses

func (m BootVolumeSourceFromBootVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (BootVolumeSourceFromBootVolumeDetails) String Uses

func (m BootVolumeSourceFromBootVolumeDetails) String() string

type BulkAddVirtualCircuitPublicPrefixesDetails Uses

type BulkAddVirtualCircuitPublicPrefixesDetails struct {

    // The public IP prefixes (CIDRs) to add to the public virtual circuit.
    PublicPrefixes []CreateVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"`
}

BulkAddVirtualCircuitPublicPrefixesDetails The representation of BulkAddVirtualCircuitPublicPrefixesDetails

func (BulkAddVirtualCircuitPublicPrefixesDetails) String Uses

func (m BulkAddVirtualCircuitPublicPrefixesDetails) String() string

type BulkAddVirtualCircuitPublicPrefixesRequest Uses

type BulkAddVirtualCircuitPublicPrefixesRequest struct {

    // The OCID of the virtual circuit.
    VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

    // Request with publix prefixes to be added to the virtual circuit
    BulkAddVirtualCircuitPublicPrefixesDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

BulkAddVirtualCircuitPublicPrefixesRequest wrapper for the BulkAddVirtualCircuitPublicPrefixes operation

func (BulkAddVirtualCircuitPublicPrefixesRequest) HTTPRequest Uses

func (request BulkAddVirtualCircuitPublicPrefixesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BulkAddVirtualCircuitPublicPrefixesRequest) RetryPolicy Uses

func (request BulkAddVirtualCircuitPublicPrefixesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BulkAddVirtualCircuitPublicPrefixesRequest) String Uses

func (request BulkAddVirtualCircuitPublicPrefixesRequest) String() string

type BulkAddVirtualCircuitPublicPrefixesResponse Uses

type BulkAddVirtualCircuitPublicPrefixesResponse struct {

    // The underlying http response
    RawResponse *http.Response
}

BulkAddVirtualCircuitPublicPrefixesResponse wrapper for the BulkAddVirtualCircuitPublicPrefixes operation

func (BulkAddVirtualCircuitPublicPrefixesResponse) HTTPResponse Uses

func (response BulkAddVirtualCircuitPublicPrefixesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BulkAddVirtualCircuitPublicPrefixesResponse) String Uses

func (response BulkAddVirtualCircuitPublicPrefixesResponse) String() string

type BulkDeleteVirtualCircuitPublicPrefixesDetails Uses

type BulkDeleteVirtualCircuitPublicPrefixesDetails struct {

    // The public IP prefixes (CIDRs) to remove from the public virtual circuit.
    PublicPrefixes []DeleteVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"`
}

BulkDeleteVirtualCircuitPublicPrefixesDetails The representation of BulkDeleteVirtualCircuitPublicPrefixesDetails

func (BulkDeleteVirtualCircuitPublicPrefixesDetails) String Uses

func (m BulkDeleteVirtualCircuitPublicPrefixesDetails) String() string

type BulkDeleteVirtualCircuitPublicPrefixesRequest Uses

type BulkDeleteVirtualCircuitPublicPrefixesRequest struct {

    // The OCID of the virtual circuit.
    VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

    // Request with publix prefixes to be deleted from the virtual circuit
    BulkDeleteVirtualCircuitPublicPrefixesDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

BulkDeleteVirtualCircuitPublicPrefixesRequest wrapper for the BulkDeleteVirtualCircuitPublicPrefixes operation

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) HTTPRequest Uses

func (request BulkDeleteVirtualCircuitPublicPrefixesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) RetryPolicy Uses

func (request BulkDeleteVirtualCircuitPublicPrefixesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) String Uses

func (request BulkDeleteVirtualCircuitPublicPrefixesRequest) String() string

type BulkDeleteVirtualCircuitPublicPrefixesResponse Uses

type BulkDeleteVirtualCircuitPublicPrefixesResponse struct {

    // The underlying http response
    RawResponse *http.Response
}

BulkDeleteVirtualCircuitPublicPrefixesResponse wrapper for the BulkDeleteVirtualCircuitPublicPrefixes operation

func (BulkDeleteVirtualCircuitPublicPrefixesResponse) HTTPResponse Uses

func (response BulkDeleteVirtualCircuitPublicPrefixesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BulkDeleteVirtualCircuitPublicPrefixesResponse) String Uses

func (response BulkDeleteVirtualCircuitPublicPrefixesResponse) String() string

type CaptureConsoleHistoryDetails Uses

type CaptureConsoleHistoryDetails struct {

    // The OCID of the instance to get the console history from.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CaptureConsoleHistoryDetails The representation of CaptureConsoleHistoryDetails

func (CaptureConsoleHistoryDetails) String Uses

func (m CaptureConsoleHistoryDetails) String() string

type CaptureConsoleHistoryRequest Uses

type CaptureConsoleHistoryRequest struct {

    // Console history details
    CaptureConsoleHistoryDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CaptureConsoleHistoryRequest wrapper for the CaptureConsoleHistory operation

func (CaptureConsoleHistoryRequest) HTTPRequest Uses

func (request CaptureConsoleHistoryRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CaptureConsoleHistoryRequest) RetryPolicy Uses

func (request CaptureConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CaptureConsoleHistoryRequest) String Uses

func (request CaptureConsoleHistoryRequest) String() string

type CaptureConsoleHistoryResponse Uses

type CaptureConsoleHistoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ConsoleHistory instance
    ConsoleHistory `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CaptureConsoleHistoryResponse wrapper for the CaptureConsoleHistory operation

func (CaptureConsoleHistoryResponse) HTTPResponse Uses

func (response CaptureConsoleHistoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CaptureConsoleHistoryResponse) String Uses

func (response CaptureConsoleHistoryResponse) String() string

type ChangeBootVolumeBackupCompartmentDetails Uses

type ChangeBootVolumeBackupCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume backup to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeBootVolumeBackupCompartmentDetails Contains the details for the compartment to move the boot volume backup to.

func (ChangeBootVolumeBackupCompartmentDetails) String Uses

func (m ChangeBootVolumeBackupCompartmentDetails) String() string

type ChangeBootVolumeBackupCompartmentRequest Uses

type ChangeBootVolumeBackupCompartmentRequest struct {

    // The OCID of the boot volume backup.
    BootVolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeBackupId"`

    // Request to change the compartment of given boot volume backup.
    ChangeBootVolumeBackupCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeBootVolumeBackupCompartmentRequest wrapper for the ChangeBootVolumeBackupCompartment operation

func (ChangeBootVolumeBackupCompartmentRequest) HTTPRequest Uses

func (request ChangeBootVolumeBackupCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeBootVolumeBackupCompartmentRequest) RetryPolicy Uses

func (request ChangeBootVolumeBackupCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeBootVolumeBackupCompartmentRequest) String Uses

func (request ChangeBootVolumeBackupCompartmentRequest) String() string

type ChangeBootVolumeBackupCompartmentResponse Uses

type ChangeBootVolumeBackupCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeBootVolumeBackupCompartmentResponse wrapper for the ChangeBootVolumeBackupCompartment operation

func (ChangeBootVolumeBackupCompartmentResponse) HTTPResponse Uses

func (response ChangeBootVolumeBackupCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeBootVolumeBackupCompartmentResponse) String Uses

func (response ChangeBootVolumeBackupCompartmentResponse) String() string

type ChangeBootVolumeCompartmentDetails Uses

type ChangeBootVolumeCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeBootVolumeCompartmentDetails Contains the details for the compartment to move the boot volume to.

func (ChangeBootVolumeCompartmentDetails) String Uses

func (m ChangeBootVolumeCompartmentDetails) String() string

type ChangeBootVolumeCompartmentRequest Uses

type ChangeBootVolumeCompartmentRequest struct {

    // The OCID of the boot volume.
    BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

    // Request to change the compartment of given boot volume.
    ChangeBootVolumeCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeBootVolumeCompartmentRequest wrapper for the ChangeBootVolumeCompartment operation

func (ChangeBootVolumeCompartmentRequest) HTTPRequest Uses

func (request ChangeBootVolumeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeBootVolumeCompartmentRequest) RetryPolicy Uses

func (request ChangeBootVolumeCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeBootVolumeCompartmentRequest) String Uses

func (request ChangeBootVolumeCompartmentRequest) String() string

type ChangeBootVolumeCompartmentResponse Uses

type ChangeBootVolumeCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeBootVolumeCompartmentResponse wrapper for the ChangeBootVolumeCompartment operation

func (ChangeBootVolumeCompartmentResponse) HTTPResponse Uses

func (response ChangeBootVolumeCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeBootVolumeCompartmentResponse) String Uses

func (response ChangeBootVolumeCompartmentResponse) String() string

type ChangeClusterNetworkCompartmentDetails Uses

type ChangeClusterNetworkCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the resource should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeClusterNetworkCompartmentDetails Contains details indicating which compartment the resource should move to

func (ChangeClusterNetworkCompartmentDetails) String Uses

func (m ChangeClusterNetworkCompartmentDetails) String() string

type ChangeClusterNetworkCompartmentRequest Uses

type ChangeClusterNetworkCompartmentRequest struct {

    // The OCID of the cluster network.
    ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"`

    // Request to change the compartment of given cluster network.
    ChangeClusterNetworkCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeClusterNetworkCompartmentRequest wrapper for the ChangeClusterNetworkCompartment operation

func (ChangeClusterNetworkCompartmentRequest) HTTPRequest Uses

func (request ChangeClusterNetworkCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeClusterNetworkCompartmentRequest) RetryPolicy Uses

func (request ChangeClusterNetworkCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeClusterNetworkCompartmentRequest) String Uses

func (request ChangeClusterNetworkCompartmentRequest) String() string

type ChangeClusterNetworkCompartmentResponse Uses

type ChangeClusterNetworkCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeClusterNetworkCompartmentResponse wrapper for the ChangeClusterNetworkCompartment operation

func (ChangeClusterNetworkCompartmentResponse) HTTPResponse Uses

func (response ChangeClusterNetworkCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeClusterNetworkCompartmentResponse) String Uses

func (response ChangeClusterNetworkCompartmentResponse) String() string

type ChangeCpeCompartmentDetails Uses

type ChangeCpeCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
    // CPE object to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCpeCompartmentDetails The configuration details for the move operation.

func (ChangeCpeCompartmentDetails) String Uses

func (m ChangeCpeCompartmentDetails) String() string

type ChangeCpeCompartmentRequest Uses

type ChangeCpeCompartmentRequest struct {

    // The OCID of the CPE.
    CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"`

    // Request to change the compartment of a CPE.
    ChangeCpeCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeCpeCompartmentRequest wrapper for the ChangeCpeCompartment operation

func (ChangeCpeCompartmentRequest) HTTPRequest Uses

func (request ChangeCpeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCpeCompartmentRequest) RetryPolicy Uses

func (request ChangeCpeCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCpeCompartmentRequest) String Uses

func (request ChangeCpeCompartmentRequest) String() string

type ChangeCpeCompartmentResponse Uses

type ChangeCpeCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCpeCompartmentResponse wrapper for the ChangeCpeCompartment operation

func (ChangeCpeCompartmentResponse) HTTPResponse Uses

func (response ChangeCpeCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCpeCompartmentResponse) String Uses

func (response ChangeCpeCompartmentResponse) String() string

type ChangeCrossConnectCompartmentDetails Uses

type ChangeCrossConnectCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
    // cross-connect to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCrossConnectCompartmentDetails The configuration details for the move operation.

func (ChangeCrossConnectCompartmentDetails) String Uses

func (m ChangeCrossConnectCompartmentDetails) String() string

type ChangeCrossConnectCompartmentRequest Uses

type ChangeCrossConnectCompartmentRequest struct {

    // The OCID of the cross-connect.
    CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`

    // Request to change the compartment of a Cross Connect.
    ChangeCrossConnectCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeCrossConnectCompartmentRequest wrapper for the ChangeCrossConnectCompartment operation

func (ChangeCrossConnectCompartmentRequest) HTTPRequest Uses

func (request ChangeCrossConnectCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCrossConnectCompartmentRequest) RetryPolicy Uses

func (request ChangeCrossConnectCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCrossConnectCompartmentRequest) String Uses

func (request ChangeCrossConnectCompartmentRequest) String() string

type ChangeCrossConnectCompartmentResponse Uses

type ChangeCrossConnectCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCrossConnectCompartmentResponse wrapper for the ChangeCrossConnectCompartment operation

func (ChangeCrossConnectCompartmentResponse) HTTPResponse Uses

func (response ChangeCrossConnectCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCrossConnectCompartmentResponse) String Uses

func (response ChangeCrossConnectCompartmentResponse) String() string

type ChangeCrossConnectGroupCompartmentDetails Uses

type ChangeCrossConnectGroupCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
    // cross-connect group to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCrossConnectGroupCompartmentDetails The configuration details for the move operation.

func (ChangeCrossConnectGroupCompartmentDetails) String Uses

func (m ChangeCrossConnectGroupCompartmentDetails) String() string

type ChangeCrossConnectGroupCompartmentRequest Uses

type ChangeCrossConnectGroupCompartmentRequest struct {

    // The OCID of the cross-connect group.
    CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"`

    // Request to change the compartment of a Cross Connect Group.
    ChangeCrossConnectGroupCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeCrossConnectGroupCompartmentRequest wrapper for the ChangeCrossConnectGroupCompartment operation

func (ChangeCrossConnectGroupCompartmentRequest) HTTPRequest Uses

func (request ChangeCrossConnectGroupCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCrossConnectGroupCompartmentRequest) RetryPolicy Uses

func (request ChangeCrossConnectGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCrossConnectGroupCompartmentRequest) String Uses

func (request ChangeCrossConnectGroupCompartmentRequest) String() string

type ChangeCrossConnectGroupCompartmentResponse Uses

type ChangeCrossConnectGroupCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCrossConnectGroupCompartmentResponse wrapper for the ChangeCrossConnectGroupCompartment operation

func (ChangeCrossConnectGroupCompartmentResponse) HTTPResponse Uses

func (response ChangeCrossConnectGroupCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCrossConnectGroupCompartmentResponse) String Uses

func (response ChangeCrossConnectGroupCompartmentResponse) String() string

type ChangeDedicatedVmHostCompartmentDetails Uses

type ChangeDedicatedVmHostCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // to move the dedicated virtual machine host to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDedicatedVmHostCompartmentDetails Specifies the compartment to move the dedicated virtual machine host to.

func (ChangeDedicatedVmHostCompartmentDetails) String Uses

func (m ChangeDedicatedVmHostCompartmentDetails) String() string

type ChangeDedicatedVmHostCompartmentRequest Uses

type ChangeDedicatedVmHostCompartmentRequest struct {

    // The OCID of the dedicated VM host.
    DedicatedVmHostId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVmHostId"`

    // The request to move the dedicated virtual machine host to a different compartment.
    ChangeDedicatedVmHostCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeDedicatedVmHostCompartmentRequest wrapper for the ChangeDedicatedVmHostCompartment operation

func (ChangeDedicatedVmHostCompartmentRequest) HTTPRequest Uses

func (request ChangeDedicatedVmHostCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDedicatedVmHostCompartmentRequest) RetryPolicy Uses

func (request ChangeDedicatedVmHostCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeDedicatedVmHostCompartmentRequest) String Uses

func (request ChangeDedicatedVmHostCompartmentRequest) String() string

type ChangeDedicatedVmHostCompartmentResponse Uses

type ChangeDedicatedVmHostCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest)
    // with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeDedicatedVmHostCompartmentResponse wrapper for the ChangeDedicatedVmHostCompartment operation

func (ChangeDedicatedVmHostCompartmentResponse) HTTPResponse Uses

func (response ChangeDedicatedVmHostCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeDedicatedVmHostCompartmentResponse) String Uses

func (response ChangeDedicatedVmHostCompartmentResponse) String() string

type ChangeDhcpOptionsCompartmentDetails Uses

type ChangeDhcpOptionsCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
    // set of DHCP options to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDhcpOptionsCompartmentDetails The configuration details for the move operation.

func (ChangeDhcpOptionsCompartmentDetails) String Uses

func (m ChangeDhcpOptionsCompartmentDetails) String() string

type ChangeDhcpOptionsCompartmentRequest Uses

type ChangeDhcpOptionsCompartmentRequest struct {

    // The OCID for the set of DHCP options.
    DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"`

    // Request to change the compartment of a set of DHCP Options.
    ChangeDhcpOptionsCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeDhcpOptionsCompartmentRequest wrapper for the ChangeDhcpOptionsCompartment operation

func (ChangeDhcpOptionsCompartmentRequest) HTTPRequest Uses

func (request ChangeDhcpOptionsCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDhcpOptionsCompartmentRequest) RetryPolicy Uses

func (request ChangeDhcpOptionsCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeDhcpOptionsCompartmentRequest)