informationprotection

package
v0.20241025.1143247 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/informationprotection Documentation

The informationprotection SDK allows for interaction with Microsoft Graph me (API Version beta).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/informationprotection"

Client Initialization

client := informationprotection.NewInformationProtectionClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: InformationProtectionClient.CreateInformationProtectionDecryptBuffer

ctx := context.TODO()

payload := informationprotection.CreateInformationProtectionDecryptBufferRequest{
	// ...
}


read, err := client.CreateInformationProtectionDecryptBuffer(ctx, payload, informationprotection.DefaultCreateInformationProtectionDecryptBufferOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InformationProtectionClient.CreateInformationProtectionEncryptBuffer

ctx := context.TODO()

payload := informationprotection.CreateInformationProtectionEncryptBufferRequest{
	// ...
}


read, err := client.CreateInformationProtectionEncryptBuffer(ctx, payload, informationprotection.DefaultCreateInformationProtectionEncryptBufferOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InformationProtectionClient.CreateInformationProtectionSignDigest

ctx := context.TODO()

payload := informationprotection.CreateInformationProtectionSignDigestRequest{
	// ...
}


read, err := client.CreateInformationProtectionSignDigest(ctx, payload, informationprotection.DefaultCreateInformationProtectionSignDigestOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InformationProtectionClient.CreateInformationProtectionVerifySignature

ctx := context.TODO()

payload := informationprotection.CreateInformationProtectionVerifySignatureRequest{
	// ...
}


read, err := client.CreateInformationProtectionVerifySignature(ctx, payload, informationprotection.DefaultCreateInformationProtectionVerifySignatureOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InformationProtectionClient.DeleteInformationProtection

ctx := context.TODO()


read, err := client.DeleteInformationProtection(ctx, informationprotection.DefaultDeleteInformationProtectionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InformationProtectionClient.GetInformationProtection

ctx := context.TODO()


read, err := client.GetInformationProtection(ctx, informationprotection.DefaultGetInformationProtectionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InformationProtectionClient.UpdateInformationProtection

ctx := context.TODO()

payload := informationprotection.InformationProtection{
	// ...
}


read, err := client.UpdateInformationProtection(ctx, payload, informationprotection.DefaultUpdateInformationProtectionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateInformationProtectionDecryptBufferOperationOptions

type CreateInformationProtectionDecryptBufferOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateInformationProtectionDecryptBufferOperationOptions) ToHeaders

func (CreateInformationProtectionDecryptBufferOperationOptions) ToOData

func (CreateInformationProtectionDecryptBufferOperationOptions) ToQuery

type CreateInformationProtectionDecryptBufferOperationResponse

type CreateInformationProtectionDecryptBufferOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.BufferDecryptionResult
}

type CreateInformationProtectionDecryptBufferRequest

type CreateInformationProtectionDecryptBufferRequest struct {
	EncryptedBuffer   *string `json:"encryptedBuffer,omitempty"`
	PublishingLicense *string `json:"publishingLicense,omitempty"`
}

type CreateInformationProtectionEncryptBufferOperationOptions

type CreateInformationProtectionEncryptBufferOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateInformationProtectionEncryptBufferOperationOptions) ToHeaders

func (CreateInformationProtectionEncryptBufferOperationOptions) ToOData

func (CreateInformationProtectionEncryptBufferOperationOptions) ToQuery

type CreateInformationProtectionEncryptBufferOperationResponse

type CreateInformationProtectionEncryptBufferOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.BufferEncryptionResult
}

type CreateInformationProtectionEncryptBufferRequest

type CreateInformationProtectionEncryptBufferRequest struct {
	Buffer  *string `json:"buffer,omitempty"`
	LabelId *string `json:"labelId,omitempty"`
}

type CreateInformationProtectionSignDigestOperationOptions

type CreateInformationProtectionSignDigestOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateInformationProtectionSignDigestOperationOptions

func DefaultCreateInformationProtectionSignDigestOperationOptions() CreateInformationProtectionSignDigestOperationOptions

func (CreateInformationProtectionSignDigestOperationOptions) ToHeaders

func (CreateInformationProtectionSignDigestOperationOptions) ToOData

func (CreateInformationProtectionSignDigestOperationOptions) ToQuery

type CreateInformationProtectionSignDigestOperationResponse

type CreateInformationProtectionSignDigestOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.SigningResult
}

type CreateInformationProtectionSignDigestRequest

type CreateInformationProtectionSignDigestRequest struct {
	Digest *string `json:"digest,omitempty"`
}

type CreateInformationProtectionVerifySignatureOperationOptions

type CreateInformationProtectionVerifySignatureOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateInformationProtectionVerifySignatureOperationOptions) ToHeaders

func (CreateInformationProtectionVerifySignatureOperationOptions) ToOData

func (CreateInformationProtectionVerifySignatureOperationOptions) ToQuery

type CreateInformationProtectionVerifySignatureOperationResponse

type CreateInformationProtectionVerifySignatureOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.VerificationResult
}

