Class: Azure::Graph::Profiles::Latest::Mgmt::GraphClass

Inherits:
Object
  • Object
show all
Defined in:
lib/profiles/latest/modules/graph_profile_module.rb

Overview

Graph

Direct Known Subclasses

Client

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ GraphClass

Returns a new instance of GraphClass.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 63

def initialize(options = {})
  if options.is_a?(Hash) && options.length == 0
    @options = setup_options
  else
    @options = options
  end

  reset!(options)

  @configurable, @base_url, @options = self, nil, nil

  client_0 = Azure::Graph::Mgmt::V1_6::GraphRbacManagementClient.new(configurable.credentials, base_url, options)
  if(client_0.respond_to?(:subscription_id))
    client_0.subscription_id = configurable.subscription_id
  end
  @objects = client_0.objects
  @applications = client_0.applications
  @groups = client_0.groups
  @service_principals = client_0.service_principals
  @users = client_0.users
  @domains = client_0.domains

  @model_classes = ModelClasses.new
end

Instance Attribute Details

#applicationsObject (readonly)

Returns the value of attribute applications.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def applications
  @applications
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def configurable
  @configurable
end

#domainsObject (readonly)

Returns the value of attribute domains.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def domains
  @domains
end

#groupsObject (readonly)

Returns the value of attribute groups.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def groups
  @groups
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def model_classes
  @model_classes
end

#objectsObject (readonly)

Returns the value of attribute objects.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def objects
  @objects
end

#optionsObject (readonly)

Returns the value of attribute options.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def options
  @options
end

#service_principalsObject (readonly)

Returns the value of attribute service_principals.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def service_principals
  @service_principals
end

#usersObject (readonly)

Returns the value of attribute users.



61
62
63
# File 'lib/profiles/latest/modules/graph_profile_module.rb', line 61

def users
  @users
end