synchronizationjobschema

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/synchronizationjobschema Documentation

The synchronizationjobschema 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/synchronizationjobschema"

Client Initialization

client := synchronizationjobschema.NewSynchronizationJobSchemaClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: SynchronizationJobSchemaClient.DeleteSynchronizationJobSchema

ctx := context.TODO()
id := synchronizationjobschema.NewApplicationIdSynchronizationJobID("applicationId", "synchronizationJobId")

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

Example Usage: SynchronizationJobSchemaClient.GetSynchronizationJobSchema

ctx := context.TODO()
id := synchronizationjobschema.NewApplicationIdSynchronizationJobID("applicationId", "synchronizationJobId")

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

Example Usage: SynchronizationJobSchemaClient.ParseSynchronizationJobSchemaExpression

ctx := context.TODO()
id := synchronizationjobschema.NewApplicationIdSynchronizationJobID("applicationId", "synchronizationJobId")

payload := synchronizationjobschema.ParseSynchronizationJobSchemaExpressionRequest{
	// ...
}


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

Example Usage: SynchronizationJobSchemaClient.UpdateSynchronizationJobSchema

ctx := context.TODO()
id := synchronizationjobschema.NewApplicationIdSynchronizationJobID("applicationId", "synchronizationJobId")

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


read, err := client.UpdateSynchronizationJobSchema(ctx, id, payload, synchronizationjobschema.DefaultUpdateSynchronizationJobSchemaOperationOptions())
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 DeleteSynchronizationJobSchemaOperationOptions

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

func DefaultDeleteSynchronizationJobSchemaOperationOptions

func DefaultDeleteSynchronizationJobSchemaOperationOptions() DeleteSynchronizationJobSchemaOperationOptions

func (DeleteSynchronizationJobSchemaOperationOptions) ToHeaders

func (DeleteSynchronizationJobSchemaOperationOptions) ToOData

func (DeleteSynchronizationJobSchemaOperationOptions) ToQuery

type DeleteSynchronizationJobSchemaOperationResponse

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

type GetSynchronizationJobSchemaOperationOptions

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

func DefaultGetSynchronizationJobSchemaOperationOptions

func DefaultGetSynchronizationJobSchemaOperationOptions() GetSynchronizationJobSchemaOperationOptions

func (GetSynchronizationJobSchemaOperationOptions) ToHeaders

func (GetSynchronizationJobSchemaOperationOptions) ToOData

func (GetSynchronizationJobSchemaOperationOptions) ToQuery

type GetSynchronizationJobSchemaOperationResponse

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

type ParseSynchronizationJobSchemaExpressionOperationOptions

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

func (ParseSynchronizationJobSchemaExpressionOperationOptions) ToHeaders

func (ParseSynchronizationJobSchemaExpressionOperationOptions) ToOData

func (ParseSynchronizationJobSchemaExpressionOperationOptions) ToQuery

type ParseSynchronizationJobSchemaExpressionOperationResponse

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

type ParseSynchronizationJobSchemaExpressionRequest

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

type SynchronizationJobSchemaClient

type SynchronizationJobSchemaClient struct {
	Client *msgraph.Client
}

func NewSynchronizationJobSchemaClientWithBaseURI

func NewSynchronizationJobSchemaClientWithBaseURI(sdkApi sdkEnv.Api) (*SynchronizationJobSchemaClient, error)

func (SynchronizationJobSchemaClient) DeleteSynchronizationJobSchema

DeleteSynchronizationJobSchema - Delete navigation property schema for applications

func (SynchronizationJobSchemaClient) GetSynchronizationJobSchema

GetSynchronizationJobSchema - Get schema from applications. The synchronization schema configured for the job.

func (SynchronizationJobSchemaClient) ParseSynchronizationJobSchemaExpression

ParseSynchronizationJobSchemaExpression - 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 (SynchronizationJobSchemaClient) UpdateSynchronizationJobSchema

UpdateSynchronizationJobSchema - Update the navigation property schema in applications

type UpdateSynchronizationJobSchemaOperationOptions

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

func DefaultUpdateSynchronizationJobSchemaOperationOptions

func DefaultUpdateSynchronizationJobSchemaOperationOptions() UpdateSynchronizationJobSchemaOperationOptions

func (UpdateSynchronizationJobSchemaOperationOptions) ToHeaders

func (UpdateSynchronizationJobSchemaOperationOptions) ToOData

func (UpdateSynchronizationJobSchemaOperationOptions) ToQuery

type UpdateSynchronizationJobSchemaOperationResponse

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