initial commit
This commit is contained in:
37
sdk/dotnet/Region/Enums.cs
generated
Normal file
37
sdk/dotnet/Region/Enums.cs
generated
Normal file
@@ -0,0 +1,37 @@
|
||||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using Pulumi;
|
||||
|
||||
namespace Pulumi.Xyz.Region
|
||||
{
|
||||
[EnumType]
|
||||
public readonly struct Region : IEquatable<Region>
|
||||
{
|
||||
private readonly string _value;
|
||||
|
||||
private Region(string value)
|
||||
{
|
||||
_value = value ?? throw new ArgumentNullException(nameof(value));
|
||||
}
|
||||
|
||||
public static Region Here { get; } = new Region("HERE");
|
||||
public static Region OverThere { get; } = new Region("OVER_THERE");
|
||||
|
||||
public static bool operator ==(Region left, Region right) => left.Equals(right);
|
||||
public static bool operator !=(Region left, Region right) => !left.Equals(right);
|
||||
|
||||
public static explicit operator string(Region value) => value._value;
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public override bool Equals(object? obj) => obj is Region other && Equals(other);
|
||||
public bool Equals(Region other) => string.Equals(_value, other._value, StringComparison.Ordinal);
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public override int GetHashCode() => _value?.GetHashCode() ?? 0;
|
||||
|
||||
public override string ToString() => _value;
|
||||
}
|
||||
}
|
||||
1
sdk/dotnet/Region/README.md
generated
Normal file
1
sdk/dotnet/Region/README.md
generated
Normal file
@@ -0,0 +1 @@
|
||||
A Pulumi package for creating and managing xyz cloud resources.
|
||||
Reference in New Issue
Block a user