type CreateInformationProtectionVerifySignatureRequest

type CreateInformationProtectionVerifySignatureRequest struct {
	Digest       *string `json:"digest,omitempty"`
	Signature    *string `json:"signature,omitempty"`
	SigningKeyId *string `json:"signingKeyId,omitempty"`
}

type DeleteInformationProtectionOperationOptions

type DeleteInformationProtectionOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteInformationProtectionOperationOptions

func DefaultDeleteInformationProtectionOperationOptions() DeleteInformationProtectionOperationOptions

func (DeleteInformationProtectionOperationOptions) ToHeaders

func (DeleteInformationProtectionOperationOptions) ToOData

func (DeleteInformationProtectionOperationOptions) ToQuery

type DeleteInformationProtectionOperationResponse

type DeleteInformationProtectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetInformationProtectionOperationOptions

type GetInformationProtectionOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetInformationProtectionOperationOptions

func DefaultGetInformationProtectionOperationOptions() GetInformationProtectionOperationOptions

func (GetInformationProtectionOperationOptions) ToHeaders

func (GetInformationProtectionOperationOptions) ToOData

func (GetInformationProtectionOperationOptions) ToQuery

type GetInformationProtectionOperationResponse

type GetInformationProtectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.InformationProtection
}

type InformationProtectionClient

type InformationProtectionClient struct {
	Client *msgraph.Client
}

func NewInformationProtectionClientWithBaseURI

func NewInformationProtectionClientWithBaseURI(sdkApi sdkEnv.Api) (*InformationProtectionClient, error)

func (InformationProtectionClient) CreateInformationProtectionDecryptBuffer

CreateInformationProtectionDecryptBuffer - Invoke action decryptBuffer

func (InformationProtectionClient) CreateInformationProtectionEncryptBuffer

CreateInformationProtectionEncryptBuffer - Invoke action encryptBuffer

func (InformationProtectionClient) CreateInformationProtectionSignDigest

CreateInformationProtectionSignDigest - Invoke action signDigest

func (InformationProtectionClient) CreateInformationProtectionVerifySignature

CreateInformationProtectionVerifySignature - Invoke action verifySignature

func (InformationProtectionClient) DeleteInformationProtection

DeleteInformationProtection - Delete navigation property informationProtection for me

func (InformationProtectionClient) GetInformationProtection

GetInformationProtection - Get informationProtection from me

func (InformationProtectionClient) UpdateInformationProtection

UpdateInformationProtection - Update the navigation property informationProtection in me

type UpdateInformationProtectionOperationOptions

type UpdateInformationProtectionOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateInformationProtectionOperationOptions

func DefaultUpdateInformationProtectionOperationOptions() UpdateInformationProtectionOperationOptions

func (UpdateInformationProtectionOperationOptions) ToHeaders

func (UpdateInformationProtectionOperationOptions) ToOData

func (UpdateInformationProtectionOperationOptions) ToQuery

type UpdateInformationProtectionOperationResponse

type UpdateInformationProtectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL