API version:
Show / Hide Table of Contents

Class NetworkZonesClient

A client that communicates with the Okta management API.

Inheritance
System.Object
OktaClient
NetworkZonesClient
Implements
IOktaClient
INetworkZonesClient
Inherited Members
OktaClient.Configuration
OktaClient.CreateScoped(RequestContext)
OktaClient.UserTypes
OktaClient.Users
OktaClient.UserFactors
OktaClient.Groups
OktaClient.Applications
OktaClient.Sessions
OktaClient.AuthorizationServers
OktaClient.Logs
OktaClient.Policies
OktaClient.EventHooks
OktaClient.InlineHooks
OktaClient.LinkedObjects
OktaClient.TrustedOrigins
OktaClient.Features
OktaClient.Templates
OktaClient.NetworkZones
OktaClient.Domains
OktaClient.IdentityProviders
OktaClient.UserSchemas
OktaClient.GetCollectionClient<T>(HttpRequest)
OktaClient.GetAsync<T>(String, CancellationToken)
OktaClient.GetAsync<T>(HttpRequest, CancellationToken)
OktaClient.GetCollection<T>(String)
OktaClient.GetCollection<T>(HttpRequest)
OktaClient.PostAsync(String, Object, CancellationToken)
OktaClient.PostAsync<TResponse>(String, Object, CancellationToken)
OktaClient.PostAsync(HttpRequest, CancellationToken)
OktaClient.PostAsync<TResponse>(HttpRequest, CancellationToken)
OktaClient.PutAsync(String, Object, CancellationToken)
OktaClient.PutAsync<TResponse>(String, Object, CancellationToken)
OktaClient.PutAsync(HttpRequest, CancellationToken)
OktaClient.PutAsync<TResponse>(HttpRequest, CancellationToken)
OktaClient.DeleteAsync(String, CancellationToken)
OktaClient.DeleteAsync(HttpRequest, CancellationToken)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public sealed class NetworkZonesClient : OktaClient, IOktaClient, INetworkZonesClient

Methods

ActivateNetworkZoneAsync(String, CancellationToken)

Activate Network Zone

Declaration
public Task<INetworkZone> ActivateNetworkZoneAsync(string zoneId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String zoneId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<INetworkZone>

The INetworkZone response.

CreateNetworkZoneAsync(INetworkZone, CancellationToken)

Adds a new network zone to your Okta organization.

Declaration
public Task<INetworkZone> CreateNetworkZoneAsync(INetworkZone zone, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
INetworkZone zone

The INetworkZone resource.

System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<INetworkZone>

The INetworkZone response.

DeactivateNetworkZoneAsync(String, CancellationToken)

Deactivates a network zone.

Declaration
public Task<INetworkZone> DeactivateNetworkZoneAsync(string zoneId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String zoneId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<INetworkZone>

The INetworkZone response.

DeleteNetworkZoneAsync(String, CancellationToken)

Removes network zone.

Declaration
public Task DeleteNetworkZoneAsync(string zoneId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String zoneId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task

A Task that represents the asynchronous operation.

GetNetworkZoneAsync(String, CancellationToken)

Fetches a network zone from your Okta organization by id.

Declaration
public Task<INetworkZone> GetNetworkZoneAsync(string zoneId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String zoneId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<INetworkZone>

The INetworkZone response.

ListNetworkZones(String, Nullable<Int32>, String)

Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.

Declaration
public ICollectionClient<INetworkZone> ListNetworkZones(string after = null, int? limit, string filter = null)
Parameters
Type Name Description
System.String after

Specifies the pagination cursor for the next page of network zones

System.Nullable<System.Int32> limit

Specifies the number of results for a page

System.String filter

Filters zones by usage or id expression

Returns
Type Description
ICollectionClient<INetworkZone>

A collection of INetworkZone that can be enumerated asynchronously.

UpdateNetworkZoneAsync(INetworkZone, String, CancellationToken)

Updates a network zone in your organization.

Declaration
public Task<INetworkZone> UpdateNetworkZoneAsync(INetworkZone zone, string zoneId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
INetworkZone zone

The INetworkZone resource.

System.String zoneId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<INetworkZone>

The INetworkZone response.

Implements

IOktaClient
INetworkZonesClient
Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.