Documentation ¶
Index ¶
- type CreateSchemaExtensionOperationOptions
- type CreateSchemaExtensionOperationResponse
- type DeleteSchemaExtensionOperationOptions
- type DeleteSchemaExtensionOperationResponse
- type GetSchemaExtensionOperationOptions
- type GetSchemaExtensionOperationResponse
- type GetsCountOperationOptions
- type GetsCountOperationResponse
- type ListSchemaExtensionsCompleteResult
- type ListSchemaExtensionsCustomPager
- type ListSchemaExtensionsOperationOptions
- type ListSchemaExtensionsOperationResponse
- type SchemaExtensionClient
- func (c SchemaExtensionClient) CreateSchemaExtension(ctx context.Context, input beta.SchemaExtension, ...) (result CreateSchemaExtensionOperationResponse, err error)
- func (c SchemaExtensionClient) DeleteSchemaExtension(ctx context.Context, id beta.SchemaExtensionId, ...) (result DeleteSchemaExtensionOperationResponse, err error)
- func (c SchemaExtensionClient) GetSchemaExtension(ctx context.Context, id beta.SchemaExtensionId, ...) (result GetSchemaExtensionOperationResponse, err error)
- func (c SchemaExtensionClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
- func (c SchemaExtensionClient) ListSchemaExtensions(ctx context.Context, options ListSchemaExtensionsOperationOptions) (result ListSchemaExtensionsOperationResponse, err error)
- func (c SchemaExtensionClient) ListSchemaExtensionsComplete(ctx context.Context, options ListSchemaExtensionsOperationOptions) (ListSchemaExtensionsCompleteResult, error)
- func (c SchemaExtensionClient) ListSchemaExtensionsCompleteMatchingPredicate(ctx context.Context, options ListSchemaExtensionsOperationOptions, ...) (result ListSchemaExtensionsCompleteResult, err error)
- func (c SchemaExtensionClient) UpdateSchemaExtension(ctx context.Context, id beta.SchemaExtensionId, input beta.SchemaExtension, ...) (result UpdateSchemaExtensionOperationResponse, err error)
- type SchemaExtensionOperationPredicate
- type UpdateSchemaExtensionOperationOptions
- type UpdateSchemaExtensionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSchemaExtensionOperationOptions ¶
type CreateSchemaExtensionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSchemaExtensionOperationOptions ¶
func DefaultCreateSchemaExtensionOperationOptions() CreateSchemaExtensionOperationOptions
func (CreateSchemaExtensionOperationOptions) ToHeaders ¶
func (o CreateSchemaExtensionOperationOptions) ToHeaders() *client.Headers
func (CreateSchemaExtensionOperationOptions) ToOData ¶
func (o CreateSchemaExtensionOperationOptions) ToOData() *odata.Query
func (CreateSchemaExtensionOperationOptions) ToQuery ¶
func (o CreateSchemaExtensionOperationOptions) ToQuery() *client.QueryParams
type DeleteSchemaExtensionOperationOptions ¶
type DeleteSchemaExtensionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteSchemaExtensionOperationOptions ¶
func DefaultDeleteSchemaExtensionOperationOptions() DeleteSchemaExtensionOperationOptions
func (DeleteSchemaExtensionOperationOptions) ToHeaders ¶
func (o DeleteSchemaExtensionOperationOptions) ToHeaders() *client.Headers
func (DeleteSchemaExtensionOperationOptions) ToOData ¶
func (o DeleteSchemaExtensionOperationOptions) ToOData() *odata.Query
func (DeleteSchemaExtensionOperationOptions) ToQuery ¶
func (o DeleteSchemaExtensionOperationOptions) ToQuery() *client.QueryParams
type GetSchemaExtensionOperationOptions ¶
type GetSchemaExtensionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSchemaExtensionOperationOptions ¶
func DefaultGetSchemaExtensionOperationOptions() GetSchemaExtensionOperationOptions
func (GetSchemaExtensionOperationOptions) ToHeaders ¶
func (o GetSchemaExtensionOperationOptions) ToHeaders() *client.Headers
func (GetSchemaExtensionOperationOptions) ToOData ¶
func (o GetSchemaExtensionOperationOptions) ToOData() *odata.Query
func (GetSchemaExtensionOperationOptions) ToQuery ¶
func (o GetSchemaExtensionOperationOptions) ToQuery() *client.QueryParams
type GetsCountOperationOptions ¶
type GetsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetsCountOperationOptions ¶
func DefaultGetsCountOperationOptions() GetsCountOperationOptions
func (GetsCountOperationOptions) ToHeaders ¶
func (o GetsCountOperationOptions) ToHeaders() *client.Headers
func (GetsCountOperationOptions) ToOData ¶
func (o GetsCountOperationOptions) ToOData() *odata.Query
func (GetsCountOperationOptions) ToQuery ¶
func (o GetsCountOperationOptions) ToQuery() *client.QueryParams
type ListSchemaExtensionsCompleteResult ¶
type ListSchemaExtensionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.SchemaExtension }
type ListSchemaExtensionsCustomPager ¶
func (*ListSchemaExtensionsCustomPager) NextPageLink ¶
func (p *ListSchemaExtensionsCustomPager) NextPageLink() *odata.Link
type ListSchemaExtensionsOperationOptions ¶
type ListSchemaExtensionsOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListSchemaExtensionsOperationOptions ¶
func DefaultListSchemaExtensionsOperationOptions() ListSchemaExtensionsOperationOptions
func (ListSchemaExtensionsOperationOptions) ToHeaders ¶
func (o ListSchemaExtensionsOperationOptions) ToHeaders() *client.Headers
func (ListSchemaExtensionsOperationOptions) ToOData ¶
func (o ListSchemaExtensionsOperationOptions) ToOData() *odata.Query
func (ListSchemaExtensionsOperationOptions) ToQuery ¶
func (o ListSchemaExtensionsOperationOptions) ToQuery() *client.QueryParams
type SchemaExtensionClient ¶
func NewSchemaExtensionClientWithBaseURI ¶
func NewSchemaExtensionClientWithBaseURI(sdkApi sdkEnv.Api) (*SchemaExtensionClient, error)
func (SchemaExtensionClient) CreateSchemaExtension ¶
func (c SchemaExtensionClient) CreateSchemaExtension(ctx context.Context, input beta.SchemaExtension, options CreateSchemaExtensionOperationOptions) (result CreateSchemaExtensionOperationResponse, err error)
CreateSchemaExtension - Create schemaExtension. Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group.
func (SchemaExtensionClient) DeleteSchemaExtension ¶
func (c SchemaExtensionClient) DeleteSchemaExtension(ctx context.Context, id beta.SchemaExtensionId, options DeleteSchemaExtensionOperationOptions) (result DeleteSchemaExtensionOperationResponse, err error)
DeleteSchemaExtension - Delete schemaExtension. Delete the definition of a schema extension. In app-only scenarios, only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. In delegated scenarios, the owner of the owner app can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition before deleting the data associated with the extension in the target resources makes the data inaccessible. To recover the data, you can recreate the schema extension definition with the same configuration, but only if you used the verified domain for the schema extension id.
func (SchemaExtensionClient) GetSchemaExtension ¶
func (c SchemaExtensionClient) GetSchemaExtension(ctx context.Context, id beta.SchemaExtensionId, options GetSchemaExtensionOperationOptions) (result GetSchemaExtensionOperationResponse, err error)
GetSchemaExtension - Get schemaExtension. Get the properties of the specified schemaExtension definition.
func (SchemaExtensionClient) GetsCount ¶
func (c SchemaExtensionClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
GetsCount - Get the number of the resource
func (SchemaExtensionClient) ListSchemaExtensions ¶
func (c SchemaExtensionClient) ListSchemaExtensions(ctx context.Context, options ListSchemaExtensionsOperationOptions) (result ListSchemaExtensionsOperationResponse, err error)
ListSchemaExtensions - List schemaExtensions. Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: + Created by any apps you own in the current tenant. + Owned by other apps that are marked as Available. + Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission.
func (SchemaExtensionClient) ListSchemaExtensionsComplete ¶
func (c SchemaExtensionClient) ListSchemaExtensionsComplete(ctx context.Context, options ListSchemaExtensionsOperationOptions) (ListSchemaExtensionsCompleteResult, error)
ListSchemaExtensionsComplete retrieves all the results into a single object
func (SchemaExtensionClient) ListSchemaExtensionsCompleteMatchingPredicate ¶
func (c SchemaExtensionClient) ListSchemaExtensionsCompleteMatchingPredicate(ctx context.Context, options ListSchemaExtensionsOperationOptions, predicate SchemaExtensionOperationPredicate) (result ListSchemaExtensionsCompleteResult, err error)
ListSchemaExtensionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SchemaExtensionClient) UpdateSchemaExtension ¶
func (c SchemaExtensionClient) UpdateSchemaExtension(ctx context.Context, id beta.SchemaExtensionId, input beta.SchemaExtension, options UpdateSchemaExtensionOperationOptions) (result UpdateSchemaExtensionOperationResponse, err error)
UpdateSchemaExtension - Update schemaExtension. Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body.
type SchemaExtensionOperationPredicate ¶
type SchemaExtensionOperationPredicate struct { }
func (SchemaExtensionOperationPredicate) Matches ¶
func (p SchemaExtensionOperationPredicate) Matches(input beta.SchemaExtension) bool
type UpdateSchemaExtensionOperationOptions ¶
type UpdateSchemaExtensionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateSchemaExtensionOperationOptions ¶
func DefaultUpdateSchemaExtensionOperationOptions() UpdateSchemaExtensionOperationOptions
func (UpdateSchemaExtensionOperationOptions) ToHeaders ¶
func (o UpdateSchemaExtensionOperationOptions) ToHeaders() *client.Headers
func (UpdateSchemaExtensionOperationOptions) ToOData ¶
func (o UpdateSchemaExtensionOperationOptions) ToOData() *odata.Query
func (UpdateSchemaExtensionOperationOptions) ToQuery ¶
func (o UpdateSchemaExtensionOperationOptions) ToQuery() *client.QueryParams