4.12.0
This commit is contained in:
@@ -37,3 +37,4 @@ func DataSourceAccessGroupList() *schema.Resource {
|
||||
Schema: dataSourceAccessGroupListSchemaMake(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -54,6 +54,10 @@ func dataSourceAccessGroupListSchemaMake() map[string]*schema.Schema {
|
||||
Optional: true,
|
||||
Description: "filter by the upper limit of the creation date",
|
||||
},
|
||||
"owner_display_name": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
},
|
||||
"items": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
|
||||
@@ -40,6 +40,9 @@ func utilityAccessGroupListCheckPresence(ctx context.Context, d *schema.Resource
|
||||
if createdTo, ok := d.GetOk("created_to"); ok {
|
||||
req.CreatedTo = createdTo.(string)
|
||||
}
|
||||
if ownerDisplayName, ok := d.GetOk("owner_display_name"); ok {
|
||||
req.OwnerDisplayName = ownerDisplayName.(string)
|
||||
}
|
||||
|
||||
log.Debugf("utilityAccessGroupListCheckPresence")
|
||||
accessGroupList, err := c.SDN().AccessGroups().List(ctx, req)
|
||||
|
||||
Reference in New Issue
Block a user