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 ¶
- type CreateInformationProtectionDecryptBufferOperationOptions
- type CreateInformationProtectionDecryptBufferOperationResponse
- type CreateInformationProtectionDecryptBufferRequest
- type CreateInformationProtectionEncryptBufferOperationOptions
- type CreateInformationProtectionEncryptBufferOperationResponse
- type CreateInformationProtectionEncryptBufferRequest
- type CreateInformationProtectionSignDigestOperationOptions
- type CreateInformationProtectionSignDigestOperationResponse
- type CreateInformationProtectionSignDigestRequest
- type CreateInformationProtectionVerifySignatureOperationOptions
- type CreateInformationProtectionVerifySignatureOperationResponse
- type CreateInformationProtectionVerifySignatureRequest
- type DeleteInformationProtectionOperationOptions
- type DeleteInformationProtectionOperationResponse
- type GetInformationProtectionOperationOptions
- type GetInformationProtectionOperationResponse
- type InformationProtectionClient
- func (c InformationProtectionClient) CreateInformationProtectionDecryptBuffer(ctx context.Context, input CreateInformationProtectionDecryptBufferRequest, ...) (result CreateInformationProtectionDecryptBufferOperationResponse, err error)
- func (c InformationProtectionClient) CreateInformationProtectionEncryptBuffer(ctx context.Context, input CreateInformationProtectionEncryptBufferRequest, ...) (result CreateInformationProtectionEncryptBufferOperationResponse, err error)
- func (c InformationProtectionClient) CreateInformationProtectionSignDigest(ctx context.Context, input CreateInformationProtectionSignDigestRequest, ...) (result CreateInformationProtectionSignDigestOperationResponse, err error)
- func (c InformationProtectionClient) CreateInformationProtectionVerifySignature(ctx context.Context, input CreateInformationProtectionVerifySignatureRequest, ...) (result CreateInformationProtectionVerifySignatureOperationResponse, err error)
- func (c InformationProtectionClient) DeleteInformationProtection(ctx context.Context, options DeleteInformationProtectionOperationOptions) (result DeleteInformationProtectionOperationResponse, err error)
- func (c InformationProtectionClient) GetInformationProtection(ctx context.Context, options GetInformationProtectionOperationOptions) (result GetInformationProtectionOperationResponse, err error)
- func (c InformationProtectionClient) UpdateInformationProtection(ctx context.Context, input beta.InformationProtection, ...) (result UpdateInformationProtectionOperationResponse, err error)
- type UpdateInformationProtectionOperationOptions
- type UpdateInformationProtectionOperationResponse
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 DefaultCreateInformationProtectionDecryptBufferOperationOptions ¶
func DefaultCreateInformationProtectionDecryptBufferOperationOptions() CreateInformationProtectionDecryptBufferOperationOptions
func (CreateInformationProtectionDecryptBufferOperationOptions) ToHeaders ¶
func (o CreateInformationProtectionDecryptBufferOperationOptions) ToHeaders() *client.Headers
func (CreateInformationProtectionDecryptBufferOperationOptions) ToOData ¶
func (o CreateInformationProtectionDecryptBufferOperationOptions) ToOData() *odata.Query
func (CreateInformationProtectionDecryptBufferOperationOptions) ToQuery ¶
func (o CreateInformationProtectionDecryptBufferOperationOptions) ToQuery() *client.QueryParams
type CreateInformationProtectionEncryptBufferOperationOptions ¶
type CreateInformationProtectionEncryptBufferOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateInformationProtectionEncryptBufferOperationOptions ¶
func DefaultCreateInformationProtectionEncryptBufferOperationOptions() CreateInformationProtectionEncryptBufferOperationOptions
func (CreateInformationProtectionEncryptBufferOperationOptions) ToHeaders ¶
func (o CreateInformationProtectionEncryptBufferOperationOptions) ToHeaders() *client.Headers
func (CreateInformationProtectionEncryptBufferOperationOptions) ToOData ¶
func (o CreateInformationProtectionEncryptBufferOperationOptions) ToOData() *odata.Query
func (CreateInformationProtectionEncryptBufferOperationOptions) ToQuery ¶
func (o CreateInformationProtectionEncryptBufferOperationOptions) ToQuery() *client.QueryParams
type CreateInformationProtectionSignDigestOperationOptions ¶
type CreateInformationProtectionSignDigestOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateInformationProtectionSignDigestOperationOptions ¶
func DefaultCreateInformationProtectionSignDigestOperationOptions() CreateInformationProtectionSignDigestOperationOptions
func (CreateInformationProtectionSignDigestOperationOptions) ToHeaders ¶
func (o CreateInformationProtectionSignDigestOperationOptions) ToHeaders() *client.Headers
func (CreateInformationProtectionSignDigestOperationOptions) ToOData ¶
func (o CreateInformationProtectionSignDigestOperationOptions) ToOData() *odata.Query
func (CreateInformationProtectionSignDigestOperationOptions) ToQuery ¶
func (o CreateInformationProtectionSignDigestOperationOptions) ToQuery() *client.QueryParams
type CreateInformationProtectionSignDigestRequest ¶
type CreateInformationProtectionSignDigestRequest struct {
Digest *string `json:"digest,omitempty"`
}
type CreateInformationProtectionVerifySignatureOperationOptions ¶
type CreateInformationProtectionVerifySignatureOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateInformationProtectionVerifySignatureOperationOptions ¶
func DefaultCreateInformationProtectionVerifySignatureOperationOptions() CreateInformationProtectionVerifySignatureOperationOptions
func (CreateInformationProtectionVerifySignatureOperationOptions) ToHeaders ¶
func (o CreateInformationProtectionVerifySignatureOperationOptions) ToHeaders() *client.Headers
func (CreateInformationProtectionVerifySignatureOperationOptions) ToOData ¶
func (o CreateInformationProtectionVerifySignatureOperationOptions) ToOData() *odata.Query
func (CreateInformationProtectionVerifySignatureOperationOptions) ToQuery ¶
func (o CreateInformationProtectionVerifySignatureOperationOptions) ToQuery() *client.QueryParams
type DeleteInformationProtectionOperationOptions ¶
type DeleteInformationProtectionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteInformationProtectionOperationOptions ¶
func DefaultDeleteInformationProtectionOperationOptions() DeleteInformationProtectionOperationOptions
func (DeleteInformationProtectionOperationOptions) ToHeaders ¶
func (o DeleteInformationProtectionOperationOptions) ToHeaders() *client.Headers
func (DeleteInformationProtectionOperationOptions) ToOData ¶
func (o DeleteInformationProtectionOperationOptions) ToOData() *odata.Query
func (DeleteInformationProtectionOperationOptions) ToQuery ¶
func (o DeleteInformationProtectionOperationOptions) ToQuery() *client.QueryParams
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 (o GetInformationProtectionOperationOptions) ToHeaders() *client.Headers
func (GetInformationProtectionOperationOptions) ToOData ¶
func (o GetInformationProtectionOperationOptions) ToOData() *odata.Query
func (GetInformationProtectionOperationOptions) ToQuery ¶
func (o GetInformationProtectionOperationOptions) ToQuery() *client.QueryParams
type InformationProtectionClient ¶
func NewInformationProtectionClientWithBaseURI ¶
func NewInformationProtectionClientWithBaseURI(sdkApi sdkEnv.Api) (*InformationProtectionClient, error)
func (InformationProtectionClient) CreateInformationProtectionDecryptBuffer ¶
func (c InformationProtectionClient) CreateInformationProtectionDecryptBuffer(ctx context.Context, input CreateInformationProtectionDecryptBufferRequest, options CreateInformationProtectionDecryptBufferOperationOptions) (result CreateInformationProtectionDecryptBufferOperationResponse, err error)
CreateInformationProtectionDecryptBuffer - Invoke action decryptBuffer
func (InformationProtectionClient) CreateInformationProtectionEncryptBuffer ¶
func (c InformationProtectionClient) CreateInformationProtectionEncryptBuffer(ctx context.Context, input CreateInformationProtectionEncryptBufferRequest, options CreateInformationProtectionEncryptBufferOperationOptions) (result CreateInformationProtectionEncryptBufferOperationResponse, err error)
CreateInformationProtectionEncryptBuffer - Invoke action encryptBuffer
func (InformationProtectionClient) CreateInformationProtectionSignDigest ¶
func (c InformationProtectionClient) CreateInformationProtectionSignDigest(ctx context.Context, input CreateInformationProtectionSignDigestRequest, options CreateInformationProtectionSignDigestOperationOptions) (result CreateInformationProtectionSignDigestOperationResponse, err error)
CreateInformationProtectionSignDigest - Invoke action signDigest
func (InformationProtectionClient) CreateInformationProtectionVerifySignature ¶
func (c InformationProtectionClient) CreateInformationProtectionVerifySignature(ctx context.Context, input CreateInformationProtectionVerifySignatureRequest, options CreateInformationProtectionVerifySignatureOperationOptions) (result CreateInformationProtectionVerifySignatureOperationResponse, err error)
CreateInformationProtectionVerifySignature - Invoke action verifySignature
func (InformationProtectionClient) DeleteInformationProtection ¶
func (c InformationProtectionClient) DeleteInformationProtection(ctx context.Context, options DeleteInformationProtectionOperationOptions) (result DeleteInformationProtectionOperationResponse, err error)
DeleteInformationProtection - Delete navigation property informationProtection for me
func (InformationProtectionClient) GetInformationProtection ¶
func (c InformationProtectionClient) GetInformationProtection(ctx context.Context, options GetInformationProtectionOperationOptions) (result GetInformationProtectionOperationResponse, err error)
GetInformationProtection - Get informationProtection from me
func (InformationProtectionClient) UpdateInformationProtection ¶
func (c InformationProtectionClient) UpdateInformationProtection(ctx context.Context, input beta.InformationProtection, options UpdateInformationProtectionOperationOptions) (result UpdateInformationProtectionOperationResponse, err error)
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 (o UpdateInformationProtectionOperationOptions) ToHeaders() *client.Headers
func (UpdateInformationProtectionOperationOptions) ToOData ¶
func (o UpdateInformationProtectionOperationOptions) ToOData() *odata.Query
func (UpdateInformationProtectionOperationOptions) ToQuery ¶
func (o UpdateInformationProtectionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createinformationprotectiondecryptbuffer.go
- method_createinformationprotectionencryptbuffer.go
- method_createinformationprotectionsigndigest.go
- method_createinformationprotectionverifysignature.go
- method_deleteinformationprotection.go
- method_getinformationprotection.go
- method_updateinformationprotection.go
- model_createinformationprotectiondecryptbufferrequest.go
- model_createinformationprotectionencryptbufferrequest.go
- model_createinformationprotectionsigndigestrequest.go
- model_createinformationprotectionverifysignaturerequest.go
- version.go