Documentation ¶
Index ¶
- type AddKeyOperationOptions
- type AddKeyOperationResponse
- type AddKeyRequest
- type AddPasswordOperationOptions
- type AddPasswordOperationResponse
- type AddPasswordRequest
- type AddTokenSigningCertificateOperationOptions
- type AddTokenSigningCertificateOperationResponse
- type AddTokenSigningCertificateRequest
- type CheckMemberGroupsCompleteResult
- type CheckMemberGroupsCustomPager
- type CheckMemberGroupsOperationOptions
- type CheckMemberGroupsOperationResponse
- type CheckMemberGroupsRequest
- type CheckMemberObjectsCompleteResult
- type CheckMemberObjectsCustomPager
- type CheckMemberObjectsOperationOptions
- type CheckMemberObjectsOperationResponse
- type CheckMemberObjectsRequest
- type CreateServicePrincipalOperationOptions
- type CreateServicePrincipalOperationResponse
- type CreateValidatesPropertyOperationOptions
- type CreateValidatesPropertyOperationResponse
- type CreateValidatesPropertyRequest
- type DeleteServicePrincipalOperationOptions
- type DeleteServicePrincipalOperationResponse
- type DirectoryObjectOperationPredicate
- type ExtensionPropertyOperationPredicate
- type GetMemberGroupsCompleteResult
- type GetMemberGroupsCustomPager
- type GetMemberGroupsOperationOptions
- type GetMemberGroupsOperationResponse
- type GetMemberGroupsRequest
- type GetMemberObjectsCompleteResult
- type GetMemberObjectsCustomPager
- type GetMemberObjectsOperationOptions
- type GetMemberObjectsOperationResponse
- type GetMemberObjectsRequest
- type GetServicePrincipalOperationOptions
- type GetServicePrincipalOperationResponse
- type GetsCountOperationOptions
- type GetsCountOperationResponse
- type ListGetsAvailableExtensionPropertiesCompleteResult
- type ListGetsAvailableExtensionPropertiesCustomPager
- type ListGetsAvailableExtensionPropertiesOperationOptions
- type ListGetsAvailableExtensionPropertiesOperationResponse
- type ListGetsAvailableExtensionPropertiesRequest
- type ListGetsByIdsCompleteResult
- type ListGetsByIdsCustomPager
- type ListGetsByIdsOperationOptions
- type ListGetsByIdsOperationResponse
- type ListGetsByIdsRequest
- type ListServicePrincipalsCompleteResult
- type ListServicePrincipalsCustomPager
- type ListServicePrincipalsOperationOptions
- type ListServicePrincipalsOperationResponse
- type RemoveKeyOperationOptions
- type RemoveKeyOperationResponse
- type RemoveKeyRequest
- type RemovePasswordOperationOptions
- type RemovePasswordOperationResponse
- type RemovePasswordRequest
- type RestoreOperationOptions
- type RestoreOperationResponse
- type ServicePrincipalClient
- func (c ServicePrincipalClient) AddKey(ctx context.Context, id stable.ServicePrincipalId, input AddKeyRequest, ...) (result AddKeyOperationResponse, err error)
- func (c ServicePrincipalClient) AddPassword(ctx context.Context, id stable.ServicePrincipalId, input AddPasswordRequest, ...) (result AddPasswordOperationResponse, err error)
- func (c ServicePrincipalClient) AddTokenSigningCertificate(ctx context.Context, id stable.ServicePrincipalId, ...) (result AddTokenSigningCertificateOperationResponse, err error)
- func (c ServicePrincipalClient) CheckMemberGroups(ctx context.Context, id stable.ServicePrincipalId, ...) (result CheckMemberGroupsOperationResponse, err error)
- func (c ServicePrincipalClient) CheckMemberGroupsComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (result CheckMemberGroupsCompleteResult, err error)
- func (c ServicePrincipalClient) CheckMemberObjects(ctx context.Context, id stable.ServicePrincipalId, ...) (result CheckMemberObjectsOperationResponse, err error)
- func (c ServicePrincipalClient) CheckMemberObjectsComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (result CheckMemberObjectsCompleteResult, err error)
- func (c ServicePrincipalClient) CreateServicePrincipal(ctx context.Context, input stable.ServicePrincipal, ...) (result CreateServicePrincipalOperationResponse, err error)
- func (c ServicePrincipalClient) CreateValidatesProperty(ctx context.Context, input CreateValidatesPropertyRequest, ...) (result CreateValidatesPropertyOperationResponse, err error)
- func (c ServicePrincipalClient) DeleteServicePrincipal(ctx context.Context, id stable.ServicePrincipalId, ...) (result DeleteServicePrincipalOperationResponse, err error)
- func (c ServicePrincipalClient) GetMemberGroups(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetMemberGroupsOperationResponse, err error)
- func (c ServicePrincipalClient) GetMemberGroupsComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetMemberGroupsCompleteResult, err error)
- func (c ServicePrincipalClient) GetMemberObjects(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetMemberObjectsOperationResponse, err error)
- func (c ServicePrincipalClient) GetMemberObjectsComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetMemberObjectsCompleteResult, err error)
- func (c ServicePrincipalClient) GetServicePrincipal(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetServicePrincipalOperationResponse, err error)
- func (c ServicePrincipalClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
- func (c ServicePrincipalClient) ListGetsAvailableExtensionProperties(ctx context.Context, input ListGetsAvailableExtensionPropertiesRequest, ...) (result ListGetsAvailableExtensionPropertiesOperationResponse, err error)
- func (c ServicePrincipalClient) ListGetsAvailableExtensionPropertiesComplete(ctx context.Context, input ListGetsAvailableExtensionPropertiesRequest, ...) (ListGetsAvailableExtensionPropertiesCompleteResult, error)
- func (c ServicePrincipalClient) ListGetsAvailableExtensionPropertiesCompleteMatchingPredicate(ctx context.Context, input ListGetsAvailableExtensionPropertiesRequest, ...) (result ListGetsAvailableExtensionPropertiesCompleteResult, err error)
- func (c ServicePrincipalClient) ListGetsByIds(ctx context.Context, input ListGetsByIdsRequest, ...) (result ListGetsByIdsOperationResponse, err error)
- func (c ServicePrincipalClient) ListGetsByIdsComplete(ctx context.Context, input ListGetsByIdsRequest, ...) (ListGetsByIdsCompleteResult, error)
- func (c ServicePrincipalClient) ListGetsByIdsCompleteMatchingPredicate(ctx context.Context, input ListGetsByIdsRequest, ...) (result ListGetsByIdsCompleteResult, err error)
- func (c ServicePrincipalClient) ListServicePrincipals(ctx context.Context, options ListServicePrincipalsOperationOptions) (result ListServicePrincipalsOperationResponse, err error)
- func (c ServicePrincipalClient) ListServicePrincipalsComplete(ctx context.Context, options ListServicePrincipalsOperationOptions) (ListServicePrincipalsCompleteResult, error)
- func (c ServicePrincipalClient) ListServicePrincipalsCompleteMatchingPredicate(ctx context.Context, options ListServicePrincipalsOperationOptions, ...) (result ListServicePrincipalsCompleteResult, err error)
- func (c ServicePrincipalClient) RemoveKey(ctx context.Context, id stable.ServicePrincipalId, input RemoveKeyRequest, ...) (result RemoveKeyOperationResponse, err error)
- func (c ServicePrincipalClient) RemovePassword(ctx context.Context, id stable.ServicePrincipalId, input RemovePasswordRequest, ...) (result RemovePasswordOperationResponse, err error)
- func (c ServicePrincipalClient) Restore(ctx context.Context, id stable.ServicePrincipalId, ...) (result RestoreOperationResponse, err error)
- func (c ServicePrincipalClient) UpdateServicePrincipal(ctx context.Context, id stable.ServicePrincipalId, ...) (result UpdateServicePrincipalOperationResponse, err error)
- type ServicePrincipalOperationPredicate
- type UpdateServicePrincipalOperationOptions
- type UpdateServicePrincipalOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddKeyOperationOptions ¶
type AddKeyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddKeyOperationOptions ¶
func DefaultAddKeyOperationOptions() AddKeyOperationOptions
func (AddKeyOperationOptions) ToHeaders ¶
func (o AddKeyOperationOptions) ToHeaders() *client.Headers
func (AddKeyOperationOptions) ToOData ¶
func (o AddKeyOperationOptions) ToOData() *odata.Query
func (AddKeyOperationOptions) ToQuery ¶
func (o AddKeyOperationOptions) ToQuery() *client.QueryParams
type AddKeyOperationResponse ¶
type AddKeyRequest ¶
type AddKeyRequest struct { KeyCredential *stable.KeyCredential `json:"keyCredential,omitempty"` PasswordCredential *stable.PasswordCredential `json:"passwordCredential,omitempty"` Proof *string `json:"proof,omitempty"` }
type AddPasswordOperationOptions ¶
type AddPasswordOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddPasswordOperationOptions ¶
func DefaultAddPasswordOperationOptions() AddPasswordOperationOptions
func (AddPasswordOperationOptions) ToHeaders ¶
func (o AddPasswordOperationOptions) ToHeaders() *client.Headers
func (AddPasswordOperationOptions) ToOData ¶
func (o AddPasswordOperationOptions) ToOData() *odata.Query
func (AddPasswordOperationOptions) ToQuery ¶
func (o AddPasswordOperationOptions) ToQuery() *client.QueryParams
type AddPasswordRequest ¶
type AddPasswordRequest struct {
PasswordCredential *stable.PasswordCredential `json:"passwordCredential,omitempty"`
}
type AddTokenSigningCertificateOperationOptions ¶
type AddTokenSigningCertificateOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddTokenSigningCertificateOperationOptions ¶
func DefaultAddTokenSigningCertificateOperationOptions() AddTokenSigningCertificateOperationOptions
func (AddTokenSigningCertificateOperationOptions) ToHeaders ¶
func (o AddTokenSigningCertificateOperationOptions) ToHeaders() *client.Headers
func (AddTokenSigningCertificateOperationOptions) ToOData ¶
func (o AddTokenSigningCertificateOperationOptions) ToOData() *odata.Query
func (AddTokenSigningCertificateOperationOptions) ToQuery ¶
func (o AddTokenSigningCertificateOperationOptions) ToQuery() *client.QueryParams
type CheckMemberGroupsCustomPager ¶
func (*CheckMemberGroupsCustomPager) NextPageLink ¶
func (p *CheckMemberGroupsCustomPager) NextPageLink() *odata.Link
type CheckMemberGroupsOperationOptions ¶
type CheckMemberGroupsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultCheckMemberGroupsOperationOptions ¶
func DefaultCheckMemberGroupsOperationOptions() CheckMemberGroupsOperationOptions
func (CheckMemberGroupsOperationOptions) ToHeaders ¶
func (o CheckMemberGroupsOperationOptions) ToHeaders() *client.Headers
func (CheckMemberGroupsOperationOptions) ToOData ¶
func (o CheckMemberGroupsOperationOptions) ToOData() *odata.Query
func (CheckMemberGroupsOperationOptions) ToQuery ¶
func (o CheckMemberGroupsOperationOptions) ToQuery() *client.QueryParams
type CheckMemberGroupsRequest ¶
type CheckMemberGroupsRequest struct {
GroupIds *[]string `json:"groupIds,omitempty"`
}
type CheckMemberObjectsCustomPager ¶
func (*CheckMemberObjectsCustomPager) NextPageLink ¶
func (p *CheckMemberObjectsCustomPager) NextPageLink() *odata.Link
type CheckMemberObjectsOperationOptions ¶
type CheckMemberObjectsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultCheckMemberObjectsOperationOptions ¶
func DefaultCheckMemberObjectsOperationOptions() CheckMemberObjectsOperationOptions
func (CheckMemberObjectsOperationOptions) ToHeaders ¶
func (o CheckMemberObjectsOperationOptions) ToHeaders() *client.Headers
func (CheckMemberObjectsOperationOptions) ToOData ¶
func (o CheckMemberObjectsOperationOptions) ToOData() *odata.Query
func (CheckMemberObjectsOperationOptions) ToQuery ¶
func (o CheckMemberObjectsOperationOptions) ToQuery() *client.QueryParams
type CheckMemberObjectsRequest ¶
type CheckMemberObjectsRequest struct {
Ids *[]string `json:"ids,omitempty"`
}
type CreateServicePrincipalOperationOptions ¶
type CreateServicePrincipalOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateServicePrincipalOperationOptions ¶
func DefaultCreateServicePrincipalOperationOptions() CreateServicePrincipalOperationOptions
func (CreateServicePrincipalOperationOptions) ToHeaders ¶
func (o CreateServicePrincipalOperationOptions) ToHeaders() *client.Headers
func (CreateServicePrincipalOperationOptions) ToOData ¶
func (o CreateServicePrincipalOperationOptions) ToOData() *odata.Query
func (CreateServicePrincipalOperationOptions) ToQuery ¶
func (o CreateServicePrincipalOperationOptions) ToQuery() *client.QueryParams
type CreateValidatesPropertyOperationOptions ¶
type CreateValidatesPropertyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateValidatesPropertyOperationOptions ¶
func DefaultCreateValidatesPropertyOperationOptions() CreateValidatesPropertyOperationOptions
func (CreateValidatesPropertyOperationOptions) ToHeaders ¶
func (o CreateValidatesPropertyOperationOptions) ToHeaders() *client.Headers
func (CreateValidatesPropertyOperationOptions) ToOData ¶
func (o CreateValidatesPropertyOperationOptions) ToOData() *odata.Query
func (CreateValidatesPropertyOperationOptions) ToQuery ¶
func (o CreateValidatesPropertyOperationOptions) ToQuery() *client.QueryParams
type CreateValidatesPropertyRequest ¶
type CreateValidatesPropertyRequest struct { DisplayName nullable.Type[string] `json:"displayName,omitempty"` EntityType nullable.Type[string] `json:"entityType,omitempty"` MailNickname nullable.Type[string] `json:"mailNickname,omitempty"` OnBehalfOfUserId nullable.Type[string] `json:"onBehalfOfUserId,omitempty"` }
type DeleteServicePrincipalOperationOptions ¶
type DeleteServicePrincipalOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteServicePrincipalOperationOptions ¶
func DefaultDeleteServicePrincipalOperationOptions() DeleteServicePrincipalOperationOptions
func (DeleteServicePrincipalOperationOptions) ToHeaders ¶
func (o DeleteServicePrincipalOperationOptions) ToHeaders() *client.Headers
func (DeleteServicePrincipalOperationOptions) ToOData ¶
func (o DeleteServicePrincipalOperationOptions) ToOData() *odata.Query
func (DeleteServicePrincipalOperationOptions) ToQuery ¶
func (o DeleteServicePrincipalOperationOptions) ToQuery() *client.QueryParams
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input stable.DirectoryObject) bool
type ExtensionPropertyOperationPredicate ¶
type ExtensionPropertyOperationPredicate struct { }
func (ExtensionPropertyOperationPredicate) Matches ¶
func (p ExtensionPropertyOperationPredicate) Matches(input stable.ExtensionProperty) bool
type GetMemberGroupsCustomPager ¶
func (*GetMemberGroupsCustomPager) NextPageLink ¶
func (p *GetMemberGroupsCustomPager) NextPageLink() *odata.Link
type GetMemberGroupsOperationOptions ¶
type GetMemberGroupsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultGetMemberGroupsOperationOptions ¶
func DefaultGetMemberGroupsOperationOptions() GetMemberGroupsOperationOptions
func (GetMemberGroupsOperationOptions) ToHeaders ¶
func (o GetMemberGroupsOperationOptions) ToHeaders() *client.Headers
func (GetMemberGroupsOperationOptions) ToOData ¶
func (o GetMemberGroupsOperationOptions) ToOData() *odata.Query
func (GetMemberGroupsOperationOptions) ToQuery ¶
func (o GetMemberGroupsOperationOptions) ToQuery() *client.QueryParams
type GetMemberGroupsRequest ¶
type GetMemberObjectsCustomPager ¶
func (*GetMemberObjectsCustomPager) NextPageLink ¶
func (p *GetMemberObjectsCustomPager) NextPageLink() *odata.Link
type GetMemberObjectsOperationOptions ¶
type GetMemberObjectsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultGetMemberObjectsOperationOptions ¶
func DefaultGetMemberObjectsOperationOptions() GetMemberObjectsOperationOptions
func (GetMemberObjectsOperationOptions) ToHeaders ¶
func (o GetMemberObjectsOperationOptions) ToHeaders() *client.Headers
func (GetMemberObjectsOperationOptions) ToOData ¶
func (o GetMemberObjectsOperationOptions) ToOData() *odata.Query
func (GetMemberObjectsOperationOptions) ToQuery ¶
func (o GetMemberObjectsOperationOptions) ToQuery() *client.QueryParams
type GetMemberObjectsRequest ¶
type GetServicePrincipalOperationOptions ¶
type GetServicePrincipalOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetServicePrincipalOperationOptions ¶
func DefaultGetServicePrincipalOperationOptions() GetServicePrincipalOperationOptions
func (GetServicePrincipalOperationOptions) ToHeaders ¶
func (o GetServicePrincipalOperationOptions) ToHeaders() *client.Headers
func (GetServicePrincipalOperationOptions) ToOData ¶
func (o GetServicePrincipalOperationOptions) ToOData() *odata.Query
func (GetServicePrincipalOperationOptions) ToQuery ¶
func (o GetServicePrincipalOperationOptions) ToQuery() *client.QueryParams
type GetsCountOperationOptions ¶
type GetsCountOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel 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 ListGetsAvailableExtensionPropertiesCompleteResult ¶
type ListGetsAvailableExtensionPropertiesCompleteResult struct { LatestHttpResponse *http.Response Items []stable.ExtensionProperty }
type ListGetsAvailableExtensionPropertiesCustomPager ¶
type ListGetsAvailableExtensionPropertiesCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListGetsAvailableExtensionPropertiesCustomPager) NextPageLink ¶
func (p *ListGetsAvailableExtensionPropertiesCustomPager) NextPageLink() *odata.Link
type ListGetsAvailableExtensionPropertiesOperationOptions ¶
type ListGetsAvailableExtensionPropertiesOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListGetsAvailableExtensionPropertiesOperationOptions ¶
func DefaultListGetsAvailableExtensionPropertiesOperationOptions() ListGetsAvailableExtensionPropertiesOperationOptions
func (ListGetsAvailableExtensionPropertiesOperationOptions) ToHeaders ¶
func (o ListGetsAvailableExtensionPropertiesOperationOptions) ToHeaders() *client.Headers
func (ListGetsAvailableExtensionPropertiesOperationOptions) ToOData ¶
func (o ListGetsAvailableExtensionPropertiesOperationOptions) ToOData() *odata.Query
func (ListGetsAvailableExtensionPropertiesOperationOptions) ToQuery ¶
func (o ListGetsAvailableExtensionPropertiesOperationOptions) ToQuery() *client.QueryParams
type ListGetsByIdsCompleteResult ¶
type ListGetsByIdsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.DirectoryObject }
type ListGetsByIdsCustomPager ¶
func (*ListGetsByIdsCustomPager) NextPageLink ¶
func (p *ListGetsByIdsCustomPager) NextPageLink() *odata.Link
type ListGetsByIdsOperationOptions ¶
type ListGetsByIdsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListGetsByIdsOperationOptions ¶
func DefaultListGetsByIdsOperationOptions() ListGetsByIdsOperationOptions
func (ListGetsByIdsOperationOptions) ToHeaders ¶
func (o ListGetsByIdsOperationOptions) ToHeaders() *client.Headers
func (ListGetsByIdsOperationOptions) ToOData ¶
func (o ListGetsByIdsOperationOptions) ToOData() *odata.Query
func (ListGetsByIdsOperationOptions) ToQuery ¶
func (o ListGetsByIdsOperationOptions) ToQuery() *client.QueryParams
type ListGetsByIdsRequest ¶
type ListServicePrincipalsCompleteResult ¶
type ListServicePrincipalsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.ServicePrincipal }
type ListServicePrincipalsCustomPager ¶
func (*ListServicePrincipalsCustomPager) NextPageLink ¶
func (p *ListServicePrincipalsCustomPager) NextPageLink() *odata.Link
type ListServicePrincipalsOperationOptions ¶
type ListServicePrincipalsOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel 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 DefaultListServicePrincipalsOperationOptions ¶
func DefaultListServicePrincipalsOperationOptions() ListServicePrincipalsOperationOptions
func (ListServicePrincipalsOperationOptions) ToHeaders ¶
func (o ListServicePrincipalsOperationOptions) ToHeaders() *client.Headers
func (ListServicePrincipalsOperationOptions) ToOData ¶
func (o ListServicePrincipalsOperationOptions) ToOData() *odata.Query
func (ListServicePrincipalsOperationOptions) ToQuery ¶
func (o ListServicePrincipalsOperationOptions) ToQuery() *client.QueryParams
type RemoveKeyOperationOptions ¶
type RemoveKeyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveKeyOperationOptions ¶
func DefaultRemoveKeyOperationOptions() RemoveKeyOperationOptions
func (RemoveKeyOperationOptions) ToHeaders ¶
func (o RemoveKeyOperationOptions) ToHeaders() *client.Headers
func (RemoveKeyOperationOptions) ToOData ¶
func (o RemoveKeyOperationOptions) ToOData() *odata.Query
func (RemoveKeyOperationOptions) ToQuery ¶
func (o RemoveKeyOperationOptions) ToQuery() *client.QueryParams
type RemoveKeyRequest ¶
type RemovePasswordOperationOptions ¶
type RemovePasswordOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemovePasswordOperationOptions ¶
func DefaultRemovePasswordOperationOptions() RemovePasswordOperationOptions
func (RemovePasswordOperationOptions) ToHeaders ¶
func (o RemovePasswordOperationOptions) ToHeaders() *client.Headers
func (RemovePasswordOperationOptions) ToOData ¶
func (o RemovePasswordOperationOptions) ToOData() *odata.Query
func (RemovePasswordOperationOptions) ToQuery ¶
func (o RemovePasswordOperationOptions) ToQuery() *client.QueryParams
type RemovePasswordRequest ¶
type RemovePasswordRequest struct {
KeyId *string `json:"keyId,omitempty"`
}
type RestoreOperationOptions ¶
type RestoreOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRestoreOperationOptions ¶
func DefaultRestoreOperationOptions() RestoreOperationOptions
func (RestoreOperationOptions) ToHeaders ¶
func (o RestoreOperationOptions) ToHeaders() *client.Headers
func (RestoreOperationOptions) ToOData ¶
func (o RestoreOperationOptions) ToOData() *odata.Query
func (RestoreOperationOptions) ToQuery ¶
func (o RestoreOperationOptions) ToQuery() *client.QueryParams
type ServicePrincipalClient ¶
func NewServicePrincipalClientWithBaseURI ¶
func NewServicePrincipalClientWithBaseURI(sdkApi sdkEnv.Api) (*ServicePrincipalClient, error)
func (ServicePrincipalClient) AddKey ¶
func (c ServicePrincipalClient) AddKey(ctx context.Context, id stable.ServicePrincipalId, input AddKeyRequest, options AddKeyOperationOptions) (result AddKeyOperationResponse, err error)
AddKey - Invoke action addKey. Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead.
func (ServicePrincipalClient) AddPassword ¶
func (c ServicePrincipalClient) AddPassword(ctx context.Context, id stable.ServicePrincipalId, input AddPasswordRequest, options AddPasswordOperationOptions) (result AddPasswordOperationResponse, err error)
AddPassword - Invoke action addPassword. Add a strong password or secret to a servicePrincipal object.
func (ServicePrincipalClient) AddTokenSigningCertificate ¶
func (c ServicePrincipalClient) AddTokenSigningCertificate(ctx context.Context, id stable.ServicePrincipalId, input AddTokenSigningCertificateRequest, options AddTokenSigningCertificateOperationOptions) (result AddTokenSigningCertificateOperationResponse, err error)
AddTokenSigningCertificate - Invoke action addTokenSigningCertificate. Create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify. + The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. When set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created.
func (ServicePrincipalClient) CheckMemberGroups ¶
func (c ServicePrincipalClient) CheckMemberGroups(ctx context.Context, id stable.ServicePrincipalId, input CheckMemberGroupsRequest, options CheckMemberGroupsOperationOptions) (result CheckMemberGroupsOperationResponse, err error)
CheckMemberGroups - Invoke action checkMemberGroups. Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
func (ServicePrincipalClient) CheckMemberGroupsComplete ¶
func (c ServicePrincipalClient) CheckMemberGroupsComplete(ctx context.Context, id stable.ServicePrincipalId, input CheckMemberGroupsRequest, options CheckMemberGroupsOperationOptions) (result CheckMemberGroupsCompleteResult, err error)
CheckMemberGroupsComplete retrieves all the results into a single object
func (ServicePrincipalClient) CheckMemberObjects ¶
func (c ServicePrincipalClient) CheckMemberObjects(ctx context.Context, id stable.ServicePrincipalId, input CheckMemberObjectsRequest, options CheckMemberObjectsOperationOptions) (result CheckMemberObjectsOperationResponse, err error)
CheckMemberObjects - Invoke action checkMemberObjects
func (ServicePrincipalClient) CheckMemberObjectsComplete ¶
func (c ServicePrincipalClient) CheckMemberObjectsComplete(ctx context.Context, id stable.ServicePrincipalId, input CheckMemberObjectsRequest, options CheckMemberObjectsOperationOptions) (result CheckMemberObjectsCompleteResult, err error)
CheckMemberObjectsComplete retrieves all the results into a single object
func (ServicePrincipalClient) CreateServicePrincipal ¶
func (c ServicePrincipalClient) CreateServicePrincipal(ctx context.Context, input stable.ServicePrincipal, options CreateServicePrincipalOperationOptions) (result CreateServicePrincipalOperationResponse, err error)
CreateServicePrincipal - Create servicePrincipal. Create a new servicePrincipal object.
func (ServicePrincipalClient) CreateValidatesProperty ¶
func (c ServicePrincipalClient) CreateValidatesProperty(ctx context.Context, input CreateValidatesPropertyRequest, options CreateValidatesPropertyOperationOptions) (result CreateValidatesPropertyOperationResponse, err error)
CreateValidatesProperty - Invoke action validateProperties. Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy 2. Validate the custom banned words policy 3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.
func (ServicePrincipalClient) DeleteServicePrincipal ¶
func (c ServicePrincipalClient) DeleteServicePrincipal(ctx context.Context, id stable.ServicePrincipalId, options DeleteServicePrincipalOperationOptions) (result DeleteServicePrincipalOperationResponse, err error)
DeleteServicePrincipal - Delete servicePrincipal. Delete a servicePrincipal object.
func (ServicePrincipalClient) GetMemberGroups ¶
func (c ServicePrincipalClient) GetMemberGroups(ctx context.Context, id stable.ServicePrincipalId, input GetMemberGroupsRequest, options GetMemberGroupsOperationOptions) (result GetMemberGroupsOperationResponse, err error)
GetMemberGroups - Invoke action getMemberGroups. Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
func (ServicePrincipalClient) GetMemberGroupsComplete ¶
func (c ServicePrincipalClient) GetMemberGroupsComplete(ctx context.Context, id stable.ServicePrincipalId, input GetMemberGroupsRequest, options GetMemberGroupsOperationOptions) (result GetMemberGroupsCompleteResult, err error)
GetMemberGroupsComplete retrieves all the results into a single object
func (ServicePrincipalClient) GetMemberObjects ¶
func (c ServicePrincipalClient) GetMemberObjects(ctx context.Context, id stable.ServicePrincipalId, input GetMemberObjectsRequest, options GetMemberObjectsOperationOptions) (result GetMemberObjectsOperationResponse, err error)
GetMemberObjects - Invoke action getMemberObjects. Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
func (ServicePrincipalClient) GetMemberObjectsComplete ¶
func (c ServicePrincipalClient) GetMemberObjectsComplete(ctx context.Context, id stable.ServicePrincipalId, input GetMemberObjectsRequest, options GetMemberObjectsOperationOptions) (result GetMemberObjectsCompleteResult, err error)
GetMemberObjectsComplete retrieves all the results into a single object
func (ServicePrincipalClient) GetServicePrincipal ¶
func (c ServicePrincipalClient) GetServicePrincipal(ctx context.Context, id stable.ServicePrincipalId, options GetServicePrincipalOperationOptions) (result GetServicePrincipalOperationResponse, err error)
GetServicePrincipal - Get servicePrincipal. Retrieve the properties and relationships of a servicePrincipal object.
func (ServicePrincipalClient) GetsCount ¶
func (c ServicePrincipalClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
GetsCount - Get the number of the resource
func (ServicePrincipalClient) ListGetsAvailableExtensionProperties ¶
func (c ServicePrincipalClient) ListGetsAvailableExtensionProperties(ctx context.Context, input ListGetsAvailableExtensionPropertiesRequest, options ListGetsAvailableExtensionPropertiesOperationOptions) (result ListGetsAvailableExtensionPropertiesOperationResponse, err error)
ListGetsAvailableExtensionProperties - Invoke action getAvailableExtensionProperties. Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties
func (ServicePrincipalClient) ListGetsAvailableExtensionPropertiesComplete ¶
func (c ServicePrincipalClient) ListGetsAvailableExtensionPropertiesComplete(ctx context.Context, input ListGetsAvailableExtensionPropertiesRequest, options ListGetsAvailableExtensionPropertiesOperationOptions) (ListGetsAvailableExtensionPropertiesCompleteResult, error)
ListGetsAvailableExtensionPropertiesComplete retrieves all the results into a single object
func (ServicePrincipalClient) ListGetsAvailableExtensionPropertiesCompleteMatchingPredicate ¶
func (c ServicePrincipalClient) ListGetsAvailableExtensionPropertiesCompleteMatchingPredicate(ctx context.Context, input ListGetsAvailableExtensionPropertiesRequest, options ListGetsAvailableExtensionPropertiesOperationOptions, predicate ExtensionPropertyOperationPredicate) (result ListGetsAvailableExtensionPropertiesCompleteResult, err error)
ListGetsAvailableExtensionPropertiesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServicePrincipalClient) ListGetsByIds ¶
func (c ServicePrincipalClient) ListGetsByIds(ctx context.Context, input ListGetsByIdsRequest, options ListGetsByIdsOperationOptions) (result ListGetsByIdsOperationResponse, err error)
ListGetsByIds - Invoke action getByIds. Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to
func (ServicePrincipalClient) ListGetsByIdsComplete ¶
func (c ServicePrincipalClient) ListGetsByIdsComplete(ctx context.Context, input ListGetsByIdsRequest, options ListGetsByIdsOperationOptions) (ListGetsByIdsCompleteResult, error)
ListGetsByIdsComplete retrieves all the results into a single object
func (ServicePrincipalClient) ListGetsByIdsCompleteMatchingPredicate ¶
func (c ServicePrincipalClient) ListGetsByIdsCompleteMatchingPredicate(ctx context.Context, input ListGetsByIdsRequest, options ListGetsByIdsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListGetsByIdsCompleteResult, err error)
ListGetsByIdsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServicePrincipalClient) ListServicePrincipals ¶
func (c ServicePrincipalClient) ListServicePrincipals(ctx context.Context, options ListServicePrincipalsOperationOptions) (result ListServicePrincipalsOperationResponse, err error)
ListServicePrincipals - List servicePrincipals. Retrieve a list of servicePrincipal objects.
func (ServicePrincipalClient) ListServicePrincipalsComplete ¶
func (c ServicePrincipalClient) ListServicePrincipalsComplete(ctx context.Context, options ListServicePrincipalsOperationOptions) (ListServicePrincipalsCompleteResult, error)
ListServicePrincipalsComplete retrieves all the results into a single object
func (ServicePrincipalClient) ListServicePrincipalsCompleteMatchingPredicate ¶
func (c ServicePrincipalClient) ListServicePrincipalsCompleteMatchingPredicate(ctx context.Context, options ListServicePrincipalsOperationOptions, predicate ServicePrincipalOperationPredicate) (result ListServicePrincipalsCompleteResult, err error)
ListServicePrincipalsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServicePrincipalClient) RemoveKey ¶
func (c ServicePrincipalClient) RemoveKey(ctx context.Context, id stable.ServicePrincipalId, input RemoveKeyRequest, options RemoveKeyOperationOptions) (result RemoveKeyOperationResponse, err error)
RemoveKey - Invoke action removeKey. Remove a key credential from a servicePrincipal. This method along with addKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.
func (ServicePrincipalClient) RemovePassword ¶
func (c ServicePrincipalClient) RemovePassword(ctx context.Context, id stable.ServicePrincipalId, input RemovePasswordRequest, options RemovePasswordOperationOptions) (result RemovePasswordOperationResponse, err error)
RemovePassword - Invoke action removePassword. Remove a password from a servicePrincipal object.
func (ServicePrincipalClient) Restore ¶
func (c ServicePrincipalClient) Restore(ctx context.Context, id stable.ServicePrincipalId, options RestoreOperationOptions) (result RestoreOperationResponse, err error)
Restore - Invoke action restore. Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
func (ServicePrincipalClient) UpdateServicePrincipal ¶
func (c ServicePrincipalClient) UpdateServicePrincipal(ctx context.Context, id stable.ServicePrincipalId, input stable.ServicePrincipal, options UpdateServicePrincipalOperationOptions) (result UpdateServicePrincipalOperationResponse, err error)
UpdateServicePrincipal - Upsert servicePrincipal. Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.
type ServicePrincipalOperationPredicate ¶
type ServicePrincipalOperationPredicate struct { }
func (ServicePrincipalOperationPredicate) Matches ¶
func (p ServicePrincipalOperationPredicate) Matches(input stable.ServicePrincipal) bool
type UpdateServicePrincipalOperationOptions ¶
type UpdateServicePrincipalOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateServicePrincipalOperationOptions ¶
func DefaultUpdateServicePrincipalOperationOptions() UpdateServicePrincipalOperationOptions
func (UpdateServicePrincipalOperationOptions) ToHeaders ¶
func (o UpdateServicePrincipalOperationOptions) ToHeaders() *client.Headers
func (UpdateServicePrincipalOperationOptions) ToOData ¶
func (o UpdateServicePrincipalOperationOptions) ToOData() *odata.Query
func (UpdateServicePrincipalOperationOptions) ToQuery ¶
func (o UpdateServicePrincipalOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_addkey.go
- method_addpassword.go
- method_addtokensigningcertificate.go
- method_checkmembergroups.go
- method_checkmemberobjects.go
- method_createserviceprincipal.go
- method_createvalidatesproperty.go
- method_deleteserviceprincipal.go
- method_getmembergroups.go
- method_getmemberobjects.go
- method_getscount.go
- method_getserviceprincipal.go
- method_listgetsavailableextensionproperties.go
- method_listgetsbyids.go
- method_listserviceprincipals.go
- method_removekey.go
- method_removepassword.go
- method_restore.go
- method_updateserviceprincipal.go
- model_addkeyrequest.go
- model_addpasswordrequest.go
- model_addtokensigningcertificaterequest.go
- model_checkmembergroupsrequest.go
- model_checkmemberobjectsrequest.go
- model_createvalidatespropertyrequest.go
- model_getmembergroupsrequest.go
- model_getmemberobjectsrequest.go
- model_listgetsavailableextensionpropertiesrequest.go
- model_listgetsbyidsrequest.go
- model_removekeyrequest.go
- model_removepasswordrequest.go
- predicates.go
- version.go