Dela via


ServicePrincipalImpl Class

Definition

Implementation for ServicePrincipal and its parent interfaces.

public class ServicePrincipalImpl : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.CreatableUpdatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal,Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalInner,Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl,Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId,Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal, Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IDefinition, Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Graph.RBAC.Fluent.GraphRbacManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>
type ServicePrincipalImpl = class
    inherit CreatableUpdatable<IServicePrincipal, ServicePrincipalInner, ServicePrincipalImpl, IHasId, IUpdate>
    interface IServicePrincipal
    interface IBeta
    interface IActiveDirectoryObject
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasManager<GraphRbacManager>
    interface IHasInner<ServicePrincipalInner>
    interface IUpdatable<IUpdate>
    interface IDefinition
    interface IBlank
    interface IWithApplication
    interface IWithApplicationBeta
    interface IWithCreate
    interface ICreatable<IServicePrincipal>
    interface IWithCredential
    interface IWithCredentialBeta
    interface IWithRoleAssignment
    interface IWithRoleAssignmentBeta
    interface IUpdate
    interface IAppliable<IServicePrincipal>
    interface IWithCredential
    interface IWithCredentialBeta
    interface IWithRoleAssignment
    interface IWithRoleAssignmentBeta
    interface IHasCredential<IWithCreate>
    interface IHasCredential<IUpdate>
Public Class ServicePrincipalImpl
Inherits CreatableUpdatable(Of IServicePrincipal, ServicePrincipalInner, ServicePrincipalImpl, IHasId, IUpdate)
Implements IAppliable(Of IServicePrincipal), IBeta, ICreatable(Of IServicePrincipal), IDefinition, IHasCredential(Of IUpdate), IHasCredential(Of IWithCreate), IHasId, IHasInner(Of ServicePrincipalInner), IHasManager(Of GraphRbacManager), IHasName, IServicePrincipal, IUpdatable(Of IUpdate), IUpdate
Inheritance
Implements

Properties

CreatorTaskGroup (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Inner (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Key (Inherited from Indexable)
Name (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)

Methods

AddCreatableDependency(IResourceCreator<IResourceT>) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
ApplicationId()
Apply() (Inherited from CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
ApplyAsync(CancellationToken, Boolean) (Inherited from CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
CertificateCredentials()
Create() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateAsync(CancellationToken, Boolean) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreatedResource(String) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResource() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResourceAsync(CancellationToken)
DefineCertificateCredential<T>()
DefineCertificateCredential<T>(String)
DefinePasswordCredential<T>(String)
GetInnerAsync(CancellationToken)
Id()
IsInCreateMode()
Manager()
PasswordCredentials()
Refresh() (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken)
RoleAssignments()
ServicePrincipalNames()
SetInner(InnerResourceT) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Update() (Inherited from CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
WithCertificateCredential<T>(CertificateCredentialImpl<T>)
WithExistingApplication(IActiveDirectoryApplication)
WithExistingApplication(String)
WithNewApplication(ICreatable<IActiveDirectoryApplication>)
WithNewApplication(String)
WithNewRole(BuiltInRole, String)
WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)
WithNewRoleInSubscription(BuiltInRole, String)
WithoutCredential(String)
WithoutCredentialByIdentifier(String)
WithoutRole(IRoleAssignment)
WithPasswordCredential<T>(PasswordCredentialImpl<T>)

Explicit Interface Implementations

IHasCredential<IUpdate>.WithCertificateCredential(CertificateCredentialImpl<IUpdate>)

Attach a credential to this model.

IHasCredential<IUpdate>.WithPasswordCredential(PasswordCredentialImpl<IUpdate>)

Attach a credential to this model.

IHasCredential<IWithCreate>.WithCertificateCredential(CertificateCredentialImpl<IWithCreate>)

Attach a credential to this model.

IHasCredential<IWithCreate>.WithPasswordCredential(PasswordCredentialImpl<IWithCreate>)

Attach a credential to this model.

IHasId.Id
IHasManager<GraphRbacManager>.Manager
IResourceCreator<IResourceT>.CreateResource() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IResourceCreator<IResourceT>.CreateResourceAsync(CancellationToken) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IServicePrincipal.ApplicationId

Gets app id.

IServicePrincipal.CertificateCredentials

Gets the mapping of certificate credentials from their names.

IServicePrincipal.PasswordCredentials

Gets the mapping of password credentials from their names.

IServicePrincipal.RoleAssignments

Gets the mapping from scopes to role assignments.

IServicePrincipal.ServicePrincipalNames

Gets the list of names.

IWithApplicationBeta.WithExistingApplication(IActiveDirectoryApplication)

Specifies an existing application to use by the service principal.

IWithApplicationBeta.WithExistingApplication(String)

Specifies an existing application by its app ID.

IWithApplicationBeta.WithNewApplication(ICreatable<IActiveDirectoryApplication>)

Specifies a new application to create and use by the service principal.

IWithApplicationBeta.WithNewApplication(String)

Specifies a new application to create and use by the service principal.

IWithCredentialBeta.DefineCertificateCredential()

Starts the definition of a certificate credential.

IWithCredentialBeta.DefineCertificateCredential()

Starts the definition of a certificate credential.

IWithCredentialBeta.DefineCertificateCredential(String)

Starts the definition of a certificate credential.

IWithCredentialBeta.DefineCertificateCredential(String)

Starts the definition of a certificate credential.

IWithCredentialBeta.DefinePasswordCredential(String)

Starts the definition of a password credential.

IWithCredentialBeta.DefinePasswordCredential(String)

Starts the definition of a password credential.

IWithCredentialBeta.WithoutCredential(String)

Removes a key.

IWithCredentialBeta.WithoutCredentialByIdentifier(String)

Removes a credential.

IWithRoleAssignmentBeta.WithNewRole(BuiltInRole, String)

Assigns a new role to the service principal.

IWithRoleAssignmentBeta.WithNewRole(BuiltInRole, String)

Assigns a new role to the service principal.

IWithRoleAssignmentBeta.WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

Assigns a new role to the service principal.

IWithRoleAssignmentBeta.WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

Assigns a new role to the service principal.

IWithRoleAssignmentBeta.WithNewRoleInSubscription(BuiltInRole, String)

Assigns a new role to the service principal.

IWithRoleAssignmentBeta.WithNewRoleInSubscription(BuiltInRole, String)

Assigns a new role to the service principal.

IWithRoleAssignmentBeta.WithoutRole(IRoleAssignment)

Removes a role from the service principal.

Applies to