Show / Hide Table of Contents

Class IdentityProviderTwitter

Manages an API Management Twitter Identity Provider.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "West Europe",
    });
    var exampleService = new Azure.ApiManagement.Service("exampleService", new Azure.ApiManagement.ServiceArgs
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        PublisherName = "My Company",
        PublisherEmail = "company@mycompany.io",
        SkuName = "Developer_1",
    });
    var exampleIdentityProviderTwitter = new Azure.ApiManagement.IdentityProviderTwitter("exampleIdentityProviderTwitter", new Azure.ApiManagement.IdentityProviderTwitterArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        ApiManagementName = exampleService.Name,
        ApiKey = "00000000000000000000000000000000",
        ApiSecretKey = "00000000000000000000000000000000",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
IdentityProviderTwitter
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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: Pulumi.Azure.ApiManagement
Assembly: Pulumi.Azure.dll
Syntax
public class IdentityProviderTwitter : CustomResource

Constructors

View Source

IdentityProviderTwitter(String, IdentityProviderTwitterArgs, CustomResourceOptions)

Create a IdentityProviderTwitter resource with the given unique name, arguments, and options.

Declaration
public IdentityProviderTwitter(string name, IdentityProviderTwitterArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

IdentityProviderTwitterArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ApiKey

App Consumer API key for Twitter.

Declaration
public Output<string> ApiKey { get; }
Property Value
Type Description
Output<System.String>
View Source

ApiManagementName

The Name of the API Management Service where this Twitter Identity Provider should be created. Changing this forces a new resource to be created.

Declaration
public Output<string> ApiManagementName { get; }
Property Value
Type Description
Output<System.String>
View Source

ApiSecretKey

App Consumer API secret key for Twitter.

Declaration
public Output<string> ApiSecretKey { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, IdentityProviderTwitterState, CustomResourceOptions)

Get an existing IdentityProviderTwitter resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static IdentityProviderTwitter Get(string name, Input<string> id, IdentityProviderTwitterState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

IdentityProviderTwitterState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
IdentityProviderTwitter
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.