Class: SDM::EntraID
- Inherits:
-
Object
- Object
- SDM::EntraID
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#bind_interface ⇒ Object
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).
-
#discovery_enabled ⇒ Object
If true, configures discovery of the tenant to be run from a node.
-
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
-
#group_names ⇒ Object
comma separated list of group names to filter by.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#identity_set_id ⇒ Object
The ID of the identity set to use for identity connections.
-
#management_group_id ⇒ Object
The management group ID to authenticate scope Privileges to.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#privilege_levels ⇒ Object
The privilege levels specify which Groups are managed externally.
-
#proxy_cluster_id ⇒ Object
ID of the proxy cluster for this resource, if any.
-
#resource_group_id ⇒ Object
filters discovered groups to the specified Resource Group.
-
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
-
#subdomain ⇒ Object
DNS subdomain through which this resource may be accessed on clients.
-
#subscription_id ⇒ Object
The subscription ID to authenticate scope Privileges to.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
-
#tenant_id ⇒ Object
The connector ID to authenticate through.
Instance Method Summary collapse
-
#initialize(bind_interface: nil, discovery_enabled: nil, egress_filter: nil, group_names: nil, healthy: nil, id: nil, identity_set_id: nil, management_group_id: nil, name: nil, privilege_levels: nil, proxy_cluster_id: nil, resource_group_id: nil, secret_store_id: nil, subdomain: nil, subscription_id: nil, tags: nil, tenant_id: nil) ⇒ EntraID
constructor
A new instance of EntraID.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(bind_interface: nil, discovery_enabled: nil, egress_filter: nil, group_names: nil, healthy: nil, id: nil, identity_set_id: nil, management_group_id: nil, name: nil, privilege_levels: nil, proxy_cluster_id: nil, resource_group_id: nil, secret_store_id: nil, subdomain: nil, subscription_id: nil, tags: nil, tenant_id: nil) ⇒ EntraID
6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 |
# File 'lib/models/porcelain.rb', line 6807 def initialize( bind_interface: nil, discovery_enabled: nil, egress_filter: nil, group_names: nil, healthy: nil, id: nil, identity_set_id: nil, management_group_id: nil, name: nil, privilege_levels: nil, proxy_cluster_id: nil, resource_group_id: nil, secret_store_id: nil, subdomain: nil, subscription_id: nil, tags: nil, tenant_id: nil ) @bind_interface = bind_interface == nil ? "" : bind_interface @discovery_enabled = discovery_enabled == nil ? false : discovery_enabled @egress_filter = egress_filter == nil ? "" : egress_filter @group_names = group_names == nil ? "" : group_names @healthy = healthy == nil ? false : healthy @id = id == nil ? "" : id @identity_set_id = identity_set_id == nil ? "" : identity_set_id @management_group_id = management_group_id == nil ? "" : management_group_id @name = name == nil ? "" : name @privilege_levels = privilege_levels == nil ? "" : privilege_levels @proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id @resource_group_id = resource_group_id == nil ? "" : resource_group_id @secret_store_id = secret_store_id == nil ? "" : secret_store_id @subdomain = subdomain == nil ? "" : subdomain @subscription_id = subscription_id == nil ? "" : subscription_id = == nil ? SDM::() : @tenant_id = tenant_id == nil ? "" : tenant_id end |
Instance Attribute Details
#bind_interface ⇒ Object
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
6773 6774 6775 |
# File 'lib/models/porcelain.rb', line 6773 def bind_interface @bind_interface end |
#discovery_enabled ⇒ Object
If true, configures discovery of the tenant to be run from a node.
6775 6776 6777 |
# File 'lib/models/porcelain.rb', line 6775 def discovery_enabled @discovery_enabled end |
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
6777 6778 6779 |
# File 'lib/models/porcelain.rb', line 6777 def egress_filter @egress_filter end |
#group_names ⇒ Object
comma separated list of group names to filter by. Supports wildcards (*)
6779 6780 6781 |
# File 'lib/models/porcelain.rb', line 6779 def group_names @group_names end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
6781 6782 6783 |
# File 'lib/models/porcelain.rb', line 6781 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
6783 6784 6785 |
# File 'lib/models/porcelain.rb', line 6783 def id @id end |
#identity_set_id ⇒ Object
The ID of the identity set to use for identity connections.
6785 6786 6787 |
# File 'lib/models/porcelain.rb', line 6785 def identity_set_id @identity_set_id end |
#management_group_id ⇒ Object
The management group ID to authenticate scope Privileges to.
6787 6788 6789 |
# File 'lib/models/porcelain.rb', line 6787 def management_group_id @management_group_id end |
#name ⇒ Object
Unique human-readable name of the Resource.
6789 6790 6791 |
# File 'lib/models/porcelain.rb', line 6789 def name @name end |
#privilege_levels ⇒ Object
The privilege levels specify which Groups are managed externally
6791 6792 6793 |
# File 'lib/models/porcelain.rb', line 6791 def privilege_levels @privilege_levels end |
#proxy_cluster_id ⇒ Object
ID of the proxy cluster for this resource, if any.
6793 6794 6795 |
# File 'lib/models/porcelain.rb', line 6793 def proxy_cluster_id @proxy_cluster_id end |
#resource_group_id ⇒ Object
filters discovered groups to the specified Resource Group
6795 6796 6797 |
# File 'lib/models/porcelain.rb', line 6795 def resource_group_id @resource_group_id end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
6797 6798 6799 |
# File 'lib/models/porcelain.rb', line 6797 def secret_store_id @secret_store_id end |
#subdomain ⇒ Object
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
6799 6800 6801 |
# File 'lib/models/porcelain.rb', line 6799 def subdomain @subdomain end |
#subscription_id ⇒ Object
The subscription ID to authenticate scope Privileges to.
6801 6802 6803 |
# File 'lib/models/porcelain.rb', line 6801 def subscription_id @subscription_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
6803 6804 6805 |
# File 'lib/models/porcelain.rb', line 6803 def end |
#tenant_id ⇒ Object
The connector ID to authenticate through.
6805 6806 6807 |
# File 'lib/models/porcelain.rb', line 6805 def tenant_id @tenant_id end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6845 6846 6847 6848 6849 6850 6851 |
# File 'lib/models/porcelain.rb', line 6845 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |