synchronizationtemplateschema

package
v0.20241126.2320 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/applications/stable/synchronizationtemplateschema Documentation

The synchronizationtemplateschema SDK allows for interaction with Microsoft Graph applications (API Version stable).

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/applications/stable/synchronizationtemplateschema"

Client Initialization

client := synchronizationtemplateschema.NewSynchronizationTemplateSchemaClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: SynchronizationTemplateSchemaClient.DeleteSynchronizationTemplateSchema

ctx := context.TODO()
id := synchronizationtemplateschema.NewApplicationIdSynchronizationTemplateID("applicationId", "synchronizationTemplateId")

read, err := client.DeleteSynchronizationTemplateSchema(ctx, id, synchronizationtemplateschema.DefaultDeleteSynchronizationTemplateSchemaOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: SynchronizationTemplateSchemaClient.GetSynchronizationTemplateSchema

ctx := context.TODO()
id := synchronizationtemplateschema.NewApplicationIdSynchronizationTemplateID("applicationId", "synchronizationTemplateId")

read, err := client.GetSynchronizationTemplateSchema(ctx, id, synchronizationtemplateschema.DefaultGetSynchronizationTemplateSchemaOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: SynchronizationTemplateSchemaClient.ParseSynchronizationTemplateSchemaExpression

ctx := context.TODO()
id := synchronizationtemplateschema.NewApplicationIdSynchronizationTemplateID("applicationId", "synchronizationTemplateId")

payload := synchronizationtemplateschema.ParseSynchronizationTemplateSchemaExpressionRequest{
	// ...
}


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

Example Usage: SynchronizationTemplateSchemaClient.UpdateSynchronizationTemplateSchema

ctx := context.TODO()
id := synchronizationtemplateschema.NewApplicationIdSynchronizationTemplateID("applicationId", "synchronizationTemplateId")

payload := synchronizationtemplateschema.SynchronizationSchema{
	// ...
}


read, err := client.UpdateSynchronizationTemplateSchema(ctx, id, payload, synchronizationtemplateschema.DefaultUpdateSynchronizationTemplateSchemaOperationOptions())
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 DeleteSynchronizationTemplateSchemaOperationOptions

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

func DefaultDeleteSynchronizationTemplateSchemaOperationOptions

func DefaultDeleteSynchronizationTemplateSchemaOperationOptions() DeleteSynchronizationTemplateSchemaOperationOptions

func (DeleteSynchronizationTemplateSchemaOperationOptions) ToHeaders

func (DeleteSynchronizationTemplateSchemaOperationOptions) ToOData

func (DeleteSynchronizationTemplateSchemaOperationOptions) ToQuery

type DeleteSynchronizationTemplateSchemaOperationResponse

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

type GetSynchronizationTemplateSchemaOperationOptions

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

func DefaultGetSynchronizationTemplateSchemaOperationOptions

func DefaultGetSynchronizationTemplateSchemaOperationOptions() GetSynchronizationTemplateSchemaOperationOptions

func (GetSynchronizationTemplateSchemaOperationOptions) ToHeaders

func (GetSynchronizationTemplateSchemaOperationOptions) ToOData

func (GetSynchronizationTemplateSchemaOperationOptions) ToQuery

type GetSynchronizationTemplateSchemaOperationResponse

type GetSynchronizationTemplateSchemaOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.SynchronizationSchema
}

type ParseSynchronizationTemplateSchemaExpressionOperationOptions

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

func (ParseSynchronizationTemplateSchemaExpressionOperationOptions) ToHeaders

func (ParseSynchronizationTemplateSchemaExpressionOperationOptions) ToOData

func (ParseSynchronizationTemplateSchemaExpressionOperationOptions) ToQuery

type ParseSynchronizationTemplateSchemaExpressionOperationResponse

type ParseSynchronizationTemplateSchemaExpressionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ParseExpressionResponse
}

type ParseSynchronizationTemplateSchemaExpressionRequest

type ParseSynchronizationTemplateSchemaExpressionRequest struct {
	Expression                nullable.Type[string]         `json:"expression,omitempty"`
	TargetAttributeDefinition *stable.AttributeDefinition   `json:"targetAttributeDefinition,omitempty"`
	TestInputObject           *stable.ExpressionInputObject `json:"testInputObject,omitempty"`
}

type SynchronizationTemplateSchemaClient

type SynchronizationTemplateSchemaClient struct {
	Client *msgraph.Client
}

func NewSynchronizationTemplateSchemaClientWithBaseURI

func NewSynchronizationTemplateSchemaClientWithBaseURI(sdkApi sdkEnv.Api) (*SynchronizationTemplateSchemaClient, error)

func (SynchronizationTemplateSchemaClient) DeleteSynchronizationTemplateSchema

DeleteSynchronizationTemplateSchema - Delete navigation property schema for applications

func (SynchronizationTemplateSchemaClient) GetSynchronizationTemplateSchema

GetSynchronizationTemplateSchema - Get schema from applications. Default synchronization schema for the jobs based on this template.

func (SynchronizationTemplateSchemaClient) ParseSynchronizationTemplateSchemaExpression

ParseSynchronizationTemplateSchemaExpression - Invoke action parseExpression. Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.

func (SynchronizationTemplateSchemaClient) UpdateSynchronizationTemplateSchema

UpdateSynchronizationTemplateSchema - Update the navigation property schema in applications

type UpdateSynchronizationTemplateSchemaOperationOptions

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

func DefaultUpdateSynchronizationTemplateSchemaOperationOptions

func DefaultUpdateSynchronizationTemplateSchemaOperationOptions() UpdateSynchronizationTemplateSchemaOperationOptions

func (UpdateSynchronizationTemplateSchemaOperationOptions) ToHeaders

func (UpdateSynchronizationTemplateSchemaOperationOptions) ToOData

func (UpdateSynchronizationTemplateSchemaOperationOptions) ToQuery

type UpdateSynchronizationTemplateSchemaOperationResponse

type UpdateSynchronizationTemplateSchemaOperationResponse 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