Documentation ¶
Index ¶
- type CountRequestBuilder
- type CountRequestBuilderGetQueryParameters
- type CountRequestBuilderGetRequestConfiguration
- type SchemaExtensionItemRequestBuilder
- func (m *SchemaExtensionItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *SchemaExtensionItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SchemaExtensionItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *SchemaExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionItemRequestBuilder) WithUrl(rawUrl string) *SchemaExtensionItemRequestBuilder
- type SchemaExtensionItemRequestBuilderDeleteRequestConfiguration
- type SchemaExtensionItemRequestBuilderGetQueryParameters
- type SchemaExtensionItemRequestBuilderGetRequestConfiguration
- type SchemaExtensionItemRequestBuilderPatchRequestConfiguration
- type SchemaExtensionsRequestBuilder
- func (m *SchemaExtensionsRequestBuilder) BySchemaExtensionId(schemaExtensionId string) *SchemaExtensionItemRequestBuilder
- func (m *SchemaExtensionsRequestBuilder) Count() *CountRequestBuilder
- func (m *SchemaExtensionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsRequestBuilder) WithUrl(rawUrl string) *SchemaExtensionsRequestBuilder
- type SchemaExtensionsRequestBuilderGetQueryParameters
- type SchemaExtensionsRequestBuilderGetRequestConfiguration
- type SchemaExtensionsRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountRequestBuilder ¶ added in v0.49.0
type CountRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CountRequestBuilder provides operations to count the resources in the collection.
func NewCountRequestBuilder ¶ added in v0.49.0
func NewCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CountRequestBuilder
NewCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values.
func NewCountRequestBuilderInternal ¶ added in v0.49.0
func NewCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CountRequestBuilder
NewCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values.
func (*CountRequestBuilder) Get ¶ added in v0.49.0
func (m *CountRequestBuilder) Get(ctx context.Context, requestConfiguration *CountRequestBuilderGetRequestConfiguration) (*int32, error)
Get get the number of the resource
func (*CountRequestBuilder) ToGetRequestInformation ¶ added in v0.51.0
func (m *CountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CountRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get the number of the resource
func (*CountRequestBuilder) WithUrl ¶ added in v1.18.0
func (m *CountRequestBuilder) WithUrl(rawUrl string) *CountRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type CountRequestBuilderGetQueryParameters ¶ added in v0.53.0
type CountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` }
CountRequestBuilderGetQueryParameters get the number of the resource
type CountRequestBuilderGetRequestConfiguration ¶ added in v0.49.0
type CountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *CountRequestBuilderGetQueryParameters }
CountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionItemRequestBuilder ¶ added in v0.49.0
type SchemaExtensionItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
SchemaExtensionItemRequestBuilder provides operations to manage the collection of schemaExtension entities.
func NewSchemaExtensionItemRequestBuilder ¶ added in v0.49.0
func NewSchemaExtensionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionItemRequestBuilder
NewSchemaExtensionItemRequestBuilder instantiates a new SchemaExtensionItemRequestBuilder and sets the default values.
func NewSchemaExtensionItemRequestBuilderInternal ¶ added in v0.49.0
func NewSchemaExtensionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionItemRequestBuilder
NewSchemaExtensionItemRequestBuilderInternal instantiates a new SchemaExtensionItemRequestBuilder and sets the default values.
func (*SchemaExtensionItemRequestBuilder) Delete ¶ added in v0.49.0
func (m *SchemaExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchemaExtensionItemRequestBuilderDeleteRequestConfiguration) error
Delete delete the definition of a schema extension. 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. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. This API is available in the following national cloud deployments. Find more info here
func (*SchemaExtensionItemRequestBuilder) Get ¶ added in v0.49.0
func (m *SchemaExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SchemaExtensionItemRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, error)
Get this API is available in the following national cloud deployments. Find more info here
func (*SchemaExtensionItemRequestBuilder) Patch ¶ added in v0.49.0
func (m *SchemaExtensionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionItemRequestBuilderPatchRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, error)
Patch 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. This API is available in the following national cloud deployments. Find more info here
func (*SchemaExtensionItemRequestBuilder) ToDeleteRequestInformation ¶ added in v0.51.0
func (m *SchemaExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete the definition of a schema extension. 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. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. This API is available in the following national cloud deployments.
func (*SchemaExtensionItemRequestBuilder) ToGetRequestInformation ¶ added in v0.51.0
func (m *SchemaExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation this API is available in the following national cloud deployments.
func (*SchemaExtensionItemRequestBuilder) ToPatchRequestInformation ¶ added in v0.51.0
func (m *SchemaExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation 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. This API is available in the following national cloud deployments.
func (*SchemaExtensionItemRequestBuilder) WithUrl ¶ added in v1.18.0
func (m *SchemaExtensionItemRequestBuilder) WithUrl(rawUrl string) *SchemaExtensionItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type SchemaExtensionItemRequestBuilderDeleteRequestConfiguration ¶ added in v0.49.0
type SchemaExtensionItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
SchemaExtensionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionItemRequestBuilderGetQueryParameters ¶ added in v0.49.0
type SchemaExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` }
SchemaExtensionItemRequestBuilderGetQueryParameters this API is available in the following national cloud deployments.
type SchemaExtensionItemRequestBuilderGetRequestConfiguration ¶ added in v0.49.0
type SchemaExtensionItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *SchemaExtensionItemRequestBuilderGetQueryParameters }
SchemaExtensionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionItemRequestBuilderPatchRequestConfiguration ¶ added in v0.49.0
type SchemaExtensionItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
SchemaExtensionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionsRequestBuilder ¶
type SchemaExtensionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
SchemaExtensionsRequestBuilder provides operations to manage the collection of schemaExtension entities.
func NewSchemaExtensionsRequestBuilder ¶
func NewSchemaExtensionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsRequestBuilder
NewSchemaExtensionsRequestBuilder instantiates a new SchemaExtensionsRequestBuilder and sets the default values.
func NewSchemaExtensionsRequestBuilderInternal ¶
func NewSchemaExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsRequestBuilder
NewSchemaExtensionsRequestBuilderInternal instantiates a new SchemaExtensionsRequestBuilder and sets the default values.
func (*SchemaExtensionsRequestBuilder) BySchemaExtensionId ¶ added in v0.63.0
func (m *SchemaExtensionsRequestBuilder) BySchemaExtensionId(schemaExtensionId string) *SchemaExtensionItemRequestBuilder
BySchemaExtensionId provides operations to manage the collection of schemaExtension entities.
func (*SchemaExtensionsRequestBuilder) Count ¶ added in v0.13.0
func (m *SchemaExtensionsRequestBuilder) Count() *CountRequestBuilder
Count provides operations to count the resources in the collection.
func (*SchemaExtensionsRequestBuilder) Get ¶
func (m *SchemaExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SchemaExtensionsRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionCollectionResponseable, error)
Get get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: This API is available in the following national cloud deployments. Find more info here
func (*SchemaExtensionsRequestBuilder) Post ¶
func (m *SchemaExtensionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionsRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, error)
Post 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. This API is available in the following national cloud deployments. Find more info here
func (*SchemaExtensionsRequestBuilder) ToGetRequestInformation ¶ added in v0.51.0
func (m *SchemaExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: This API is available in the following national cloud deployments.
func (*SchemaExtensionsRequestBuilder) ToPostRequestInformation ¶ added in v0.51.0
func (m *SchemaExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation 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. This API is available in the following national cloud deployments.
func (*SchemaExtensionsRequestBuilder) WithUrl ¶ added in v1.18.0
func (m *SchemaExtensionsRequestBuilder) WithUrl(rawUrl string) *SchemaExtensionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type SchemaExtensionsRequestBuilderGetQueryParameters ¶
type SchemaExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // Show only the first n items Top *int32 `uriparametername:"%24top"` }
SchemaExtensionsRequestBuilderGetQueryParameters get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: This API is available in the following national cloud deployments.
type SchemaExtensionsRequestBuilderGetRequestConfiguration ¶ added in v0.22.0
type SchemaExtensionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *SchemaExtensionsRequestBuilderGetQueryParameters }
SchemaExtensionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionsRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type SchemaExtensionsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
SchemaExtensionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.